/* ===========================
   Localix Website — Main CSS
   =========================== */

:root {
  --brand: #6c63ff;
  --brand-dark: #5a52e0;
  --brand-light: #ede9ff;
  --accent: #00b894;
  --dark: #0d0d0d;
  --dark-2: #161616;
  --dark-3: #1e1e1e;
  --dark-4: #252525;
  --surface: #1a1a2e;
  --text: #e8e8e8;
  --text-muted: #888;
  --text-dim: #555;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 30px rgba(0,0,0,0.4);
  --transition: 0.22s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Navbar specific */
  --navbar-bg: rgba(13,13,13,0.8);
  --navbar-bg-scrolled: rgba(13,13,13,0.95);
  --mobile-nav-bg: rgba(13,13,13,0.97);

  /* Hero glow */
  --hero-glow-color: rgba(108,99,255,0.18);

  /* Code */
  --code-bg: #1e1e1e;
  --code-color: #00b894;
}

/* ===========================
   LIGHT THEME
   =========================== */
@media (prefers-color-scheme: light) {
  :root {
    --brand: #5b52e0;
    --brand-dark: #4a43c8;
    --brand-light: #ede9ff;
    --accent: #00967a;

    --dark: #f5f5f7;
    --dark-2: #ffffff;
    --dark-3: #f0f0f3;
    --dark-4: #e8e8ed;
    --surface: #eeeeff;

    --text: #111111;
    --text-muted: #555566;
    --text-dim: #99999f;
    --border: rgba(0,0,0,0.08);

    --shadow: 0 4px 30px rgba(0,0,0,0.1);

    --navbar-bg: rgba(245,245,247,0.85);
    --navbar-bg-scrolled: rgba(245,245,247,0.97);
    --mobile-nav-bg: rgba(245,245,247,0.99);

    --hero-glow-color: rgba(108,99,255,0.12);

    --code-bg: #eeeef5;
    --code-color: #3d35b5;
  }
}

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

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

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- LAYOUT ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ---- TYPOGRAPHY ---- */
.eyebrow {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  background: var(--navbar-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 32px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.navbar-brand .logo-mark {
  width: 28px; height: 28px;
  background: var(--brand);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

.logo-img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
  display: block;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  list-style: none;
}

.navbar-nav a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* ---- LANG DROPDOWN ---- */
.lang-dropdown {
  position: relative;
  display: inline-block;
}
.lang-select-btn {
  background-color: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.lang-select-btn:hover, .lang-select-btn.open {
  background-color: rgba(255,255,255,0.1);
  color: var(--text);
}
.lang-select-btn svg {
  color: var(--text-dim);
  transition: transform 0.2s;
}
.lang-select-btn.open svg {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px;
  min-width: 80px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.2s ease;
  z-index: 110;
}
.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.lang-item:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

@media (prefers-color-scheme: light) {
  .lang-select-btn {
    background-color: rgba(0,0,0,0.04);
    color: var(--text-muted);
    border-color: var(--border);
  }
  .lang-select-btn:hover,
  .lang-select-btn.open {
    background-color: rgba(0,0,0,0.07);
    color: var(--text);
  }
  .lang-menu {
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  }
  .lang-item { color: var(--text); }
  .lang-item:hover { background: rgba(0,0,0,0.05); }
}


.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  margin-left: auto;
}
.navbar-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
/* Animasi X saat open */
.navbar-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 16px 16px;
  border-top: 1px solid var(--border);
  background: var(--mobile-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.mobile-nav .btn {
  margin-top: 8px;
  border-radius: 8px;
}

/* ---- HERO ---- */
.hero {
  padding: 160px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at center, var(--hero-glow-color) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--brand);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-badge .dot-live {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 720px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-meta-item .icon-check {
  width: 16px; height: 16px;
  background: rgba(0,212,170,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 0.65rem;
}

.hero-screenshot {
  margin-top: 72px;
  position: relative;
  z-index: 1;
}

.hero-screenshot-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}

.hero-screenshot-bar {
  height: 38px;
  background: var(--dark-3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
}

.hero-screenshot-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-screenshot-bar .dot:nth-child(1) { background: #ff5f57; }
.hero-screenshot-bar .dot:nth-child(2) { background: #febc2e; }
.hero-screenshot-bar .dot:nth-child(3) { background: #28c840; }

.hero-screenshot img {
  width: 100%;
  display: block;
}

.hero-screenshot-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--dark));
}

/* ---- STACK BAR ---- */
.stack-bar {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stack-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.stack-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  flex-shrink: 0;
}

.stack-chips {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.stack-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}

.stack-chip:hover { color: var(--text); }

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.85;
}

.chip-icon {
  opacity: 0.6;
  flex-shrink: 0;
}

.stack-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover { border-color: rgba(108,99,255,0.3); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(108,99,255,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--brand);
  flex-shrink: 0;
}

.feature-icon svg { display: block; flex-shrink: 0; }

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* feature card accent colors */
.feature-card.accent-green .feature-icon { background: rgba(0,180,148,0.12); color: #00b494; }
.feature-card.accent-blue .feature-icon { background: rgba(59,130,246,0.12); color: #4f9ef8; }
.feature-card.accent-orange .feature-icon { background: rgba(251,146,60,0.12); color: #f97316; }
.feature-card.accent-pink .feature-icon { background: rgba(236,72,153,0.12); color: #ec4899; }
.feature-card.accent-yellow .feature-icon { background: rgba(220,168,0,0.12); color: #c99a00; }

/* ---- HOW IT WORKS — STEPS LIST ---- */
.steps-list {
  max-width: 600px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
}

.step-item {
  display: flex;
  gap: 20px;
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin: 6px 0;
  min-height: 32px;
}

.step-body {
  padding-bottom: 36px;
  padding-top: 6px;
}

.step-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}

.step-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-item:last-child .step-body {
  padding-bottom: 0;
}

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.pricing-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.pricing-card.featured {
  border-color: var(--brand);
  background: linear-gradient(160deg, rgba(108,99,255,0.08) 0%, var(--dark-2) 60%);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  padding: 3px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.pricing-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-price .currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  align-self: flex-start;
  margin-top: 6px;
}

.pricing-price .period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}

.pricing-features li .check {
  width: 18px; height: 18px;
  background: rgba(0,212,170,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.pricing-features li.muted { color: var(--text-dim); }
.pricing-features li.muted .check {
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
}

.pricing-card .btn { width: 100%; justify-content: center; }

/* ---- FAQ ---- */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 20px 0;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--brand); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding-bottom: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, rgba(108,99,255,0.12) 0%, rgba(0,212,170,0.06) 100%);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
}

.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 32px; }
.cta-banner .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-brand .logo-mark {
  width: 28px; height: 28px;
  background: var(--brand);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; color: #fff;
}

.footer-brand .logo-img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.footer-col ul a {
  font-size: 0.87rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--text); }


/* ===========================
   ADDITIONAL STYLES
   =========================== */

/* ---- SECTION ALT ---- */
.section-alt {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.page-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

/* ---- FEATURE DETAIL ---- */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.feature-detail.reverse { direction: rtl; }
.feature-detail.reverse > * { direction: ltr; }

.feature-detail-badge {
  display: inline-block;
  background: rgba(108,99,255,0.12);
  color: var(--brand);
  border: 1px solid rgba(108,99,255,0.25);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.feature-detail-badge.accent-green { background: rgba(0,212,170,0.12); color: var(--accent); border-color: rgba(0,212,170,0.25); }
.feature-detail-badge.accent-blue { background: rgba(59,130,246,0.12); color: #60a5fa; border-color: rgba(59,130,246,0.25); }
.feature-detail-badge.accent-orange { background: rgba(251,146,60,0.12); color: #fb923c; border-color: rgba(251,146,60,0.25); }

.feature-detail-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.feature-detail-content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.feature-list li::before {
  content: '→';
  color: var(--brand);
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 1px;
}

.feature-divider {
  height: 1px;
  background: var(--border);
}

/* ---- SCREENSHOT WRAP (feature detail) ---- */
.screenshot-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  background: var(--dark-2);
}
.screenshot-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ---- MOCKUP CARD ---- */
.mockup-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.mockup-header {
  height: 36px;
  background: var(--dark-3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}
.mockup-header .dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-header .dot:nth-child(1) { background: #ff5f57; }
.mockup-header .dot:nth-child(2) { background: #febc2e; }
.mockup-header .dot:nth-child(3) { background: #28c840; }

.mockup-body { padding: 20px; }

.mockup-body-img {
  overflow: hidden;
  line-height: 0;
}
.mockup-body-img img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: var(--dark-3);
  border-radius: 8px;
  margin-bottom: 8px;
}
.service-info { display: flex; align-items: center; gap: 10px; }
.service-icon { font-size: 1.2rem; }
.service-name { font-size: 0.9rem; font-weight: 600; }
.service-meta { font-size: 0.75rem; color: var(--text-dim); }
.service-status { font-size: 0.78rem; font-weight: 600; }
.service-status.running { color: var(--accent); }

.mockup-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.mock-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: default;
}
.mock-btn.primary { background: var(--brand); color: #fff; }
.mock-btn.outline { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }
.mock-btn-xs {
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(108,99,255,0.15);
  color: var(--brand);
  cursor: default;
}

.project-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--dark-3);
  border-radius: 8px;
  margin-bottom: 8px;
}
.project-icon { font-size: 1.1rem; }
.project-name { font-size: 0.88rem; font-weight: 600; }
.project-url { font-size: 0.75rem; color: var(--text-dim); font-family: var(--font-mono); }
.project-info { flex: 1; }

/* ---- DOCS LAYOUT ---- */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  padding-top: 60px;
}

.docs-sidebar {
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  padding: 32px 20px;
  border-right: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}

.docs-nav { display: flex; flex-direction: column; gap: 28px; }
.docs-nav-group { display: flex; flex-direction: column; gap: 2px; }
.docs-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 6px;
  padding-left: 8px;
}
.docs-nav-link {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.86rem;
  color: var(--text-dim);
  transition: all var(--transition);
}
.docs-nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.docs-nav-link.active { color: var(--brand); background: rgba(108,99,255,0.1); }

.docs-content {
  max-width: 760px;
  padding: 48px 48px 96px;
}

.docs-section { margin-bottom: 0; }
.docs-divider { height: 1px; background: var(--border); margin: 48px 0; }
.docs-breadcrumb {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.docs-content h1 { font-size: 1.9rem; margin-bottom: 16px; }
.docs-content h2 { font-size: 1.45rem; margin-bottom: 14px; }
.docs-content h3 { font-size: 1.05rem; margin-bottom: 10px; margin-top: 28px; }
.docs-lead { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; }
.docs-content p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.docs-content code {
  background: var(--code-bg);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.84em;
  color: var(--code-color);
}

.doc-list { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.doc-list li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
ol.doc-list { counter-reset: doc-counter; }
ol.doc-list li::before {
  counter-increment: doc-counter;
  content: counter(doc-counter) '.';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.85rem;
}
ul.doc-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Callout boxes */
.callout {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.callout-icon {
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: flex-start;
}
.callout-icon svg { display: block; }
.callout-info .callout-icon svg { stroke: #3b82f6; }
.callout-warn .callout-icon svg { stroke: #f59e0b; }
.callout-tip .callout-icon svg { stroke: #00d4aa; }
.callout-info { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2); color: var(--text-muted); }
.callout-warn { background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.2); color: var(--text-muted); }
.callout-tip { background: rgba(0,212,170,0.08); border: 1px solid rgba(0,212,170,0.2); color: var(--text-muted); }
.callout a { color: var(--brand); }

/* Code block */
.code-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.code-block-header {
  background: var(--dark-3);
  padding: 8px 16px;
  font-size: 0.75rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
}
.code-block pre {
  padding: 16px;
  background: var(--dark-2);
  overflow-x: auto;
  margin: 0;
}
.code-block code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.83rem;
  color: var(--text);
  font-family: var(--font-mono);
  line-height: 1.6;
}

/* Release cards */
.release-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.release-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.release-icon {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.release-icon svg { display: block; }
.release-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.release-card p { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 10px; }
.release-file {
  display: block;
  background: var(--dark-3);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}

/* ---- CHANGELOG ---- */
.changelog-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
}
.changelog-aside { position: sticky; top: 88px; }
.changelog-index-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.changelog-index-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.86rem;
  color: var(--text-dim);
  transition: all var(--transition);
  margin-bottom: 4px;
}
.changelog-index-link:hover, .changelog-index-link.active {
  background: rgba(108,99,255,0.1);
  color: var(--brand);
}
.changelog-index-version { font-weight: 600; font-family: var(--font-mono); }
.changelog-index-date { font-size: 0.75rem; }

.changelog-entry {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 32px;
}
.changelog-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.changelog-version-badge { display: flex; align-items: center; gap: 10px; }
.version-tag {
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: rgba(108,99,255,0.15);
  color: var(--brand);
  padding: 4px 12px;
  border-radius: 6px;
}
.version-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 100px;
}
.version-label.latest { background: rgba(0,212,170,0.15); color: var(--accent); }
.changelog-date { font-size: 0.84rem; color: var(--text-dim); }
.changelog-title { font-size: 1.4rem; margin-bottom: 10px; }
.changelog-intro { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 28px; line-height: 1.6; }

.changelog-section { margin-bottom: 24px; }
.changelog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.tag-new { background: rgba(108,99,255,0.15); color: var(--brand); }
.tag-fix { background: rgba(0,212,170,0.12); color: var(--accent); }
.tag-info { background: rgba(59,130,246,0.12); color: #60a5fa; }
.tag-note { background: rgba(251,191,36,0.1); color: #fbbf24; }

.changelog-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.changelog-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.changelog-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}
.changelog-list li strong { color: var(--text); }
.changelog-list li code {
  background: var(--dark-3);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.83em;
  color: var(--accent);
}

.changelog-downloads {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* ---- PRICING PAGE ---- */
.free-plan-card {
  border: 1px solid rgba(0,212,170,0.3);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: linear-gradient(160deg, rgba(0,212,170,0.05) 0%, var(--dark-2) 50%);
}
.free-plan-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.free-plan-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.free-plan-cta { margin-left: auto; text-align: center; }

.free-plan-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.free-feature-group {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.free-feature-group-title {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
}
.free-feature-group ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.free-feature-group ul li {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.free-feature-group ul li::before {
  content: '✓';
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Why free grid */
.why-free-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 48px;
}
.why-free-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.why-free-icon {
  width: 52px; height: 52px;
  background: rgba(108,99,255,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--brand);
}
.why-free-card:nth-child(2) .why-free-icon { background: rgba(251,146,60,0.1); color: #fb923c; }
.why-free-card:nth-child(3) .why-free-icon { background: rgba(236,72,153,0.1); color: #f472b6; }
.why-free-card h3 { font-size: 1rem; margin-bottom: 10px; }
.why-free-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; }

/* Compare table */
.compare-table-wrap {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.compare-table th, .compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: var(--dark-3);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare-table th:first-child, .compare-table td:first-child {
  text-align: left;
  color: var(--text);
}
.compare-table td { color: var(--text-muted); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.highlight-col {
  background: rgba(108,99,255,0.06) !important;
  color: var(--text) !important;
}
.compare-table th.highlight-col { color: var(--brand) !important; }
.check-green { color: var(--accent); font-weight: 700; }

/* ---- RESPONSIVE ---- */

/* Tablet — 900px */
@media (max-width: 900px) {
  /* Layout grids */
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .feature-detail { grid-template-columns: 1fr; gap: 36px; }
  .feature-detail.reverse { direction: ltr; }
  .why-free-grid { grid-template-columns: 1fr 1fr; }
  .release-grid { grid-template-columns: 1fr; }

  /* Docs */
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); padding: 20px 24px; }
  .docs-nav { flex-direction: row; flex-wrap: wrap; gap: 12px 20px; }
  .docs-nav-group { display: contents; }
  .docs-nav-label { display: none; }
  .docs-nav-link { white-space: nowrap; }

  /* Changelog */
  .changelog-layout { grid-template-columns: 1fr; }
  .changelog-aside { display: none; }

  /* Pricing */
  .free-plan-features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Page hero */
  .page-hero { padding: 100px 0 56px; }

  /* Hero screenshot */
  .hero-screenshot { margin-top: 48px; }
  .hero-screenshot-inner { border-radius: 12px; }

  /* CTA banner */
  .cta-banner { padding: 48px 36px; }

  /* Section spacing */
  .section { padding: 72px 0; }
  .section-sm { padding: 48px 0; }
}

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

  /* Navbar */
  .navbar-nav { display: none; }
  .navbar-actions { display: none; }
  .navbar-hamburger { display: flex; }

  /* Typography scale */
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-sub { font-size: 0.95rem; }

  /* Hero */
  .hero { padding: 100px 0 56px; }
  .hero-inner { text-align: center; }
  .hero-badge { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; gap: 16px; flex-wrap: wrap; }
  .hero-screenshot { margin-top: 40px; }
  .hero-screenshot-inner { border-radius: 10px; }

  /* Stack bar */
  .stack-divider { display: none; }
  .stack-chips { gap: 4px; justify-content: center; }
  .stack-chip { padding: 5px 10px; font-size: 0.78rem; }
  .stack-label { font-size: 0.8rem; }

  /* Sections */
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .section-alt { padding: 56px 0; }

  /* Page hero */
  .page-hero { padding: 88px 0 48px; }
  .page-hero-inner { text-align: center; }
  .page-hero-inner .hero-badge { justify-content: center; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 20px; }

  /* Feature detail sections */
  .feature-detail { gap: 28px; }
  .feature-detail-text h2 { font-size: 1.5rem; }
  .mockup-window { border-radius: 10px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer { padding: 48px 0 28px; }

  /* CTA banner */
  .cta-banner { padding: 32px 20px; border-radius: var(--radius); }
  .cta-banner h2 { font-size: 1.4rem; }
  .cta-banner p { font-size: 0.9rem; }
  .cta-banner .btn-group { flex-direction: column; align-items: stretch; }
  .cta-banner .btn-group .btn { justify-content: center; width: 100%; }

  /* Docs */
  .docs-content { padding: 24px 16px 56px; }
  .docs-section h1 { font-size: 1.6rem; }
  .docs-section h2 { font-size: 1.3rem; }
  .code-block pre { font-size: 0.78rem; }
  .release-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .free-plan-card { padding: 20px; }
  .free-plan-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .free-plan-cta { margin-left: 0; width: 100%; }
  .free-plan-cta .btn { width: 100%; justify-content: center; }
  .free-plan-features-grid { grid-template-columns: 1fr; }
  .why-free-grid { grid-template-columns: 1fr; }
  .pricing-hero .hero-badge { justify-content: center; }

  /* Changelog */
  .changelog-entry { padding: 24px 20px; }
  .changelog-entry-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .changelog-version { font-size: 1.2rem; }
  .changelog-downloads { flex-wrap: wrap; gap: 8px; }
  .changelog-downloads .btn { flex: 1; min-width: 140px; justify-content: center; }

  /* FAQ */
  .faq-question { padding: 16px 0; font-size: 0.9rem; }

  /* Steps */
  .steps-list { gap: 20px; }
  .step-item { padding: 20px; }
}

/* Extra small — 400px */
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  .hero { padding: 88px 0 48px; }
  .navbar { padding: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .free-plan-features-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
}


/* ===========================
   LIGHT MODE OVERRIDES
   — Komponen yang pakai hardcoded color
   =========================== */
@media (prefers-color-scheme: light) {

  /* Hero grid — lebih subtle di light */
  .hero-grid {
    background-image:
      linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  }

  /* Hero screenshot bar */
  .hero-screenshot-bar {
    background: #e8e8ed;
    border-bottom-color: rgba(0,0,0,0.08);
  }

  /* Hero fade */
  .hero-screenshot-fade {
    background: linear-gradient(to bottom, transparent, var(--dark));
  }

  /* Nav & Buttons hover fix */
  .btn-ghost {
    background: rgba(0,0,0,0.04);
  }
  .btn-ghost:hover {
    background: rgba(0,0,0,0.08);
  }
  .navbar-nav a:hover,
  .navbar-nav a.active {
    background: rgba(0,0,0,0.06);
  }
  .mobile-nav a:hover {
    background: rgba(0,0,0,0.06);
  }

  /* Section alt */
  .section-alt {
    background: rgba(0,0,0,0.02);
  }

  /* Stack bar */
  .stack-bar {
    background: rgba(0,0,0,0.02);
  }

  /* Feature card top line */
  .feature-card::before {
    background: linear-gradient(90deg, var(--brand), var(--accent));
  }

  /* Callouts */
  .callout-info {
    background: rgba(59,130,246,0.06);
    border-color: rgba(59,130,246,0.18);
  }
  .callout-warn {
    background: rgba(251,191,36,0.06);
    border-color: rgba(251,191,36,0.18);
  }
  .callout-tip {
    background: rgba(0,150,122,0.06);
    border-color: rgba(0,150,122,0.18);
  }

  /* Inline code (non-docs) */
  code {
    background: var(--code-bg);
    border: 1px solid var(--border);
    padding: 1px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.84em;
    color: var(--code-color);
  }

  /* Mockup card */
  .mockup-header {
    background: #e4e4e9;
    border-bottom-color: rgba(0,0,0,0.08);
  }

  /* Hero screenshot wrap */
  .hero-screenshot-wrap {
    box-shadow: 0 40px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.06);
  }

  /* CTA banner */
  .cta-banner {
    background: linear-gradient(135deg, rgba(108,99,255,0.07) 0%, rgba(0,150,122,0.04) 100%);
    border-color: rgba(108,99,255,0.15);
  }

  /* Steps grid line */
  .steps-grid::before {
    background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
  }

  /* Step number */
  .step-number {
    background: var(--dark-3);
    border-color: var(--border);
  }

  /* Hero badge (pricing) */
  .pricing-hero .hero-badge {
    background: rgba(0,150,122,0.1);
    border-color: rgba(0,150,122,0.25);
  }

  /* Compare table */
  .compare-table th {
    background: var(--dark-3);
  }
  .highlight-col {
    background: rgba(91,82,224,0.05) !important;
  }

  /* Changelog */
  .version-tag {
    background: rgba(91,82,224,0.1);
  }

  /* Docs sidebar */
  .docs-sidebar {
    background: rgba(0,0,0,0.01);
  }
  .docs-nav-link.active {
    background: rgba(91,82,224,0.08);
  }

  /* Release card */
  .release-file {
    background: var(--dark-3);
    color: var(--code-color);
  }

  /* Free plan card */
  .free-plan-card {
    background: linear-gradient(160deg, rgba(0,150,122,0.04) 0%, var(--dark-2) 50%);
    border-color: rgba(0,150,122,0.25);
  }

  /* Footer */
  .footer {
    border-top-color: var(--border);
  }

  /* Scrollbar (optional, WebKit) */
  ::-webkit-scrollbar { width: 8px; background: var(--dark); }
  ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }
}
