/* ============================================================
   AirMouse AI — Classic Design System
   Solid colors. Sharp borders. No glass, no blur, no opacity tricks.
   ============================================================ */

:root {
  /* Palette — solid */
  --bg-0:        #0A0E1A;   /* page */
  --bg-1:        #11162A;   /* card */
  --bg-2:        #161C33;   /* elevated */
  --bg-3:        #1C2340;   /* hover */
  --bg-code:     #07091A;

  --border:        #232B45;
  --border-strong: #2E3760;

  --text-0: #FFFFFF;
  --text-1: #E5E9F2;
  --text-2: #A8B0C2;
  --text-3: #6B7388;
  --text-4: #4A516A;

  --accent:        #7C3AED;
  --accent-hover:  #6D28D9;
  --accent-soft:   #C4B5FD;
  --accent-2:      #5B6CF1;
  --accent-3:      #06B6D4;
  --emerald:       #10B981;
  --amber:         #F59E0B;
  --rose:          #F43F5E;

  /* Brand gradient (violet → indigo → cyan) */
  --grad-brand: linear-gradient(135deg, #A855F7 0%, #5B6CF1 55%, #06B6D4 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(168,85,247,0.18), rgba(91,108,241,0.14), rgba(6,182,212,0.18));

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.30);
  --shadow-md: 0 6px 20px -8px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.25);
  --shadow-lg: 0 22px 60px -22px rgba(0,0,0,0.7), 0 8px 20px rgba(0,0,0,0.35);
  --ring-accent: 0 0 0 1px rgba(124,58,237,0.45), 0 8px 30px -10px rgba(124,58,237,0.45);

  /* Spacing */
  --container: 1200px;
  --container-sm: 920px;

  /* Radius — modern soft corners */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.15s var(--ease); }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

/* ============================================================
   Container & Layout
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { width: 100%; max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .section-lg { padding: 80px 0; }
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-0);
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-2); }

.lead {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-2);
  line-height: 1.65;
  max-width: 640px;
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: var(--grad-brand-soft);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 999px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.accent { color: var(--accent-soft); }
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gradient-text-soft { color: var(--text-2); }   /* legacy alias */

.section-head { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 14px; }

/* ============================================================
   Buttons — classic flat
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg { padding: 11px 20px; font-size: 15px; }
.btn-sm { padding: 7px 12px; font-size: 13px; }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.22), var(--ring-accent);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); filter: brightness(0.98); }
.btn { transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s var(--ease); }

.btn-ghost {
  background: var(--bg-2);
  color: var(--text-1);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-3); border-color: var(--border-strong); color: #fff; }

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-1);
}
.btn-outline:hover { background: var(--bg-2); color: #fff; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-soft);
  font-weight: 500;
  font-size: 14px;
  padding: 0;
}
.btn-link svg { transition: transform 0.15s var(--ease); }
.btn-link:hover { color: #fff; }
.btn-link:hover svg { transform: translateX(3px); }

.btn-group { display: inline-flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   Navbar — modern, sticky with subtle frosted background
   ============================================================ */
.nav-wrap {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,14,26,0.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-wrap { background: var(--bg-0); }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-left { display: flex; align-items: center; gap: 36px; }
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  color: #fff;
}
.nav-logo-mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  flex: none;
}
.nav-logo-mark img,
.nav-logo-mark svg { width: 100%; height: 100%; display: block; }
/* Fallback gradient mark when no <img> */
.nav-logo-mark:not(:has(img)) {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.18);
}

/* Top menu */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius);
  cursor: pointer;
  user-select: none;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active {
  color: #fff;
  background: var(--bg-2);
}
.nav-link svg { transition: transform 0.15s var(--ease); }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 300px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  box-shadow: var(--shadow-lg);
}
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dd-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--text-1);
  font-size: 14px;
}
.nav-dd-link:hover { background: var(--bg-2); color: #fff; }
.nav-dd-link .ic {
  flex: none;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--accent-soft);
  margin-top: 1px;
}
.nav-dd-link b { display: block; font-weight: 500; color: #fff; font-size: 14px; line-height: 1.3; }
.nav-dd-link small { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; line-height: 1.4; }

.nav-cta { display: inline-flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px; height: 1.5px;
  background: #fff;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top:  5px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-menu, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding: 16px;
  z-index: 99;
  overflow-y: auto;
  display: none;
}
.mobile-menu.open { display: block; }
.mm-group { margin-bottom: 8px; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.mm-group-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  font-size: 14px; font-weight: 500;
  color: #fff;
  background: var(--bg-1);
}
.mm-group-head svg { transition: transform 0.2s var(--ease); }
.mm-group.open .mm-group-head svg { transform: rotate(180deg); }
.mm-group-list { display: none; padding: 4px; background: var(--bg-1); border-top: 1px solid var(--border); }
.mm-group.open .mm-group-list { display: block; }
.mm-group-list a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-1);
  border-radius: var(--radius);
}
.mm-group-list a:hover { background: var(--bg-2); }
.mobile-menu .btn { width: 100%; margin-top: 12px; }

