/* ====================================================
   LOGO/PROOF MARQUEE
==================================================== */
.proof {
  padding-block: var(--sp-7);
  position: relative;
}
.proof-label {
  text-align: center;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  margin-bottom: 24px;
}
.proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 16px;
}
.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: var(--fs-xs);
  color: var(--fg-2);
}
.proof-pill .dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }

/* ====================================================
   FEATURE GRID (BENTO)
==================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 14px;
}
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

.bento-tile {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), transform 0.4s var(--ease-out);
}
.bento-tile:hover { border-color: var(--border-strong); }
.bento-tile .label {
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  font-weight: 500;
}
.bento-tile h3 { font-size: var(--fs-xl); font-weight: 540; letter-spacing: -0.02em; line-height: 1.18; }
.bento-tile p { color: var(--fg-2); font-size: var(--fs-sm); line-height: 1.45; max-width: 42ch; }
.bento-tile .visual { flex: 1; min-height: 120px; position: relative; }

.tile-2x2 { grid-column: span 4; grid-row: span 2; }
.tile-2x1 { grid-column: span 4; }
.tile-1x1 { grid-column: span 2; }
.tile-wide { grid-column: span 3; }
.tile-half { grid-column: span 3; }
@media (max-width: 980px) {
  .tile-2x2, .tile-2x1, .tile-1x1, .tile-wide, .tile-half { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 600px) {
  .tile-2x2, .tile-2x1, .tile-1x1, .tile-wide, .tile-half { grid-column: span 1; }
}

/* Tile visuals */
.tile-hotkey {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.tile-hotkey .key-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  border-bottom-width: 3px;
  font-family: "Geist Mono", monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--fg-1);
  box-shadow: var(--shadow-1);
}

.tile-orb {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.orb {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--aurora-1), var(--aurora-2), var(--aurora-3), var(--aurora-4), var(--aurora-5), var(--aurora-1));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.16) inset,
    0 20px 60px rgba(110, 60, 200, 0.5),
    0 0 80px rgba(225, 70, 156, 0.35);
  position: relative;
  animation: orb-float 6s var(--ease-in-out) infinite;
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(8deg); }
}
.orb::after {
  content: "✦";
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.85);
  font-size: 26px;
  text-shadow: 0 0 14px rgba(255,255,255,0.5);
}
.orb-ring {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
  animation: orb-rotate 22s linear infinite;
}
@keyframes orb-rotate { to { transform: rotate(360deg); } }

.tile-stream {
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  color: var(--fg-1);
  line-height: 1.65;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  height: 100%;
  overflow: hidden;
  position: relative;
}
.tile-stream .line { display: block; }
.tile-stream .dim { color: var(--fg-3); }
.tile-stream .blink {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 2px;
  animation: caret 1s steps(2) infinite;
}

.tile-providers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.provider-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--fg-1);
}
.provider-chip .pp-dot {
  width: 8px; height: 8px; border-radius: 50%;
}

.tile-local {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--fg-1);
  font-family: "Geist Mono", monospace;
}
.local-badge .ld { width: 8px; height: 8px; border-radius: 50%; background: #5ED49C; box-shadow: 0 0 8px #5ED49C; }
.local-cap { font-size: var(--fs-xs); color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.16em; }

/* ====================================================
   ACTIONS LIBRARY
==================================================== */
.actions {
  position: relative;
}
.actions-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--fg-2);
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.cat-tab:hover { color: var(--fg); border-color: var(--border-strong); }
.cat-tab.active { background: var(--fg); color: var(--bg-0); border-color: var(--fg); }
.cat-tab .count { font-family: "Geist Mono", monospace; font-size: 10px; opacity: 0.65; }

.actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 980px) { .actions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .actions-grid { grid-template-columns: 1fr; } }

.action-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.action-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.action-card .ai {
  width: 36px; height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  color: var(--fg-1);
}
.action-card .body { min-width: 0; flex: 1; }
.action-card .name { font-weight: 500; font-size: var(--fs-sm); letter-spacing: -0.01em; }
.action-card .desc { color: var(--fg-3); font-size: var(--fs-xs); line-height: 1.45; margin-top: 2px; }

/* ====================================================
   PROVIDERS (LOCAL VS CLOUD)
==================================================== */
.providers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 820px) { .providers { grid-template-columns: 1fr; } }
.provider-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 36px;
  overflow: hidden;
  background: var(--bg-2);
}
.provider-card .head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.provider-card h3 { font-size: var(--fs-xl); font-weight: 540; letter-spacing: -0.02em; }
.provider-card p { color: var(--fg-2); font-size: var(--fs-sm); line-height: 1.5; }
.provider-list { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.provider-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.provider-row .pn { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); }
.provider-row .pn .pp-dot { width: 10px; height: 10px; border-radius: 50%; }
.provider-row .meta { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-3); }

.local-aurora {
  position: absolute; top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--aurora-2) 0%, transparent 65%);
  filter: blur(40px);
  opacity: 0.45;
  pointer-events: none;
}
[data-theme="light"] .local-aurora { opacity: 0.25; }

/* ====================================================
   WORKFLOW DIAGRAM
==================================================== */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
}
@media (max-width: 820px) { .flow { grid-template-columns: 1fr 1fr; } }
.flow-step {
  position: relative;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.flow-step .num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: var(--fg-1);
  margin-bottom: 14px;
}
.flow-step h4 { font-size: var(--fs-base); font-weight: 540; letter-spacing: -0.015em; margin-bottom: 6px; }
.flow-step p { color: var(--fg-2); font-size: var(--fs-xs); line-height: 1.5; }

