/* ============================================================
   ArchV — Marketing Website Styles
   Hybrid Dark/Light theme: tactical hero + clean product pages
   ============================================================ */

:root {
  /* Brand palette (mirrors reaction.html tactical aesthetic) */
  --bg-dark: #0B0F19;
  --bg-card: #161F30;
  --bg-elevated: #1E293B;
  --accent: #6366F1;       /* Indigo */
  --accent-light: #818CF8;
  --accent-dark: #4F46E5;
  --success: #10B981;       /* Emerald */
  --danger: #EF4444;
  --warning: #F59E0B;

  /* Light surface palette */
  --bg-light: #FFFFFF;
  --bg-soft: #F8FAFC;
    --bg-muted: #F1F5F9;
  --border-light: #E2E8F0;
  --border-muted: #CBD5E1;

  /* Text */
  --text-dark: #0F172A;
  --text-light: #F1F5F9;
  --text-muted-dark: #475569;
  --text-muted-light: #94A3B8;

  /* Spacing & radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 0 24px rgba(99, 102, 241, 0.25);

  /* Layout */
  --max-width: 1200px;
  --nav-h: 72px;

  /* Fonts */
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', 'Noto Sans TC', system-ui, sans-serif;

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* Layout helpers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--dark { background: var(--bg-dark); color: var(--text-light); }
.section--soft { background: var(--bg-soft); }
.section--light { background: var(--bg-light); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle { font-size: 1.05rem; opacity: 0.8; }
.section--dark .section-subtitle { color: var(--text-muted-light); }
.section--light .section-subtitle { color: var(--text-muted-dark); }

/* Typography */
h1, h2, h3 { line-height: 1.2; }
.hud-text { font-family: var(--font-display); letter-spacing: 0.04em; }

/* ============ Navbar ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.navbar .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.nav-brand img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  color: var(--text-muted-light);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 500;
  transition: var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-link.active { color: #fff; background: rgba(99, 102, 241, 0.18); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--t-fast);
}
.lang-toggle:hover { background: rgba(255, 255, 255, 0.12); }

.nav-btn {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--t-fast);
}
.nav-btn--ghost { color: var(--text-light); }
.nav-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.nav-btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.nav-btn--primary:hover { transform: translateY(-1px); filter: brightness(1.08); }

.nav-user {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}
.nav-user:hover { background: rgba(255,255,255,0.08); }
.nav-user .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--success), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.8rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: var(--t-fast);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  color: var(--text-light);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(135deg, rgba(11,15,25,0.7), rgba(11,15,25,0.9)),
    url('../images/photos/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.9);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(99,102,241,0.18), transparent 60%);
  pointer-events: none;
}
.hero-bg-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(99,102,241,0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16,185,129,0.18), transparent 50%),
    var(--bg-dark);
  z-index: -1;
}
.hero-content {
  position: relative;
  max-width: 760px;
  padding: 64px 0;
  animation: fadeUp 0.8s ease both;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff, #c7d2fe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted-light);
  margin-bottom: 36px;
  max-width: 620px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.btn {
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--t);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover { background: var(--accent-dark); }
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--disabled, .btn:disabled {
  background: var(--bg-muted);
  color: var(--text-muted-dark);
  cursor: not-allowed;
  box-shadow: none;
  transform: none !important;
}
.btn--block { width: 100%; justify-content: center; }

/* Hero video */
.hero-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-elevated);
  max-width: 640px;
  aspect-ratio: 16/9;
  margin-top: 24px;
}
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.video-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  color: var(--text-muted-light);
  text-align: center;
  padding: 24px;
}
.video-fallback svg { margin-bottom: 16px; opacity: 0.6; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.stat-item {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted-light);
  margin-top: 4px;
}

