:root {
  --bg: #07080d;
  --bg-elevated: #0b0d14;
  --surface: #10131e;
  --surface-strong: #151927;
  --border: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(16, 185, 129, 0.38);
  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --lime: #84cc16;
  --cyan: #06b6d4;
  --danger: #f87171;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a,
button {
  color: inherit;
  font-family: inherit;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--emerald-bright);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--emerald);
  color: #03150e;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* In-app browser warning bar */
.webview-banner {
  background: #13221c;
  border-bottom: 1px solid var(--border-accent);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text);
}

.webview-banner[hidden] {
  display: none;
}

.webview-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Top Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 8, 13, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald);
  color: #03150e;
  font-weight: 900;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-primary {
  background: var(--emerald);
  color: #041b12;
  box-shadow: 0 12px 28px -10px rgba(16, 185, 129, 0.45);
}

.btn-primary:hover {
  background: var(--emerald-bright);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface-strong);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-whatsapp {
  background: #143326;
  color: #a7f3d0;
  border-color: var(--border-accent);
}

.btn-whatsapp:hover {
  background: #194231;
}

/* Hero Section */
.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(720px 340px at 50% -40px, rgba(16, 185, 129, 0.16), transparent 72%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.45rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero h1 .accent {
  color: var(--emerald-bright);
}

.hero-sub {
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.mobile-handoff-box {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-handoff-box[hidden] {
  display: none;
}

.mobile-handoff-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.alt-downloads {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.alt-downloads a {
  color: var(--emerald-bright);
  text-decoration: none;
  padding: 4px 0;
}

.alt-downloads a:hover {
  text-decoration: underline;
}

.hero-proof-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-proof-list li::before {
  content: '✓ ';
  color: var(--lime);
  font-weight: 800;
}

/* Interactive HUD Sandbox */
.sandbox-shell {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
}

.sandbox-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.sandbox-scenarios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scenario-btn {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.scenario-btn.active {
  background: rgba(16, 185, 129, 0.14);
  border-color: var(--emerald);
  color: var(--text);
}

.stealth-sim-btn {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.1);
  color: #67e8f9;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.stealth-sim-btn.active {
  background: rgba(6, 182, 212, 0.22);
  color: #ecfeff;
}

.sandbox-stage {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #080a10;
  padding: 16px;
  min-height: 320px;
}

.meeting-backdrop {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  margin-bottom: 14px;
}

.meeting-badge {
  color: var(--text-secondary);
  font-weight: 600;
}

.hud-island {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #101622;
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 14px;
  font-size: 0.8rem;
}

.hud-pill-status {
  color: var(--emerald-bright);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hud-shortcut {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
}

.hud-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hud-card.capture-hidden {
  opacity: 0.09;
  transform: scale(0.985);
}

.capture-notice {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #cffafe;
  font-size: 0.84rem;
}

.capture-notice[hidden] {
  display: none;
}

.hud-prompt-label {
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.hud-question {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 12px;
}

.hud-answer {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: grid;
  gap: 8px;
}

.hud-code-chip {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.8rem;
  background: #07090f;
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 8px;
  color: #d9f99d;
  overflow-x: auto;
}

/* Sections */
section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* 12-Column Obsidian Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.bento-card.featured {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, var(--surface) 60%);
  border-color: var(--border-accent);
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.bento-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-bright);
}

.bento-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.bento-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.chip-list li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 8px;
}

.mermaid-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: #080b12;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.mermaid-node {
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}

/* Platform Transparency Grid */
.os-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.os-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.os-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.os-status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.os-status.full {
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-bright);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.os-status.limited {
  background: rgba(6, 182, 212, 0.12);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.os-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Pricing Grid */
.trial-banner {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.14), rgba(6, 182, 212, 0.08));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.trial-banner h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.trial-banner p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.price-card.highlight {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12) 0%, var(--surface) 70%);
  border-color: var(--emerald);
}

.price-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #041b12;
  background: var(--lime);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

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

.price-strike {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-main {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 4px 0;
}

.price-usd {
  font-size: 0.85rem;
  color: var(--emerald-bright);
  font-weight: 600;
  margin-bottom: 12px;
}

.price-features {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.price-features li::before {
  content: '• ';
  color: var(--emerald-bright);
  font-weight: 700;
}

.qris-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Comparison Table */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table th {
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 700;
}

.compare-table td {
  color: var(--text-secondary);
}

.compare-table td:nth-child(2) {
  color: #d1fae5;
  font-weight: 600;
}

/* Install Tabs & FAQ & Community */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.tab {
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.tab.active {
  border-color: var(--emerald);
  color: var(--text);
  background: rgba(16, 185, 129, 0.14);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.tab-panel ol {
  padding-left: 20px;
}

.tab-panel li {
  margin-bottom: 10px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.community-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
}

.faq-item summary {
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--emerald-bright);
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-top: 10px;
}

footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--emerald-bright);
  text-decoration: none;
  padding: 6px 0;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Tablet / Small Laptop breakpoint */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .os-grid {
    grid-template-columns: 1fr;
  }

  .span-7,
  .span-5,
  .span-4,
  .span-8 {
    grid-column: span 6;
  }
}

/* Mobile breakpoint */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 40px 0 44px;
  }

  section {
    padding: 48px 0;
  }

  .hero-proof-list,
  .pricing-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .span-7,
  .span-5,
  .span-6,
  .span-4,
  .span-8,
  .span-12 {
    grid-column: span 1;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
