/* ==============================================
   FERIXDI — Gold Premium Landing
   Pure CSS animations. No external JS libraries.
   ============================================== */

/* === Self-hosted Inter (no Google Fonts — blocked in Russia) === */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Inter-Variable.woff2') format('woff2');
}

:root {
  --bg: #08080a;
  --surface: rgba(255,200,50,.06);
  --surface2: rgba(255,200,50,.10);
  --border: rgba(255,200,50,.14);
  --border-hover: rgba(255,200,50,.38);
  --text: #fffaf2;
  --muted: rgba(255,250,240,.68);
  --muted2: rgba(255,250,240,.48);
  --accent: #e8b830;
  --accent-light: #ffd84a;
  --gold: linear-gradient(135deg, #e8b830, #ffd84a, #e8b830);
  --gold-glow: rgba(255,216,74,.25);
  --radius: 18px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }

/* === Focus visible for keyboard nav === */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === 3D Canvas (Three.js) === */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .70;
}

/* === Noise grain === */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* === Floating gold orbs (CSS only) === */
.glow {
  position: fixed; pointer-events: none; z-index: 0;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 65%);
  filter: blur(50px);
  top: -10%; left: -8%;
  animation: drift1 20s ease-in-out infinite;
}
.glow-2 {
  position: fixed; pointer-events: none; z-index: 0;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,216,74,.18), transparent 65%);
  filter: blur(60px);
  bottom: 5%; right: -5%;
  animation: drift2 25s ease-in-out infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(60px,50px); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-50px,-30px); }
}

/* === Container === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* === Typography === */
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.35; color: var(--text); }
h2, h3 { font-weight: 700; }
h1 {
  font-size: clamp(22px, 3.2vw, 34px);
  background: linear-gradient(90deg, #fffaf2, #ffd84a, #e8b830, #ffd84a, #fffaf2);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: h1Shine 6s ease-in-out infinite;
}
@keyframes h1Shine {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
/* Second line of hero H1 — slightly smaller for visual hierarchy */
.hero-sub { font-size: 0.82em; opacity: .88; display: block; margin-top: 6px; }
.story { margin-bottom: 0; }
.gradient-line + .story, .gradient-line + section { margin-top: 0; }
h2 {
  font-size: clamp(18px, 2.5vw, 26px);
  background: linear-gradient(135deg, #fffaf2 0%, #ffd84a 50%, #e8b830 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h3 { font-size: clamp(15px, 1.6vw, 19px); }
a { text-decoration: none; color: inherit; }

/* === Topbar === */
.topbar {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(9,9,11,.80);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: background .3s, box-shadow .3s;
}
.topbar-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 58px; gap: 12px; flex-wrap: wrap;
}

/* Animated gold gradient brand */
.brand {
  font-weight: 900; font-size: 18px; letter-spacing: .10em;
  background: linear-gradient(90deg, #e8b830, #ffd84a, #e8b830, #ffd84a);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: brandShine 4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes brandShine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.topnav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* === SEO text block === */
.seo-text { position: relative; z-index: 2; }
.seo-text h2 { background: none !important; -webkit-background-clip: unset !important; background-clip: unset !important; color: var(--accent-light) !important; }
.seo-text h3 { color: var(--accent-light); }
.seo-text p { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.75; margin-bottom: 14px; }
.seo-text p strong { color: rgba(255,255,255,.7); }
.topnav__link {
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-weight: 600; font-size: 13px;
  transition: all .3s var(--ease);
  min-height: 44px; display: inline-flex; align-items: center;
  text-decoration: none;
}
.topnav__link:hover {
  color: var(--text); border-color: var(--border-hover);
  background: rgba(212,168,67,.10); transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212,168,67,.10);
}
.topnav__link--primary {
  background: rgba(255,216,74,.12); border-color: rgba(255,216,74,.35);
  color: var(--accent-light);
}
.topnav__link--primary:hover {
  background: rgba(255,216,74,.22); border-color: rgba(255,216,74,.55);
}

/* === Pill badge === */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid rgba(255,216,74,.32); background: rgba(255,216,74,.10);
  color: var(--accent-light); font-weight: 700; font-size: 13px;
  box-shadow: 0 0 20px rgba(255,216,74,.08), inset 0 0 20px rgba(255,216,74,.04);
  animation: pillFloat 3s ease-in-out infinite;
}
@keyframes pillFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
.pill::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 12px var(--accent-light), 0 0 24px rgba(255,216,74,.5);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.6); }
}