/* ============ How It Works ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--t);
}
.section--dark .step-card {
  background: var(--bg-card);
  border-color: rgba(148,163,184,0.15);
  color: var(--text-light);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.step-num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.step-num::before { content: "0" counter(step); }
.step-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 0.95rem; opacity: 0.75; }
.step-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(99,102,241,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ============ Card grids (games, plans, hardware) ============ */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.card-media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-muted), var(--bg-soft));
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-ph {
  color: var(--text-muted-dark);
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
}
.card-media-ph svg { margin: 0 auto 12px; opacity: 0.4; display: block; }

.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.card-tagline { color: var(--text-muted-dark); font-size: 0.9rem; margin-bottom: 16px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge--accent { background: rgba(99,102,241,0.12); color: var(--accent); }
.badge--soon { background: rgba(245,158,11,0.12); color: var(--warning); }
.badge--success { background: rgba(16,185,129,0.12); color: var(--success); }
.badge--ghost { background: var(--bg-muted); color: var(--text-muted-dark); }

/* Games */
.game-card { cursor: pointer; }
.game-features { margin: 16px 0; padding: 0; list-style: none; }
.game-features li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}
.game-features li::before {
  content: '▸';
  position: absolute; left: 8px; top: 6px;
  color: var(--accent);
  font-weight: 700;
}
.game-coming-soon {
  position: relative;
  opacity: 0.6;
}
.game-coming-soon .card-media::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(11,15,25,0.5);
}

/* Specs list */
.spec-list { margin: 16px 0; padding: 0; list-style: none; }
.spec-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-light);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list li::before {
  content: '◆';
  position: absolute; left: 6px; top: 8px;
  color: var(--accent);
  font-size: 0.7rem;
}
.includes-list { margin: 16px 0; padding: 0; list-style: none; }
.includes-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-dark);
}
.includes-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 6px;
  color: var(--success);
  font-weight: 700;
}

/* Price */
.price-row { display: flex; align-items: baseline; gap: 8px; margin: 16px 0; }
.price-pending {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted-dark);
}

/* Plans */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--t);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-glow);
}
.plan-card--featured::before {
  content: attr(data-tag);
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.plan-tagline { color: var(--text-muted-dark); font-size: 0.9rem; margin-bottom: 20px; }
.plan-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.plan-features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan-features li {
  padding: 10px 0 10px 30px;
  position: relative;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-light);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li.yes::before {
  content: '✓'; position: absolute; left: 0; top: 10px;
  color: var(--success); font-weight: 700;
}
.plan-features li.no { color: var(--text-muted-dark); }
.plan-features li.no::before {
  content: '✕'; position: absolute; left: 0; top: 10px;
  color: var(--border-muted);
}

/* Comparison table */
.compare-wrap { overflow-x: auto; margin-top: 56px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--border-light); }
.compare-table th { background: var(--bg-soft); font-weight: 600; font-size: 0.95rem; }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.cell-yes { color: var(--success); font-weight: 700; }
.cell-no { color: var(--border-muted); }
.compare-plan-name { font-family: var(--font-display); font-weight: 700; }

/* ============ Forms ============ */
.form-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}
.form-card--dark {
  background: var(--bg-card);
  border-color: rgba(148,163,184,0.15);
  color: var(--text-light);
}
.form-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; text-align: center; }
.form-subtitle { text-align: center; color: var(--text-muted-dark); margin-bottom: 28px; font-size: 0.92rem; }
.form-card--dark .form-subtitle { color: var(--text-muted-light); }

