/* ═══════════════════════════════════════════
   AVIS Design System — Premium Dark Theme
   Advanced Vehicle Intelligence Systems
═══════════════════════════════════════════ */

/* ── 1. RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cyan: #00e5ff;
  --cyan-dim: #00b4cc;
  --blue: #0066ff;
  --blue-mid: #004dc9;
  --ink: #0a0f1e;
  --ink-2: #0d1526;
  --surface: #111827;
  --surface-2: #1a2235;
  --surface-3: #212d42;
  --border: rgba(255,255,255,0.08);
  --border-glow: rgba(0,229,255,0.2);
  --text: #f0f4ff;
  --text-muted: #6b7fa8;
  --text-dim: #4a5678;
  --gradient: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0,229,255,0.15) 0%, rgba(0,102,255,0.15) 100%);
  --font-sans: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-glow: 0 0 40px rgba(0,229,255,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── 2. CURSOR GLOW ── */
.cursor-glow {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,229,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ── 3. LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── 4. TYPOGRAPHY ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.light-tag {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-body {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ── 5. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,102,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,102,255,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

.pulse-btn {
  animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,102,255,0.35), 0 0 0 0 rgba(0,102,255,0.4); }
  50% { box-shadow: 0 4px 20px rgba(0,102,255,0.35), 0 0 0 10px rgba(0,102,255,0); }
}

/* ── 6. NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}

.nav.scrolled {
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.875rem;
  border-radius: 100px;
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1.5rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(10,15,30,0.97);
  backdrop-filter: blur(24px);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--transition);
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-link:hover { color: var(--cyan); }

/* ── 7. HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-bg-mesh {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0,102,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(0,229,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(0,102,255,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) translateX(var(--drift)); opacity: 0; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-subtitle strong {
  color: var(--text);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.stat-number {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-suffix {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cyan);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-wrap {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,229,255,0.15);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), var(--shadow-glow);
}

.hero-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(17,24,39,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 0.875rem 1.25rem;
  animation: float-card 4s ease-in-out infinite;
}

.card-1 { bottom: -1.5rem; left: -1.5rem; animation-delay: 0s; }
.card-2 { top: 1.5rem; right: -1.5rem; animation-delay: 1.5s; }
.card-3 { bottom: 4rem; right: -1rem; animation-delay: 0.75s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.fc-icon {
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,229,255,0.1);
  border-radius: 10px;
}

.fc-title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.fc-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.fc-score {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cyan) !important;
}

.fc-score span { color: var(--text-muted); font-size: 0.875rem; }

/* ── 8. TICKER ── */
.ticker-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--ink-2);
  overflow: hidden;
}

.ticker-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.ticker-track {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.ticker-items {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--text-muted);
}

.ticker-dot {
  color: var(--cyan);
  opacity: 0.5;
  font-size: 0.5rem;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── 9. ABOUT ── */
.about-section {
  padding: 6rem 0;
  background: var(--ink-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,229,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.about-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(0,229,255,0.08) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
}

/* ── 10. PRODUCTS ── */
.products-section {
  padding: 6rem 0;
  background: var(--ink);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  overflow: hidden;
  cursor: default;
}

.product-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(0,229,255,0.06);
}

.product-card--featured {
  background: linear-gradient(135deg, rgba(0,102,255,0.12) 0%, rgba(0,229,255,0.06) 100%);
  border-color: rgba(0,229,255,0.2);
}

.pc-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0,229,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.pc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.pc-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.pc-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: rgba(255,255,255,0.05);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.live-badge {
  color: #10b981;
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.2);
}

.pc-name {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.pc-full-name {
  font-size: 0.8125rem;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 1rem;
}

.pc-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.pc-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pc-features li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.pc-features li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.pc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap var(--transition), color var(--transition);
}

