@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --bg-base: #050811;
  --bg-elevated: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(22, 33, 58, 0.9);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.22);
  --indigo: #6366f1;
  --indigo-glow: rgba(99, 102, 241, 0.25);
  --amber: #f59e0b;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-base);
  color: var(--text-primary);
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -15%, rgba(99, 102, 241, 0.18), transparent),
    radial-gradient(ellipse 50% 40% at 85% 10%, rgba(16, 185, 129, 0.12), transparent);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

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

/* ======================== NAVBAR ======================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 8, 17, 0.78);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 19px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--emerald), var(--indigo));
  display: grid;
  place-items: center;
  box-shadow: 0 0 22px var(--emerald-glow);
}

.brand-suffix {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border-subtle);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.18s ease;
}

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

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #032215;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.42);
  color: #ffffff;
}

.btn-suite {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.32);
}

.btn-suite:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(99, 102, 241, 0.48);
}

.btn-ghost {
  background: rgba(30, 41, 59, 0.55);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--border-strong);
}

/* ======================== HERO ======================== */
.hero {
  position: relative;
  padding: 84px 0 64px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 800;
  max-width: 880px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, #ffffff 20%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: clamp(16px, 1.8vw, 18.5px);
  color: var(--text-muted);
}

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

.metrics-strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(11, 17, 32, 0.78);
  border: 1px solid var(--border-subtle);
}

.metric-item {
  text-align: center;
  padding: 6px 10px;
}

.metric-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ======================== CATALOG TOOLBAR ======================== */
.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
  font-weight: 600;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.search-box {
  position: relative;
  flex: 1 1 280px;
  max-width: 400px;
}

.search-box input {
  width: 100%;
  padding: 10px 42px 10px 38px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s ease;
}

.search-box input:focus {
  border-color: var(--indigo);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 16px;
  height: 16px;
}

.kbd-hint {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cat-tab {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.16s ease;
}

.cat-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.cat-tab.active {
  background: rgba(99, 102, 241, 0.18);
  color: #a5b4fc;
  border-color: var(--indigo);
}

/* ======================== EXTENSION GRID ======================== */
.ext-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.ext-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  overflow: hidden;
}

.ext-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-accent, var(--indigo));
  opacity: 0.75;
}

.ext-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

.ext-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ext-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--card-accent, var(--emerald));
}

.ext-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.status-live {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.status-beta {
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.status-soon {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid var(--border-subtle);
}

.ext-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.ext-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.ext-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 10px;
}

.ext-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.ext-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  font-size: 12px;
}

.free-quota-tag {
  color: #34d399;
  font-weight: 600;
}

.ext-card-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}

.infinite-slot-card {
  border-style: dashed;
  background: rgba(11, 17, 32, 0.45);
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  min-height: 310px;
}

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

.bento-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.bento-card h3 {
  font-size: 19px;
  margin: 12px 0 8px;
}

.bento-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ======================== PRICING ======================== */
.billing-switch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  margin-top: 14px;
}

.billing-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.billing-btn.active {
  background: var(--indigo);
  color: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.14), rgba(15, 23, 42, 0.92));
  border-color: var(--indigo);
  box-shadow: 0 18px 50px rgba(99, 102, 241, 0.18);
  position: relative;
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--indigo), var(--emerald));
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 800;
  margin: 14px 0 4px;
}

.price-amount span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-icon {
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}

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

details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

details.faq-item summary {
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq-item p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ======================== MODAL DRAWER ======================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-panel {
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0f172a;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

/* ======================== LEGAL PAGES ======================== */
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.legal-card h1 {
  font-size: 34px;
  margin-bottom: 8px;
}

.legal-card h2 {
  font-size: 20px;
  margin: 28px 0 10px;
  color: #e2e8f0;
}

.legal-card p, .legal-card li {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ======================== FOOTER ======================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 36px;
  margin-top: 48px;
  background: rgba(5, 8, 17, 0.9);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
}

.footer-links a:hover {
  color: var(--text-primary);
}

@media (max-width: 920px) {
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 520px) {
  .ext-grid { grid-template-columns: 1fr; }
  .ext-card-actions { grid-template-columns: 1fr; }
}


/* ======================== INTERACTIVE HERO DEMO STAGE ======================== */
.hero {
  padding: 64px 0 56px;
}

.hero-ambient-orb {
  position: absolute;
  top: 260px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 92vw);
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--demo-accent, rgba(16, 185, 129, 0.24)) 0%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  transition: background 0.6s ease;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.demo-stage-wrap {
  margin-top: 44px;
  text-align: left;
}

.demo-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.demo-tab-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  overflow: hidden;
}