/* === Hero === */
.hero { padding: 80px 0 48px; position: relative; z-index: 2; text-align: center; }
.hero h1 { text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero-inner { position: relative; z-index: 2; display: flex; justify-content: center; }
.hero-copy { max-width: 640px; }
.hero h1 { margin: 20px 0 20px; }
.hero-lead {
  color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 50ch;
  margin: 0 auto 28px; font-weight: 400;
}
.hero-proof {
  color: var(--muted2); font-size: 13px; margin-top: 16px; font-weight: 500;
}
.hero-proof a { text-decoration: none; }
.hero-cta {
  font-size: 16px !important; padding: 16px 32px !important;
  letter-spacing: -.01em;
}
.lead { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 62ch; margin: 0 0 20px; }
.muted { color: var(--muted2); font-size: 13px; line-height: 1.55; position: relative; z-index: 1; }

/* Gold line under hero heading */
.hero h1::after {
  content: ''; display: block;
  width: 80px; height: 3px; margin: 14px auto 0; border-radius: 3px;
  background: var(--gold);
  animation: lineGrow .8s var(--ease) both;
}
@keyframes lineGrow { from { width: 0; } to { width: 80px; } }

/* === Metrics === */
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 24px;
}
.metric {
  padding: 20px 18px; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,200,50,.08), rgba(255,200,50,.02));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: all .35s var(--ease); position: relative; overflow: hidden;
}
.metric:hover {
  transform: translateY(-4px); border-color: rgba(212,168,67,.35);
  box-shadow: 0 8px 32px rgba(255,216,74,.12), 0 0 40px rgba(255,216,74,.06);
}
.metric-num {
  font-size: 26px; font-weight: 900; position: relative; z-index: 1;
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric-label { color: var(--muted2); font-size: 13px; margin-top: 4px; font-weight: 600; position: relative; z-index: 1; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-weight: 700; font-size: 14px;
  cursor: pointer; transition: all .3s var(--ease);
  position: relative; overflow: hidden;
  min-height: 48px; text-decoration: none;
}
.btn:hover {
  transform: translateY(-2px) scale(1.02); border-color: var(--border-hover);
  box-shadow: 0 8px 28px rgba(0,0,0,.25), 0 0 20px rgba(255,216,74,.08);
}
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }

.btn.primary {
  background: linear-gradient(135deg, #ffd84a, #e8b830, #d4a020);
  border-color: rgba(255,216,74,.65); color: #0a0a0c;
  font-weight: 800; font-size: 15px;
  box-shadow: 0 10px 40px rgba(255,216,74,.30), 0 0 60px rgba(255,216,74,.10);
  text-shadow: 0 1px 0 rgba(255,255,255,.15);
}
.btn.primary:hover {
  box-shadow: 0 14px 50px rgba(255,216,74,.45), 0 0 80px rgba(255,216,74,.15);
  transform: translateY(-3px) scale(1.03);
}
/* Shimmer sweep on primary */
.btn.primary::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  animation: shimmer 2.8s ease-in-out infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

.btn.small { padding: 10px 18px; font-size: 13px; border-radius: 12px; min-height: 44px; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; position: relative; z-index: 1; }
.hero-actions { justify-content: center; }

/* === Story section === */
.story { padding: 52px 0; position: relative; z-index: 2; }
.story > .container:first-child h2 { text-align: center; margin-bottom: 36px; }

.story-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: center; padding: 40px 0;
  position: relative;
}
.story-block::after {
  content: ''; position: absolute; bottom: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,216,74,.22), transparent);
}
.story-block:last-child::after { display: none; }
.story-block.reverse { direction: rtl; }
.story-block.reverse > * { direction: ltr; }