.pc-cta:hover { gap: 0.8rem; color: #fff; }
.pc-cta span { transition: transform var(--transition); }
.pc-cta:hover span { transform: translateX(4px); }

.live-cta { color: #10b981; }
.live-cta:hover { color: #34d399; }

/* ── 11. HOW IT WORKS ── */
.how-section {
  padding: 6rem 0;
  background: var(--ink-2);
}

.flow-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  padding-top: 3rem;
}

.flow-line {
  position: absolute;
  top: 3.5rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  z-index: 0;
}

.flow-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.flow-step:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.fs-number {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.fs-icon {
  width: 60px;
  height: 60px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin: 0 auto 1.25rem;
  transition: all var(--transition);
}

.flow-step:hover .fs-icon {
  background: rgba(0,229,255,0.15);
  box-shadow: 0 0 20px rgba(0,229,255,0.2);
}

.fs-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.fs-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 12. SOLUTIONS ── */
.solutions-section {
  padding: 6rem 0;
  background: var(--ink);
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sol-checks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.sol-check {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  margin-top: 0.125rem;
}

.check-title {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.check-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.tcard-quote {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.tcard-text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.tcard-avatar {
  width: 42px;
  height: 42px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #fff;
}

.tcard-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}

.tcard-loc {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.tcard-stars {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #f59e0b;
  font-size: 0.875rem;
  letter-spacing: 2px;
}

.sol-market-badges {
  display: flex;
  gap: 1rem;
}

.market-badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.market-badge:hover {
  border-color: var(--border-glow);
  color: var(--text);
}

.market-flag { font-size: 1.25rem; }

/* ── 13. CTA SECTION ── */
.cta-section {
  padding: 8rem 0;
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}

.cta-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,102,255,0.15) 0%, transparent 70%);
  top: -200px;
  left: -200px;
}

.cta-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,229,255,0.1) 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.cta-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.demo-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.875rem 1.125rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  transition: all var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.demo-input::placeholder { color: var(--text-dim); }

.demo-input:focus {
  border-color: rgba(0,229,255,0.4);
  background: rgba(0,229,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.08);
}

.demo-select {
  cursor: pointer;
  color: var(--text);
}

option {
  background: var(--surface-2);
  color: var(--text);
}

.demo-submit {
  grid-column: 1 / -1;
  justify-content: center;
}

.demo-note {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.demo-email-link {
  color: var(--cyan);
  transition: color var(--transition);
}

.demo-email-link:hover { color: #fff; }

/* ── 14. FOOTER ── */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2.5rem;
}

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

.footer-brand {
  max-width: 280px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer-domains {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-family: var(--font-sans);
}

.footer-domains .dot { color: var(--text-dim); }

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

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

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--text-dim);
  transition: color var(--transition);
}

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

/* ── 15. INNER PAGES (Support, Terms, Privacy) ── */
.page-header {
  padding: 8rem 0 4rem;
  background: var(--ink-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-header .section-tag { display: inline-flex; margin-bottom: 1rem; }

.page-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

.page-date {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

.page-content {
  padding: 5rem 0;
  background: var(--ink);
}

.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  font-family: var(--font-sans);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.prose h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.75rem 0 0.75rem;
}

.prose p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--cyan);
  transition: color var(--transition);
}

.prose a:hover { color: #fff; }

.prose strong { color: var(--text); font-weight: 600; }

.info-box {
  background: rgba(0,229,255,0.04);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.info-box p {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* Support specific */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.support-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.sc-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

.sc-title {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.sc-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.sc-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  transition: color var(--transition);
}

.sc-link:hover { color: #fff; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}

.faq-item {
  background: var(--surface);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.375rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
  gap: 1rem;
}

.faq-question:hover { color: var(--cyan); }

.faq-chevron {
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ── 16. SCROLL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 17. RESPONSIVE ── */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flow-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 1.5rem 4rem;
    gap: 3rem;
  }

  .hero-visual { order: -1; }

  .card-2, .card-3 { display: none; }

  .about-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .flow-track {
    grid-template-columns: 1fr;
  }

  .flow-line { display: none; }

  .demo-form {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand { max-width: 100%; }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .container { padding: 0 1.25rem; }

  .hero-stats {
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.125rem; }
  .cta-title { font-size: 2rem; }
  .hero-stats { flex-wrap: wrap; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { justify-content: center; }
}

/* ── 18. SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ── 19. SELECTION ── */
::selection {
  background: rgba(0,229,255,0.2);
  color: var(--text);
}
