/* ============================================================
   FluentCleaner — Landing Page
   Purple #9333ea · Blue #3b82f6 · Light bg #faf9ff
   Fluent Design-inspired · Windows 11 aesthetic
   ============================================================ */

:root {
  --purple:   #9333ea;
  --blue:     #3b82f6;
  --green:    #10b981;
  --orange:   #f59e0b;
  --grad:     linear-gradient(135deg, #9333ea 0%, #3b82f6 100%);
  --grad-r:   linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
  --bg:       #faf9ff;
  --surface:  #ffffff;
  --border:   #e8e4f4;
  --border-s: #d1c8f0;
  --text:     #1a1033;
  --text-2:   #4a3f6b;
  --text-3:   #7c6fa0;
  --sans:     'Segoe UI Variable', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  --rad:      16px;
  --rad-sm:   10px;
  --rad-lg:   24px;
  --shadow-sm: 0 1px 3px rgba(80,40,160,.06), 0 1px 2px rgba(80,40,160,.04);
  --shadow:    0 4px 16px rgba(80,40,160,.08), 0 1px 3px rgba(80,40,160,.06);
  --shadow-lg: 0 20px 60px rgba(80,40,160,.12), 0 4px 16px rgba(80,40,160,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--sans); font-size: 15px; line-height: 1.65;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: var(--purple); transition: color .15s; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1,h2,h3 { line-height: 1.15; font-weight: 700; letter-spacing: -.025em; color: var(--text); }

/* ──────────────────────────────────────────
   SHARED ELEMENTS
────────────────────────────────────────── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--grad); color: #fff;
  padding: .72rem 1.5rem; border-radius: 10px;
  font-size: .9rem; font-weight: 600; letter-spacing: -.01em;
  box-shadow: 0 4px 20px rgba(147,51,234,.3);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(147,51,234,.4);
  filter: brightness(1.06);
  color: #fff;
}
.btn-primary.btn-lg { padding: .9rem 2rem; font-size: 1rem; border-radius: 12px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--text-2); background: rgba(147,51,234,.06);
  border: 1px solid var(--border-s);
  padding: .72rem 1.5rem; border-radius: 10px;
  font-size: .9rem; font-weight: 600; letter-spacing: -.01em;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.btn-ghost:hover {
  background: rgba(147,51,234,.1); border-color: rgba(147,51,234,.3);
  color: var(--purple); transform: translateY(-1px);
}
.btn-ghost.btn-lg { padding: .9rem 2rem; font-size: 1rem; border-radius: 12px; }

.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: .75rem;
}
.section-h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.section-sub { font-size: 1rem; color: var(--text-2); max-width: 500px; margin-bottom: 2.5rem; line-height: 1.7; }

/* ──────────────────────────────────────────
   HEADER
────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 58px;
  background: rgba(250,249,255,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; gap: 2rem;
}
.logo {
  display: flex; align-items: center; gap: .55rem; color: var(--text);
  flex-shrink: 0;
}
.logo:hover { color: var(--text); }
.logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(147,51,234,.3);
  flex-shrink: 0;
}
.logo-icon svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,.2)); }
.logo-text { font-size: .95rem; font-weight: 700; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  font-size: .85rem; font-weight: 500; color: var(--text-2);
  padding: .4rem .8rem; border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: rgba(147,51,234,.07); color: var(--purple); }
@media (max-width: 680px) { .nav { display: none; } }
.header-cta {
  margin-left: auto; flex-shrink: 0;
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: var(--purple);
  background: rgba(147,51,234,.08); border: 1px solid rgba(147,51,234,.2);
  padding: .38rem .9rem; border-radius: 8px;
  transition: background .15s, border-color .15s;
}
.header-cta:hover { background: rgba(147,51,234,.14); border-color: rgba(147,51,234,.35); color: var(--purple); }

/* ──────────────────────────────────────────
   HERO
────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 2rem 80px; min-height: 100vh;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .45;
}
.blob-1 {
  width: 500px; height: 500px; top: -100px; left: -100px;
  background: radial-gradient(circle, rgba(147,51,234,.22) 0%, transparent 70%);
  animation: blobFloat 18s ease-in-out infinite;
}
.blob-2 {
  width: 400px; height: 400px; top: 10%; right: -50px;
  background: radial-gradient(circle, rgba(59,130,246,.18) 0%, transparent 70%);
  animation: blobFloat 24s ease-in-out infinite reverse;
}
.blob-3 {
  width: 300px; height: 300px; bottom: 5%; left: 30%;
  background: radial-gradient(circle, rgba(147,51,234,.12) 0%, transparent 70%);
  animation: blobFloat 20s ease-in-out infinite 5s;
}
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,20px) scale(1.05); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(147,51,234,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(147,51,234,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black 30%, transparent 100%);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center;
  width: 100%;
}
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } }
.hero-content { max-width: 520px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: var(--purple); background: rgba(147,51,234,.08);
  border: 1px solid rgba(147,51,234,.2);
  padding: .35rem .85rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 1.25rem; letter-spacing: -.04em;
}
.hero-sub {
  font-size: 1.05rem; color: var(--text-2); line-height: 1.75;
  margin-bottom: 2rem; max-width: 440px;
}
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; align-items: center; gap: 0; }
.stat { padding: 0 1.25rem; }
.stat:first-child { padding-left: 0; }
.stat-n { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; color: var(--text); }
.stat-l { display: block; font-size: .6rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: .1rem; }
.stat-div { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* ──────────────────────────────────────────
   APP WINDOW MOCKUP
────────────────────────────────────────── */
.hero-visual { position: relative; }
.app-window {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(80,40,160,.08);
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}
.aw-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1rem;
  background: linear-gradient(90deg, rgba(147,51,234,.06) 0%, rgba(59,130,246,.04) 100%);
  border-bottom: 1px solid var(--border);
}
.aw-bar-left { display: flex; align-items: center; gap: .55rem; }
.aw-icon { width: 28px; height: 28px; border-radius: 6px; background: var(--grad); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.aw-title { font-size: .8rem; font-weight: 600; color: var(--text); }
.aw-sub { font-size: .6rem; color: var(--text-3); }
.aw-controls { display: flex; gap: 0; }
.awc {
  width: 30px; height: 26px; display: flex; align-items: center; justify-content: center;
  font-size: .6rem; color: var(--text-3); border-radius: 4px;
  transition: background .12s, color .12s;
}
.awc:hover { background: rgba(0,0,0,.07); color: var(--text); }
.awc-cls:hover { background: #e81123; color: #fff; }

.aw-body { display: flex; height: 340px; }

.aw-sidebar {
  width: 44px; background: rgba(147,51,234,.04);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 8px 0;
}
.aws-btn {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); transition: background .12s, color .12s;
}
.aws-btn:hover { background: rgba(147,51,234,.08); color: var(--purple); }
.aws-active { background: rgba(147,51,234,.1); color: var(--purple); }

.aw-main { width: 200px; border-right: 1px solid var(--border); overflow: hidden; flex-shrink: 0; }
.aw-search-row { padding: 8px; border-bottom: 1px solid var(--border); }
.aw-search {
  display: flex; align-items: center; gap: .4rem;
  background: rgba(0,0,0,.04); border: 1px solid var(--border);
  border-radius: 6px; padding: .35rem .6rem;
  font-size: .72rem; color: #999;
}
.aw-list { overflow-y: auto; height: calc(340px - 48px); }
.awl-group { border-bottom: 1px solid rgba(0,0,0,.05); }
.awl-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem .75rem; font-size: .72rem; font-weight: 600; color: var(--text-2);
  cursor: pointer; background: rgba(0,0,0,.02);
}
.awl-head.open { color: var(--purple); }
.awl-item {
  display: flex; align-items: center; gap: .4rem;
  padding: .38rem .75rem; font-size: .68rem; color: var(--text-2);
  border-bottom: 1px solid rgba(0,0,0,.03);
}
.awl-item span:nth-child(2) { flex: 1; }
.awl-size { color: var(--text-3); font-size: .6rem; }
.awl-check {
  width: 14px; height: 14px; border: 1.5px solid #bbb;
  border-radius: 3px; flex-shrink: 0;
}
.awl-check.checked {
  background: var(--purple); border-color: var(--purple);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='white' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}

.aw-panel { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.awp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; border-bottom: 1px solid var(--border);
}
.awp-title { font-size: .8rem; font-weight: 700; color: var(--text); }
.awp-size { font-size: .9rem; font-weight: 800; color: var(--purple); }
.awp-list { overflow-y: auto; flex: 1; }
.awp-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1rem; border-bottom: 1px solid rgba(0,0,0,.04);
  gap: .5rem;
}
.awp-name { font-size: .72rem; font-weight: 600; color: var(--text); }
.awp-files { font-size: .6rem; color: var(--text-3); margin-top: 1px; }
.awp-val { font-size: .72rem; font-weight: 600; color: var(--blue); white-space: nowrap; flex-shrink: 0; }

