/* ==========================================================================
   ALENDA LANDING PAGE — "Modern Vietnamese Minimalism" Design System
   Đồng bộ 100% bảng màu NhipVietColors (nhip_viet_theme.dart)
   ========================================================================== */

:root, [data-theme="light"] {
  --bg-dark: #f7f8fa;
  --bg-elevated-0: #eef1f5;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --surface-card: #ffffff;
  --surface-elevated: #f1f4f9;
  --input-bg: #ffffff;
  --divider: #e2e6ee;
  --border-subtle: #e2e6ee;
  --divider-strong: #cbd2df;

  --accent-teal: #0d9488;
  --accent-teal-hover: #0f766e;
  --accent-teal-soft: rgba(13, 148, 136, 0.11);
  --vault-emerald: #059669;
  --vault-emerald-soft: rgba(5, 150, 105, 0.11);
  --lunar-gold: #d97706;
  --lunar-gold-soft: rgba(217, 119, 6, 0.12);
  --overdue-red: #dc2626;
  --overdue-red-soft: rgba(220, 38, 38, 0.11);
  --festive-rose: #e11d48;
  --sky-blue: #0284c7;

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --nav-glass: rgba(247, 248, 250, 0.88);
  --shadow-card: 0 18px 42px rgba(15, 23, 42, 0.08);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --font-sans: 'Be Vietnam Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

[data-theme="dark"] {
  --bg-dark: #121316;
  --bg-elevated-0: #17181c;
  --bg-elevated: #1e1f24;
  --bg-card: #1e1f24;
  --surface-card: #1e1f24;
  --surface-elevated: #272930;
  --input-bg: #121316;
  --divider: #2e3038;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --divider-strong: #3d404b;

  --accent-teal: #14b8a6;
  --accent-teal-hover: #0d9488;
  --accent-teal-soft: rgba(20, 184, 166, 0.14);
  --vault-emerald: #10b981;
  --vault-emerald-soft: rgba(16, 185, 129, 0.14);
  --lunar-gold: #f59e0b;
  --lunar-gold-soft: rgba(245, 158, 11, 0.14);
  --overdue-red: #ef4444;
  --overdue-red-soft: rgba(239, 68, 68, 0.14);
  --festive-rose: #f43f5e;
  --sky-blue: #38bdf8;

  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --nav-glass: rgba(18, 19, 22, 0.84);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

code, .mono {
  font-family: var(--font-mono);
}

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

/* Ambient Background Glow */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(20, 184, 166, 0.11), transparent 38%),
    radial-gradient(circle at 82% 14%, rgba(245, 158, 11, 0.07), transparent 34%),
    radial-gradient(circle at 50% 78%, rgba(16, 185, 129, 0.06), transparent 42%);
}

main, header, footer {
  position: relative;
  z-index: 1;
}

