:root {
  --bg: #0D0E11;
  --bg-2: #151721;
  --bg-3: #1C1F2B;
  --text: #EEEEF2;
  --muted: #8A8F9E;
  --muted-2: #5A5F6E;
  --accent: #4DFF96;
  --accent-dim: #2BCC76;
  --warn: #FFB84A;
  --warn-dim: #CC8A2A;
  --danger: #FF5A6B;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.10);
  --radius: 12px;
  --radius-lg: 20px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --pixel: 'Press Start 2P', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle scanline texture on the whole page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(77,255,150,0.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(77,255,150,0.03), transparent 60%);
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(13,14,17,0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.brand-logo { width: 28px; height: 28px; border-radius: 6px; }
.brand-name {
  font-family: var(--pixel); font-size: 11px; letter-spacing: 0.08em;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(77,255,150,0.6);
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  font-family: var(--mono); font-size: 12px;
  padding: 6px 10px; border-radius: 8px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; gap: 6px;
}
.lang-switch:hover { color: var(--text); border-color: var(--muted-2); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  font-size: 14px; font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #08130D;
  box-shadow: 0 0 0 1px rgba(77,255,150,0.4), 0 8px 32px rgba(77,255,150,0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(77,255,150,0.6), 0 12px 40px rgba(77,255,150,0.4); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--muted); background: rgba(255,255,255,0.03); }
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* ============ HERO ============ */
.hero {
  padding: 80px 0 120px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(77,255,150,0.08);
  border: 1px solid rgba(77,255,150,0.2);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .strike {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(138,143,158,0.5);
  text-decoration-thickness: 2px;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  text-wrap: pretty;
  margin: 0 0 36px;
}
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-cta-note {
  margin-top: 16px;
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.hero-cta-note .check {
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-cta-note .check::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(77,255,150,0.15); border: 1px solid var(--accent);
  background-image: radial-gradient(circle, var(--accent) 3px, transparent 3.5px);
}

/* Hero demo frame */
.hero-demo {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(180deg, #1a1d28 0%, #0f1117 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(77,255,150,0.08);
}
.hero-demo::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 0, rgba(77,255,150,0.12), transparent 50%),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px);
  pointer-events: none;
}
.hero-demo-label {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.hero-demo-label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger);
  animation: pulse 1.5s ease-in-out infinite;
}

/* ============ NOTCH COMPONENT ============ */
/* Represents a chunk of MacBook screen top edge with the notch cutout */
.mbp-top {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.mbp-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28px;
  background: #000;
}
.notch-wrap {
  position: relative;
  margin-top: 0;
  display: flex; flex-direction: column; align-items: center;
  z-index: 2;
}
/* The notch itself — a pill that expands */
.notch {
  background: #000;
  color: var(--text);
  border-radius: 0 0 24px 24px;
  padding: 6px 22px;
  min-height: 28px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 12px;
  font-family: var(--mono);
  transition: all 400ms cubic-bezier(.3,.8,.3,1);
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  overflow: hidden;
  max-width: 92%;
}
.notch-invader {
  width: 14px; height: 14px;
  color: var(--accent);
  filter: drop-shadow(0 0 6px rgba(77,255,150,0.7));
}
.notch-invader svg { width: 100%; height: 100%; display: block; }
.notch-pill { /* collapsed state */
  width: 180px;
}
.notch-expanded {
  border-radius: 0 0 24px 24px;
  width: 420px; max-width: 92%;
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.notch-expanded-head {
  padding: 18px 20px 12px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.notch-title {
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  color: var(--text);
}
.notch-badge {
  margin-left: auto;
  font-family: var(--mono); font-size: 10px;
  padding: 3px 7px; border-radius: 4px;
  background: rgba(255,184,74,0.15); color: var(--warn);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.notch-body { padding: 16px 20px 16px; }
.notch-cmd {
  font-family: var(--mono); font-size: 13px; color: var(--text);
  background: #0a0a0a;
  padding: 10px 12px; border-radius: 8px;
  border: 1px solid rgba(255,90,107,0.25);
  word-break: break-all;
  position: relative;
}
.notch-cmd .danger { color: var(--danger); }
.notch-cmd .warn { color: var(--warn); }
.notch-meta {
  font-size: 11px; color: var(--muted);
  margin-top: 10px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.notch-meta span::before {
  content: '·'; margin-right: 8px; color: var(--muted-2);
}
.notch-meta span:first-child::before { content: none; margin: 0; }
.notch-actions {
  display: flex; gap: 8px;
  padding: 0 16px 16px;
}
.notch-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  font-family: var(--sans);
  border: 1px solid transparent;
  background: #1a1a1a;
  color: var(--text);
  transition: all .15s;
}
.notch-btn-allow { background: var(--accent); color: #08130D; }
.notch-btn-allow:hover { filter: brightness(1.1); }
.notch-btn-deny { background: transparent; border-color: rgba(255,90,107,0.3); color: var(--danger); }
.notch-btn-deny:hover { background: rgba(255,90,107,0.1); }
.notch-btn-key {
  font-family: var(--mono); font-size: 10px;
  padding: 2px 5px; border-radius: 3px;
  background: rgba(255,255,255,0.08);
  margin-left: 8px;
}

/* Wallpaper behind the notch */
.desktop-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, #1a2036 0%, #0e1020 60%, #08090f 100%);
}
.desktop-bg::after {
  /* subtle noise / stars */
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 85% 20%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 10% 70%, rgba(255,255,255,0.2), transparent);
}
.menubar-icons {
  position: absolute;
  top: 6px; right: 16px;
  display: flex; gap: 14px; align-items: center;
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  font-family: var(--sans);
}
.menubar-icons .mb-i {
  width: 14px; height: 14px; opacity: 0.8;
}
.menubar-left {
  position: absolute;
  top: 6px; left: 16px;
  display: flex; gap: 14px; align-items: center;
  color: rgba(255,255,255,0.9);
  font-size: 12px; font-weight: 600;
  font-family: var(--sans);
}

/* ============ SECTION ============ */
section { position: relative; z-index: 1; }
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 16px;
  text-wrap: balance;
}
.section-header p {
  font-size: 17px; color: var(--muted);
  margin: 0; text-wrap: pretty;
}

/* Feature grid */
.feature-grid {
  padding: 80px 0;
}
.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .grid-3x2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3x2 { grid-template-columns: 1fr; } }
.fcard {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.fcard:hover {
  border-color: rgba(77,255,150,0.2);
  transform: translateY(-2px);
}
.fcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77,255,150,0.3), transparent);
  opacity: 0; transition: opacity .2s;
}
.fcard:hover::before { opacity: 1; }
.fcard-icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(77,255,150,0.08);
  color: var(--accent);
  margin-bottom: 20px;
}
.fcard-icon svg { width: 20px; height: 20px; }
.fcard h3 {
  font-size: 16px; margin: 0 0 8px; font-weight: 600;
}
.fcard p {
  font-size: 14px; color: var(--muted); margin: 0;
  line-height: 1.5;
}