.form-field { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-muted-dark); }
.form-card--dark .form-label { color: var(--text-muted-light); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--bg-soft);
  color: var(--text-dark);
  transition: var(--t-fast);
}
.form-card--dark .form-input,
.form-card--dark .form-textarea,
.form-card--dark .form-select {
  background: rgba(255,255,255,0.04);
  border-color: rgba(148,163,184,0.2);
  color: var(--text-light);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
  background: var(--bg-light);
}
.form-card--dark .form-input:focus,
.form-card--dark .form-textarea:focus,
.form-card--dark .form-select:focus { background: rgba(255,255,255,0.06); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-error {
  color: var(--danger);
  font-size: 0.83rem;
  margin-top: 6px;
  min-height: 1.2em;
}
.form-note { font-size: 0.78rem; color: var(--text-muted-dark); margin-top: 18px; text-align: center; }
.form-card--dark .form-note { color: var(--text-muted-light); }
.form-link { color: var(--accent); font-weight: 600; cursor: pointer; }
.form-link:hover { text-decoration: underline; }

.auth-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 64px 24px;
  background: radial-gradient(ellipse at top, rgba(99,102,241,0.08), transparent 60%), var(--bg-soft);
}

/* ============ Dashboard ============ */
.dashboard {
  padding: 64px 0;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
}
.panel {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.panel-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--text-muted-dark); }
.info-value { font-weight: 600; }

.my-games-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.mini-game {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: var(--t-fast);
  display: flex; flex-direction: column; gap: 8px;
}
.mini-game:hover { border-color: var(--accent); background: var(--bg-soft); transform: translateY(-2px); }
.mini-game-name { font-weight: 600; font-size: 0.95rem; }
.mini-game-play { color: var(--accent); font-size: 0.82rem; font-weight: 600; }
.mini-game.locked { opacity: 0.45; cursor: not-allowed; }
.mini-game.locked:hover { transform: none; border-color: var(--border-light); background: var(--bg-light); }

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-list { list-style: none; padding: 0; }
.contact-info-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(99,102,241,0.1);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.8rem; color: var(--text-muted-dark); }
.contact-info-value { font-weight: 600; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  color: var(--text-muted-dark);
  transition: var(--t-fast);
}
.social-links a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.about-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--accent);
}
.about-card p { color: var(--text-muted-dark); }
.tech-list { list-style: none; padding: 0; }
.tech-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted-dark);
}
.tech-list li:last-child { border-bottom: none; }
.tech-list li::before {
  content: '⚡';
  color: var(--accent);
  flex-shrink: 0;
}
.founded-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: rgba(99,102,241,0.1);
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-display);
  margin-top: 16px;
}

/* ============ Footer ============ */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-tagline { color: var(--text-muted-light); font-size: 0.92rem; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #fff;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted-light); font-size: 0.92rem; transition: var(--t-fast); cursor: pointer; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted-light); transition: var(--t-fast);
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-newsletter input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148,163,184,0.2);
  background: rgba(255,255,255,0.04);
  color: #fff;
  margin-bottom: 10px;
}
.footer-newsletter input::placeholder { color: var(--text-muted-light); }
.footer-newsletter input:focus { outline: none; border-color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(148,163,184,0.15);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-muted-light);
  font-size: 0.85rem;
}

/* ============ Toast ============ */
#toast-root {
  position: fixed;
  top: calc(var(--nav-h) + 16px);
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--bg-card);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--success);
  font-size: 0.9rem;
  animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
  max-width: 360px;
}
.toast--error { border-left-color: var(--danger); }
.toast--info { border-left-color: var(--accent); }

/* ============ Modal ============ */
#modal-root { position: fixed; inset: 0; z-index: 999; pointer-events: none; }
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(11,15,25,0.7);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  pointer-events: auto;
  animation: fadeIn 0.2s ease;
}
.modal {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.2s ease;
}

/* Image placeholder utility */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-muted), var(--bg-soft));
  border: 2px dashed var(--border-muted);
  color: var(--text-muted-dark);
  text-align: center;
  padding: 16px;
  font-size: 0.78rem;
}
.img-placeholder svg { opacity: 0.4; margin-bottom: 8px; }

/* ============ Animations ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(20px); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }

.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid rgba(148,163,184,0.12);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--t);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { padding: 14px 16px; }
  .hamburger { display: flex; }
  .nav-btn--ghost { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(32px, 8vw, 44px); }
  .hero-video { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-card { padding: 28px 22px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
