/* ═══════════════════════════════════════════
   Звездочёт — Landing v3 (Mobile-First Premium)
   ═══════════════════════════════════════════ */

:root {
  --bg: #070719;
  --bg-card: rgba(255,255,255,0.035);
  --bg-card-hover: rgba(255,255,255,0.06);
  --surface: #0e0e24;
  --border: rgba(255,255,255,0.07);
  --text: #eaeaf2;
  --text-dim: #8e8ea8;
  --accent: #ffb724;
  --accent-hover: #ffc94d;
  --accent-glow: rgba(255,183,36,0.25);
  --gradient-start: #ffd951;
  --gradient-end: #f7971e;
  --success: #34d399;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --container: 1140px;
  --header-h: 72px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ══════════ ANIMATED BACKGROUND ══════════ */
.stars-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }

.star-particle {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: 0;
  animation: twinkle var(--dur) var(--delay) infinite ease-in-out;
}

.star-particle--bright {
  background: radial-gradient(circle, #fff 30%, rgba(255,215,0,0.4) 100%);
  box-shadow: 0 0 4px rgba(255,215,0,0.5);
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3); }
  50% { opacity: var(--max-opacity, 0.6); transform: scale(1.1); }
}

.shooting-star {
  position: absolute;
  width: var(--len, 120px); height: 2px;
  background: linear-gradient(90deg, rgba(255,215,0,0.9), rgba(255,215,0,0.3) 40%, transparent);
  border-radius: 2px;
  opacity: 0;
  transform: rotate(-35deg);
  animation: shoot var(--dur) var(--delay) infinite;
  filter: blur(0.5px);
}

@keyframes shoot {
  0% { opacity: 0; transform: translateX(0) translateY(0) rotate(-35deg); }
  2% { opacity: 1; }
  12% { opacity: 0; transform: translateX(400px) translateY(250px) rotate(-35deg); }
  100% { opacity: 0; }
}

.nebula-blob {
  position: absolute;
  width: var(--size, 250px); height: var(--size, 250px);
  background: radial-gradient(circle, hsla(var(--hue,40),80%,50%,0.06), transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: nebulaFloat var(--dur) var(--delay) infinite ease-in-out alternate;
  pointer-events: none;
}

@keyframes nebulaFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  100% { transform: translate(30px, -20px) scale(1.2); opacity: 0.6; }
}

/* ══════════ HEADER ══════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(7,7,25,0.65);
  border-bottom: 1px solid transparent;
  transition: all .3s;
}
.header.scrolled {
  background: rgba(7,7,25,0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; text-decoration: none; }
.logo__icon { width: 32px; height: 32px; flex-shrink: 0; }
.logo__icon svg { width: 100%; height: 100%; }
.nav { display: flex; gap: 32px; }
.nav__link { color: var(--text-dim); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav__link:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__link { color: var(--text-dim); font-size: 14px; font-weight: 500; transition: color .2s; }
.header__link:hover { color: var(--text); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════ BUTTONS ══════════ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: all .25s ease; text-decoration: none; white-space: nowrap; font-family: var(--font); }
.btn--primary { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); color: #1a1a2e; box-shadow: 0 4px 20px var(--accent-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); color: #1a1a2e; }
.btn--hero { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); color: #1a1a2e; padding: 16px 32px; font-size: 16px; border-radius: var(--radius); box-shadow: 0 4px 24px var(--accent-glow); }
.btn--hero:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(255,183,36,0.4); color: #1a1a2e; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); padding: 16px 32px; font-size: 16px; border-radius: var(--radius); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(255,183,36,0.05); }
.btn--order { width: 100%; justify-content: center; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); color: #1a1a2e; padding: 14px 24px; font-size: 15px; border-radius: var(--radius-sm); box-shadow: 0 4px 20px var(--accent-glow); }
.btn--order:hover { transform: translateY(-1px); box-shadow: 0 8px 30px var(--accent-glow); color: #1a1a2e; }

/* ══════════ HERO ══════════ */
.hero { position: relative; z-index: 1; padding: calc(var(--header-h) + 80px) 0 80px; min-height: 100vh; display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(255,183,36,0.08); border: 1px solid rgba(255,183,36,0.15); border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 24px; animation: fadeInUp .8s ease both; }
.hero__badge-dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

