/* ═══════════════════════════════════════════════════════
   AssistIQ — Cyberpunk Stealth Design
   Unique visual identity: dark, neon, 3D particles
   ═══════════════════════════════════════════════════════ */

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

:root {
  --bg:       #06050e;
  --bg-card:  rgba(14,13,26,0.7);
  --bg-glass: rgba(255,255,255,0.03);
  --border:   rgba(255,255,255,0.06);
  --text:     #e2e0f0;
  --text-dim: #7a7892;
  --accent:   #a78bfa;
  --accent2:  #818cf8;
  --neon:     #c084fc;
  --neon-glow:0 0 20px rgba(167,139,250,0.3), 0 0 60px rgba(167,139,250,0.1);
  --font: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ─── THREE.JS CANVAS ─────────────────────────────── */
#three-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ─── AMBIENT BG ──────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(167,139,250,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(129,140,248,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(192,132,252,0.04) 0%, transparent 60%);
}

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

/* ─── TEXT GLOW ────────────────────────────────────── */
.text-glow {
  background: linear-gradient(135deg, var(--accent), var(--neon), #e879f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── SECTION SHARED ──────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  padding: 6px 16px;
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 100px;
  margin-bottom: 20px;
  background: rgba(167,139,250,0.05);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}

.nav--scrolled {
  background: rgba(6,5,14,0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav__logo-img {
  border-radius: 10px;
}

.nav__brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: block;
  line-height: 1.2;
}

.nav__by {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.88rem;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__home {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav__home:hover {
  color: var(--text);
  background: var(--bg-glass);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.2s;
}

.nav__cta:hover {
  box-shadow: var(--neon-glow);
  transform: translateY(-1px);
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(6,5,14,0.95);
  backdrop-filter: blur(30px);
  border-top: 1px solid var(--border);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile-link {
  font-size: 0.95rem;
  color: var(--text-dim);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav__mobile-link:hover { color: var(--text); }

.nav__mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  gap: 48px;
}

.hero__content {
  text-align: center;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(167,139,250,0.06);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
}

.hero__title {
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  background: linear-gradient(135deg, var(--accent), #e879f9, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(167,139,250,0.3));
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(167,139,250,0.25);
}

.btn--primary:hover {
  box-shadow: 0 6px 28px rgba(167,139,250,0.35);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn--ghost:hover {
  border-color: rgba(167,139,250,0.3);
  background: rgba(167,139,250,0.08);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Hero Stats */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.hero__stat {
  text-align: center;
}

.hero__stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--accent);
}

.hero__stat-plus,
.hero__stat-percent {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.hero__stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 2px;
}

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

/* ─── HERO DEMO WINDOW ────────────────────────────── */
.hero__demo {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.demo__window {
  background: rgba(14,13,26,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(167,139,250,0.08),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.demo__titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.demo__dots {
  display: flex;
  gap: 7px;
}

.demo__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.demo__dot--red { background: #ff5f57; }
.demo__dot--yellow { background: #febc2e; }
.demo__dot--green { background: #28c840; }

.demo__title {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

.demo__controls {
  display: flex;
  gap: 10px;
  color: var(--text-dim);
}

.demo__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo__input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
}

.demo__typing {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
  font-family: var(--font);
}

.demo__cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.demo__input-actions {
  display: flex;
  gap: 12px;
  color: var(--text-dim);
}

.demo__response {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(167,139,250,0.03);
}

.demo__response-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.demo__response-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-dim);
  min-height: 20px;
}

.demo__shimmer {
  display: block;
  height: 14px;
  width: 80%;
  background: linear-gradient(90deg, rgba(167,139,250,0.05), rgba(167,139,250,0.15), rgba(167,139,250,0.05));
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.demo__ghost-badge {
  position: absolute;
  bottom: -16px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(14,13,26,0.9);
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  box-shadow: 0 0 20px rgba(167,139,250,0.15);
}

/* ═══════════════════════════════════════════════════════
   STEALTH SECTION
   ═══════════════════════════════════════════════════════ */
.stealth {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.stealth__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
}

.stealth__card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.stealth__card:hover {
  border-color: rgba(167,139,250,0.2);
  box-shadow: 0 0 30px rgba(167,139,250,0.06);
  transform: translateY(-2px);
}

.stealth__card--main {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(167,139,250,0.06), rgba(129,140,248,0.03));
  border-color: rgba(167,139,250,0.15);
}

.stealth__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(167,139,250,0.1);
  color: var(--accent);
  margin-bottom: 20px;
}

.stealth__icon-wrap--lg {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  background: rgba(167,139,250,0.12);
}

.stealth__icon-wrap[style] {
  background: rgba(var(--accent-rgb, 167,139,250), 0.1);
  color: var(--accent, #a78bfa);
}

.stealth__card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.stealth__card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

.stealth__tag-row {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.stealth__tag {
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 100px;
  color: var(--accent);
  background: rgba(167,139,250,0.05);
}

@media (max-width: 768px) {
  .stealth__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
   FEATURES BENTO
   ═══════════════════════════════════════════════════════ */
.features {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
}

.bento__item {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  overflow: hidden;
  position: relative;
}

.bento__item:hover {
  border-color: rgba(167,139,250,0.2);
  box-shadow: 0 0 30px rgba(167,139,250,0.06);
  transform: translateY(-2px);
}

.bento__item--wide {
  grid-column: span 2;
}

.bento__item--tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.bento__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(167,139,250,0.08);
  color: var(--accent);
  margin-bottom: 20px;
}

.bento__item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.bento__item p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Audio Wave visual */
.bento__visual {
  margin-top: 24px;
}

.audio-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 50px;
}

.audio-wave span {
  display: block;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-radius: 4px;
  animation: wave 1.2s ease-in-out infinite;
}

.audio-wave span:nth-child(1)  { height: 10px; animation-delay: 0.0s; }
.audio-wave span:nth-child(2)  { height: 20px; animation-delay: 0.1s; }
.audio-wave span:nth-child(3)  { height: 35px; animation-delay: 0.2s; }
.audio-wave span:nth-child(4)  { height: 25px; animation-delay: 0.3s; }
.audio-wave span:nth-child(5)  { height: 40px; animation-delay: 0.4s; }
.audio-wave span:nth-child(6)  { height: 30px; animation-delay: 0.1s; }
.audio-wave span:nth-child(7)  { height: 45px; animation-delay: 0.2s; }
.audio-wave span:nth-child(8)  { height: 20px; animation-delay: 0.3s; }
.audio-wave span:nth-child(9)  { height: 35px; animation-delay: 0.0s; }
.audio-wave span:nth-child(10) { height: 15px; animation-delay: 0.1s; }
.audio-wave span:nth-child(11) { height: 25px; animation-delay: 0.4s; }
.audio-wave span:nth-child(12) { height: 40px; animation-delay: 0.3s; }
.audio-wave span:nth-child(13) { height: 20px; animation-delay: 0.2s; }
.audio-wave span:nth-child(14) { height: 30px; animation-delay: 0.1s; }
.audio-wave span:nth-child(15) { height: 12px; animation-delay: 0.0s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* Ghost rings */
.bento__ghost {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 32px;
  min-height: 120px;
}

.ghost-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(167,139,250,0.15);
  animation: ghost-pulse 3s ease-in-out infinite;
}

.ghost-ring      { width: 100px; height: 100px; }
.ghost-ring--2   { width: 140px; height: 140px; animation-delay: 0.5s; border-color: rgba(167,139,250,0.1); }
.ghost-ring--3   { width: 180px; height: 180px; animation-delay: 1s; border-color: rgba(167,139,250,0.05); }

@keyframes ghost-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* Code visual */
.bento__code {
  margin-top: 20px;
  padding: 16px;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-xs);
  font-family: var(--mono);
  font-size: 0.8rem;
  overflow-x: auto;
}

.code-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(167,139,250,0.15);
  color: var(--accent);
  border-radius: 4px;
  font-size: 0.7rem;
  margin-bottom: 8px;
}

.code-line { line-height: 1.8; white-space: nowrap; }
.code-kw  { color: #c084fc; }
.code-var { color: #67e8f9; }
.code-fn  { color: #fbbf24; }
.code-str { color: #34d399; }
.code-dim { color: var(--text-dim); }

/* Keys visual */
.bento__keys {
  display: flex;
  gap: 6px;
  margin-top: 20px;
}

.bento__keys kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 2px 0 rgba(255,255,255,0.06);
}

@media (max-width: 768px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento__item--wide { grid-column: span 1; }
  .bento__item--tall { grid-row: span 1; }
}

/* ═══════════════════════════════════════════════════════
   AI PROVIDERS
   ═══════════════════════════════════════════════════════ */
.providers {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

/* Marquee */
.providers__marquee {
  margin-bottom: 48px;
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.marquee__track {
  overflow: hidden;
}

.marquee__inner {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.provider-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.3s;
}

.provider-chip:hover {
  border-color: rgba(167,139,250,0.3);
}

.provider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Provider Cards */
.providers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.provider-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, transform 0.3s;
}

.provider-card:hover {
  border-color: rgba(167,139,250,0.2);
  transform: translateY(-2px);
}

.provider-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.provider-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.provider-card__header h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

.provider-card__list {
  list-style: none;
}

.provider-card__list li {
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
  padding-left: 16px;
}

.provider-card__list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.provider-card__list li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .providers__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════ */
.how {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.how__timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.how__timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(167,139,250,0.1));
  border-radius: 2px;
}

.how__step {
  display: flex;
  gap: 28px;
  padding-bottom: 48px;
  position: relative;
}

.how__step:last-child {
  padding-bottom: 0;
}

.how__num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg);
  position: relative;
  z-index: 2;
}

.how__content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 4px;
}

.how__content p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

.how__note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 14px;
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  color: #fbbf24;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════
   SHORTCUTS
   ═══════════════════════════════════════════════════════ */
.shortcuts {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.shortcuts__grid {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s;
}

.shortcut-row:hover {
  border-color: rgba(167,139,250,0.2);
}

.shortcut-keys {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shortcut-keys kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 2px 0 rgba(255,255,255,0.06);
}

.shortcut-keys span {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.shortcut-label {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════
   DOWNLOAD
   ═══════════════════════════════════════════════════════ */
.download {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.download__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.download__file-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.download__file-card:hover {
  border-color: rgba(167,139,250,0.2);
  box-shadow: 0 0 30px rgba(167,139,250,0.06);
  transform: translateY(-2px);
}

.download__file-card--featured {
  border-color: rgba(167,139,250,0.25);
  background: linear-gradient(135deg, rgba(167,139,250,0.08), rgba(129,140,248,0.04));
}

.download__file-card--featured:hover {
  border-color: rgba(167,139,250,0.35);
  box-shadow: 0 0 40px rgba(167,139,250,0.1);
}

.download__file-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 100px;
}

.download__file-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(167,139,250,0.1);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 20px;
}

.download__file-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.download__file-name {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  background: rgba(167,139,250,0.08);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 12px;
  word-break: break-all;
}

.download__file-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.download__file-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.download__file-tags span {
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.download__file-btn {
  width: 100%;
  justify-content: center;
}

.download__bottom {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.download__macos-btn {
  opacity: 0.5;
}

.download__meta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.download__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .download__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 16px 0 20px;
  line-height: 1.6;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.footer__socials a:hover {
  color: var(--accent);
  border-color: rgba(167,139,250,0.3);
}

.footer__col h5 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.footer__col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS (Scroll Reveal)
   ═══════════════════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
    gap: 40px;
  }

  .hero__title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero__stats {
    gap: 20px;
  }

  .hero__stat-num {
    font-size: 1.5rem;
  }

  .demo__window {
    margin: 0 -8px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    flex-wrap: wrap;
  }
}

/* ─── CUSTOM SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(167,139,250,0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(167,139,250,0.4);
}

/* ─── SELECTION ────────────────────────────────────── */
::selection {
  background: rgba(167,139,250,0.3);
  color: #fff;
}