.aw-glow {
  position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 80px;
  background: radial-gradient(ellipse, rgba(147,51,234,.2) 0%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}

/* ──────────────────────────────────────────
   TRUST BAR
────────────────────────────────────────── */
.trust-bar {
  background: linear-gradient(90deg, rgba(147,51,234,.06) 0%, rgba(59,130,246,.06) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}
.trust-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 600; color: var(--text-2);
  padding: .3rem 1.25rem;
}
.trust-sep { width: 1px; height: 18px; background: var(--border-s); flex-shrink: 0; }

/* ──────────────────────────────────────────
   WHY CLEAN
────────────────────────────────────────── */
.whyclean {
  padding: 90px 0;
  border-top: 1px solid var(--border);
}
.wc-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .wc-layout { grid-template-columns: 1fr; } }

.wc-lead {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.wc-body {
  font-size: .93rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.wc-body:last-child { margin-bottom: 0; }

.wc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-self: start;
  position: sticky;
  top: 80px;
}
@media (max-width: 900px) { .wc-cards { position: static; } }

.wc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  padding: 1.4rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.wc-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(147,51,234,.25);
  transform: translateY(-2px);
}
.wc-card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .85rem;
}
.wc-card-num {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .3rem;
}
.wc-card-label {
  font-size: .78rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* ──────────────────────────────────────────
   WHAT GETS CLEANED
────────────────────────────────────────── */
.whatclean {
  padding: 90px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(147,51,234,.025) 100%);
}
.wcat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: .5rem;
}
@media (max-width: 768px) { .wcat-grid { grid-template-columns: 1fr; } }

