/* ============================================================
   Generation One 2026 — styles.css
   ============================================================ */

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

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Core palette — drawn from the Generation One logo */
  --ink-navy:        #0D1B40;
  --ink-navy-deep:   #070E28;
  --accent-cyan:     #1EC4E8;   /* bright cyan — logo top */
  --accent-blue:     #2B6FD4;   /* vivid blue  — logo body */
  --cloud-white:     #F4F6FA;
  --slate-blue:      #2A4A82;
  --slate-mid:       #1A3468;
  --paper:           #F7F9FC;
  --ink-text:        #1A2B45;
  --ink-muted:       #526480;

  --font-display: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Base ────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ──────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 14, 40, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(244, 246, 250, 0.07);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 5px;
  padding-bottom: 5px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Offset all anchor targets so sticky nav doesn't cover headings */
[id] { scroll-margin-top: 120px; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(244, 246, 250, 0.62);
  transition: color 0.15s ease;
}

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

.nav-cta {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  padding: 9px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--ink-navy-deep);
  color: var(--cloud-white);
  overflow: hidden;
  padding-top: 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
}

.hero .glow-top {
  width: 800px;
  height: 560px;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(30, 196, 232, 0.2) 0%, rgba(43, 111, 212, 0.12) 40%, transparent 70%);
  filter: blur(70px);
}

.hero .glow-right {
  width: 480px;
  height: 420px;
  top: 10%;
  right: -8%;
  background: radial-gradient(ellipse, rgba(42, 74, 130, 0.5) 0%, transparent 70%);
  filter: blur(60px);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 64px;
}

/* ── Eyebrow ─────────────────────────────────────────────── */
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(244, 246, 250, 0.62);
  margin-bottom: 28px;
}

.eyebrow-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.eyebrow-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(244, 246, 250, 0.2);
  flex-shrink: 0;
}

/* ── Headline ────────────────────────────────────────────── */
.headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--cloud-white);
  margin-bottom: 22px;
}

.headline em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(92deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  color: rgba(244, 246, 250, 0.68);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
  font-weight: 400;
}

/* ── Buttons ─────────────────────────────────────────────── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, #60D8F2 50%, var(--accent-cyan) 100%);
  background-size: 200% 100%;
  padding: 14px 32px;
  border-radius: 999px;
  box-shadow: 0 4px 22px rgba(30, 196, 232, 0.32);
  transition: background-position 0.35s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 8px 30px rgba(30, 196, 232, 0.48);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--cloud-white);
  border: 1px solid rgba(244, 246, 250, 0.28);
  padding: 13px 28px;
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(244, 246, 250, 0.52);
  background: rgba(244, 246, 250, 0.07);
}

/* ── Video ───────────────────────────────────────────────── */
.hero-video {
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
}