.demo-tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.demo-tab-btn.active {
  color: #ffffff;
  background: rgba(30, 41, 59, 0.95);
  border-color: var(--tab-color, var(--emerald));
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--tab-color, var(--emerald)) inset;
}

.demo-tab-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tab-color, var(--emerald));
  box-shadow: 0 0 10px var(--tab-color, var(--emerald));
}

.demo-tab-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 0%;
  background: var(--tab-color, var(--emerald));
  transition: width 0.12s linear;
}

.browser-window {
  position: relative;
  border-radius: 18px;
  background: #090e1a;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

.browser-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px;
  background: #0f172a;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.browser-urlbar {
  flex: 1;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #050811;
  border: 1px solid var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-ext-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 700;
}

.browser-viewport {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 430px;
}

/* Simulated Host Webpage (Left Side) */
.sim-webpage {
  position: relative;
  padding: 20px;
  background:
    radial-gradient(circle at 25% 25%, rgba(30, 41, 59, 0.55), rgba(9, 14, 26, 0.95));
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

/* Simulated Chrome Extension Side Panel (Right Side) */
.sim-sidepanel {
  background: #0b1120;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.sim-card {
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.sim-card.scanning {
  border-color: #10b981;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.22);
  transform: translateX(4px);
}

.sim-lead-item {
  padding: 9px 11px;
  border-radius: 9px;
  background: #111827;
  border: 1px solid #1e293b;
  margin-bottom: 7px;
  animation: slideInRow 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRow {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sim-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.sim-badge-warn {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}

.sim-badge-ok {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}

.sim-badge-purple {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
}

.sim-bar-track {
  height: 7px;
  border-radius: 999px;
  background: #1e293b;
  overflow: hidden;
  margin-top: 5px;
}

.sim-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-toast {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #064e3b;
  border: 1px solid #10b981;
  color: #ecfdf5;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.22s ease;
  z-index: 20;
}

.demo-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.slash-pill {
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.4);
  color: #f9a8d4;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.slash-pill:hover, .slash-pill.active {
  background: #ec4899;
  color: #ffffff;
}

@media (max-width: 920px) {
  .browser-viewport {
    grid-template-columns: 1fr;
  }
  .sim-webpage {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}


/* ======================== LANGUAGE SWITCHER ======================== */
.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 7px 28px 7px 11px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: border-color 0.16s ease, background 0.16s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
}

.lang-select:hover, .lang-select:focus {
  border-color: var(--indigo);
  background-color: #111827;
}

.lang-select option {
  background: #0f172a;
  color: #f8fafc;
  font-weight: 600;
}

@media (max-width: 640px) {
  .hide-mobile {
    display: none;
  }
}


/* ======================== CUSTOM SVG FLAG DROPDOWN ======================== */
.dp-lang-dropdown {
  position: relative;
  display: inline-block;
}

.dp-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.dp-lang-btn:hover {
  border-color: var(--indigo);
  background: #111827;
}

.dp-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 185px;
  padding: 6px;
  border-radius: 12px;
  background: #0f172a;
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.65);
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 300;
}

.dp-lang-dropdown.open .dp-lang-menu {
  display: flex;
}

.dp-lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  cursor: pointer;
  text-align: left;
  transition: background 0.14s ease, color 0.14s ease;
}

.dp-lang-option:hover {
  background: rgba(99, 102, 241, 0.16);
  color: #ffffff;
}

.dp-lang-option.active {
  background: rgba(16, 185, 129, 0.14);
  color: #ffffff;
  font-weight: 600;
}

.dp-lang-opt-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 20px;
}

@media (max-width: 1060px) {
  .dp-lang-name-desktop {
    display: none;
  }
}


/* ======================== MOBILE NAV MENU ======================== */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
}

@media (max-width: 920px) {
  .mobile-menu-btn {
    display: inline-flex;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 18px 24px;
    background: #090e1a;
    z-index: 250;
    border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  }
}


/* ======================== EXTENSION CARD SEO LINK ======================== */
.ext-learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
  margin-bottom: 14px;
  transition: color 0.16s ease, transform 0.16s ease;
}

.ext-learn-more-link:hover {
  color: #7dd3fc;
  transform: translateX(2px);
}

/* ======================== 9:16 LITE VIDEO DEMOS SHOWCASE ======================== */
.demos-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.demos-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.34);
  color: #fca5a5;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.demos-yt-sub-btn {
  border-color: rgba(239, 68, 68, 0.38);
  background: rgba(15, 23, 42, 0.85);
}

.demos-yt-sub-btn:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.14);
}