.wcat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 1.75rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.wcat-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(147,51,234,.25);
  transform: translateY(-3px);
}
.wcat-header {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}
.wcat-header h3 {
  font-size: 1rem;
  margin: 0;
}
.wcat-card p {
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.78;
  margin-bottom: 1.1rem;
}
.wcat-card code {
  font-family: 'Cascadia Code', 'Consolas', monospace;
  font-size: .82em;
  background: rgba(147,51,234,.07);
  color: var(--purple);
  padding: .1em .35em;
  border-radius: 4px;
  border: 1px solid rgba(147,51,234,.15);
}
.wcat-examples {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.wcat-examples span {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 5px;
  background: rgba(59,130,246,.07);
  color: var(--blue);
  border: 1px solid rgba(59,130,246,.15);
}

/* ──────────────────────────────────────────
   OPEN SOURCE TRUST
────────────────────────────────────────── */
.opensource {
  padding: 90px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(147,51,234,.03) 0%, rgba(59,130,246,.03) 100%);
}
.os-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .os-layout { grid-template-columns: 1fr; } }

.os-lead {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.os-body {
  font-size: .93rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.os-body:last-child { margin-bottom: 0; }

.os-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
  position: sticky;
  top: 80px;
}
@media (max-width: 900px) { .os-pillars { position: static; } }

.os-pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.os-pillar:hover {
  box-shadow: var(--shadow);
  border-color: rgba(147,51,234,.25);
  transform: translateY(-2px);
}
.os-pillar-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .35rem;
  box-shadow: 0 3px 12px rgba(147,51,234,.25);
}
.os-pillar h4 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.os-pillar p {
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}

/* ──────────────────────────────────────────
   FEATURES
────────────────────────────────────────── */
.features { padding: 90px 0; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
@media (max-width: 768px) { .feat-grid { grid-template-columns: 1fr; } }

.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rad-lg); padding: 1.75rem;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.feat-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(147,51,234,.25);
  transform: translateY(-3px);
}
.feat-card-wide { grid-column: span 2; }
@media (max-width: 768px) { .feat-card-wide { grid-column: span 1; } }

.feat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; flex-shrink: 0;
}
.feat-icon-purple { background: rgba(147,51,234,.1); color: var(--purple); }
.feat-icon-blue   { background: rgba(59,130,246,.1);  color: var(--blue); }
.feat-icon-green  { background: rgba(16,185,129,.1);  color: var(--green); }
.feat-icon-orange { background: rgba(245,158,11,.1);  color: var(--orange); }

.feat-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.feat-card p { font-size: .88rem; color: var(--text-2); line-height: 1.7; margin-bottom: 1rem; }
.feat-tag {
  display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 5px;
  background: rgba(147,51,234,.08); color: var(--purple);
  border: 1px solid rgba(147,51,234,.15);
}