/* ================= NAVBAR (CLEAN SAAS SYSTEM) ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-glass);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--divider);
}

.nav-inner {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.14rem;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.22);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--surface-elevated);
}

.nav-links a.active {
  color: var(--accent-teal);
  background: var(--accent-teal-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-util-btn {
  height: 34px;
  min-width: 36px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid var(--divider);
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.nav-util-btn.icon-only {
  width: 34px;
  min-width: 34px;
  padding: 0;
}

.nav-util-btn:hover {
  color: var(--text-primary);
  background: var(--surface-elevated);
  border-color: var(--divider-strong);
}

.nav-svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

html[data-theme="dark"] .icon-moon {
  display: none;
}

html:not([data-theme="dark"]) .icon-sun {
  display: none;
}

.nav-burger {
  display: none;
}

.nav-burger .icon-close {
  display: none;
}

.nav-burger[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-burger[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--divider);
  margin: 0 2px;
  flex-shrink: 0;
}

.nav-ghost-link {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav-ghost-link:hover {
  color: var(--text-primary);
  background: var(--surface-elevated);
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 15px;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 700;
  background: var(--accent-teal);
  color: #ffffff;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.22);
  transition: background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

[data-theme="dark"] .btn-nav-primary {
  color: #042f2e;
}

.btn-nav-primary:hover {
  background: var(--accent-teal-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.mobile-nav-drawer {
  display: none;
  border-top: 1px solid var(--divider);
  background: var(--surface-card);
  padding: 10px 22px 16px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-nav-list a:hover {
  background: var(--surface-elevated);
  color: var(--text-primary);
}

.mobile-nav-list a.active {
  color: var(--accent-teal);
  background: var(--accent-teal-soft);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--divider);
  background: var(--surface-card);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.18s ease;
}

.icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-teal);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-teal);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.28);
}

.btn-primary:hover {
  background: var(--accent-teal-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.36);
}

.btn-secondary {
  background: var(--surface-card);
  color: var(--text-primary);
  border: 1px solid var(--divider-strong);
}

.btn-secondary:hover {
  border-color: var(--accent-teal);
  background: var(--surface-elevated);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: 14px;
}

/* ================= HERO SECTION ================= */
.hero {
  padding: 68px 0 56px;
  text-align: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-card);
  border: 1px solid var(--divider-strong);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-teal);
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 10px var(--accent-teal);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  max-width: 920px;
  margin: 0 auto 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-teal) 0%, #34d399 52%, var(--lunar-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.hero-sub code {
  background: var(--surface-elevated);
  border: 1px solid var(--divider);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.9em;
  color: var(--accent-teal);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.hero-trust-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 42px;
}

/* Live NLP Sandbox */
.nlp-sandbox {
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface-card);
  border: 1px solid var(--divider-strong);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  text-align: left;
  box-shadow: var(--shadow-card);
}

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

.sandbox-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.latency-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--vault-emerald-soft);
  color: var(--vault-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.nlp-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-dark);
  border: 1.5px solid var(--accent-teal);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 0 0 4px var(--accent-teal-soft);
}

.nlp-input-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nlp-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  min-width: 0;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.preset-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.preset-chip {
  font-size: 0.79rem;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--divider);
  transition: all 0.16s ease;
}

.preset-chip:hover, .preset-chip.active {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: var(--accent-teal-soft);
}

.parsed-output {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--divider-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.parsed-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.token-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--surface-elevated);
  border: 1px solid var(--divider);
}

.token-badge.teal { background: var(--accent-teal-soft); color: var(--accent-teal); border-color: rgba(20, 184, 166, 0.3); }
.token-badge.gold { background: var(--lunar-gold-soft); color: var(--lunar-gold); border-color: rgba(245, 158, 11, 0.3); }
.token-badge.emerald { background: var(--vault-emerald-soft); color: var(--vault-emerald); border-color: rgba(16, 185, 129, 0.3); }
.token-badge.red { background: var(--overdue-red-soft); color: var(--overdue-red); border-color: rgba(239, 68, 68, 0.3); }

/* ================= SECTION COMMON ================= */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--bg-elevated-0);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-teal);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin-bottom: 14px;
}

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

