@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500&family=Syne:wght@700;800&display=swap');

/* ═══════════════════════════════════════════════════
   TOKENS
   ═══════════════════════════════════════════════════ */
:root {
  --bg:           #0e0e0e;
  --s1:           #161616;
  --s2:           #1e1e1e;
  --s3:           #282828;
  --s4:           #333333;
  --white:        #ffffff;
  --off-white:    #e8e5e2;
  --muted:        #999999;
  --dim:          #555555;
  --outline:      rgba(255,255,255,0.07);

  --font-d: 'Manrope', sans-serif;
  --font-b: 'Inter', sans-serif;

  --max: 1200px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
}

/* ═══════════════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.5;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--s4); border-radius: 99px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.container-wide { max-width: 1800px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 5; }

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.5rem 0;
  transition: padding 0.4s ease, background 0.4s ease;
}

.nav.scrolled {
  padding: 1rem 0;
  background: rgba(14,14,14,0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--outline);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.nav-brand-icon { width: 28px; height: 28px; }

.nav-brand-name {
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: 99px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--white); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-b);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--white);
  color: #111;
  padding: 0.7rem 1.5rem;
  border-radius: 99px;
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--off-white);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 0.7rem 1.25rem;
  border-radius: 99px;
}
.btn-ghost:hover { color: var(--white); background: rgba(255,255,255,0.05); }

.btn-outline {
  background: transparent;
  color: var(--off-white);
  padding: 0.9rem 2rem;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  font-size: 0.95rem;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 99px;
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 10rem 0 8rem;
  position: relative;
  overflow: hidden;
}

/* Radial ambient */
.hero-ambient {
  position: absolute;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}

/* Subtle grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 0%, transparent 100%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.1s cubic-bezier(0.16,1,0.3,1) forwards;
}

.eyebrow-line {
  width: 28px;
  height: 1px;
  background: var(--dim);
}

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: #666; /* Safe base color */
  -webkit-text-fill-color: transparent;
  background: linear-gradient(
    110deg,
    #666 35%,
    #fff 50%,
    #666 65%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 2rem;
  opacity: 0;
  animation: 
    fadeUp 0.9s 0.2s cubic-bezier(0.16,1,0.3,1) forwards,
    shiny 6s 1.2s linear infinite;
}

/* Base style for any sub-elements to ensure they show the background */
.hero-title span {
  color: inherit;
  -webkit-text-fill-color: inherit;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes shiny {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.hero-title-muted { 
  /* We don't use opacity here as it makes transparent text even more invisible */
  filter: brightness(0.5); 
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--muted);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* Orbital decoration */
.hero-orbital {
  position: absolute;
  right: -5vw;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 45vw, 560px);
  height: clamp(300px, 45vw, 560px);
  opacity: 0;
  animation: fadeIn 1.2s 0.6s ease forwards;
  pointer-events: none;
}

.orbital-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  animation: spin 40s linear infinite;
}

.orbital-ring-2 {
  inset: 15%;
  border-color: rgba(255,255,255,0.04);
  animation-duration: 28s;
  animation-direction: reverse;
}

.orbital-ring-3 {
  inset: 32%;
  border-color: rgba(255,255,255,0.08);
  animation-duration: 18s;
}

.orbital-center {
  position: absolute;
  inset: 40%;
  background: var(--s2);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}

.orbital-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  top: 0; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(255,255,255,0.6);
}

/* Hero Video Section */
.hero-video-wrap {
  margin-top: 5rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 700px;
  background: linear-gradient(135deg, #131313 0%, #1a1a1a 100%);
  border-radius: 40px;
  border: 1px solid var(--outline);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 150px rgba(0,0,0,0.8);
  z-index: 10;
}

.hero-video-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
  z-index: 2;
}

.hero-video-play {
  width: 140px;
  height: 140px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), background 0.4s;
  box-shadow: 0 0 80px rgba(255,255,255,0.2);
  position: relative;
}

.hero-video-play:hover {
  transform: scale(1.1);
  background: #fff;
}

.hero-video-play::after {
  content: '';
  width: 0; 
  height: 0; 
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 36px solid var(--bg);
  margin-left: 10px;
}

.hero-video-label {
  margin-top: 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #fff;
  opacity: 0.8;
}