/* Stories */
.stories { padding: 80px 0; }
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 120px;
}
.story:last-child { margin-bottom: 0; }
.story.reverse .story-text { order: 2; }
@media (max-width: 900px) {
  .story, .story.reverse { grid-template-columns: 1fr; gap: 40px; }
  .story.reverse .story-text { order: 0; }
}
.story-num {
  font-family: var(--pixel); font-size: 10px;
  color: var(--accent); letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.story h3 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.1; letter-spacing: -0.015em;
  margin: 0 0 20px; font-weight: 700;
  text-wrap: balance;
}
.story p {
  font-size: 17px; color: #C8CAD4;
  line-height: 1.6;
  margin: 0 0 20px;
  text-wrap: pretty;
}
.story .tech {
  font-size: 13px; color: var(--muted);
  font-family: var(--mono);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin-top: 24px;
  line-height: 1.6;
}
.story-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(180deg, #1a1d28 0%, #0f1117 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* Badges strip */
.tech-badge {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.badge-row {
  display: flex; justify-content: center; align-items: center;
  gap: 40px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.badge-row .sep { color: var(--muted-2); }
.badge-row .b {
  display: inline-flex; align-items: center; gap: 8px;
}
.badge-row .b svg { width: 14px; height: 14px; color: var(--accent); }

/* Install */
.install { padding: 100px 0; }
.install-note {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 20px 24px;
  background: rgba(255,184,74,0.06);
  border: 1px solid rgba(255,184,74,0.2);
  border-radius: var(--radius);
  font-size: 15px;
  color: #E6D0A8;
  display: flex; gap: 16px; align-items: flex-start;
}
.install-note svg { color: var(--warn); flex-shrink: 0; margin-top: 2px; }
.install-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 1100px; margin: 0 auto;
}
@media (max-width: 900px) { .install-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .install-steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.step-num {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  margin-bottom: 12px;
}
.step-visual {
  aspect-ratio: 16/10;
  background: #0a0b0f;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.step h4 { font-size: 14px; margin: 0 0 6px; font-weight: 600; }
.step p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

/* FAQ */
.faq { padding: 100px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-size: 17px; font-weight: 500;
  background: none; border: none; color: var(--text);
  width: 100%; text-align: left;
  padding: 0;
}
.faq-q .plus {
  width: 20px; height: 20px; flex-shrink: 0;
  position: relative;
  color: var(--muted);
  transition: transform .2s, color .2s;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  font-size: 15px; color: var(--muted); margin: 16px 0 0;
  line-height: 1.6; max-width: 680px;
}

/* Pricing call-out */
.pricing {
  padding: 80px 0;
}
.pricing-box {
  max-width: 720px; margin: 0 auto;
  background:
    radial-gradient(circle at 50% 0%, rgba(77,255,150,0.15), transparent 70%),
    var(--bg-2);
  border: 1px solid rgba(77,255,150,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-invader {
  position: absolute;
  top: 20px; right: 24px;
  width: 24px; height: 24px;
  color: var(--accent);
  opacity: 0.6;
  filter: drop-shadow(0 0 8px rgba(77,255,150,0.6));
}
.pricing-price {
  font-size: 56px; font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-flex; align-items: baseline; gap: 12px;
  margin: 20px 0;
}
.pricing-price .cur { font-size: 28px; color: var(--muted); font-weight: 500; }
.pricing-price .note { font-size: 14px; color: var(--muted); font-family: var(--mono); font-weight: 500; }
.pricing-box h3 { font-size: 28px; margin: 0; letter-spacing: -0.02em; }
.pricing-box > p { color: var(--muted); margin: 12px auto 0; max-width: 440px; text-wrap: pretty; }
.pricing-features {
  margin: 28px 0;
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.pricing-features span {
  display: inline-flex; align-items: center; gap: 6px;
}
.pricing-features .dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}

/* Footer */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 12px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--text); }

/* Real screenshot frame — MacBook top edge, cropped */
.shot-frame {
  position: relative;
  width: 100%; height: 100%;
  background: #000;
  overflow: hidden;
  display: flex; align-items: flex-start; justify-content: center;
}
.shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.shot-frame::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(77,255,150,0.08), inset 0 -40px 60px rgba(13,14,17,0.6);
}

/* Urgency banner / pricing lockup */
.price-old {
  font-size: 20px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255,90,107,0.6);
  font-weight: 500;
  margin-right: 8px;
}
.price-save-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,90,107,0.12);
  color: #FF8A95;
  border: 1px solid rgba(255,90,107,0.3);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-left: 8px;
}
.price-save-pill .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #FF5A6B; box-shadow: 0 0 6px #FF5A6B;
  animation: pulse 1.4s ease-in-out infinite;
}
.countdown {
  margin: 8px 0 20px;
  display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 13px;
  color: var(--warn);
  padding: 8px 14px; border-radius: 8px;
  background: rgba(255,184,74,0.06);
  border: 1px solid rgba(255,184,74,0.2);
}
.countdown .cd-num {
  color: var(--warn); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.platforms {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.platform {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--muted);
}
.platform.active { color: var(--text); border-color: rgba(77,255,150,0.3); }
.platform.active::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 6px var(--accent);
}
.platform.soon::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--warn); box-shadow: 0 0 6px var(--warn);
}
.platform .soon-tag {
  font-family: var(--mono); font-size: 10px; color: var(--warn);
  padding: 2px 6px; border-radius: 4px;
  background: rgba(255,184,74,0.12);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-left: 4px;
}