/* ============================================================
   Hero — modern with soft mesh background
   ============================================================ */
.hero {
  position: relative;
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 18% 18%, rgba(124,58,237,0.22), transparent 70%),
    radial-gradient(55% 50% at 82% 28%, rgba(6,182,212,0.16), transparent 70%),
    radial-gradient(40% 40% at 50% 100%, rgba(91,108,241,0.16), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner { text-align: center; max-width: 860px; margin: 0 auto; }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.4rem, 5vw, 4rem); }
.hero .lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); margin: 0 auto 36px; }
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.hero-meta {
  display: inline-flex; align-items: center; gap: 20px;
  font-size: 13px; color: var(--text-3);
  flex-wrap: wrap; justify-content: center;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--emerald); }

.hero-visual {
  margin: 72px auto 0;
  max-width: 1120px;
  position: relative;
}
.hero-device {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)), var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.hero-device-bar { display: flex; gap: 6px; padding: 4px 8px 12px; }
.hero-device-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--bg-3); }
.hero-device-bar span:nth-child(1) { background: #F87171; }
.hero-device-bar span:nth-child(2) { background: #FBBF24; }
.hero-device-bar span:nth-child(3) { background: #34D399; }
.hero-screen {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-0);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.hero-floating {
  position: absolute;
  padding: 12px 16px;
  background: rgba(17,22,42,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--text-1);
  box-shadow: var(--shadow-md);
}
.hero-floating .ic {
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-brand);
  color: #fff;
}
.hero-float-1 { top: 10%;   left: -2%;  }
.hero-float-2 { top: 58%;   right: -2%; }
.hero-float-3 { bottom: -3%; left: 22%; }
@media (max-width: 768px) {
  .hero-floating { display: none; }
}

/* Orbs disabled — replaced by ::before mesh */
.hero-orb { display: none; }

/* ============================================================
   Logos strip
   ============================================================ */
.logos {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
}
.logos-title {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
.logos-row {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.logos-row span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-3);
}
.logos-row span:hover { color: var(--text-1); }

/* ============================================================
   Cards & Features — modern with soft hover lift
   ============================================================ */
.card, .feature {
  position: relative;
  padding: 26px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover, .feature:hover {
  background: var(--bg-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card h3, .feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p, .feature p { font-size: 0.94rem; color: var(--text-2); }

.card-icon, .feature-ic {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-brand-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #DDD6FE;
  margin-bottom: 16px;
}
.feature:hover .feature-ic, .card:hover .card-icon {
  border-color: var(--border-strong);
  color: #fff;
}

.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.feature-tag {
  font-size: 11px;
  padding: 4px 9px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-2);
}

/* Grid */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.bento > * { grid-column: span 2; }
.bento .b-wide { grid-column: span 4; }
.bento .b-tall { grid-row: span 2; }
.bento .b-full { grid-column: span 6; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento .b-wide, .bento .b-full { grid-column: span 2; }
  .bento .b-tall { grid-row: span 1; }
}

/* ============================================================
   Stats
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}
.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}
.stat-label {
  color: var(--text-3);
  font-size: 12px;
  margin-top: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; } }
.price {
  padding: 28px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  display: flex; flex-direction: column;
}
.price-popular {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(124,58,237,0.18), transparent 70%),
    var(--bg-2);
  border-color: var(--accent);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(124,58,237,0.25);
}
.price-popular::before {
  content: "Most popular";
  position: absolute; top: -10px; left: 24px;
  padding: 4px 12px;
  background: var(--grad-brand);
  border-radius: 999px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.price h3 { font-size: 1rem; color: var(--text-2); font-weight: 500; }
.price .amount { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0; color: #fff; }
.price .amount span { font-size: 0.9rem; color: var(--text-3); font-weight: 400; }
.price ul { margin: 18px 0; flex: 1; }
.price li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; font-size: 13.5px; color: var(--text-2);
}
.price li svg { color: var(--emerald); flex: none; }
.price .btn { width: 100%; }

/* ============================================================
   Testimonials
   ============================================================ */
.tcard {
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.15s var(--ease);
}
.tcard:hover { border-color: var(--border-strong); }
.tcard p { font-size: 0.95rem; color: var(--text-1); line-height: 1.6; }
.tperson { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tavatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; color: #fff; font-size: 13px;
  box-shadow: var(--shadow-sm);
}
.tperson b { color: #fff; font-weight: 500; font-size: 14px; display: block; }
.tperson small { color: var(--text-3); font-size: 12px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  background: var(--bg-1);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-item.open { border-color: var(--border-strong); background: var(--bg-2); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  font-size: 15px; font-weight: 500; color: #fff;
  cursor: pointer;
  width: 100%; text-align: left;
}
.faq-q svg { transition: transform 0.2s var(--ease); flex: none; color: var(--text-3); }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--accent-soft); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s var(--ease), padding 0.2s var(--ease);
  padding: 0 20px;
  color: var(--text-2);
  font-size: 14px;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 20px 18px; }

/* ============================================================
   CTA — gradient frame, modern
   ============================================================ */
.cta {
  padding: 72px 40px;
  background:
    radial-gradient(50% 100% at 50% 0%, rgba(124,58,237,0.18), transparent 70%),
    radial-gradient(60% 100% at 80% 100%, rgba(6,182,212,0.14), transparent 70%),
    var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta h2 { margin-bottom: 12px; }
.cta p { max-width: 620px; margin: 0 auto 24px; }
@media (max-width: 640px) { .cta { padding: 48px 20px; } }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  margin-top: 96px;
  padding: 64px 0 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin: 12px 0; font-size: 13.5px; max-width: 320px; color: var(--text-2); }
.footer h5 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 14px;
}
.footer ul li { margin-bottom: 8px; }
.footer ul li a { font-size: 13.5px; color: var(--text-2); }
.footer ul li a:hover { color: #fff; }

.newsletter {
  display: flex; gap: 8px;
  max-width: 360px;
}
.newsletter input {
  flex: 1;
  padding: 9px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--text-1);
  outline: none;
}
.newsletter input:focus { border-color: var(--accent); }
.newsletter input::placeholder { color: var(--text-3); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-3);
}
.footer-bottom a:hover { color: var(--text-1); }

.socials { display: flex; gap: 8px; }
.socials a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
}
.socials a:hover { background: var(--bg-3); color: #fff; border-color: var(--border-strong); }

/* ============================================================
   Page header (interior pages) — soft gradient
   ============================================================ */
.page-header {
  padding: 88px 0 60px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(124,58,237,0.18), transparent 70%),
    radial-gradient(40% 60% at 80% 100%, rgba(6,182,212,0.14), transparent 70%),
    var(--bg-1);
}
.page-header h1 { margin: 14px 0 14px; }
.page-header .lead { margin: 0 auto; }
.breadcrumb {
  display: inline-flex; gap: 6px; align-items: center;
  font-size: 12px; color: var(--text-3); margin-bottom: 8px;
}
.breadcrumb a:hover { color: var(--text-1); }

/* ============================================================
   Badges
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  font-size: 11px; font-weight: 500;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
}
.badge-violet  { background: var(--bg-2); border-color: var(--accent); color: var(--accent-soft); }
.badge-cyan    { background: var(--bg-2); border-color: var(--accent-3); color: #67E8F9; }
.badge-emerald { background: var(--bg-2); border-color: var(--emerald); color: #6EE7B7; }
.badge-pink    { background: var(--bg-2); border-color: var(--rose); color: #FDA4AF; }
.badge-amber   { background: var(--bg-2); border-color: var(--amber); color: #FCD34D; }

/* ============================================================
   Forms
   ============================================================ */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  font-size: 14px;
  transition: border-color 0.15s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
}
.field textarea { min-height: 120px; resize: vertical; }