/* ──────────────────────────────────────────
   HOW IT WORKS
────────────────────────────────────────── */
.hiw {
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(147,51,234,.03) 0%, transparent 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.hiw-steps {
  display: flex; align-items: flex-start; gap: 0; margin-top: 1rem;
}
@media (max-width: 720px) {
  .hiw-steps { flex-direction: column; }
  .hiw-connector { display: none; }
}
.hiw-step {
  flex: 1; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--rad-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow .2s, transform .2s;
}
.hiw-step:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.hiw-connector { display: flex; align-items: center; padding: 0 8px; padding-top: 3rem; flex-shrink: 0; }
.hiw-line { width: 40px; height: 2px; background: var(--border-s); }
.hiw-num {
  font-size: .65rem; font-weight: 900; letter-spacing: .1em;
  color: var(--purple); opacity: .5; margin-bottom: .75rem;
}
.hiw-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 16px rgba(147,51,234,.28);
}
.hiw-content h3 { font-size: 1rem; margin-bottom: .5rem; }
.hiw-content p { font-size: .88rem; color: var(--text-2); line-height: 1.7; }

/* ──────────────────────────────────────────
   COMPARE
────────────────────────────────────────── */
.compare { padding: 90px 0; }
.compare-table-wrap {
  margin-top: 2rem; overflow-x: auto; border-radius: var(--rad-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: .88rem; background: var(--surface);
  border-radius: var(--rad-lg); overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: .85rem 1.25rem; text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare-table th { font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--text-3); background: rgba(0,0,0,.02); }
.compare-table td:first-child { text-align: left; color: var(--text-2); font-weight: 500; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table .col-fc { background: rgba(147,51,234,.04); }
.compare-table th.col-fc { color: var(--purple); }
.yes { color: var(--green); font-weight: 700; }
.no  { color: #dc2626; font-weight: 700; }
.partial { color: var(--orange); font-size: .78rem; font-weight: 600; }

/* ──────────────────────────────────────────
   FAQ
────────────────────────────────────────── */
.faq { padding: 90px 0; border-top: 1px solid var(--border); }
.faq-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
@media (max-width: 768px) { .faq-inner { grid-template-columns: 1fr; } }
.faq-left .section-sub { margin-bottom: 1.5rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rad); margin-bottom: .6rem; overflow: hidden;
  transition: border-color .18s;
}
.faq-item[open] { border-color: rgba(147,51,234,.3); }
.faq-item summary {
  list-style: none; padding: 1rem 1.25rem;
  font-size: .9rem; font-weight: 600; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  user-select: none;
  transition: background .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(147,51,234,.03); }
.faq-item summary::after { content: '+'; color: var(--purple); font-weight: 400; font-size: 1.2rem; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-body {
  padding: 0 1.25rem 1rem; font-size: .88rem; color: var(--text-2);
  line-height: 1.75; border-top: 1px solid var(--border);
  padding-top: .85rem;
}

/* ──────────────────────────────────────────
   CTA
────────────────────────────────────────── */
.cta-section {
  padding: 100px 2rem;
  background: linear-gradient(135deg, rgba(147,51,234,.07) 0%, rgba(59,130,246,.07) 100%);
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-inner {
  max-width: 600px; margin: 0 auto; text-align: center; position: relative; z-index: 1;
}
.cta-blob {
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(147,51,234,.12) 0%, transparent 65%);
  filter: blur(60px); pointer-events: none;
}
.cta-badge {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--purple); background: rgba(147,51,234,.1);
  border: 1px solid rgba(147,51,234,.2);
  padding: .3rem .9rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.cta-h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .85rem; }
.cta-sub { font-size: 1rem; color: var(--text-2); margin-bottom: 2rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.logo-icon-sm { width: 26px; height: 26px; border-radius: 6px; background: var(--grad); display: flex; align-items: center; justify-content: center; }
.footer-name { font-size: .9rem; font-weight: 700; color: var(--text); }
.footer-copy { font-size: .78rem; color: var(--text-3); flex: 1; min-width: 200px; }
.footer-gh {
  display: flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; color: var(--text-2);
  padding: .35rem .75rem; border-radius: 7px;
  border: 1px solid var(--border);
  transition: background .15s, border-color .15s, color .15s;
  flex-shrink: 0;
}
.footer-gh:hover { background: rgba(147,51,234,.06); border-color: rgba(147,51,234,.25); color: var(--purple); }

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-visual { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: 90px 1.25rem 60px; }
  .section-inner { padding: 0 1.25rem; }
  .features, .hiw, .compare, .faq, .cta-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .trust-bar { padding: .75rem 1rem; }
  .trust-sep { display: none; }
  .trust-item { padding: .25rem .75rem; font-size: .72rem; }
}

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