/* --- GLOBAL STYLES & DESIGN SYSTEM --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-deep: #1a2b33;
  --bg-light: #6fa7a1;
  --coral: #6454d7;
  --pink: #5da9ff;
  --cyan: #3fd6d6;

  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);

  --main-gradient: linear-gradient(160deg, var(--bg-deep) 0%, #253d47 100%);
  --accent-glow: radial-gradient(circle at center, var(--coral), transparent 70%);

  /* updated by JS */
  --hero-scale: 1;
  --hero-parallax-y: 0px;
}

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

body {
  background-color: var(--bg-deep);
  background-image: var(--main-gradient);
  color: var(--text-primary);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, .brand-font {
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: -0.02em;
}

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

/* Background Luminous Orbs */
.orb {
  position: fixed;
  filter: blur(100px);
  z-index: -1;
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
  animation: drift 20s infinite alternate ease-in-out;
}

.orb-1 { width: 600px; height: 600px; background: var(--coral); top: -200px; right: -100px; }
.orb-2 { width: 500px; height: 500px; background: var(--pink); bottom: -100px; left: -100px; animation-delay: -5s; }
.orb-3 { width: 400px; height: 400px; background: var(--cyan); top: 30%; left: 20%; opacity: 0.2; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(50px, 80px) scale(1.1); }
}

/* Glass cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

/* NAV — ORIGINAL LAYOUT, ONLY CLEAR VISUALS */
nav {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;

  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo image */
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo {
  height: 34px;
  width: auto;
  display: block;
  opacity: 0.95;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  background: transparent;
  border: 0;
  outline: 0;
}

.nav-links a:hover { color: var(--cyan); }

/* Buttons */
.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #fff;
  color: var(--bg-deep);
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transform: scale(1.02);
}

.btn-outline {
  border: 1px solid var(--glass-border);
  color: #fff;
}

.btn-outline:hover { background: var(--glass-bg); }

/* =========================
   STYLE HERO STAGE
   ========================= */

/* Make hero full-bleed even inside .container */
.hero-stage {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* long scroll runway so the image can shrink before cover */
  height: 170vh;
  position: relative;
}

/* Sticky viewport area */
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;

  /* IMPORTANT: no background here */
  background: transparent;
}

/* Hero image: moves slower (parallax-ish) and shrinks */
.hero-image {
  width: min(1100px, 92vw);
  height: auto;
  display: block;

  transform: translate3d(0, var(--hero-parallax-y), 0) scale(var(--hero-scale));
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.08s linear;

  filter: drop-shadow(0 26px 70px rgba(0,0,0,0.38));
}

/* =========================
   CARD SHELL (covers hero, holds the site)
   ========================= */

.card-shell {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* Pull this up so it overlaps the hero and covers it */
  margin-top: -42vh;
  position: relative;
  z-index: 5;

  /* Make it at least one full screen */
  min-height: 100vh;

  /* The card surface */
  background: rgba(12, 18, 22, 0.70);
  border-top: 1px solid rgba(255,255,255,0.14);

  /* Rounded “card” top like Apple */
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;

  /* Soft edge blend */
  backdrop-filter: blur(18px) saturate(170%);
}

.card-shell__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem 2rem;
}

/* small typewriter-ish line */
.microtype {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.25rem;
  white-space: nowrap;
  overflow: hidden;
}

/* Scroll sections inside the card */
.scroll-section {
  padding: 2.75rem 0;
  position: relative;
}

/* Scroll Gradient Unmask */
.reveal-card {
  position: relative;
  overflow: hidden;
  opacity: 0.02;
  transform: translateY(18px);
  transition: transform 0.9s cubic-bezier(.2,.8,.2,1), opacity 0.9s ease;
}

.reveal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.22),
    rgba(255,255,255,0.05),
    rgba(63,214,214,0.10),
    rgba(255,93,162,0.08)
  );
  mix-blend-mode: screen;
  transform: translateX(0%);
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.scroll-section.is-revealed .reveal-card {
  opacity: 1;
  transform: translateY(0);
}

.scroll-section.is-revealed .reveal-card::after {
  transform: translateX(110%);
}

/* Footer */
footer {
  margin-top: 6rem;
  padding: 6rem 0 2.5rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hero-stage { height: 150vh; }
  .card-shell { margin-top: -34vh; }
  .card-shell__inner { padding: 3.25rem 1.5rem 2rem; }

  .microtype { white-space: normal; }
}

/* =========================
   POLISH PASS (SPACING + TYPOGRAPHY)
   Paste at VERY BOTTOM of styles.css
   ========================= */

/* 1) Make the "card" content breathe */
.card-shell__inner {
  padding-top: 5.25rem;   /* more top air */
  padding-bottom: 3.5rem; /* more bottom air */
}

/* 2) Give each section a consistent rhythm */
.scroll-section {
  padding: 3.25rem 0;     /* was tighter; feels premium now */
}

/* 3) Make paragraphs look intentional (line length + spacing) */
.card-shell__inner p,
.glass-card p {
  max-width: 68ch;
  line-height: 1.75;
}

/* 4) Headings: better separation + scale */
.card-shell__inner h1,
.card-shell__inner h2 {
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.card-shell__inner h1 {
  margin-top: 0.35rem;
  letter-spacing: -0.03em;
}

.card-shell__inner h2 {
  margin-top: 0.1rem;
  letter-spacing: -0.02em;
}

/* 5) Card spacing inside each glass card */
.glass-card {
  padding: 3rem; /* slightly more than 2.5rem for a luxe feel */
}

.glass-card > * + * {
  margin-top: 0.95rem; /* consistent stack spacing */
}

/* 6) Microtype: smaller, cleaner, less shouty */
.microtype {
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.85;
  margin-bottom: 1.25rem;
}

/* 7) Buttons: align + spacing that looks designed */
.hero-actions,
.product-links,
.banner-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.btn {
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
}

.btn-primary {
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

/* 8) Card intro: a little more padding so it feels like the main “panel” */
.card-intro .glass-card {
  padding: 3.25rem;
}

/* 9) Slightly tighten the big intro paragraph spacing */
.card-intro p {
  margin-top: 1rem;
}

/* 10) MOBILE: keep it premium, not cramped */
@media (max-width: 768px) {
  .card-shell__inner {
    padding-top: 3.75rem;
    padding-bottom: 2.75rem;
  }

  .scroll-section {
    padding: 2.4rem 0;
  }

  .glass-card {
    padding: 2.1rem;
  }

  .card-intro .glass-card {
    padding: 2.2rem;
  }
}

/* =========================
   FOOTER: Make the "second nav" text white
   ========================= */

footer a {
  color: rgba(255, 255, 255, 0.92) !important;
}

footer a:hover {
  color: #ffffff !important;
}

footer h4 {
  color: rgba(255, 255, 255, 0.92);
}

/* keep the non-link footer text slightly softer */
footer p,
footer .footer-bottom,
footer .footer-brand p {
  color: rgba(255, 255, 255, 0.72);
}

/* =========================
   Privacy Policy
   ========================= */

.privacy {
  max-width: 720px;
}

.privacy__updated {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 32px;
}

.privacy h3 {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
}

.privacy p {
  margin-bottom: 16px;
  line-height: 1.6;
}

/* =========================
   Terms of Use
   ========================= */

.terms {
  max-width: 720px;
}

.terms__updated {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 32px;
}

.terms h3 {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
}

.terms p {
  margin-bottom: 16px;
  line-height: 1.6;
}