/* ================= PROBLEM -> SOLUTION SPLIT ================= */
.split-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain-card {
  background: var(--surface-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-xl);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pain-card.highlight {
  border: 1.5px solid var(--accent-teal);
  background: linear-gradient(180deg, var(--accent-teal-soft) 0%, var(--surface-card) 48%);
  box-shadow: var(--shadow-card);
}

.pain-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

.pain-tag.bad { background: var(--overdue-red-soft); color: var(--overdue-red); }
.pain-tag.good { background: var(--accent-teal-soft); color: var(--accent-teal); }

.pain-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

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

/* ================= BENTO GRID (SECOND BRAIN) ================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--surface-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-xl);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bento-card:hover {
  border-color: var(--divider-strong);
  transform: translateY(-2px);
}

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

.bento-icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bento-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

.bento-card h3 {
  font-size: 1.24rem;
  font-weight: 800;
  margin-bottom: 8px;
}

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

.mini-ui {
  background: var(--bg-dark);
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 14px;
  font-size: 0.84rem;
}

.wiki-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  margin-bottom: 6px;
  background: var(--surface-card);
}

.wiki-pill {
  font-family: var(--font-mono);
  color: var(--accent-teal);
  background: var(--accent-teal-soft);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--divider);
}

.ledger-row:last-child { border-bottom: none; }

.vault-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cipher-text {
  font-family: var(--font-mono);
  font-size: 0.77rem;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-card);
  border: 1px dashed var(--vault-emerald);
  color: var(--vault-emerald);
  word-break: break-all;
}

.vault-toggle-btn {
  align-self: flex-start;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--vault-emerald-soft);
  color: var(--vault-emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.vault-toggle-btn:hover {
  background: var(--vault-emerald);
  color: #fff;
}

/* ================= EXECUTION TABS ================= */
.exec-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.exec-tab-btn {
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--surface-card);
  border: 1px solid var(--divider);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.18s ease;
}

.exec-tab-btn.active {
  background: var(--accent-teal);
  color: #fff;
  border-color: var(--accent-teal);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.26);
}

.exec-stage {
  background: var(--surface-card);
  border: 1px solid var(--divider-strong);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.exec-panel {
  display: none;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: center;
}

.exec-panel.active {
  display: grid;
}

.exec-info h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.exec-info p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.exec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exec-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.93rem;
}

.exec-mock {
  background: var(--bg-dark);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 18px;
}

.progress-bar {
  height: 8px;
  background: var(--surface-elevated);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-teal), var(--vault-emerald));
}

.shortcut-strip {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--divider);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 0.83rem;
  color: var(--text-secondary);
}

kbd {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-elevated);
  border: 1px solid var(--divider-strong);
  color: var(--text-primary);
}

/* ================= ANDROID WIDGET SIMULATOR ================= */
.widget-showcase {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.android-widget-frame {
  background: #18191e;
  color: #f3f4f6;
  border: 1.5px solid #2e323d;
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.aw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.aw-today-badge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1.5px solid var(--accent-teal);
  color: var(--accent-teal);
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aw-month {
  font-weight: 700;
  font-size: 0.92rem;
  color: #e5e7eb;
}

.aw-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #2b2e37;
}

.aw-day-btn {
  padding: 8px 4px;
  border-radius: 12px;
  color: #d1d5db;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.aw-day-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.aw-day-btn.selected {
  background: var(--accent-teal);
  color: #ffffff;
}

.aw-dow {
  font-size: 0.7rem;
  opacity: 0.75;
}

.aw-dom {
  font-size: 0.96rem;
  font-weight: 800;
}

.aw-lunar {
  font-size: 0.64rem;
  color: var(--lunar-gold);
}

.aw-day-btn.selected .aw-lunar {
  color: #fef3c7;
}

.aw-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
}

.aw-dot.overdue {
  background: var(--overdue-red);
  box-shadow: 0 0 8px var(--overdue-red);
}

.aw-dot.upcoming {
  background: var(--accent-teal);
}

.aw-day-btn.selected .aw-dot.upcoming {
  background: #ffffff;
}

.aw-task-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 124px;
}

.aw-task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #22242c;
  cursor: pointer;
  transition: all 0.16s ease;
}

.aw-task-item:hover {
  background: #292c36;
}

.aw-task-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}

.aw-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.aw-task-item.done .aw-check {
  background: var(--vault-emerald);
  border-color: var(--vault-emerald);
  color: #fff;
}

.aw-task-item.done .aw-task-title {
  text-decoration: line-through;
  color: #6b7280;
}

.aw-time {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #9ca3af;
}

.aw-time.overdue {
  color: var(--overdue-red);
  font-weight: 700;
}

.aw-status-bar {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #9ca3af;
}

.widget-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.widget-pill {
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--surface-card);
  border: 1px solid var(--divider);
}