/* ============================================================
   Terminal
   ============================================================ */
.terminal {
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}
.terminal-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg-3);
}
.terminal-bar i:nth-child(1) { background: #F87171; }
.terminal-bar i:nth-child(2) { background: #FBBF24; }
.terminal-bar i:nth-child(3) { background: #34D399; }
.terminal-bar span {
  margin-left: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-3);
}
.terminal pre {
  padding: 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-1);
  overflow-x: auto;
}
.terminal .tk-c { color: #67E8F9; }
.terminal .tk-k { color: var(--accent-soft); }
.terminal .tk-s { color: #6EE7B7; }
.terminal .tk-n { color: #FDA4AF; }
.terminal .tk-m { color: var(--text-3); }

/* ============================================================
   Splits
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-text h2 { margin-bottom: 14px; }
.split-text .lead { margin-bottom: 24px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.split-list { margin-top: 20px; }
.split-list li {
  display: flex; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.split-list li:last-child { border-bottom: none; }
.split-list .ic {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  flex: none;
  color: var(--accent-soft);
}
.split-list b { color: #fff; display: block; margin-bottom: 2px; font-weight: 500; font-size: 14px; }
.split-list small { color: var(--text-2); font-size: 13px; }

/* ============================================================
   Marquee (kept, simple)
   ============================================================ */
.marquee {
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Reveal (simple)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.10s; }
.reveal-delay-3 { transition-delay: 0.15s; }
.reveal-delay-4 { transition-delay: 0.20s; }

/* ============================================================
   Misc
   ============================================================ */
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.hidden { display: none; }
.muted { color: var(--text-3); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }

/* Legacy aliases — neutralized (no glow/glass) */
.glow-border { border: 1px solid var(--border); }
.card-glow   { /* no-op */ }
.glass       { background: var(--bg-1); border: 1px solid var(--border); }

@keyframes blink { 50% { opacity: 0; } }
.cursor { display: inline-block; width: 2px; height: 1em; background: var(--accent-soft); vertical-align: text-bottom; animation: blink 1s infinite; }

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