.hero__title { font-size: clamp(32px,5vw,56px); font-weight: 900; line-height: 1.12; margin-bottom: 20px; letter-spacing: -0.02em; animation: fadeInUp .8s .1s ease both; }
.gradient-text { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
a.gradient-text { text-decoration: none; }
a.gradient-text:hover { opacity: 0.92; }
.hero__desc { font-size: 17px; color: var(--text-dim); line-height: 1.7; max-width: 500px; margin-bottom: 36px; animation: fadeInUp .8s .2s ease both; }
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp .8s .3s ease both; }

/* ── HERO VISUAL: 3D STAR SCENE ── */
.hero__visual { display: flex; justify-content: center; align-items: center; position: relative; }

.hero__scene {
  position: relative;
  width: 360px; height: 400px;
  display: flex; align-items: center; justify-content: center;
}

/* Orbiting rings */
.hero__orbit {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,183,36,0.08);
  animation: orbitSpin linear infinite;
}
.hero__orbit--1 { width: 200px; height: 200px; animation-duration: 12s; border-color: rgba(255,183,36,0.12); }
.hero__orbit--2 { width: 280px; height: 280px; animation-duration: 18s; animation-direction: reverse; }
.hero__orbit--3 { width: 340px; height: 340px; animation-duration: 25s; border-color: rgba(255,183,36,0.05); }

.hero__orbit-dot {
  position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 12px rgba(255,183,36,0.6);
}

@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Central star */
.hero__star-core {
  position: relative; z-index: 2;
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  animation: starPulse 4s ease-in-out infinite;
}

.hero__star-glow {
  position: absolute; inset: -50px;
  background: radial-gradient(circle, rgba(255,183,36,0.35), transparent 65%);
  border-radius: 50%;
  filter: blur(25px);
  animation: glowPulse 4s ease-in-out infinite;
}
.hero__star-glow--2 {
  inset: -80px;
  background: radial-gradient(circle, rgba(247,151,30,0.15), transparent 65%);
  filter: blur(40px);
  animation-delay: 1s;
}

.hero__star-svg { width: 100%; height: 100%; filter: drop-shadow(0 0 30px rgba(255,183,36,0.6)); }

@keyframes starPulse { 0%,100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.08) rotate(5deg); } }
@keyframes glowPulse { 0%,100% { opacity:0.5; transform:scale(1); } 50% { opacity:1; transform:scale(1.15); } }

/* Floating price card */
.hero__price-card {
  position: absolute; z-index: 3;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(10,10,30,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 16px 24px;
  text-align: center;
  min-width: 260px;
  animation: cardFloat 5s ease-in-out infinite;
}

.hero__price-amount {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  transition: opacity .3s, transform .3s;
}

.hero__price-value { font-size: 28px; font-weight: 800; color: var(--text); margin: 4px 0; }

.hero__price-saving { font-size: 11px; color: var(--success); font-weight: 600; }

@keyframes cardFloat { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* Floating mini-stars */
.hero__mini-star { position: absolute; z-index: 1; }
.hero__mini-star svg { width: 100%; height: 100%; }
.hero__mini-star--1 { width: 28px; height: 28px; top: 15%; right: 5%; animation: miniFloat1 7s ease-in-out infinite; opacity: 0.7; }
.hero__mini-star--2 { width: 20px; height: 20px; top: 25%; left: 5%; animation: miniFloat2 8s ease-in-out infinite; opacity: 0.5; }
.hero__mini-star--3 { width: 16px; height: 16px; bottom: 30%; right: 15%; animation: miniFloat3 6s ease-in-out infinite; opacity: 0.4; }

@keyframes miniFloat1 { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(15deg); } }
@keyframes miniFloat2 { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(10px,-15px) rotate(-10deg); } }
@keyframes miniFloat3 { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-12px) scale(1.2); } }

/* ══════════ STATS ══════════ */
.stats { position: relative; z-index: 1; padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.01); }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.stat__number { display: block; font-size: 36px; font-weight: 800; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 4px; }
.stat__label { font-size: 14px; color: var(--text-dim); }