/* ====================================================
   SNIPPETS / PERSONAS
==================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.snip-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-2);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.snip-eye { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.18em; color: var(--fg-3); }
.snip-card h3 { font-size: var(--fs-xl); font-weight: 540; letter-spacing: -0.02em; }
.snip-card p { color: var(--fg-2); font-size: var(--fs-sm); line-height: 1.5; max-width: 50ch; }
.snippet-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: "Geist Mono", monospace;
  font-size: var(--fs-xs);
}
.snippet-row .slash {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--surface-strong);
  color: var(--fg-1);
  font-weight: 600;
}
.snippet-row .name { color: var(--fg-1); }
.snippet-row .arrow { color: var(--fg-3); }
.snippet-row .out { color: var(--fg-2); }

.persona-list { display: flex; flex-direction: column; gap: 8px; }
.persona {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.persona .av {
  width: 32px; height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--aurora-1), var(--aurora-3));
}
.persona.active { border-color: var(--border-bright); background: var(--surface-strong); }
.persona .pname { font-size: var(--fs-sm); font-weight: 500; }
.persona .pdesc { font-size: var(--fs-xs); color: var(--fg-3); margin-top: 2px; }

/* ====================================================
   COMPARISON TABLE
==================================================== */
.compare {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
}
@media (max-width: 820px) { .compare { font-size: var(--fs-xs); } }
.compare > div {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}
.compare .h {
  padding: 22px 18px;
  background: var(--surface);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-2);
  font-weight: 500;
}
.compare .h.vehla { background: linear-gradient(135deg, rgba(107,91,255,0.12), rgba(226,71,156,0.12)); color: var(--fg); }
.compare .row-label { color: var(--fg-1); font-weight: 500; }
.compare .yes { color: var(--fg); display: inline-flex; align-items: center; gap: 6px; }
.compare .no { color: var(--fg-3); }
.compare .yes::before { content: "●"; color: #5ED49C; font-size: 10px; }
.compare .partial::before { content: "◐"; color: #E2B65E; font-size: 12px; margin-right: 6px; }
.compare > div:nth-last-child(-n+4) { border-bottom: none; }

/* ====================================================
   PRICING
==================================================== */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  position: relative;
  padding: 36px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}
.price-card.featured {
  border-color: var(--border-bright);
  background:
    linear-gradient(180deg, rgba(107,91,255,0.06), transparent 40%),
    var(--bg-2);
}
.price-card .ptag {
  position: absolute; top: 18px; right: 18px;
  font-size: var(--fs-micro);
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--fg); color: var(--bg-0);
}
.price-card h3 { font-size: var(--fs-xl); font-weight: 540; letter-spacing: -0.02em; }
.price-card .amount { display: flex; align-items: baseline; gap: 8px; }
.price-card .amount .num { font-size: var(--fs-3xl); font-weight: 560; letter-spacing: -0.03em; }
.price-card .amount .per { color: var(--fg-3); font-size: var(--fs-sm); }
.price-card .desc { color: var(--fg-2); font-size: var(--fs-sm); }
.price-feats { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.price-feats li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--fg-1); }
.price-feats li::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  position: relative;
  flex-shrink: 0;
  background-image: linear-gradient(135deg, var(--aurora-1), var(--aurora-3));
}

/* ====================================================
   FAQ
==================================================== */
.faq { display: flex; flex-direction: column; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
  font-size: 16px;
}
.faq details > div {
  padding-top: 14px;
  color: var(--fg-2);
  font-size: var(--fs-base);
  line-height: 1.55;
  max-width: 70ch;
}

/* ====================================================
   CTA BANNER
==================================================== */
.cta-banner {
  position: relative;
  padding: clamp(48px, 6vw, 96px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 100% at 0% 0%, rgba(107,91,255,0.45), transparent 60%),
    radial-gradient(60% 100% at 100% 100%, rgba(226,71,156,0.40), transparent 60%),
    linear-gradient(135deg, #1c1530 0%, #2a1845 50%, #401d52 100%);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  color: #fff;
}
[data-theme="light"] .cta-banner { color: #fff; }
.cta-banner .grid-bg { opacity: 0.4; --grid-line: rgba(255,255,255,0.08); }
.cta-banner h2 { color: #fff; font-size: var(--fs-3xl); letter-spacing: -0.03em; font-weight: 540; line-height: 1.02; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-top: 14px; max-width: 56ch; font-size: var(--fs-lg); }
.cta-banner .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-banner .btn-primary { background: #fff; color: #18102b; }
.cta-banner .btn-primary:hover { background: var(--aurora-3); color: #fff; }
.cta-banner .btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: #fff; }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* ====================================================
   FOOTER
==================================================== */
.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(5, minmax(120px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.16em; color: var(--fg-3); margin-bottom: 14px; font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: var(--fs-sm); color: var(--fg-1); transition: color 0.2s var(--ease-out); }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { color: var(--fg-2); font-size: var(--fs-sm); margin-top: 14px; max-width: 32ch; line-height: 1.5; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--fg-3);
}
.footer-bottom .made { display: inline-flex; align-items: center; gap: 8px; }
.footer-bigword {
  font-family: "Geist", sans-serif;
  font-weight: 560;
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--fg-1) 0%, transparent 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-align: center;
  margin: 56px 0 0;
  user-select: none;
  pointer-events: none;
}