.story-text { padding: 0; }
.kicker {
  color: var(--accent); font-weight: 700; letter-spacing: .10em;
  text-transform: uppercase; font-size: 11px; margin-bottom: 10px;
  text-shadow: none;
}
.story-text h3 {
  margin: 0 0 12px; position: relative; padding-left: 16px;
  background: none; -webkit-background-clip: unset; background-clip: unset; color: var(--text);
}
.story-text h3::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 3px; height: 20px; border-radius: 3px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255,216,74,.3);
}
.story-text p {
  margin: 0; color: var(--muted); line-height: 1.65; font-size: 15px; max-width: 58ch;
}

.story-media {
  border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--border);
  box-shadow: 0 16px 50px rgba(0,0,0,.35);
  transition: all .45s var(--ease);
}
.story-media:hover {
  transform: translateY(-3px);
  border-color: rgba(212,168,67,.25);
  box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 20px rgba(212,168,67,.06);
}
.story-media img {
  width: 100%; height: auto; display: block;
  transition: transform .5s var(--ease);
}
.story-media:hover img { transform: scale(1.04); }

/* === CTA === */
.cta { padding: 48px 0; position: relative; z-index: 2; }
.cta-inner {
  padding: 44px 38px; border-radius: 22px;
  border: 1px solid rgba(255,216,74,.22);
  background: linear-gradient(145deg, rgba(255,216,74,.09) 0%, rgba(8,8,10,.92) 40%, rgba(255,216,74,.04) 100%);
  box-shadow: 0 24px 70px rgba(0,0,0,.45), 0 0 80px rgba(255,216,74,.06), inset 0 1px 0 rgba(255,216,74,.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
}
/* Subtle border glow — reduced to avoid visual noise */
.cta-inner {
  animation: ctaBorderGlow 8s ease-in-out infinite;
}
@keyframes ctaBorderGlow {
  0%,100% { border-color: rgba(255,216,74,.18); }
  50% { border-color: rgba(255,216,74,.28); }
}
/* Top gold glow — softened */
.cta-inner::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 500px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,216,74,.08), transparent 60%);
  pointer-events: none;
  opacity: .6;
}
.cta h2 { margin-top: 0; margin-bottom: 14px; position: relative; z-index: 1; }
.cta h2, .story h2 {
  background: linear-gradient(135deg, #fffaf2 0%, #ffd84a 40%, #e8b830 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-text { color: var(--muted); font-size: 16px; line-height: 1.6; position: relative; z-index: 1; }

.bullets {
  margin: 16px 0 0; padding: 0;
  color: rgba(245,240,232,.82); line-height: 1.55; font-size: 14px; position: relative; z-index: 1;
  list-style: none;
}
.bullets li {
  margin: 10px 0; padding-left: 28px; position: relative;
}
.bullets li::before {
  content: '✦'; position: absolute; left: 0; top: 0;
  color: var(--accent-light); font-size: 13px;
  text-shadow: 0 0 8px rgba(255,216,74,.5);
}
.bullets li strong {
  color: var(--accent-light); font-weight: 700;
}

/* === Gradient line === */
.gradient-line {
  height: 1px; border: none; margin: 0;
  background: linear-gradient(90deg, transparent 10%, rgba(255,216,74,.18) 50%, transparent 90%);
  position: relative; z-index: 2;
  box-shadow: none;
}

/* === Footer === */
.footer {
  padding: 40px 0; border-top: 1px solid var(--border);
  position: relative; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(255,216,74,.02));
}
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-left .brand { margin-bottom: 4px; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* === Scroll reveal (JS adds classes) === */
.reveal-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-left {
  opacity: 0; transform: translateX(-20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-right {
  opacity: 0; transform: translateX(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-scale {
  opacity: 0; transform: scale(.95);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.in-view { opacity: 1 !important; transform: none !important; }

/* === Hero entrance stagger === */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .pill { animation: heroFadeUp .6s var(--ease) .1s both; }
.hero h1 { animation: heroFadeUp .6s var(--ease) .25s both, h1Shine 6s ease-in-out infinite; }
.hero-lead { animation: heroFadeUp .6s var(--ease) .4s both; }
.hero-actions { animation: heroFadeUp .6s var(--ease) .55s both; }
.hero-proof { animation: heroFadeUp .6s var(--ease) .7s both; }

[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }
[data-delay="6"] { transition-delay: .6s; }
[data-delay="7"] { transition-delay: .7s; }
[data-delay="8"] { transition-delay: .8s; }
[data-delay="9"] { transition-delay: .9s; }
[data-delay="10"] { transition-delay: 1s; }
[data-delay="11"] { transition-delay: 1.1s; }
[data-delay="12"] { transition-delay: 1.2s; }

/* ===================== RESPONSIVE ===================== */

@media (max-width: 860px) {
  .container { padding: 0 20px; }
  .hero { padding: 64px 0 40px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-metrics .metric:nth-child(3) { grid-column: 1 / -1; }
  .story-block, .story-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .story-block { padding: 28px 0; gap: 16px; }
  .cta-inner { padding: 28px 20px; }
  .story { padding: 40px 0; }
  .cta { padding: 36px 0; }
  .story[style*="padding:56px"] { padding: 36px 0 !important; }
  .topbar-inner { flex-wrap: wrap; justify-content: center; min-height: auto; padding: 10px 20px; }
  .topnav { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .glow { width: 320px; height: 320px; }
  .glow-2 { width: 260px; height: 260px; }
}

@media (max-width: 640px) {
  #math .cta-inner > div[style*="grid"] { grid-template-columns: 1fr !important; }
  #money .cta-inner > div[style*="grid"] { grid-template-columns: 1fr !important; }
  #package .cta-inner > div[style*="grid"] { grid-template-columns: 1fr !important; }
  #value > .container > div[style*="1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }
  #value .cta-inner > div[style*="grid"] { grid-template-columns: 1fr !important; }
  #studio .cta-inner > div[style*="grid"] { grid-template-columns: 1fr !important; }
  #story .container > div > div[style*="1fr 1fr"] { grid-template-columns: 1fr !important; }
  #process .cta-inner div[style*="1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }
  #process .cta-inner div[style*="1fr 1fr"] { grid-template-columns: 1fr !important; }
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 28px; }
  .hero h1 { margin: 12px 0 12px; }
  .hero-lead { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
  .lead { font-size: 14px; line-height: 1.65; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero-metrics .metric:nth-child(3) { grid-column: 1 / -1; }
  .metric { padding: 14px 12px; }
  .metric-num { font-size: 22px; }
  .story { padding: 32px 0; }
  .cta { padding: 28px 0; }
  .story-block { padding: 20px 0; gap: 14px; }
  .story-text h3 { font-size: 16px; }
  .story-text p { font-size: 13px; line-height: 1.7; }
  .cta-inner { padding: 20px 16px; }
  .bullets { padding-left: 0; font-size: 13px; }
  .bullets li { line-height: 1.6; }
  .topnav__link { padding: 8px 10px; font-size: 11px; }
  .topnav { gap: 4px; }
  .story[style*="padding:56px"] { padding: 28px 0 !important; }
  .cta-inner .cta-inner,
  .cta-inner [style*="padding:16px"],
  .cta-inner [style*="padding:18px"] { padding: 14px 12px !important; }
  [style*="minmax(280px"] { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; }
  .metric-num[style*="font-size:48px"] { font-size: 36px !important; }
  .card-num { width: 100% !important; }
  /* Consistent vertical air between sections */
  .gradient-line { margin: 4px 0; }
  .consult-banner { padding: 16px 0; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 0 24px; }
  .hero-actions, .cta-actions, .footer-actions { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn, .footer-actions .btn { width: 100%; justify-content: center; }
  .hero-cta { font-size: 15px !important; padding: 14px 24px !important; }
  .hero-lead { font-size: 14px; margin-bottom: 18px; }
  .topbar-inner { padding: 8px 12px; gap: 6px; flex-wrap: nowrap; }
  /* Horizontal scroll nav on phones */
  .topnav { gap: 6px; justify-content: flex-start; width: 100%; overflow-x: auto; overflow-y: hidden; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav__link { padding: 7px 12px; font-size: 11px; min-height: 40px; flex-shrink: 0; text-align: center; justify-content: center; white-space: nowrap; }
  .pill { padding: 8px 14px; font-size: 12px; }
  .glow, .glow-2 { display: none; }
  #bg-canvas { display: none; }

  /* Hero-metrics → 1 column on phones */
  .hero-metrics { grid-template-columns: 1fr !important; gap: 8px; }
  .hero-metrics .metric:nth-child(3) { grid-column: auto; }

  /* All inline 2/3-column grids → 1 column on phones */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* === PHONE-SPECIFIC POLISH === */

  /* Inline section padding — compact on phones */
  .story { padding: 28px 0; }
  .cta { padding: 24px 0; }
  .story[style*="padding:56px"] { padding: 24px 0 !important; }

  /* Step numbers ①②③ — scale down for phones */
  .metric-num[style*="font-size:48px"] { font-size: 32px !important; line-height: 1.1 !important; }

  /* Big accent prices — scale down */
  [style*="font-size:32px"] { font-size: 22px !important; }
  [style*="font-size:26px"]:not(.metric-num) { font-size: 18px !important; }
  [style*="font-size:20px"]:not(.metric-num) { font-size: 16px !important; }

  /* Nested cta-inner blocks — phone-tight */
  .cta-inner { padding: 16px 14px; border-radius: 14px; }
  .cta-inner [style*="padding:18px"],
  .cta-inner [style*="padding:20px"],
  .cta-inner [style*="padding:22px"] { padding: 12px 10px !important; }
  .cta-inner [style*="margin-bottom:24px"] { margin-bottom: 16px !important; }
  .cta-inner [style*="margin-top:24px"] { margin-top: 16px !important; }
  .cta-inner [style*="margin-bottom:20px"] { margin-bottom: 14px !important; }

  /* Bullets — tighter on phones */
  .bullets li { margin: 7px 0; padding-left: 22px; font-size: 12px; }

  /* Gallery — single column on narrow phones */
  [style*="minmax(280px"] { grid-template-columns: 1fr !important; }

  /* Metric cards — reduce number sizes for pain section */
  #pain .metric-num { font-size: 16px !important; }

  /* Lead paragraph — slightly smaller */
  .lead { font-size: 14px; line-height: 1.6; }

  /* Story section vertical rhythm — less space between blocks */
  .story > .container + .container { margin-top: 0; }

  /* h2 — compact but with air */
  h2 { margin-bottom: 8px !important; }
  .muted[style*="margin:0 auto"] { margin-bottom: 14px !important; }
  /* Uniform section air on phones */
  .story > .container:first-child h2 { margin-bottom: 20px; }

  /* Payment buttons — full width, readable */
  .card-num { width: 100% !important; font-size: 13px !important; padding: 10px 12px !important; }

  /* Guarantee block — tighter */
  .guarantee-block { padding: 14px 12px; gap: 10px; }
  .guarantee-icon { font-size: 26px; }

  /* Footer — phone layout */
  .footer { padding: 28px 0; }
  .footer-actions { width: 100%; }
  .footer-actions .btn.small { flex: 1; text-align: center; justify-content: center; }
}

@media (max-width: 360px) {
  .container { padding: 0 12px; }
  h1 { font-size: 20px; }
  h2 { font-size: 16px !important; }
  .btn { padding: 12px 16px; font-size: 13px; }
  .btn.primary { font-size: 13px; }
  .cta-inner { padding: 14px 12px; border-radius: 12px; }
  .metric { padding: 10px 8px; }
  .metric-num { font-size: 18px; }
  .metric-label { font-size: 11px; }
  .story-text p { font-size: 13px; }
  .story-text h3 { font-size: 14px; }
  .faq-q { font-size: 13px; padding: 12px 14px; }
  .topnav__link { padding: 6px 8px; font-size: 10px; min-height: 36px; }
  .pill { font-size: 11px; padding: 6px 12px; }
  .lead { font-size: 13px; }
  .story { padding: 22px 0; }
  .cta { padding: 20px 0; }
  .story[style*="padding:56px"] { padding: 20px 0 !important; }
}


/* === Counter glow on reveal === */
.metric-num.counted,
.hero-counter.counted {
  animation: counterGlow .6s ease-out;
}
@keyframes counterGlow {
  0% { filter: brightness(1.8) drop-shadow(0 0 12px rgba(255,216,74,.6)); }
  100% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
}

/* === Gallery grid stagger === */
.gallery-item {
  opacity: 0; transform: translateY(30px) scale(.95);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gallery-item.in-view { opacity: 1; transform: none; }

/* === Video wrap reveal === */
.video-wrap.reveal-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.video-wrap.reveal-up.in-view { opacity: 1; transform: none; }

/* === Kicker shimmer === */
.kicker {
  background: linear-gradient(90deg, #e8b830, #ffd84a, #e8b830);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: kickerShine 3s ease-in-out infinite;
}
@keyframes kickerShine {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.capacity-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, .6);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(74, 222, 128, .6); }
  50% { opacity: .5; box-shadow: 0 0 12px rgba(74, 222, 128, .9); }
}

/* === Scroll progress bar === */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, #e8b830, #ffd84a);
  box-shadow: 0 0 10px rgba(255,216,74,.5);
  transition: width .1s linear;
  pointer-events: none;
}


/* === FAQ accordion === */
.faq-list { position: relative; z-index: 1; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, rgba(255,200,50,.04), rgba(255,200,50,.01));
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item:hover {
  border-color: rgba(255,216,74,.28);
  box-shadow: 0 4px 20px rgba(255,216,74,.06);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer;
  font-weight: 700; font-size: 15px; color: var(--accent-light);
  user-select: none; gap: 12px;
  transition: background .2s;
}
.faq-q:hover { background: rgba(255,216,74,.04); }
.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  transition: transform .35s var(--ease);
  color: var(--accent);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease), padding .3s var(--ease);
  padding: 0 22px;
}
.faq-item.open .faq-a {
  max-height: 800px;
  padding: 0 22px 18px;
}
.faq-a p {
  color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0;
}

/* === Guarantee badge === */
.guarantee-block {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 26px; border-radius: 16px; margin-top: 20px;
  border: 1px solid rgba(74,222,128,.20);
  background: linear-gradient(135deg, rgba(74,222,128,.06), rgba(74,222,128,.01));
  position: relative; z-index: 1;
}
.guarantee-icon {
  font-size: 32px; flex-shrink: 0; line-height: 1;
  filter: drop-shadow(0 0 8px rgba(74,222,128,.4));
}
.guarantee-text { flex: 1; }
.guarantee-text strong {
  display: block; color: #4ade80; font-size: 15px; font-weight: 800;
  margin-bottom: 4px;
}
.guarantee-text span {
  color: var(--muted); font-size: 13px; line-height: 1.55;
}

/* === Who it's for / not for === */
.fit-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 20px; position: relative; z-index: 1;
}
.fit-col { padding: 24px; border-radius: 16px; }
.fit-col.yes {
  border: 1px solid rgba(74,222,128,.18);
  background: linear-gradient(135deg, rgba(74,222,128,.06), transparent);
}
.fit-col.no {
  border: 1px solid rgba(255,107,107,.15);
  background: linear-gradient(135deg, rgba(255,107,107,.04), transparent);
}
.fit-col h4 {
  font-size: 16px; font-weight: 800; margin-bottom: 14px;
}
.fit-col.yes h4 { color: #4ade80; }
.fit-col.no h4 { color: #ff6b6b; }
.fit-list {
  list-style: none; padding: 0; margin: 0;
  font-size: 14px; line-height: 1.6; color: var(--muted);
}
.fit-list li { padding: 5px 0 5px 24px; position: relative; }
.fit-col.yes .fit-list li::before { content: '✓'; position: absolute; left: 0; color: #4ade80; font-weight: 800; }
.fit-col.no .fit-list li::before { content: '✗'; position: absolute; left: 0; color: #ff6b6b; font-weight: 800; }

/* === Result timeline === */
.timeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  position: relative; z-index: 1; margin-top: 20px;
}
.timeline::before {
  content: ''; position: absolute;
  top: 28px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, rgba(74,222,128,.3), var(--accent), rgba(255,107,107,.3));
  z-index: 0;
}
.tl-step { text-align: center; position: relative; z-index: 1; padding: 0 8px; }
.tl-dot {
  width: 18px; height: 18px; border-radius: 50%; margin: 20px auto 12px;
  border: 2px solid var(--accent);
  background: var(--bg);
  box-shadow: 0 0 12px rgba(255,216,74,.25);
  transition: all .3s;
}
.tl-step:first-child .tl-dot { background: #4ade80; border-color: #4ade80; box-shadow: 0 0 12px rgba(74,222,128,.4); }
.tl-step:last-child .tl-dot { background: var(--accent); border-color: var(--accent); }
.tl-label { font-size: 12px; font-weight: 800; color: var(--accent-light); margin-bottom: 4px; }
.tl-desc { font-size: 11px; color: var(--muted2); line-height: 1.45; }

/* === Pulsing CTA — draws eye to primary button === */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(255,216,74,.25), 0 0 40px rgba(255,216,74,.08); }
  50% { box-shadow: 0 10px 40px rgba(255,216,74,.35), 0 0 60px rgba(255,216,74,.12); }
}
.cta .btn.primary,
#final .btn.primary {
  animation: ctaPulse 4s ease-in-out infinite, shimmer 3.5s ease-in-out infinite;
}

/* === Objection buster (inline in FAQ) === */
.objection-stat {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.15);
  font-size: 12px; font-weight: 700; color: #4ade80;
  margin-top: 6px;
}

/* === Responsive additions === */
@media (max-width: 860px) {
  .fit-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  .faq-q { padding: 14px 16px; font-size: 14px; }
  .faq-a { padding: 0 16px; }
  .faq-item.open .faq-a { padding: 0 16px 14px; }
  .guarantee-block { flex-direction: column; padding: 18px 16px; gap: 10px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
}
@media (max-width: 480px) {
  .timeline { grid-template-columns: 1fr; gap: 10px; }
  .timeline::before { display: none; }
}

/* ═══ PROOF SECTION — Instagram Stats ═══ */
.proof-section {
  padding: 56px 0;
  position: relative;
  z-index: 2;
}
.proof-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(232,184,48,.06), transparent 70%);
  pointer-events: none;
}
.proof-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.proof-stat {
  text-align: center;
  padding: 22px 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(232,184,48,.12);
  background: rgba(232,184,48,.03);
  position: relative;
  overflow: hidden;
}
.proof-stat--hero {
  grid-column: 1 / -1;
  border-color: rgba(232,184,48,.25);
  background: linear-gradient(135deg, rgba(232,184,48,.08), rgba(232,184,48,.02));
  padding: 32px 20px 26px;
}
.proof-stat--hero .proof-stat__number {
  font-size: 42px;
  background: linear-gradient(135deg, #e8b830, #ffd84a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}
.proof-stat__number {
  font-weight: 900;
  font-size: 26px;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.proof-stat__label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.proof-stat__sub {
  font-size: 13px;
  color: var(--muted2);
  margin-top: 6px;
}
.proof-stat__growth {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #4ade80;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.2);
}
.proof-top-reels {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(232,184,48,.12);
  background: rgba(0,0,0,.2);
  margin-bottom: 24px;
}
.proof-reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.proof-reel {
  text-align: center;
  padding: 20px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(232,184,48,.08), rgba(232,184,48,.02));
  border: 1px solid rgba(232,184,48,.15);
  position: relative;
}
.proof-reel__views {
  font-weight: 900;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 4px;
}
.proof-reel__date {
  font-size: 11px;
  color: var(--muted2);
  font-weight: 500;
}
.proof-cta-row {
  text-align: center;
}
@media (max-width: 640px) {
  .proof-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .proof-stat--hero { grid-column: 1 / -1; }
  .proof-stat--hero .proof-stat__number { font-size: 32px; }
  .proof-stat__number { font-size: 22px; }
  .proof-reels-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .proof-reel__views { font-size: 18px; }
}


/* === Consultation Banner === */
.consult-banner {
  padding: 20px 0; text-align: center;
  background: linear-gradient(90deg, transparent, rgba(42,171,238,.06), transparent);
  border-top: 1px solid rgba(42,171,238,.12);
  border-bottom: 1px solid rgba(42,171,238,.12);
}
.consult-banner__inner {
  max-width: 700px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.consult-banner__text {
  font-size: 15px; font-weight: 700; color: var(--accent-light);
}
.consult-banner__text strong { color: #5bf5c4; }
.consult-banner__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #2AABEE, #1E96D1);
  border: none; cursor: pointer; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.consult-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42,171,238,.3);
}
@media (max-width: 640px) {
  .consult-banner__inner { flex-direction: column; gap: 10px; }
}

/* === Telegram Channel Subscribe Strip === */
.tg-subscribe-strip {
  padding: 28px 0; text-align: center;
  background: linear-gradient(135deg, rgba(42,171,238,.06), rgba(42,171,238,.02));
  border: 1px solid rgba(42,171,238,.12);
  border-radius: 16px;
  margin: 24px auto; max-width: 720px;
}
.tg-subscribe-strip__title {
  font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 8px;
}
.tg-subscribe-strip__sub {
  font-size: 13px; color: var(--muted); margin-bottom: 16px; max-width: 50ch; margin-left: auto; margin-right: auto; padding: 0 16px;
}
.tg-subscribe-strip__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 12px;
  font-size: 15px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #2AABEE, #1E96D1);
  border: none; cursor: pointer; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.tg-subscribe-strip__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42,171,238,.35);
}
.tg-subscribe-strip__btn svg { width: 20px; height: 20px; }
.tg-subscribe-strip__note {
  font-size: 11px; color: var(--muted2); margin-top: 10px;
}



/* === Subtle image hover glow === */
.story-media img { will-change: transform; }

/* === Better link underlines in text blocks === */
.seo-text a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(232,184,48,.3); transition: border-color .2s; }
.seo-text a:hover { border-color: var(--accent); }

/* === Smooth section transitions === */
section, .cta, .consult-banner { transition: opacity .4s ease; }

/* === Mobile scroll flow === */
@media (max-width: 768px) {
  .story-block::after { opacity: .5; }
  .story > .container:first-child h2 { font-size: clamp(17px, 4.5vw, 22px); }
  .cta h2 { font-size: clamp(17px, 4.5vw, 22px); }
  .cta-text { font-size: 14px; line-height: 1.65; }
  .faq-a p { font-size: 14px; }
  .consult-banner__text { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-up, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  #bg-canvas { display: none; }
}

