*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0B0D12;
  --surface:   #141820;
  --surface-hi:#1E2430;
  --border:    #272D3D;
  --orange:    #FF5C00;
  --green:     #48BB78;
  --blue:      #2563EB;
  --text:      #F0EDE8;
  --muted:     #8B929D;
  --dim:       #3A404F;

  --ff-display: Georgia, 'Times New Roman', serif;
  --ff-body:    -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-mono:    'Courier New', Courier, monospace;

  --fs-hero:  clamp(2.8rem, 6vw, 5.2rem);
  --fs-h2:    clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3:    1.125rem;
  --fs-body:  1.0625rem;
  --fs-small: 0.875rem;
  --fs-label: 0.6875rem;

  --section-gap: clamp(80px, 12vw, 140px);
  --container:   1100px;
  --gutter:      clamp(20px, 5vw, 48px);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ── NAV ───────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,13,18,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  gap: 16px;
}
.logo { font-family: var(--ff-display); font-size: 1.25rem; color: var(--text); letter-spacing: -0.02em; flex-shrink: 0; }
.logo span { color: var(--orange); }

.lang-switcher { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.lang-btn {
  background: none; border: none; color: var(--muted);
  font-family: var(--ff-body); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; cursor: pointer; padding: 6px 8px;
  border-radius: 4px; transition: color 0.15s, background 0.15s;
  line-height: 1;
}
.lang-btn:hover { color: var(--text); background: var(--surface-hi); }
.lang-btn.active { color: var(--text); }
.lang-sep { color: var(--dim); font-size: 0.75rem; user-select: none; padding: 0 2px; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  font-family: var(--ff-body); font-size: var(--fs-small); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 6px; text-decoration: none;
  transition: opacity 0.15s; flex-shrink: 0; white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; }

/* ── HERO ──────────────────────────────────────────────── */
.hero { padding: clamp(64px,10vw,120px) 0 clamp(64px,8vw,100px); }
.hero-inner {
  display: grid; grid-template-columns: 1fr 380px;
  gap: clamp(40px,6vw,80px); align-items: center;
}
.hero-eyebrow {
  display: inline-block; font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px;
}
h1 {
  font-family: var(--ff-display); font-size: var(--fs-hero);
  line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
  color: var(--text); margin-bottom: 24px;
}
h1 em { font-style: normal; color: var(--orange); }
.hero-sub { font-size: clamp(1rem,1.5vw,1.125rem); color: var(--muted); max-width: 480px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border-radius: 6px; text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.hero-note { font-size: var(--fs-small); color: var(--dim); letter-spacing: 0.01em; }

/* ── PHONE ─────────────────────────────────────────────── */
.phone-wrap { display: flex; justify-content: center; align-items: flex-start; }
.phone {
  width: 260px; height: 520px; background: #0a0c10;
  border-radius: 40px; border: 1.5px solid var(--border); overflow: hidden; position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 8px; background: #1a1d26; border-radius: 10px; z-index: 10;
}
.phone-screen { width: 100%; height: 100%; display: flex; flex-direction: column; transition: background 0.6s ease; }
.phone-header { display: flex; justify-content: space-between; align-items: center; padding: 36px 20px 16px; }
.phone-day { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.phone-dist { font-family: var(--ff-mono); font-size: 11px; color: rgba(255,255,255,0.75); }
.phone-dots { display: flex; gap: 4px; justify-content: center; padding: 0 20px 12px; flex-wrap: wrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.25); flex-shrink: 0; transition: background 0.4s; }
.dot.active { background: rgba(255,255,255,0.9); }
.dot.done   { background: rgba(255,255,255,0.5); }
.phone-phase-label { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.8); padding: 0 20px 6px; }
.phone-card { margin: 0 16px; background: rgba(255,255,255,0.12); border-radius: 16px; padding: 20px 16px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; justify-content: center; }
.phone-phase-icon { font-size: 28px; line-height: 1; margin-bottom: 4px; }
.phone-phase-name { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.phone-timer { font-family: var(--ff-mono); font-size: 3.2rem; color: #fff; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.phone-of { font-size: 10px; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; }
.phone-progress-track { width: 100%; height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.phone-progress-fill { height: 100%; background: rgba(255,255,255,0.8); border-radius: 2px; transition: width 1s linear; }
.phone-next { margin: 10px 16px 0; background: rgba(0,0,0,0.25); border-radius: 10px; padding: 9px 14px; display: flex; align-items: center; justify-content: space-between; }
.phone-next-label { font-size: 9px; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; text-transform: uppercase; }
.phone-next-name { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.75); letter-spacing: 0.1em; text-transform: uppercase; }
.phone-controls { display: flex; justify-content: center; gap: 16px; padding: 14px 20px 20px; align-items: center; }
.phone-btn-main, .phone-btn-side { border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.phone-btn-main { width: 56px; height: 56px; background: rgba(255,255,255,0.18); }
.phone-btn-side { width: 36px; height: 36px; background: rgba(255,255,255,0.08); }

/* ── SECTIONS ──────────────────────────────────────────── */
.section-label { display: inline-block; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
h2 { font-family: var(--ff-display); font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; margin-bottom: 16px; }

.features, .journey, .phases, .cta-section { padding: var(--section-gap) 0; border-top: 1px solid var(--border); }
.cta-section { padding-bottom: clamp(60px,10vw,120px); }
.features-header { margin-bottom: clamp(40px,6vw,64px); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.feature-card { background: var(--surface); padding: clamp(28px,4vw,40px); transition: background 0.2s; }
.feature-card:hover { background: var(--surface-hi); }
.feature-icon { width: 44px; height: 44px; border-radius: 6px; background: var(--surface-hi); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 20px; }
.feature-card h3 { font-family: var(--ff-display); font-size: var(--fs-h3); font-weight: normal; letter-spacing: -0.01em; margin-bottom: 10px; line-height: 1.3; }
.feature-card p { font-size: var(--fs-small); color: var(--muted); line-height: 1.7; }
.feature-card p em { font-style: italic; color: var(--text); }

.journey-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px,5vw,56px); }
.journey-legend { display: flex; gap: 20px; align-items: center; }
.legend-item { display: flex; align-items: center; gap: 7px; font-size: var(--fs-small); color: var(--muted); }
.legend-dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.chart-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: clamp(24px,4vw,40px); overflow-x: auto; }
canvas#journeyChart { display: block; width: 100%; max-width: 100%; }
.journey-weeks { display: grid; grid-template-columns: repeat(8,1fr); margin-top: 12px; }
.journey-week-label { text-align: center; font-size: 10px; color: var(--dim); letter-spacing: 0.05em; }
.journey-week-label.last { color: var(--green); font-weight: 700; }
.journey-footnote { margin-top: 16px; font-size: var(--fs-small); color: var(--dim); text-align: center; }

.phases-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: clamp(36px,5vw,56px); }
.phase-chip { border-radius: 12px; padding: 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.phase-chip-label { font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.phase-chip-desc { font-size: var(--fs-small); color: rgba(255,255,255,0.55); line-height: 1.5; }
.phase-chip-time { font-family: var(--ff-mono); font-size: 1.5rem; color: rgba(255,255,255,0.9); font-variant-numeric: tabular-nums; margin-top: auto; padding-top: 10px; }

.cta-inner { text-align: center; max-width: 580px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 20px; }
.cta-inner > p { color: var(--muted); margin-bottom: 40px; line-height: 1.7; }
.cta-steps { display: flex; justify-content: center; gap: clamp(24px,4vw,48px); margin-bottom: 40px; flex-wrap: wrap; }
.cta-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cta-step-num { font-family: var(--ff-mono); font-size: 0.75rem; color: var(--orange); font-weight: 700; letter-spacing: 0.04em; }
.cta-step-text { font-size: var(--fs-small); color: var(--muted); }
.btn-large { font-size: 1.0625rem; padding: 18px 36px; }
.cta-fine { margin-top: 16px; font-size: 0.8125rem; color: var(--dim); }

footer { border-top: 1px solid var(--border); padding: 28px var(--gutter); }
footer p { font-size: var(--fs-small); color: var(--dim); text-align: center; }

/* ── ANIMATIONS ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-content { animation: heroIn 0.7s ease forwards; }
.phone-wrap   { animation: heroIn 0.7s 0.18s ease both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-content, .phone-wrap { animation: none; transition: none; opacity: 1; transform: none; }
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .phone-wrap { order: -1; }
  .phone { width: 220px; height: 440px; }
  .phone-timer { font-size: 2.6rem; }
  .features-grid { grid-template-columns: 1fr; }
  .phases-grid { grid-template-columns: repeat(2,1fr); }
  .journey-weeks { display: none; }
  .nav-cta span { display: none; }
}
@media (max-width: 520px) {
  .phases-grid { grid-template-columns: 1fr; }
  .cta-steps { flex-direction: column; align-items: center; }
}