/* Top announce bar */
.announce {
  background: linear-gradient(90deg, rgba(255,184,74,0.08), rgba(77,255,150,0.08));
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-family: var(--mono);
  color: var(--text);
  text-align: center;
  padding: 10px 16px;
  position: relative; z-index: 60;
}
.announce strong { color: var(--warn); font-weight: 600; }
.announce .pill-ea {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(255,90,107,0.15);
  color: #FF8A95;
  border: 1px solid rgba(255,90,107,0.3);
  margin-right: 8px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.announce .pill-ea .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #FF5A6B; box-shadow: 0 0 6px #FF5A6B;
  animation: pulse 1.4s ease-in-out infinite;
}
.announce a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(77,255,150,0.3); text-underline-offset: 3px; }

/* Music feature chip in grid */
.fcard.fcard-bonus {
  background: linear-gradient(180deg, rgba(77,255,150,0.04), transparent), var(--bg-2);
  border-color: rgba(77,255,150,0.15);
}

/* Tweaks panel */
.tweaks-panel {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 100;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 260px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  font-size: 13px;
  display: none;
}
.tweaks-panel.active { display: block; }
.tweaks-title {
  font-family: var(--mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.tweaks-title::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 6px var(--accent);
}
.tweak-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.tweak-row:first-of-type { border-top: none; }
.tweak-row label { color: var(--muted); }
.tweak-row select, .tweak-row input[type="color"] {
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 6px; padding: 4px 8px; font-size: 12px;
  font-family: var(--mono);
}
.tweak-row input[type="color"] { width: 40px; height: 26px; padding: 2px; cursor: pointer; }

/* Pixel invader spritesheet */
.invader {
  display: inline-block;
  color: var(--accent);
  filter: drop-shadow(0 0 6px rgba(77,255,150,0.5));
}

/* Terminal */
.term {
  width: 100%; height: 100%;
  background: #000;
  font-family: var(--mono); font-size: 12px;
  color: #D5D9E3;
  padding: 16px;
  overflow: hidden;
  position: relative;
}
.term-title {
  position: absolute; top: 0; left: 0; right: 0;
  height: 24px;
  background: #1c1c1e;
  border-bottom: 1px solid #000;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 11px; color: #aaa;
}
.term-title::before {
  content: ''; position: absolute; left: 10px; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff5f56;
  box-shadow: 14px 0 #ffbd2e, 28px 0 #27c93f;
}
.term-body { padding-top: 20px; white-space: pre-wrap; }
.term .prompt { color: var(--accent); }
.term .dim { color: #5a5f6e; }
.term .warn { color: var(--warn); }
.term .danger { color: var(--danger); }
.cursor { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: text-bottom; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Agent row list */
.agent-list {
  padding: 28px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.agent-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  font-family: var(--mono); font-size: 12px;
}
.agent-row .a-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.agent-row .a-name { color: var(--text); font-weight: 600; }
.agent-row .a-meta { color: var(--muted); margin-left: auto; display: flex; gap: 10px; font-size: 11px;}

/* Question picker inside notch */
.q-choices { display: flex; flex-direction: column; gap: 6px; padding: 0 16px 16px; }
.q-choice {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px; background: #0e0e10;
  border: 1px solid var(--border);
  font-family: var(--sans); font-size: 13px;
  transition: all .15s;
}
.q-choice:hover, .q-choice.sel { border-color: var(--accent); background: rgba(77,255,150,0.06); }
.q-choice .kbd {
  font-family: var(--mono); font-size: 10px;
  padding: 3px 6px; border-radius: 4px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border: 1px solid var(--border);
  margin-left: auto;
}
.q-choice.sel .kbd { background: var(--accent); color: #08130D; border-color: var(--accent); }

/* Keep-awake picker */
.ka-picker { padding: 0 16px 16px; }
.ka-agent {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  margin-bottom: 12px;
  font-family: var(--mono); font-size: 12px;
  border: 1px solid var(--border);
}
.ka-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ka-opt {
  padding: 8px;
  border-radius: 6px;
  background: #0e0e10;
  border: 1px solid var(--border);
  text-align: center;
  font-family: var(--mono); font-size: 11px;
  color: var(--text);
  transition: all .15s;
}
.ka-opt:hover, .ka-opt.sel { background: rgba(77,255,150,0.1); border-color: var(--accent); color: var(--accent); }

/* Install step visuals */
.step-visual .ss {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.install-dialog {
  background: #2a2a2e;
  border: 1px solid #3a3a3e;
  border-radius: 10px;
  padding: 12px;
  width: 88%;
  font-family: var(--sans); font-size: 10px;
  color: #e0e0e2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.install-dialog h5 { margin: 0 0 4px; font-size: 11px; font-weight: 600; }
.install-dialog p { margin: 0 0 10px; color: #aaa; font-size: 9px; line-height: 1.4; }
.install-dialog .btns { display: flex; gap: 6px; justify-content: flex-end; }
.install-dialog .btns button {
  background: #3a3a3e; color: #fff; border: none;
  padding: 4px 10px; border-radius: 4px; font-size: 9px; cursor: pointer;
}
.install-dialog .btns .primary { background: #3b82f6; }

/* Language pop */
.lang-pop {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 6px;
  min-width: 180px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  display: none;
  z-index: 60;
}
.lang-pop.active { display: block; }
.lang-pop button {
  display: flex; width: 100%; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 6px;
  background: transparent; border: none; color: var(--text);
  font-size: 13px; text-align: left;
}
.lang-pop button:hover { background: rgba(255,255,255,0.04); }
.lang-pop button.sel { color: var(--accent); }
.lang-pop button .flag { font-size: 14px; opacity: 0.9; }
.lang-pop button .code { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.lang-wrap { position: relative; }