.video-frame {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(150deg, #142252 0%, #0D1B40 55%, #091530 100%);
  border: 1px solid rgba(244, 246, 250, 0.09);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Hero quote ──────────────────────────────────────────── */
.hero-quote-wrap {
  position: relative;
  z-index: 2;
  padding: 64px 0 72px;
  text-align: center;
}

.hero-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  line-height: 1.55;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(244, 246, 250, 0.85);
  border: none;
  padding: 0;
}

.hero-quote strong {
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Wave Divider ────────────────────────────────────────── */
.wave-divider {
  background: var(--ink-navy-deep);
  line-height: 0;
  overflow: hidden;
  margin-bottom: -2px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Section Base ────────────────────────────────────────── */
.section-light {
  background: var(--paper);
  padding: 56px 0 88px;
}

.section-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 52px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  color: var(--ink-navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ── Expect Cards ────────────────────────────────────────── */
.expect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.expect-card {
  background: #fff;
  border: 1px solid rgba(13, 27, 64, 0.07);
  border-radius: 18px;
  padding: 28px 22px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.expect-card:hover {
  box-shadow: 0 10px 36px rgba(13, 27, 64, 0.09);
  transform: translateY(-3px);
}

.expect-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  flex-shrink: 0;
}

.expect-card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.expect-card p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Stagger the card reveals */
.expect-grid .expect-card:nth-child(2) { transition-delay: 70ms; }
.expect-grid .expect-card:nth-child(3) { transition-delay: 140ms; }
.expect-grid .expect-card:nth-child(4) { transition-delay: 210ms; }

/* ── Testimonials ────────────────────────────────────────── */
.section-dark {
  background: linear-gradient(175deg, var(--slate-blue) 0%, var(--slate-mid) 100%);
  padding: 88px 0;
}

.section-dark .section-label { color: var(--accent-cyan); }
.section-dark .section-title { color: var(--cloud-white); }
.section-dark .section-sub   { color: rgba(244, 246, 250, 0.62); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.t-card {
  background: rgba(244, 246, 250, 0.05);
  border: 1px solid rgba(244, 246, 250, 0.11);
  border-radius: 18px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.t-card blockquote { border: none; padding: 0; }

.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(244, 246, 250, 0.9);
}

.t-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.t-name {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(244, 246, 250, 0.5);
  letter-spacing: 0.01em;
  font-style: normal;
  line-height: 1.4;
}

/* Stagger testimonial reveals */
.testimonial-grid .t-card:nth-child(2) { transition-delay: 90ms; }
.testimonial-grid .t-card:nth-child(3) { transition-delay: 180ms; }

/* ── Schedule ─────────────────────────────────────────────── */
.schedule-list {
  max-width: 680px;
  margin: 0 auto 48px;
}

.schedule-row {
  display: flex;
  gap: 36px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(13, 27, 64, 0.09);
  align-items: flex-start;
}

.schedule-row:last-child { border-bottom: none; }

.schedule-day {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 72px;
  flex-shrink: 0;
}

.day-abbr {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.day-date {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-navy);
  letter-spacing: 0.02em;
}

.schedule-detail h4 {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-navy);
  margin-bottom: 5px;
  line-height: 1.35;
}

.schedule-detail p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.65;
}

.disc-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  background: rgba(43, 111, 212, 0.1);
  color: var(--accent-blue);
  padding: 2px 9px;
  border-radius: 999px;
  margin-left: 6px;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

/* ── Logistics ───────────────────────────────────────────── */
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 680px;
  margin: 0 auto;
}

.logistics-card {
  text-align: center;
  padding: 22px 16px;
  border: 1px solid rgba(13, 27, 64, 0.09);
  border-radius: 14px;
  background: #fff;
}

.logistics-card .big {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  color: var(--ink-navy);
  line-height: 1.2;
}

.logistics-card .small {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 5px;
}

/* ── Final CTA ───────────────────────────────────────────── */
.final-cta {
  position: relative;
  background: var(--ink-navy-deep);
  color: var(--cloud-white);
  padding: 104px 0 88px;
  text-align: center;
  overflow: hidden;
}

.final-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.final-bg .glow-top {
  width: 700px;
  height: 500px;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(30, 196, 232, 0.18) 0%, rgba(43, 111, 212, 0.1) 45%, transparent 70%);
  filter: blur(80px);
}

.final-bg .glow-bottom {
  width: 560px;
  height: 380px;
  bottom: -25%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(42, 74, 130, 0.55) 0%, transparent 70%);
  filter: blur(65px);
}

.final-inner {
  position: relative;
  z-index: 2;
}

.final-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--cloud-white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.final-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(244, 246, 250, 0.68);
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ── Countdown ───────────────────────────────────────────── */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.cd-sep {
  font-family: var(--font-display);
  font-size: 26px;
  color: rgba(244, 246, 250, 0.2);
  line-height: 1;
  padding-bottom: 14px;
}

.cd-unit {
  background: rgba(244, 246, 250, 0.06);
  border: 1px solid rgba(244, 246, 250, 0.11);
  border-radius: 14px;
  padding: 14px 20px;
  min-width: 82px;
  text-align: center;
}

.cd-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  color: var(--accent-cyan);
  line-height: 1;
}

.cd-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 246, 250, 0.45);
  margin-top: 7px;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--ink-navy-deep);
  border-top: 1px solid rgba(244, 246, 250, 0.06);
  padding: 44px 0 36px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--cloud-white);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.footer-brand span {
  color: var(--accent-cyan);
}

.footer-address {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(244, 246, 250, 0.38);
  line-height: 1.5;
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .expect-grid      { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .logistics-grid   { grid-template-columns: 1fr; max-width: 360px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-right { gap: 14px; }
}

@media (max-width: 380px) {
  .brand-logo { height: 64px; }
  .nav-wrap { padding-top: 8px; padding-bottom: 8px; }
  .nav-cta { font-size: 12px; padding: 8px 14px; }
}

@media (max-width: 600px) {
  .expect-grid      { grid-template-columns: 1fr; }
  .schedule-row     { flex-direction: column; gap: 8px; }
  .schedule-day     { flex-direction: row; gap: 10px; align-items: baseline; width: auto; }
  .countdown        { gap: 8px; }
  .cd-unit          { min-width: 68px; padding: 12px 14px; }
  .eyebrow          { gap: 8px; font-size: 11px; }
  .footer-inner     { justify-content: center; text-align: center; }
}