.hero-video-glow {
  position: absolute;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.glow-1 { bottom: -10%; left: -10%; }
.glow-2 { top: -10%; right: -10%; }

/* Stats row */
.hero-stats {
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: 3.5rem;
  margin-top: 3.5rem;
  border-top: 1px solid var(--outline);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-stat-val {
  font-family: var(--font-d);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-stat-lbl {
  font-size: 0.75rem;
  color: var(--dim);
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════
   SECTION ATOMS
   ═══════════════════════════════════════════════════ */
.section { padding: clamp(5rem, 10vw, 8rem) 0; }

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--dim);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 0.975rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════
   CAPABILITIES (Asymmetric grid like reference)
   ═══════════════════════════════════════════════════ */
.capabilities { background: var(--s1); }

.cap-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cap-header-left { flex: 1; min-width: 280px; }
.cap-header-right { max-width: 360px; }

/* Bento grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "wide wide wide wide cal cal"
    "remind remind analytics analytics analytics analytics"
    "base base base fast fast fast";
  gap: 1px;
  background: rgba(255,255,255,0.05); /* This background color shows through the gap */
  border-radius: 20px;
  overflow: hidden;
}

.cap-card {
  background: var(--s1);
  padding: 2rem 2.25rem;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.cap-card:hover { background: var(--s2); }
.cap-card:hover::before { opacity: 1; }

/* Card size variants */
.cap-card--wide { grid-column: span 2; }
.cap-card--full { grid-column: span 3; }
.cap-card--tall { grid-row: span 2; }
.cap-card--feature {
  grid-column: span 2;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.cap-icon {
  width: 36px; height: 36px;
  background: var(--s3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-bottom: 1.25rem;
}

.cap-title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.cap-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.cap-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.cap-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--dim);
  background: var(--s3);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  letter-spacing: 0.02em;
}

/* Visual card */
.cap-visual {
  aspect-ratio: 1;
  background: var(--s2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  flex-shrink: 0;
  width: 140px;
}

.cap-orbital-mini {
  width: 70px; height: 70px;
  position: relative;
}

.cap-orbital-mini::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  animation: spin 6s linear infinite;
}

.cap-orbital-mini::after {
  content: '';
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.cap-orbital-mini-dot {
  position: absolute;
  width: 5px; height: 5px;
  background: var(--white);
  border-radius: 50%;
  top: 0; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
}

/* ═══════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--outline);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 3rem;
}

.step-card {
  background: var(--bg);
  padding: 2.25rem 2rem;
}

.step-num {
  font-family: var(--font-d);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--s3);
  letter-spacing: -0.06em;
  margin-bottom: 1rem;
  user-select: none;
}

.step-title {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.step-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--outline);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 3rem;
  max-width: 100%;
}

.pricing-card {
  background: var(--s1);
  padding: 2.5rem;
  position: relative;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover { background: var(--s2); }

.pricing-card--featured {
  background: var(--s2);
}

.pricing-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--s4);
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.pricing-tier {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-family: var(--font-d);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.pricing-period { font-size: 0.8rem; color: var(--dim); margin-bottom: 2rem; }

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-list li {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pricing-list li::before {
  content: '';
  width: 14px; height: 14px;
  flex-shrink: 0;
  background: var(--s4);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='%23999' d='M5.5 10L2.5 7l1-1 2 2 4-4 1 1z'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ═══════════════════════════════════════════════════
   UPTIME
   ═══════════════════════════════════════════════════ */
.uptime-wrap {
  background: var(--s1);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  border: 1px solid var(--outline);
}

.uptime-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.uptime-label {
  font-family: var(--font-d);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.uptime-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #4ade80;
  font-weight: 500;
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: livepulse 2s infinite;
}

@keyframes livepulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px #4ade80; }
  50% { opacity: 0.5; box-shadow: 0 0 4px #4ade80; }
}

.uptime-bars {
  display: flex;
  gap: 2px;
  height: 44px;
  align-items: flex-end;
  margin-bottom: 0.75rem;
}

.uptime-bar {
  flex: 1;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
  min-height: 25%;
}

.uptime-bar:hover { opacity: 0.65; }
.uptime-up   { background: #4ade80; height: 100%; }
.uptime-down { background: #f87171; height: 55%; }
.uptime-empty { background: var(--s3); height: 25%; }

.uptime-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.73rem;
  color: var(--dim);
}

.uptime-stat-row {
  display: flex;
  gap: 3rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--outline);
}

.uptime-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.uptime-stat-val {
  font-family: var(--font-d);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}

.uptime-stat-lbl {
  font-size: 0.72rem;
  color: var(--dim);
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════ */
.faq-list { width: 100%; }

.faq-item { border-bottom: 1px solid var(--outline); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--off-white);
}

.faq-q:hover { color: var(--white); }

.faq-toggle {
  width: 26px; height: 26px;
  background: var(--s3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--muted);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  line-height: 1;
}

.faq-item.open .faq-toggle {
  background: var(--white);
  color: #111;
  transform: rotate(45deg);
}

.faq-a {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 1.35rem;
}

/* ═══════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════ */
.cta-section {
  background: var(--s1);
  border-radius: 24px;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 var(--pad);
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section .section-title { 
  margin-bottom: 2rem; 
  font-size: clamp(2.5rem, 8vw, 6rem); 
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em; /* Syne is already very wide, so we keep it tight or slightly open */
  text-transform: uppercase;
  text-shadow: 0 0 50px rgba(255,255,255,0.1);
  line-height: 1;
}
.cta-section .section-sub { margin: 0 auto 2.25rem; text-align: center; }

.cta-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--outline);
  margin-top: clamp(4rem, 8vw, 7rem);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.footer-brand img { width: 22px; opacity: 0.6; }

.footer-brand-name {
  font-family: var(--font-d);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-copy { font-size: 0.75rem; color: var(--dim); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.footer-links a:hover { color: var(--muted); }

/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

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

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .cap-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: none;
    grid-template-rows: auto;
  }
  .cap-card--wide, .cap-card--feature { grid-column: span 2; }
  .cap-card--full { grid-column: span 2; }
  .cap-card--tall { grid-row: span 1; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
  .hero-orbital { display: none; }
  .cap-header { flex-direction: column; align-items: flex-start; }
  .hero-video-wrap { min-height: 400px; } /* Slightly taller for tablet-like experience */
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .cap-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    grid-template-rows: auto;
  }
  /* All capability cards should be full-width on mobile */
  .cap-card { grid-column: span 1 !important; grid-row: span 1 !important; }
  .hero-stats { gap: 1rem; flex-direction: column; align-items: flex-start; }
  .cta-section { margin: 0; border-radius: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* Video mobile tweaks */
  .hero-video-wrap {
    min-height: unset;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    margin-top: 2rem;
    max-width: 100%;
  }
  .hero-video-play {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
  }
  .hero-video-play::after {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--bg);
    margin-left: 4px;
  }
  .hero-video-label {
    margin-top: 1rem;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    white-space: nowrap;
  }
  .container-wide {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
}

