/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0e1a;
  --bg-2: #111729;
  --surface: #161e35;
  --line: rgba(255,255,255,0.08);
  --text: #e8ecf5;
  --text-dim: #8a92a8;
  --gold: #d4a574;
  --gold-bright: #f0c896;
  --gold-deep: #a67c4a;
  --accent: #6ee7b7;
  --danger: #f87171;
  --shadow-glow: 0 0 60px rgba(212, 165, 116, 0.15);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

em { font-style: italic; color: var(--gold); font-weight: 500; }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(10, 14, 26, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.logo__dot { color: var(--gold); }
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  background: var(--gold);
  color: var(--bg) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
}
.nav__cta:hover { background: var(--gold-bright); color: var(--bg) !important; }

@media (max-width: 768px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}
.hero__bg-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: float 20s ease-in-out infinite;
}
.hero__bg-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6ee7b7 0%, transparent 70%);
  bottom: -100px; left: -100px;
  opacity: 0.15;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -40px); }
}

.hero__inner { position: relative; z-index: 2; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--gold-bright);
  margin-bottom: 32px;
  font-weight: 500;
  animation: fadeUp 0.8s var(--ease);
}

.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__title {
  font-size: clamp(40px, 7vw, 88px);
  margin-bottom: 32px;
  animation: fadeUp 1s var(--ease) 0.1s both;
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 48px;
  animation: fadeUp 1s var(--ease) 0.2s both;
}
.hero__lead strong { color: var(--text); font-weight: 600; }

.hero__cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 80px;
  animation: fadeUp 1s var(--ease) 0.3s both;
}

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-family: 'Manrope', sans-serif;
}
.btn--primary {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 8px 30px rgba(212, 165, 116, 0.3);
}
.btn--primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 165, 116, 0.5);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--large { padding: 20px 36px; font-size: 17px; }
.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.hero__stats {
  display: flex; gap: 40px; align-items: center;
  animation: fadeUp 1s var(--ease) 0.4s both;
  flex-wrap: wrap;
}
.stat__value {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat__label { font-size: 13px; color: var(--text-dim); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.1em; }
.stat__divider { width: 1px; height: 40px; background: var(--line); }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === SECTIONS === */
.section { padding: 120px 0; position: relative; }
.section__head { margin-bottom: 64px; }
.section__head--center { text-align: center; }
.section__kicker {
  display: inline-block;
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section__title {
  font-size: clamp(32px, 5vw, 56px);
  max-width: 800px;
}
.section__sub { color: var(--text-dim); margin-top: 16px; font-size: 17px; }

/* === WHAT === */
.what__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.what__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 32px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.what__card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.what__card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-glow);
}
.what__card:hover::before { opacity: 1; }
.what__num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}
.what__card h3 { font-size: 26px; margin-bottom: 16px; }
.what__card p { color: var(--text-dim); }

/* === HOW === */
.how__flow {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.how__step {
  flex: 1; min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  position: relative;
  transition: all 0.4s var(--ease);
}
.how__step:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.how__step-num {
  position: absolute;
  top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 16px;
}
.how__step-icon { font-size: 48px; margin: 16px 0; }
.how__step h3 { font-size: 22px; margin-bottom: 12px; }
.how__step p { color: var(--text-dim); font-size: 14px; }
.how__arrow { color: var(--gold); font-size: 32px; }

.how__split {
  max-width: 700px; margin: 0 auto;
}
.how__split-bar {
  display: flex; height: 80px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.how__split-you {
  flex: 85;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 700;
}
.how__split-platform {
  flex: 15;
  background: var(--surface);
  color: var(--text-dim);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-left: 1px solid var(--line);
}
.how__split-percent { font-family: 'Fraunces', serif; font-size: 28px; }
.how__split-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }

/* === CALC === */
.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 48px;
  max-width: 900px;
  margin: 0 auto 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.calc__inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.calc__field label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-weight: 600;
}
.calc__field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  padding: 16px 20px;
  font-size: 20px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  transition: border 0.3s var(--ease);
}
.calc__field input:focus {
  outline: none;
  border-color: var(--gold);
}