/* ══════════ SECTIONS ══════════ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: clamp(24px,3.5vw,36px); font-weight: 800; margin-bottom: 12px; }
.section-desc { color: var(--text-dim); font-size: 16px; max-width: 540px; margin: 0 auto; }

/* ══════════ CALCULATOR ══════════ */
.calculator-section { position: relative; z-index: 1; padding: 100px 0; }
.calc { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(10px); }
.calc__tabs { display: flex; border-bottom: 1px solid var(--border); }
.calc__tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; background: none; border: none; color: var(--text-dim); font-size: 15px; font-weight: 600; cursor: pointer; position: relative; transition: .2s; font-family: var(--font); -webkit-tap-highlight-color: transparent; }
.calc__tab::after { content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 2px; background: var(--accent); border-radius: 2px 2px 0 0; transform: scaleX(0); transition: transform .3s ease; }
.calc__tab:hover { color: var(--text); background: rgba(255,255,255,0.02); }
.calc__tab.active { color: var(--accent); }
.calc__tab.active::after { transform: scaleX(1); }
.calc__tab svg { fill: currentColor; }
.calc__panel { display: none; padding: 32px; }
.calc__panel.active { display: block; animation: fadeIn .3s ease; }

.calc__grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }

.calc__presets { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; align-content: start; }

.preset {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 12px; text-align: center;
  cursor: pointer; transition: all .25s ease; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; font-family: var(--font);
  min-height: 100px; -webkit-tap-highlight-color: transparent;
}
.preset:hover { border-color: rgba(255,183,36,0.3); background: rgba(255,183,36,0.05); transform: translateY(-2px); }
.preset.active { border-color: var(--accent); background: rgba(255,183,36,0.08); box-shadow: 0 0 20px var(--accent-glow); }

.preset__badge { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); color: #1a1a2e; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px; white-space: nowrap; }
.preset__qty { font-size: 22px; font-weight: 800; color: var(--text); }
.preset__label { font-size: 12px; color: var(--text-dim); }
.preset__price { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 4px; }

/* ── CALC SUMMARY ── */
.calc__summary { display: flex; flex-direction: column; gap: 16px; }
.calc__input-group { display: flex; flex-direction: column; gap: 8px; }
.calc__input-group label { font-size: 13px; font-weight: 500; color: var(--text-dim); }
.calc__input-group input { width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: var(--radius-xs); color: var(--text); font-size: 16px; font-weight: 600; font-family: var(--font); outline: none; transition: border-color .2s; }
.calc__input-group input:focus { border-color: var(--accent); }