/* ================= AI PUSH SECTION ================= */
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.ai-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-step {
  display: flex;
  gap: 14px;
  background: var(--surface-card);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 18px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent-teal-soft);
  color: var(--accent-teal);
  font-family: var(--font-mono);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.code-card {
  background: #141519;
  color: #e5e7eb;
  border: 1px solid var(--divider-strong);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2b2e37;
}

.code-pre {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.65;
  white-space: pre-wrap;
  color: #cbd5e1;
}

/* ================= COMPARISON TABLE & PRICING ================= */
.table-wrap {
  overflow-x: auto;
  background: var(--surface-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-xl);
  margin-bottom: 56px;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.comp-table th, .comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--divider);
  font-size: 0.92rem;
}

.comp-table th {
  font-weight: 800;
  background: var(--surface-elevated);
}

.comp-table tr:last-child td {
  border-bottom: none;
}

.comp-table td.alenda-col, .comp-table th.alenda-col {
  background: var(--accent-teal-soft);
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1140px;
  margin: 0 auto;
}

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

.price-card.featured {
  border: 2px solid var(--accent-teal);
  box-shadow: var(--shadow-card);
  position: relative;
}

.early-ribbon {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(90deg, var(--accent-teal), var(--vault-emerald));
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-amount {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-strike {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
  margin-left: 8px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.93rem;
}

/* ================= FAQ & FOOTER ================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--divider);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.faq-item.open .faq-a {
  display: block;
}

.final-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.16), rgba(245, 158, 11, 0.08));
  border: 1px solid var(--divider-strong);
  border-radius: 26px;
  padding: 52px 24px;
  max-width: 980px;
  margin: 0 auto;
}

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

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

/* ================= DOWNLOAD MODAL ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--surface-card);
  border: 1px solid var(--divider-strong);
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px 14px;
  border-bottom: 1px solid var(--divider);
  background: var(--surface-card);
  flex-shrink: 0;
}

.modal-body {
  padding: 16px 22px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dl-item {
  background: var(--surface-elevated);
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 14px 16px;
}

.dl-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.dl-item-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}

.dl-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-teal-soft);
  color: var(--accent-teal);
  white-space: nowrap;
}

.dl-item p {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.dl-btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dl-btn-row .btn {
  padding: 8px 14px;
  font-size: 0.83rem;
  border-radius: 9px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .nav-ghost-link,
  .nav-divider {
    display: none;
  }
  .nav-links a {
    padding: 6px 9px;
    font-size: 0.85rem;
  }
}

@media (min-width: 901px) {
  .mobile-nav-drawer {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .split-3, .pricing-grid, .exec-panel.active, .widget-showcase, .ai-grid {
    grid-template-columns: 1fr;
  }
  .span-7, .span-5, .span-4, .span-6 {
    grid-column: span 12;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .hero { padding: 44px 0 38px; }
  .nlp-sandbox { padding: 16px; }
  .btn-hide-mobile { display: none; }
  .parsed-output { flex-direction: column; align-items: stretch; }
  .nav-inner { height: 58px; gap: 8px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { padding: 7px 11px; font-size: 0.8rem; }
  .btn-nav-primary { height: 34px; padding: 0 12px; font-size: 0.82rem; }
  .hero-cta-group { gap: 10px; }
  .hero-cta-group .btn-lg { width: 100%; justify-content: center; padding: 12px 16px; font-size: 0.92rem; }
  .modal-backdrop { padding: 10px; }
  .modal-card { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
  .modal-header { padding: 14px 16px 12px; }
  .modal-body { padding: 12px 16px 16px; gap: 10px; }
  .dl-btn-row .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

@media (max-width: 480px) {
  .nav-util-btn { height: 32px; min-width: 32px; padding: 0 7px; font-size: 0.74rem; }
  .nav-util-btn.icon-only { width: 32px; min-width: 32px; }
  .nav-actions .icon-btn { width: 34px; height: 34px; }
}