.calc__presets {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.calc__preset {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  font-family: 'Manrope', sans-serif;
}
.calc__preset:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.calc__result {
  background: var(--bg);
  border-radius: 18px;
  padding: 28px;
  border-left: 4px solid var(--gold);
}
.calc__result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.calc__result-row:last-child { border: none; }
.calc__result-row span {
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.calc__result-row strong {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
}
.calc__result-row--total strong { font-size: 36px; color: var(--gold); }
.profit { color: var(--accent); }

.calc__table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
}
.calc__table h3 { font-size: 22px; margin-bottom: 24px; }
.calc__table table { width: 100%; border-collapse: collapse; }
.calc__table th, .calc__table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.calc__table th {
  font-family: 'JetBrains Mono', monospace;
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.calc__table td {
  font-family: 'Fraunces', serif;
  font-size: 18px;
}
.row--highlight {
  background: rgba(212, 165, 116, 0.08);
}
.row--highlight td:first-child { color: var(--gold); font-weight: 700; }
.calc__note { color: var(--text-dim); font-size: 13px; margin-top: 16px; font-style: italic; }

/* === COMPARE === */
.compare__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.compare__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  transition: all 0.4s var(--ease);
}
.compare__card:hover { transform: translateY(-4px); }
.compare__card--featured {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.15) 0%, rgba(212, 165, 116, 0.05) 100%);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(212, 165, 116, 0.2);
}
.compare__badge {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--gold);
  color: var(--bg);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.compare__icon { font-size: 36px; margin-bottom: 16px; }
.compare__card h3 { font-size: 20px; margin-bottom: 8px; }
.compare__return {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}
.compare__card ul { list-style: none; }
.compare__card li {
  padding: 8px 0;
  color: var(--text-dim);
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}
.compare__card li:last-child { border: none; }

/* === TEENS === */
.section--teens {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.teens__hero {
  display: flex; gap: 32px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 48px;
}
.teens__avatar {
  font-size: 80px;
  background: var(--bg);
  width: 120px; height: 120px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.teens__bubble {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--text);
  position: relative;
}
.teens__author {
  display: block;
  font-size: 14px;
  color: var(--gold);
  font-style: normal;
  margin-top: 12px;
  font-family: 'Manrope', sans-serif;
}

.teens__quest h3 { text-align: center; font-size: 28px; margin-bottom: 32px; }

.quest__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.quest__step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.4s var(--ease);
  position: relative;
}
.quest__step:hover { border-color: var(--gold); transform: translateY(-4px); }
.quest__step-num {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 12px;
}
.quest__step h4 { font-size: 18px; margin-bottom: 8px; }
.quest__step p { color: var(--text-dim); font-size: 14px; }

.teens__quote {
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-style: italic;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
  padding: 32px;
  border-left: 4px solid var(--gold);
  background: var(--surface);
  border-radius: 16px;
}
.teens__quote cite {
  display: block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 14px;
  font-style: normal;
  font-family: 'Manrope', sans-serif;
}

/* === CTA === */
.section--cta { padding: 80px 0; }
.cta {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 60%, var(--gold-bright) 100%);
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--bg);
}
.cta__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 16px; color: var(--bg); }
.cta h2 em { color: var(--bg-2); }
.cta p { font-size: 18px; margin-bottom: 32px; opacity: 0.8; }
.cta__buttons { margin-bottom: 56px; }
.cta .btn--primary {
  background: var(--bg);
  color: var(--gold-bright);
}
.cta .btn--primary:hover { background: var(--bg-2); }

.cta__contacts {
  background: rgba(10,14,26,0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 32px;
  margin-top: 32px;
}
.cta__contacts h3 {
  color: var(--bg);
  font-size: 20px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}
.cta__contacts-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.contact-card {
  background: rgba(10,14,26,0.4);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
}
.contact-card__name {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 12px;
}
.contact-card__link {
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
  text-decoration: none;
  padding: 8px 0;
  font-size: 14px;
  transition: color 0.3s var(--ease);
}
.contact-card__link:hover { color: var(--gold-bright); }

/* === FOOTER === */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 32px;
  margin-bottom: 32px;
}
.footer__inner p { color: var(--text-dim); font-size: 14px; margin-top: 8px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s var(--ease);
}
.footer__links a:hover { color: var(--gold); }
.footer__copy {
  color: var(--text-dim);
  font-size: 12px;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  letter-spacing: 0.1em;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .calc { padding: 28px; }
  .cta { padding: 48px 24px; }
  .teens__hero { flex-direction: column; text-align: center; }
  .hero__stats { gap: 24px; justify-content: center; text-align: center; }
  .stat__divider { display: none; }
}

/* === SCROLL REVEALS === */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