.calc__result { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.calc__result-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.calc__result-row span { color: var(--text-dim); }
.calc__result-row strong { color: var(--text); }
.calc__result-row s { color: var(--text-dim); text-decoration: line-through; font-size: 13px; }
.calc__result-row--old span { color: var(--text-dim); opacity: 0.7; }
.calc__result-row--total { padding-top: 14px; margin-top: 2px; border-top: 1px solid var(--border); font-size: 16px; }
.calc__total-price { font-size: 26px !important; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.calc__saving { font-size: 13px; font-weight: 600; color: var(--success); text-align: center; padding: 8px 12px; background: rgba(52,211,153,0.08); border-radius: var(--radius-xs); }
.calc__payment-info { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); }
.calc__payment-info svg { fill: var(--success); flex-shrink: 0; }

/* ══════════ PREMIUM CARDS ══════════ */
.premium-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.premium-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: all .3s ease; }
.premium-card:hover { border-color: rgba(255,183,36,0.3); transform: translateY(-4px); }
.premium-card--popular { border-color: var(--accent); background: rgba(255,183,36,0.05); box-shadow: 0 0 30px var(--accent-glow); transform: scale(1.04); }
.premium-card--popular:hover { transform: scale(1.06) translateY(-4px); }
.premium-card__badge { position: absolute; top: -12px; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); color: #1a1a2e; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 100px; }
.premium-card__badge--best { background: linear-gradient(135deg, var(--success), #06b6d4); }
.premium-card__period { font-size: 18px; font-weight: 700; }
.premium-card__price { font-size: 32px; font-weight: 800; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.premium-card__per { font-size: 13px; color: var(--text-dim); }
.premium-card__features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; text-align: left; width: 100%; }
.premium-card__features li { font-size: 14px; color: var(--text-dim); padding-left: 24px; position: relative; }
.premium-card__features li::before { content: ''; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2334d399'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }

/* ══════════ GIFTS PANEL ══════════ */
.gifts-panel { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.gifts-panel__icon { filter: drop-shadow(0 0 20px rgba(255,183,36,0.4)); }
.gifts-panel__title { font-size: 24px; font-weight: 800; }
.gifts-panel__desc { color: var(--text-dim); font-size: 15px; max-width: 480px; line-height: 1.7; }
.btn--gifts { max-width: 340px; }

/* ══════════ PRICE TABLE ══════════ */
.price-table-section { position: relative; z-index: 1; padding: 0 0 100px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-card); -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14px; }
.price-table th { padding: 16px 20px; text-align: left; font-weight: 600; color: var(--text-dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
.price-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: rgba(255,255,255,0.02); }
.price-table .highlight { color: var(--accent); font-weight: 700; }
.price-table .saving { color: var(--success); font-weight: 600; }
.old-price { color: var(--text-dim); opacity: 0.5; }

/* ══════════ FEATURES ══════════ */
.features { position: relative; z-index: 1; padding: 100px 0; }
.features__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; transition: all .3s ease; }
.feature:hover { border-color: rgba(255,183,36,0.2); transform: translateY(-4px); background: var(--bg-card-hover); }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature__icon--speed { background: rgba(59,130,246,0.15); }
.feature__icon--speed svg { fill: #60a5fa; }
.feature__icon--shield { background: rgba(52,211,153,0.15); }
.feature__icon--shield svg { fill: #34d399; }
.feature__icon--price { background: rgba(255,183,36,0.15); }
.feature__icon--price svg { fill: var(--accent); }
.feature__icon--support { background: rgba(167,139,250,0.15); }
.feature__icon--support svg { fill: #a78bfa; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ══════════ HOW IT WORKS ══════════ */
.how-it-works { position: relative; z-index: 1; padding: 100px 0; background: rgba(255,255,255,0.01); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 16px; }
.step { text-align: center; max-width: 200px; }
.step__number { width: 48px; height: 48px; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: #1a1a2e; margin: 0 auto 16px; }
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.step__arrow { padding-top: 12px; color: var(--text-dim); opacity: 0.3; }

/* ══════════ FAQ ══════════ */
.faq { position: relative; z-index: 1; padding: 100px 0; }
.faq__list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq__item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s; }
.faq__item.open { border-color: rgba(255,183,36,0.2); }
.faq__question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: none; border: none; color: var(--text); font-size: 15px; font-weight: 600; cursor: pointer; text-align: left; font-family: var(--font); transition: color .2s; }
.faq__question:hover { color: var(--accent); }
.faq__chevron { fill: currentColor; flex-shrink: 0; transition: transform .3s ease; }
.faq__item.open .faq__chevron { transform: rotate(180deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq__answer p { padding: 0 20px 18px; font-size: 14px; color: var(--text-dim); line-height: 1.7; }

/* ══════════ CTA ══════════ */
.cta { position: relative; z-index: 1; padding: 0 0 100px; }
.cta__card { position: relative; text-align: center; padding: 80px 40px; background: linear-gradient(145deg, rgba(255,183,36,0.08), rgba(255,183,36,0.02)); border: 1px solid rgba(255,183,36,0.15); border-radius: 24px; overflow: hidden; }
.cta__glow { position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 400px; height: 400px; background: radial-gradient(circle, var(--accent-glow), transparent 70%); filter: blur(80px); pointer-events: none; }
.cta__card h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; position: relative; }
.cta__card p { color: var(--text-dim); font-size: 16px; margin-bottom: 32px; position: relative; }
.cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ══════════ FOOTER ══════════ */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__brand-logo { display: flex; align-items: center; gap: 10px; }
.footer__brand strong { font-size: 18px; }
.footer__brand p { font-size: 13px; color: var(--text-dim); }
.footer__links { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer__group { display: flex; flex-direction: column; gap: 10px; }
.footer__group h4 { font-size: 13px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.footer__group a { font-size: 14px; color: var(--text-dim); transition: color .2s; }
.footer__group a:hover { color: var(--accent); }
.footer__bottom { padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-dim); }

/* ══════════ HERO MESH BACKGROUND ══════════ */
.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__mesh::before,
.hero__mesh::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: meshFloat 25s ease-in-out infinite alternate;
}
.hero__mesh::before {
  width: 600px; height: 600px;
  top: -20%; left: -15%;
  background: radial-gradient(circle, rgba(255,183,36,0.07), transparent 70%);
}
.hero__mesh::after {
  width: 500px; height: 500px;
  bottom: -10%; right: -10%;
  background: radial-gradient(circle, rgba(139,92,246,0.05), transparent 70%);
  animation-delay: 8s;
  animation-direction: alternate-reverse;
}

/* ══════════ HERO PARTICLES ══════════ */
.hero__particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  width: var(--size, 3px);
  height: var(--size, 3px);
  background: radial-gradient(circle, rgba(255,215,0,0.9), rgba(255,183,36,0.2));
  animation: particleFloat var(--dur, 4s) var(--delay, 0s) ease-in-out infinite;
}
.hero__particle--bright {
  box-shadow: 0 0 8px rgba(255,215,0,0.5);
}

/* ══════════ REVEAL ══════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }

/* ══════════ KEYFRAMES ══════════ */
@keyframes fadeInUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes meshFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  100% { transform: translate(40px, -30px) scale(1.15); opacity: 0.7; }
}
@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.3); }
  50% { opacity: var(--max-o, 0.8); transform: translateY(var(--drift, -30px)) scale(1); }
}
@keyframes m-ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes m-ambientGlow {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}
@keyframes m-cardShine {
  0%, 80%, 100% { left: -120%; }
  40% { left: 120%; }
}
@keyframes m-btnPulse {
  0% { box-shadow: 0 4px 24px rgba(255,183,36,0.35); }
  100% { box-shadow: 0 6px 40px rgba(255,183,36,0.55), 0 0 80px rgba(255,183,36,0.15); }
}
@keyframes m-floatUp {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}
@keyframes btnShimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}
@keyframes m-starBreath {
  0%, 100% { transform: scale(1) rotate(0); filter: drop-shadow(0 0 14px rgba(255,183,36,1)) drop-shadow(0 0 35px rgba(255,183,36,0.7)); }
  50% { transform: scale(1.10) rotate(4deg); filter: drop-shadow(0 0 20px rgba(255,183,36,1)) drop-shadow(0 0 50px rgba(255,183,36,0.8)) drop-shadow(0 0 90px rgba(255,183,36,0.3)); }
}
@keyframes m-badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,183,36,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(255,183,36,0); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Tablet
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero__content { order: 1; }
  .hero__desc { margin: 0 auto 32px; }
  .hero__buttons { justify-content: center; }
  .hero__visual { order: 0; }
  .hero__scene { width: 320px; height: 380px; }
  .hero__star-core { width: 100px; height: 100px; }
  .hero__orbit--1 { width: 180px; height: 180px; }
  .hero__orbit--2 { width: 260px; height: 260px; }
  .hero__orbit--3 { width: 320px; height: 320px; }
  .hero__price-card { min-width: 240px; padding: 14px 22px; }
  .hero__price-amount { font-size: 20px; }
  .hero__price-value { font-size: 24px; }
  .calc__grid { grid-template-columns: 1fr; }
  .calc__presets { grid-template-columns: repeat(4, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-wrap: wrap; gap: 12px; }
  .step__arrow { display: none; }
  .step { max-width: 45%; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Mobile (Primary)
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .container { padding: 0 16px; }

  /* ── Header ── */
  .nav { display: none; }
  .header__link { display: none; }
  .burger { display: flex; }
  .logo__text { font-size: 16px; }
  .logo__icon { width: 28px; height: 28px; }
  .btn--primary { padding: 10px 18px; font-size: 13px; }
  .nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: rgba(7,7,25,0.98); padding: 32px 20px; gap: 20px; z-index: 99;
    animation: fadeIn .2s ease;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  }
  .nav.open .nav__link { font-size: 18px; color: var(--text); }

  /* ═══════════════════════════════════════════
     HERO — Clean Selling Mobile Design
     ═══════════════════════════════════════════ */
  .hero {
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 120% 40% at 50% 0%, rgba(255,183,36,0.10) 0%, transparent 60%),
      radial-gradient(circle at 80% 20%, rgba(59,130,246,0.04) 0%, transparent 30%);
    pointer-events: none; z-index: 0;
  }
  .hero::after { content: none; }

  .hero__mesh::before { width: 300px; height: 300px; top: 0; left: -20%; opacity: 0.5; filter: blur(60px); }
  .hero__mesh::after { width: 250px; height: 250px; bottom: 10%; right: -15%; opacity: 0.4; filter: blur(50px); }

  .hero__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: calc(var(--header-h) + 24px) 20px 32px;
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: center;
    position: relative; z-index: 1;
  }

  /* ── Visual: compact star + inline price card ── */
  .hero__visual { order: 0; width: 100%; margin-bottom: 28px; }

  .hero__scene {
    width: 100%; max-width: 100%;
    height: auto !important;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .hero__scene::before,
  .hero__scene::after { display: none; }

  /* Kill orbits & mini-stars on mobile — they eat space and add nothing */
  .hero__orbit { display: none !important; }
  .hero__mini-star { display: none !important; }

  /* Star icon — compact hero brand element */
  .hero__star-core {
    width: 72px; height: 72px;
    margin-bottom: 20px;
  }
  .hero__star-glow {
    inset: -30px;
    background: radial-gradient(circle, rgba(255,183,36,0.40) 0%, rgba(255,183,36,0.08) 50%, transparent 70%);
    filter: blur(14px);
  }
  .hero__star-glow--2 {
    inset: -55px;
    background: radial-gradient(circle, rgba(247,151,30,0.12) 0%, transparent 60%);
    filter: blur(28px);
  }
  .hero__star-svg {
    filter: drop-shadow(0 0 10px rgba(255,183,36,0.9)) drop-shadow(0 0 28px rgba(255,183,36,0.5));
  }

  /* Price card — inline, not floating */
  .hero__price-card {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    animation: none !important;
    width: 100%;
    max-width: 320px;
    min-width: auto;
    margin: 0 auto;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  }
  .hero__price-card::before { display: none; }

  .hero__price-amount { font-size: 16px; }
  .hero__price-value { font-size: 26px; margin: 2px 0; }
  .hero__price-saving { font-size: 11px; }

  /* ── Text content ── */
  .hero__content { order: 1; z-index: 1; width: 100%; }

  .hero__badge {
    font-size: 12px;
    padding: 6px 16px;
    margin-bottom: 14px;
    background: rgba(255,183,36,0.08);
    border: 1px solid rgba(255,183,36,0.18);
    animation: fadeInUp .5s ease both;
  }

  .hero__title {
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    animation: fadeInUp .5s .05s ease both;
  }

  .hero__desc {
    font-size: 14px;
    margin: 0 auto 24px;
    max-width: 340px;
    line-height: 1.6;
    animation: fadeInUp .5s .1s ease both;
  }

  /* CTA — clear, no distracting pulse */
  .hero__buttons {
    gap: 10px; width: 100%; max-width: 340px;
    margin: 0 auto;
    flex-direction: column; align-items: center;
    animation: fadeInUp .5s .15s ease both;
  }

  .btn--hero {
    width: 100%; justify-content: center;
    padding: 16px 32px; font-size: 16px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(255,183,36,0.30);
    position: relative; overflow: hidden;
  }
  .btn--hero::after {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: btnShimmer 4s 2s ease-in-out infinite;
  }

  .btn--ghost {
    width: 100%; justify-content: center;
    padding: 16px 32px; font-size: 16px;
    border-radius: 14px;
    border-color: rgba(255,255,255,0.10);
  }
  /* ═══ END HERO ═══ */

  /* ── Stats ── */
  .stats { padding: 36px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 12px;
  }
  .stat__number { font-size: 26px; }
  .stat__label { font-size: 12px; }

  /* ── Section headers ── */
  .section-header { margin-bottom: 28px; }
  .section-title { font-size: 22px; margin-bottom: 8px; }
  .section-desc { font-size: 14px; }

  /* ── Calculator ── */
  .calculator-section { padding: 48px 0; }
  .calc { border-radius: var(--radius-sm); }
  .calc__tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .calc__tab { padding: 12px 8px; font-size: 13px; gap: 5px; white-space: nowrap; }
  .calc__tab svg { width: 16px; height: 16px; }
  .calc__panel { padding: 20px 16px; }
  .calc__grid { gap: 20px; }
  .calc__presets { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .preset {
    padding: 16px 10px;
    min-height: 80px;
    border-radius: var(--radius-sm);
    -webkit-tap-highlight-color: transparent;
  }
  .preset:hover { transform: none; }
  .preset.active { transform: none; }
  .preset__badge { font-size: 9px; padding: 2px 8px; top: -6px; }
  .preset__qty { font-size: 18px; }
  .preset__label { font-size: 11px; }
  .preset__price { font-size: 13px; }
  .calc__input-group input { padding: 10px 14px; font-size: 15px; }
  .calc__result { padding: 16px; gap: 10px; border-radius: var(--radius-sm); }
  .calc__result-row { font-size: 13px; }
  .calc__result-row--total { font-size: 15px; padding-top: 10px; }
  .calc__total-price { font-size: 22px !important; }
  .calc__saving { font-size: 12px; padding: 6px 10px; }
  .btn--order { padding: 14px 20px; font-size: 15px; border-radius: var(--radius-sm); }
  .calc__payment-info { font-size: 11px; justify-content: center; }

  /* ── Premium ── */
  .premium-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; gap: 16px; }
  .premium-card { padding: 24px 20px; gap: 10px; }
  .premium-card:hover { transform: none; }
  .premium-card--popular { transform: none; box-shadow: 0 0 20px var(--accent-glow); }
  .premium-card--popular:hover { transform: none; }
  .premium-card__period { font-size: 16px; }
  .premium-card__price { font-size: 28px; }
  .premium-card__per { font-size: 12px; }
  .premium-card__features li { font-size: 13px; }

  /* ── Gifts ── */
  .gifts-panel { padding: 24px 12px; }
  .gifts-panel__icon svg { width: 56px; height: 56px; }
  .gifts-panel__title { font-size: 20px; }
  .gifts-panel__desc { font-size: 14px; }

  /* ── Price table ── */
  .price-table-section { padding-bottom: 48px; }
  .table-wrap { position: relative; }
  .table-wrap::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 24px;
    background: linear-gradient(90deg, transparent, rgba(7,7,25,0.8));
    pointer-events: none; border-radius: 0 var(--radius) var(--radius) 0;
  }
  .price-table th { padding: 10px 12px; font-size: 10px; }
  .price-table td { padding: 10px 12px; font-size: 13px; }

  /* ── Features: horizontal card layout ── */
  .features { padding: 48px 0; }
  .features__grid { grid-template-columns: 1fr; gap: 12px; }
  .feature {
    padding: 20px 18px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }
  .feature:hover { transform: none; }
  .feature__icon {
    width: 44px; height: 44px;
    margin-bottom: 0;
    flex-shrink: 0;
    border-radius: 12px;
  }
  .feature__icon svg { width: 22px; height: 22px; }
  .feature h3 { font-size: 15px; margin-bottom: 4px; }
  .feature p { font-size: 13px; }

  /* ── How it works: card grid ── */
  .how-it-works { padding: 48px 0; }
  .how-it-works .section-title { margin-bottom: 32px !important; }
  .steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .step__arrow { display: none; }
  .step {
    max-width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
  }
  .step__number { width: 40px; height: 40px; font-size: 18px; margin-bottom: 12px; }
  .step h3 { font-size: 14px; }
  .step p { font-size: 12px; }

  /* ── FAQ ── */
  .faq { padding: 48px 0; }
  .faq__question { padding: 14px 16px; font-size: 14px; -webkit-tap-highlight-color: transparent; }
  .faq__chevron { width: 20px; height: 20px; }
  .faq__answer p { padding: 0 16px 14px; font-size: 13px; }

  /* ── CTA ── */
  .cta { padding: 0 0 48px; }
  .cta__card { padding: 44px 20px; border-radius: 20px; }
  .cta__glow { width: 300px; height: 300px; }
  .cta__card h2 { font-size: 22px; margin-bottom: 8px; }
  .cta__card p { font-size: 14px; margin-bottom: 24px; }
  .cta__buttons { gap: 12px; flex-direction: column; }
  .cta__buttons .btn--hero,
  .cta__buttons .btn--ghost { width: 100%; justify-content: center; }

  /* ── Footer ── */
  .footer { padding: 40px 0 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .footer__brand-logo { gap: 8px; }
  .footer__brand strong { font-size: 16px; }
  .footer__brand p { font-size: 12px; }
  .footer__links { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer__group h4 { font-size: 11px; margin-bottom: 2px; }
  .footer__group a { font-size: 13px; }
  .footer__group { gap: 8px; }
  .footer__bottom { padding-top: 16px; font-size: 11px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Small Mobile (iPhone SE, etc.)
   ══════════════════════════════════════════════ */
@media (max-width: 420px) {
  .container { padding: 0 12px; }

  .hero__grid { padding: calc(var(--header-h) + 16px) 12px 24px; }
  .hero__star-core { width: 64px; height: 64px; margin-bottom: 16px; }
  .hero__star-glow { inset: -24px; }
  .hero__star-glow--2 { inset: -45px; }
  .hero__price-card { max-width: 280px; padding: 12px 18px; }
  .hero__price-amount { font-size: 15px; }
  .hero__price-value { font-size: 24px; }
  .hero__title { font-size: 26px; }
  .hero__desc { font-size: 13px; max-width: 300px; margin: 0 auto 20px; }
  .hero__buttons { max-width: 300px; }
  .btn--hero, .btn--ghost { padding: 14px 24px; font-size: 15px; }

  .stats__grid { gap: 10px; }
  .stat { padding: 14px 10px; }
  .stat__number { font-size: 22px; }
  .stat__label { font-size: 11px; }

  .calc__presets { gap: 8px; }
  .preset { padding: 14px 8px; min-height: 72px; }
  .preset__qty { font-size: 17px; }
  .preset__price { font-size: 12px; }

  .premium-grid { max-width: 100%; }
  .premium-card { padding: 20px 16px; }
  .premium-card__price { font-size: 24px; }

  .steps { gap: 10px; }
  .step { padding: 16px 12px; }

  .footer__links { grid-template-columns: 1fr; gap: 16px; }

  .header__actions .btn--primary { padding: 8px 14px; font-size: 12px; }
  .header__actions .btn--primary svg { width: 14px; height: 14px; }

  .price-table th { padding: 8px; font-size: 9px; }
  .price-table td { padding: 8px; font-size: 12px; }

  .cta__card { padding: 36px 16px; }
  .cta__card h2 { font-size: 20px; }
  .cta__card p { font-size: 13px; }

  .faq__question { padding: 12px 14px; font-size: 13px; }
  .faq__answer p { padding: 0 14px 12px; font-size: 12px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Tiny Mobile (320px)
   ══════════════════════════════════════════════ */
@media (max-width: 360px) {
  .hero__grid { padding: calc(var(--header-h) + 12px) 10px 20px; }
  .hero__star-core { width: 56px; height: 56px; margin-bottom: 14px; }
  .hero__star-glow { inset: -20px; }
  .hero__star-glow--2 { inset: -38px; }
  .hero__price-card { max-width: 260px; padding: 10px 16px; border-radius: 12px; }
  .hero__price-amount { font-size: 14px; }
  .hero__price-value { font-size: 22px; }
  .hero__title { font-size: 24px; }
  .hero__desc { font-size: 12px; max-width: 260px; }
  .hero__buttons { max-width: 260px; }
  .btn--hero, .btn--ghost { padding: 13px 20px; font-size: 14px; border-radius: 12px; }

  .calc__presets { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .preset { padding: 12px 6px; min-height: 68px; }
  .preset__qty { font-size: 16px; }

  .premium-card__price { font-size: 22px; }

  .section-title { font-size: 20px; }

  .stat__number { font-size: 20px; }
  .stat { padding: 12px 8px; }
}
