/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --bg:         #080c14;
  --bg-2:       #0d1320;
  --bg-3:       #111827;
  --surface:    #131d2e;
  --border:     rgba(99,179,237,0.12);
  --cyan:       #38bdf8;
  --cyan-dim:   #0ea5e9;
  --cyan-glow:  rgba(56,189,248,0.18);
  --accent:     #818cf8;
  --text:       #e2e8f0;
  --text-muted: #94a3b8;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --transition:   0.3s cubic-bezier(.4,0,.2,1);
  --shadow-card:  0 4px 32px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 40px rgba(56,189,248,0.15);
}

/* ── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.9rem;
}

.gradient-text {
  background: linear-gradient(120deg, var(--cyan) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--cyan);
  color: #020817;
}
.btn-primary:hover {
  background: #7dd3fc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56,189,248,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ── LAYOUT HELPERS ────────────────────────────────────── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}
.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-header p.section-sub {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal-delay  { transition-delay: 0.15s; }
.reveal.reveal-delay-2{ transition-delay: 0.3s;  }
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HEADER ────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 68px;
  background: rgba(8,12,20,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
#header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(8,12,20,0.92);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
#header-img {
  height: 36px;
  width: auto;
}
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
}
.logo-wordmark em {
  font-style: normal;
  color: var(--cyan);
}

#nav-bar {
  display: flex;
  gap: 4px;
  margin-left: auto;
  margin-right: 24px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.nav-cta {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--cyan);
  color: #020817;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.nav-cta:hover {
  background: #7dd3fc;
  box-shadow: 0 4px 16px rgba(56,189,248,0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────────────────── */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #0c1e38 0%, var(--bg) 70%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 840px;
  padding: 0 32px;
  z-index: 2;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.4rem;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
  animation: bounce 2.4s ease-in-out infinite;
}
.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--cyan), transparent);
  margin: 8px auto 0;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── INTRO ─────────────────────────────────────────────── */
#intro {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.intro-cta h2 { margin-bottom: 1rem; }
.intro-cta p  { color: var(--text-muted); margin-bottom: 1.8rem; font-size: 1rem; }

.email-form { display: flex; flex-direction: column; gap: 12px; }
.email-form input[type="email"] {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}
.email-form input[type="email"]:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}
.email-form input::placeholder { color: var(--text-muted); }

/* ── BENEFITS ──────────────────────────────────────────── */
#benefits { background: var(--bg); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
}
.benefit-card:hover {
  border-color: rgba(56,189,248,0.35);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.benefit-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}
.benefit-card h3 { margin-bottom: 0.7rem; color: var(--white); }
.benefit-card p  { color: var(--text-muted); font-size: 0.95rem; }

/* ── FEATURES ──────────────────────────────────────────── */
#features {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.features-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.features-img-frame img { width: 100%; }
.img-badge {
  position: absolute;
  bottom: 18px; right: 18px;
  background: var(--cyan);
  color: #020817;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 6px;
}

.features-text h2 { margin-bottom: 1.6rem; }
.feature-list {
  list-style: none;
  margin-bottom: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feature-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.06em;
  padding-top: 3px;
  flex-shrink: 0;
}
.feature-list strong { color: var(--white); font-weight: 700; font-size: 1rem; display: block; margin-bottom: 2px; }
.feature-list p { color: var(--text-muted); font-size: 0.9rem; }

/* ── PRICING ───────────────────────────────────────────── */
#pricing { background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.pricing-card.featured {
  border-color: var(--cyan);
  background: linear-gradient(160deg, #0d2137 0%, var(--surface) 100%);
  box-shadow: var(--shadow-glow);
}
.pricing-badge {
  display: inline-block;
  background: var(--cyan);
  color: #020817;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.pricing-tier {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-card.featured .pricing-tier { color: var(--cyan); }
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.pricing-price sup {
  font-size: 1.2rem;
  vertical-align: super;
  color: var(--text-muted);
}
.pricing-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 28px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pricing-features li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1.4em;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}
.pricing-btn { width: 100%; justify-content: center; }

/* ── CONTACT ───────────────────────────────────────────── */
#contact {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { color: var(--text-muted); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.detail-icon { font-size: 1.1rem; }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  padding: 13px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.contact-form textarea { min-height: 130px; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(148,163,184,0.5); }

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo-wordmark { font-size: 1.2rem; display: block; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.footer-links, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}
.footer-links a, .footer-legal a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover, .footer-legal a:hover { color: var(--cyan); }
.footer-copy { font-size: 0.8rem; color: rgba(148,163,184,0.45); margin-top: 8px; }
.footer-copy a { color: var(--cyan); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .intro-grid    { grid-template-columns: 1fr; }
  .features-inner{ grid-template-columns: 1fr; }
  .features-visual { max-width: 520px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section-inner { padding: 72px 24px; }

  #header { padding: 0 24px; }
  #nav-bar, .nav-cta { display: none; }
  .hamburger { display: flex; }

  #nav-bar.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(8,12,20,0.97);
    backdrop-filter: blur(16px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  #nav-bar.mobile-open + .nav-cta {
    display: block;
    position: fixed;
    top: calc(68px + 170px);
    left: 24px; right: 24px;
    text-align: center;
  }

  .benefits-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 32px 24px; }

  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}