/* ═══════════════════════════════════════════════════════════════════════════════
   AEROROVER — OBSIDIAN THEME (Apple · Tesla · Nothing Inspired)
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #09090b;
  --surface: #18181b;
  --surface-hover: #27272a;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --text-dim: #52525b;
  --border: rgba(250,250,250,0.06);
  --border-hover: rgba(250,250,250,0.15);
  --white-02: rgba(250,250,250,0.02);
  --white-04: rgba(250,250,250,0.04);
  --white-06: rgba(250,250,250,0.06);
  --white-08: rgba(250,250,250,0.08);
  --white-10: rgba(250,250,250,0.10);
  --white-12: rgba(250,250,250,0.12);
  --white-15: rgba(250,250,250,0.15);
  --white-20: rgba(250,250,250,0.20);
  --glow-white: rgba(250,250,250,0.03);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: rgba(250,250,250,0.12) transparent;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(250,250,250,0.12); border-radius: 2px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'SF Pro Display', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.hidden { display: none !important; }
strong { color: #fff; font-weight: 600; }

.section { position: relative; padding: 96px 0; }
@media (min-width: 768px) { .section { padding: 128px 0; } }

/* ── Premium Glass Cards ─────────────────────────────────────────────────── */
.glass-card {
  background: rgba(24,24,27,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(250,250,250,0.04), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.glass-card:hover::before {
  opacity: 1;
}
.glass-card:hover {
  border-color: var(--white-12);
  background: rgba(39,39,42,0.60);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(250,250,250,0.06);
}

.glass-elevated {
  background: rgba(39,39,42,0.78);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.glass-elevated::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(250,250,250,0.04), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.glass-elevated:hover::before {
  opacity: 1;
}
.glass-elevated:hover {
  border-color: var(--white-15);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(250,250,250,0.08);
}

.grad-text {
  background: linear-gradient(180deg, #ffffff 0%, #d4d4d8 50%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 15px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 1px solid var(--white-10); color: var(--text-muted);
  background: var(--white-02); margin-bottom: 22px;
}
.badge-dot {
  width: 5px; height: 5px; border-radius: 50%; background: #fff;
  animation: dot-blink 2s ease-in-out infinite;
}

.section-head { text-align: center; margin-bottom: 64px; }
@media (min-width: 768px) { .section-head { margin-bottom: 80px; } }
.section-title {
  font-size: 2rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.section-subtitle {
  color: var(--text-muted); font-size: 1.1rem;
  max-width: 640px; margin: 0 auto; line-height: 1.65;
}

/* Keyframes */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}
@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-rev  { to { transform: rotate(-360deg); } }
@keyframes pulse-soft {
  0%, 100% { opacity: 0.40; }
  50%      { opacity: 0.75; }
}
@keyframes shimmer {
  0%   { background-position: -300% 0; }
  100% { background-position: 300% 0; }
}
@keyframes signal-ripple {
  0%   { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(3);   opacity: 0; }
}
@keyframes grid-shift {
  0%   { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}
@keyframes scan-down {
  0%   { top: -3%; }
  100% { top: 103%; }
}
@keyframes type-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

.anim-float { animation: float-subtle 6s ease-in-out infinite; }
.anim-spin  { animation: spin-slow 28s linear infinite; }
.anim-spin-rev { animation: spin-rev 24s linear infinite; }
.anim-pulse { animation: pulse-soft 3s ease-in-out infinite; }
.anim-shimmer { background-size: 200% 100%; animation: shimmer 3s linear infinite; }

.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Loading Screen */
.loading-screen {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.loading-screen.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-content { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.loading-spinner { position: relative; width: 80px; height: 80px; }
.loading-spinner .ring { position: absolute; border-radius: 50%; border: 2px solid transparent; }
.loading-spinner .ring1 { inset: 0; border-top-color: #fff; animation: spin-slow linear infinite; }
.loading-spinner .ring2 { inset: 8px; border-right-color: #a1a1aa; animation: spin-rev linear infinite; }
.loading-spinner .ring3 { inset: 20px; border-bottom-color: #71717a; animation: spin-slow linear infinite; }
.loading-icon { position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; color: #fff; }
.loading-bar-wrap { width: 256px; }
.loading-bar-text {
  display: flex; justify-content: space-between;
  font-size: 0.7rem; font-family: monospace; color: var(--text-muted);
  letter-spacing: 0.15em; margin-bottom: 12px;
}
.loading-bar-track { height: 1px; background: #27272a; border-radius: 2px; overflow: hidden; }
.loading-bar-fill { height: 100%; background: #fff; border-radius: 2px; width: 0%; transition: width 0.15s; }

/* Cursor Glow */
.cursor-glow {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 400px; height: 400px; left: -200px; top: -200px;
  background: radial-gradient(circle, rgba(250,250,250,0.04) 0%, rgba(250,250,250,0.01) 35%, transparent 70%);
  opacity: 0; transition: opacity 0.5s;
}

/* Particles */
.particle-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 0; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(9,9,11,0.90);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(250,250,250,0.04);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.navbar-inner {
  max-width: 1344px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
@media (min-width: 640px) { .navbar-inner { padding: 0 32px; } }

.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo {
  width: 32px; height: 32px; background: #fff; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.nav-logo svg { width: 20px; height: 20px; color: #000; }
.nav-brand:hover .nav-logo { transform: scale(1.05); }
.nav-brand-text { font-weight: 600; font-size: 0.9rem; letter-spacing: -0.01em; }
.nav-brand-muted { color: var(--text-muted); }

.nav-links { display: none; align-items: center; gap: 2px; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  padding: 8px 12px; border-radius: 8px; font-size: 0.85rem;
  color: var(--text-muted); text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: var(--white-02); }
.nav-cta {
  background: #fff !important; color: #000 !important;
  font-weight: 600 !important; margin-left: 8px; padding: 8px 16px !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { background: #e4e4e7 !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,255,255,0.08); }

.menu-btn { display: flex; background: none; border: none; cursor: pointer; padding: 8px; color: #fff; }
@media (min-width: 768px) { .menu-btn { display: none; } }
.menu-btn svg { width: 20px; height: 20px; }

.mobile-menu {
  background: rgba(9,9,11,0.98); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(250,250,250,0.04); padding: 12px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
@media (min-width: 768px) { .mobile-menu { display: none !important; } }
.mobile-menu a {
  padding: 10px 12px; color: var(--text-muted); text-decoration: none;
  border-radius: 8px; transition: color 0.2s;
}
.mobile-menu a:hover { color: #fff; }
.mobile-cta { color: #fff !important; font-weight: 600; }

/* Hero */
.hero-section { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding-top: 64px; }
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(250,250,250,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,250,250,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: grid-shift 15s linear infinite;
  opacity: 0.25;
}
.hero-blur { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-blur-1 { top: 25%; left: 33%; width: 550px; height: 550px; background: rgba(250,250,250,0.03); animation: pulse-soft 3s ease-in-out infinite; }
.hero-blur-2 { bottom: 25%; right: 33%; width: 400px; height: 400px; background: rgba(250,250,250,0.02); animation: pulse-soft 3s ease-in-out infinite; animation-delay: 1.5s; }

.hero-orbit {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  border-radius: 50%; pointer-events: none; display: none;
}
@media (min-width: 1024px) { .hero-orbit { display: block; } }
.hero-orbit-1 { width: 650px; height: 650px; border: 1px solid var(--white-02); animation: spin-slow 28s linear infinite; }
.hero-orbit-2 { width: 500px; height: 500px; border: 1px solid rgba(250,250,250,0.02); animation: spin-rev 24s linear infinite; }

.hero-container { text-align: center; position: relative; z-index: 10; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  border: 1px solid var(--white-08); background: var(--white-02);
  color: var(--text-muted); font-size: 0.7rem; font-family: monospace;
  letter-spacing: 0.12em; margin-bottom: 32px;
}
.hero-title {
  font-size: 2.4rem; font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 32px;
}
@media (min-width: 640px)  { .hero-title { font-size: 3rem; } }
@media (min-width: 768px)  { .hero-title { font-size: 4.5rem; } }
.hero-subtitle {
  font-size: 1.1rem; color: var(--text-muted); max-width: 640px;
  margin: 0 auto 40px; line-height: 1.65; font-weight: 300; min-height: 3.5rem;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }
.type-cursor { color: #fff; animation: type-blink 1s step-end infinite; }

.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; background: #fff; color: #000;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(255,255,255,0.05);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.btn-primary:hover { background: #e4e4e7; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,0.08); }
.btn-arrow { transition: transform 0.2s; }
.btn-primary:hover .btn-arrow { transform: translateX(2px); }
.btn-secondary {
  display: inline-flex; align-items: center;
  padding: 14px 28px; border-radius: 12px;
  border: 1px solid var(--white-08); color: #fff;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  transition: background 0.3s, border-color 0.3s, transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
}
.btn-secondary:hover { background: var(--white-02); border-color: var(--white-12); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; max-width: 440px; margin: 80px auto 0; }
.stat { text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 768px) { .stat-num { font-size: 3rem; } }
.stat-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 8px; font-weight: 500; letter-spacing: 0.10em; }

/* About */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 80px;
}
@media (min-width: 640px)  { .about-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(3,1fr); } }
.glass-card { padding: 24px; }
.glass-card .card-icon { font-size: 1.5rem; margin-bottom: 16px; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.glass-card:hover .card-icon { transform: scale(1.15); }
.glass-card h3 { font-weight: 600; margin-bottom: 8px; font-size: 1rem; }
.glass-card p  { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }

/* Timeline */
.timeline { position: relative; }
.timeline-line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(250,250,250,0.10), rgba(250,250,250,0.03), transparent);
  display: none;
}
@media (min-width: 768px) { .timeline-line { display: block; } }
.timeline-item {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 20px; margin-bottom: 32px;
}
@media (min-width: 768px) { .timeline-item { flex-direction: row; } }
.timeline-card {
  background: rgba(24,24,27,0.72); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(250,250,250,0.06); border-radius: 12px;
  padding: 20px; display: inline-block;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.timeline-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(250,250,250,0.04), transparent 40%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none; z-index: 1;
}
.timeline-card:hover::before { opacity: 1; }
.timeline-card:hover {
  border-color: var(--white-12);
  background: rgba(39,39,42,0.60);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(250,250,250,0.06);
}
@media (min-width: 768px) { .timeline-card { width: 45%; } }
.timeline-card .timeline-num {
  font-size: 0.7rem; font-family: monospace; color: var(--text-muted);
  letter-spacing: 0.12em;
}
.timeline-card h3 { font-weight: 600; margin: 4px 0; }
.timeline-card p  { color: var(--text-muted); font-size: 0.85rem; }

/* Components */
.comp-heading {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.comp-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.comp-dot-alt { background: var(--text-muted); }
.comp-count { font-size: 0.7rem; font-weight: 400; color: var(--text-dim); margin-left: 8px; }

.comp-grid {
  display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 48px;
}
@media (min-width: 640px)  { .comp-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .comp-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1280px) { .comp-grid { grid-template-columns: repeat(4,1fr); } }

.comp-card {
  background: rgba(24,24,27,0.72); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(250,250,250,0.06); border-radius: 12px;
  padding: 16px; display: flex; align-items: flex-start; gap: 12px;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.comp-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(250,250,250,0.04), transparent 40%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none; z-index: 1;
}
.comp-card:hover::before { opacity: 1; }
.comp-card:hover { border-color: var(--white-12); background: rgba(39,39,42,0.60); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(250,250,250,0.06); }
.comp-card-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--white-04); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
  transition: background 0.3s, transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.comp-card:hover .comp-card-icon { background: var(--white-08); transform: scale(1.1); }
.comp-card h4 { font-size: 0.85rem; font-weight: 600; }
.comp-card p  { font-size: 0.7rem; color: var(--text-dim); margin-top: 2px; }

/* Architecture */
.arch-card { padding: 32px; }
@media (min-width: 768px) { .arch-card { padding: 48px; } }
.arch-top-row, .arch-bot-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.arch-bot-row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .arch-bot-row { grid-template-columns: repeat(3,1fr); } }
.arch-box { text-align: center; padding: 20px; border-radius: 16px; }
.arch-box span { font-size: 1.5rem; display: block; margin-bottom: 4px; }
.arch-box h4 { font-weight: 700; font-size: 0.9rem; }
.arch-box p  { font-size: 0.65rem; color: var(--text-dim); margin-top: 2px; }
.arch-arrow { display: flex; align-items: center; font-size: 1.2rem; color: var(--text-dim); }
.arch-down-arrow { display: flex; justify-content: center; margin: 8px 0; }
.arch-down-arrow svg { width: 24px; height: 24px; color: rgba(250,250,250,0.30); animation: float-subtle 6s ease-in-out infinite; }
.arch-drone {
  text-align: center; padding: 24px 32px; position: relative; overflow: hidden;
  max-width: 320px; margin: 0 auto;
}
.arch-drone span { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.arch-drone h4 { font-weight: 700; }
.arch-drone p  { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

.signal-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(250,250,250,0.18);
  animation: signal-ripple 2.6s ease-out infinite;
  pointer-events: none; inset: 0; margin: auto; width: 128px; height: 128px;
}
.signal-ring.s2 { animation-delay: 0.85s; }
.signal-ring.s3 { animation-delay: 1.7s; }
.scan-line { position: relative; overflow: hidden; }
.scan-line::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250,250,250,0.25), transparent);
  animation: scan-down 4s linear infinite; pointer-events: none;
}

/* Data Flows */
.data-flow-section { margin-top: 40px; }
.data-flow-label {
  font-size: 0.65rem; font-family: monospace; color: var(--text-dim);
  letter-spacing: 0.12em; margin-bottom: 16px;
}
.data-flow-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.7rem; font-family: monospace; margin-bottom: 10px;
}
.data-flow-num { width: 24px; text-align: right; color: rgba(250,250,250,0.60); font-weight: 700; }
.data-flow-from { width: 120px; text-align: right; color: var(--text-muted); }
.data-flow-line { flex: 1; height: 1px; background: #27272a; position: relative; overflow: hidden; }
.data-flow-line::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(250,250,250,0.20);
  background-size: 200% 100%; animation: shimmer 3s linear infinite;
}
.data-flow-arrow { color: var(--text-dim); font-size: 0.6rem; }
.data-flow-to { width: 120px; color: var(--text-muted); }
.data-flow-desc { color: var(--text-dim); font-style: italic; font-size: 0.6rem; display: none; }
@media (min-width: 640px) { .data-flow-desc { display: inline; } }

/* Features */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4,1fr); } }
.feature-card {
  background: rgba(24,24,27,0.72); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(250,250,250,0.06); border-radius: 16px;
  padding: 24px; position: relative;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(250,250,250,0.04), transparent 40%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none; z-index: 1;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { border-color: var(--white-12); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(250,250,250,0.06); }
.feature-card::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(250,250,250,0.20), rgba(250,250,250,0.05), rgba(250,250,250,0.02));
  z-index: -1; opacity: 0; transition: opacity 0.5s;
}
.feature-card:hover::after { opacity: 1; }
.feature-icon { font-size: 1.5rem; margin-bottom: 12px; display: inline-block; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); position: relative; z-index: 2; }
.feature-card:hover .feature-icon { transform: scale(1.15); }
.feature-card h3 { font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; position: relative; z-index: 2; }
.feature-card p  { color: var(--text-muted); font-size: 0.8rem; line-height: 1.6; position: relative; z-index: 2; }

/* Showcase */
.showcase-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
@media (min-width: 640px)  { .showcase-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .showcase-grid { grid-template-columns: repeat(4,1fr); } }
.showcase-card { text-align: center; padding: 32px; position: relative; overflow: hidden; }
.showcase-spotlight {
  position: absolute; top: -64px; right: -64px; width: 128px; height: 128px;
  background: var(--white-02); border-radius: 50%; filter: blur(40px);
  transition: background 0.5s, transform 0.5s;
}
.showcase-card:hover .showcase-spotlight { background: var(--white-04); transform: scale(1.2); }
.showcase-emoji { font-size: 3rem; margin-bottom: 16px; position: relative; z-index: 2; transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.showcase-card:hover .showcase-emoji { transform: scale(1.1) translateY(-4px); }
.showcase-card h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; position: relative; z-index: 2; }
.showcase-card p  { color: var(--text-muted); font-size: 0.85rem; position: relative; z-index: 2; }
.showcase-ring {
  position: absolute; inset: 0; border: 1px solid var(--white-02);
  border-radius: 16px; animation: spin-slow 28s linear infinite; pointer-events: none;
}
.specs-bar { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
@media (min-width: 768px) { .specs-bar { grid-template-columns: repeat(4,1fr); } }
.spec { text-align: center; padding: 16px; }
.spec-val { font-size: 1.5rem; font-weight: 700; }
.spec-lbl { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; }

/* Process */
.process-timeline { position: relative; }
.process-line {
  position: absolute; left: 16px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(250,250,250,0.15), rgba(250,250,250,0.04), transparent);
}
@media (min-width: 768px) { .process-line { left: 50%; transform: translateX(-50%); } }
.process-step { position: relative; display: flex; align-items: flex-start; gap: 16px; margin-bottom: 32px; padding-left: 48px; }
@media (min-width: 768px) { .process-step { padding-left: 0; } }
.process-dot {
  position: absolute; left: 16px; top: 12px;
  width: 10px; height: 10px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(250,250,250,0.10); z-index: 3;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.process-step:hover .process-dot { box-shadow: 0 0 0 6px rgba(250,250,250,0.15); transform: scale(1.1); }
@media (min-width: 768px) { .process-dot { left: 50%; transform: translateX(-50%); } }
.process-card {
  background: rgba(24,24,27,0.72); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(250,250,250,0.06); border-radius: 12px;
  padding: 20px;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.process-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(250,250,250,0.04), transparent 40%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none; z-index: 1;
}
.process-card:hover::before { opacity: 1; }
.process-card:hover { border-color: var(--white-10); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(250,250,250,0.06); }
@media (min-width: 768px) { .process-card { width: 45%; } }
.process-card .process-num { font-size: 0.7rem; font-family: monospace; color: var(--text-muted); letter-spacing: 0.12em; }
.process-card h3 { font-weight: 600; margin: 4px 0; }
.process-card p  { color: var(--text-muted); font-size: 0.85rem; }

/* Future */
.future-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px)  { .future-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .future-grid { grid-template-columns: repeat(3,1fr); } }
.future-card {
  background: rgba(24,24,27,0.72); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(250,250,250,0.06); border-radius: 16px;
  padding: 24px;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.future-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(250,250,250,0.04), transparent 40%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none; z-index: 1;
}
.future-card:hover::before { opacity: 1; }
.future-card:hover { border-color: var(--white-12); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(250,250,250,0.06); }
.future-icon { font-size: 1.8rem; margin-bottom: 12px; display: inline-block; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); position: relative; z-index: 2; }
.future-card:hover .future-icon { transform: scale(1.15); }
.future-card h3 { font-weight: 600; margin-bottom: 8px; position: relative; z-index: 2; }
.future-card p  { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; position: relative; z-index: 2; }

/* ── Team Section ────────────────────────────────────────────────────────── */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }

.team-card {
  background: rgba(24,24,27,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(250,250,250,0.06);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  width: 260px;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(500px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(250,250,250,0.05), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.team-card:hover::before {
  opacity: 1;
}

.team-card:hover {
  border-color: rgba(250,250,250,0.15);
  background: rgba(39,39,42,0.60);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(250,250,250,0.08);
}

.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(250,250,250,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 4px;
  transition: background 0.3s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(250,250,250,0.06);
}

.team-card:hover .team-avatar {
  background: rgba(250,250,250,0.08);
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(250,250,250,0.04);
}

.team-card h3 {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

/* Premium Pill Badge for Team Titles */
.team-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(250,250,250,0.04);
  border: 1px solid rgba(250,250,250,0.08);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 2;
  max-width: 100%;
  text-align: center;
  line-height: 1.3;
}

.team-card:hover .team-badge {
  background: rgba(250,250,250,0.08);
  border-color: rgba(250,250,250,0.15);
  color: #fff;
  transform: scale(1.02);
}

.team-badge-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: background 0.3s ease;
}

.team-card:hover .team-badge-dot {
  background: #fff;
}

team-desc {
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
  max-width: 180px;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.team-card:hover .team-desc {
  color: var(--text-muted);
}



.team-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 32px;
  font-weight: 300;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.team-credit {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 20px;
  font-style: italic;
  letter-spacing: 0.02em;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  transition: color 0.3s ease;
}

.team-credit:hover {
  color: var(--text-muted);
}

/* Footer */
.footer {
  position: relative; border-top: 1px solid rgba(250,250,250,0.04);
  background: #060608; padding: 80px 0;
}
.footer-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(250,250,250,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,250,250,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: grid-shift 15s linear infinite; opacity: 0.15;
}
.footer-inner { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 56px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3,1fr); } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-logo { width: 36px; height: 36px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.footer-logo svg { width: 20px; height: 20px; color: #000; }
.footer-brand span { font-weight: 600; font-size: 1.1rem; }
.footer-brand-muted { color: var(--text-muted); }
.footer-desc { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
.footer-heading { font-weight: 600; margin-bottom: 20px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact { padding: 20px; }
.footer-contact p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; }
.footer-email-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px; background: #fff; color: #000;
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 16px rgba(255,255,255,0.05);
  transition: background 0.3s, transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
}
.footer-email-btn:hover { background: #e4e4e7; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,0.08); }
.footer-email-btn svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(250,250,250,0.04); padding-top: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { color: var(--text-dim); font-size: 0.75rem; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 32px; height: 32px; border-radius: 8px; background: var(--white-02);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); transition: color 0.2s, background 0.2s, transform 0.2s;
}
.footer-socials a:hover { color: #fff; background: rgba(250,250,250,0.06); transform: translateY(-2px); }
.footer-socials svg { width: 14px; height: 14px; }