.demos-phone-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.phone-demo-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.phone-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  padding: 6px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.92), rgba(9, 14, 26, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.phone-demo-card:hover .phone-frame {
  transform: translateY(-4px);
  border-color: var(--demo-card-accent, var(--emerald));
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.72),
    0 0 24px rgba(16, 185, 129, 0.16);
}

.phone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: rgba(5, 8, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 4;
  pointer-events: none;
}

.lite-video-facade {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #050811;
  cursor: pointer;
}

.lite-video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease, filter 0.25s ease;
}

.lite-video-facade:hover img {
  transform: scale(1.03);
  filter: brightness(1.06);
}

.lite-video-facade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.45) 0%, transparent 32%, rgba(5, 8, 17, 0.72) 100%);
  pointer-events: none;
}

.lite-video-facade[data-loaded="1"]::after {
  display: none;
}

.phone-tool-pill {
  position: absolute;
  top: 12px;
  left: 9px;
  z-index: 3;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(5, 8, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.phone-duration-pill {
  position: absolute;
  bottom: 10px;
  right: 9px;
  z-index: 3;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(5, 8, 17, 0.85);
  color: #cbd5e1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
}

.lite-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.92);
  color: #032215;
  box-shadow:
    0 0 0 8px rgba(16, 185, 129, 0.22),
    0 12px 28px rgba(0, 0, 0, 0.65);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lite-play-btn svg {
  margin-left: 2px;
}

.lite-video-facade:hover .lite-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #34d399;
  box-shadow:
    0 0 0 11px rgba(16, 185, 129, 0.3),
    0 14px 32px rgba(16, 185, 129, 0.45);
}

.phone-card-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0 2px;
}

.phone-card-meta h3 {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.38;
  color: #f1f5f9;
}

.phone-card-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.phone-tool-link {
  font-size: 12px;
  font-weight: 600;
  color: #34d399;
  text-decoration: none;
}

.phone-tool-link:hover {
  text-decoration: underline;
}

.yt-shorts-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.yt-shorts-badge:hover {
  border-color: #ef4444;
  color: #ffffff;
}

@media (max-width: 1120px) {
  .demos-phone-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .demos-phone-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 10px;
  }
  .phone-demo-card {
    flex: 0 0 225px;
    scroll-snap-align: start;
  }
}

/* ======================== PROGRAMMATIC SEO ENGINE PAGES ======================== */
.seo-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.seo-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.seo-breadcrumbs a:hover {
  color: var(--emerald);
}

.seo-hero {
  padding: 52px 0 38px;
  border-bottom: 1px solid var(--border-subtle);
}

.seo-hero h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  max-width: 900px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.seo-lead {
  font-size: clamp(16px, 1.8vw, 18.5px);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 0 26px;
}

.seo-grid-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  padding: 44px 0 64px;
  align-items: start;
}

.seo-prose {
  font-size: 15.5px;
  line-height: 1.74;
  color: var(--text-secondary);
}

.seo-prose h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--text-primary);
  margin: 40px 0 14px;
  padding-top: 8px;
}

.seo-prose h2:first-child {
  margin-top: 0;
}

.seo-prose h3 {
  font-size: 18.5px;
  color: #f1f5f9;
  margin: 26px 0 10px;
}

.seo-prose p {
  margin: 0 0 16px;
}

.seo-prose ul, .seo-prose ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.seo-prose li {
  margin-bottom: 9px;
}

.seo-prose strong {
  color: #f8fafc;
}

.seo-prose a {
  color: #34d399;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-prose a:hover {
  color: #6ee7b7;
}

.seo-prose code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  color: #93c5fd;
}

.seo-callout {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin: 24px 0;
}

.seo-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.seo-side-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.seo-side-card.featured {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.16), rgba(15, 23, 42, 0.95));
  border-color: var(--indigo);
}

.vs-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(11, 17, 32, 0.9);
}

.vs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 580px;
}

.vs-table th, .vs-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.vs-table th {
  background: rgba(15, 23, 42, 0.95);
  color: #f8fafc;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}

.vs-table td.win-col, .vs-table th.win-col {
  background: rgba(16, 185, 129, 0.07);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
  padding: 36px 0 64px;
}

.hub-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hub-card:hover {
  transform: translateY(-3px);
  border-color: var(--emerald);
  background: var(--bg-card-hover);
}

.seo-cta-banner {
  margin: 42px 0 24px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(99, 102, 241, 0.18));
  border: 1px solid rgba(99, 102, 241, 0.42);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 960px) {
  .seo-grid-2col {
    grid-template-columns: 1fr;
  }
  .seo-sidebar {
    position: static;
  }
}
