/* ========== SUNDA LANGUAGE - DESIGN SYSTEM ========== */
:root {
  --color-bg: #0a0a0f;
  --color-surface: #12121a;
  --color-surface-2: #1a1a2e;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #e4e4e7;
  --color-text-muted: #a1a1aa;
  --color-sunda-green: #059669;
  --color-sunda-gold: #fbbf24;
  --color-sunda-white: #f8fafc;

  --color-accent: var(--color-sunda-gold);
  --color-accent-light: #fde68a;
  --color-accent-glow: rgba(251, 191, 36, 0.2);
  --color-green: var(--color-sunda-green);
  --color-red: #ef4444;
  --color-blue: #3b82f6;
  --color-purple: #a855f7;

  --gradient-sunda: linear-gradient(135deg, var(--color-sunda-gold), var(--color-sunda-green));
  --gradient-primary: linear-gradient(135deg, var(--color-sunda-gold), #f59e0b, #059669);
  --gradient-surface: linear-gradient(145deg, #1a1a2e, #12121a);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-aksara: 'Sunda', serif;
  /* Fallback to standard if no Sunda font */
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-glow: 0 0 40px rgba(251, 191, 36, 0.12);
  --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Syntax Highlighting - Dark Mode (Default) */
  --hl-keyword-declare: #a855f7;
  --hl-keyword-print: #60a5fa;
  --hl-keyword-input: #f472b6;
  --hl-keyword-control: #fb923c;
  --hl-keyword-loop: #fbbf24;
  --hl-keyword-func: #818cf8;
  --hl-keyword-try: #f87171;
  --hl-keyword-oop: #c084fc;
  --hl-string: #4ade80;
  --hl-number: #fbbf24;
  --hl-boolean: #fb7185;
  --hl-operator: #22d3ee;
  --hl-assign: #22d3ee;
  --hl-punctuation: #94a3b8;
  --hl-semicolon: #64748b;
  --hl-variable: #e4e4e7;
  --hl-comment: #64748b;
}

body.light-mode {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-2: #f1f5f9;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --shadow-glow: 0 5px 20px rgba(0, 0, 0, 0.05);

  --hl-keyword-declare: #9333ea;
  --hl-keyword-print: #2563eb;
  --hl-keyword-input: #db2777;
  --hl-keyword-control: #ea580c;
  --hl-keyword-loop: #ea580c;
  --hl-keyword-func: #7c3aed;
  --hl-keyword-try: #f43f5e;
  --hl-keyword-oop: #a855f7;
  --hl-string: #16a34a;
  --hl-number: #d97706;
  --hl-boolean: #db2777;
  --hl-operator: #0891b2;
  --hl-assign: #0891b2;
  --hl-punctuation: #64748b;
  --hl-semicolon: #94a3b8;
  --hl-variable: #334155;
  --hl-comment: #94a3b8;

  --gradient-surface: linear-gradient(145deg, #ffffff, #f1f5f9);
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  text-align: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--color-sunda-gold);
  top: -200px;
  left: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--color-sunda-green);
  bottom: -150px;
  right: -100px;
  animation-delay: 3s;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 5s;
  opacity: 0.1;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -20px) scale(1.1);
  }
}

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

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--color-accent-light);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== REVEAL SYSTEM ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: var(--transition-smooth);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: var(--transition-smooth);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px var(--color-accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--color-accent-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ========== PLAYGROUND ========== */
.playground-section {
  padding: 80px 0;
}

.playground-wrapper {
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.example-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.example-bar label {
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.example-bar select {
  flex: 1;
  max-width: 300px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
}

.example-bar select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.playground-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .playground-grid {
    grid-template-columns: 1fr;
  }
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--color-border);
}

.panel-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
}

.dot-yellow {
  background: #eab308;
}

.dot-green {
  background: #22c55e;
}

.panel-title {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.editor-panel {
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .editor-panel {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
}

.editor-wrapper {
  display: flex;
  height: 400px;
  overflow: auto;
}

.line-numbers {
  padding: 16px 8px 16px 16px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
  line-height: 1.65;
  background: rgba(0, 0, 0, 0.15);
  min-width: 40px;
}

#code-editor {
  flex: 1;
  padding: 16px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.65;
  resize: none;
  tab-size: 4;
  white-space: pre;
  overflow-wrap: normal;
}

#code-editor::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.btn-run {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--color-green);
  color: #000;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-run:hover {
  filter: brightness(1.15);
  transform: scale(1.05);
}

.btn-run:active {
  transform: scale(0.98);
}

.btn-run.running {
  background: var(--color-accent);
  animation: pulse 1s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.btn-clear {
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-clear:hover {
  background: rgba(255, 255, 255, 0.1);
}

.output-panel {
  display: flex;
  flex-direction: column;
}

.output-content {
  height: 400px;
  overflow: auto;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.65;
}

.output-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-text-muted);
  text-align: center;
}

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

.output-line {
  padding: 2px 0;
  animation: slideIn 0.15s ease;
}

.output-line.error {
  color: var(--color-red);
}

.output-line.success {
  color: var(--color-green);
  font-weight: 600;
}

.output-line.info {
  color: var(--color-blue);
  opacity: 0.7;
  font-style: italic;
}

/* ========== SECTION DIVIDER ========== */
.sunda-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  opacity: 0.3;
}

.sunda-divider::before,
.sunda-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gradient-sunda);
}

.sunda-divider span {
  font-family: var(--font-aksara);
  font-size: 1.5rem;
  color: var(--color-sunda-gold);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========== FEATURES ========== */
.features-section {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  cursor: pointer;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

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

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.feature-card code {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-accent-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  font-family: var(--font-mono);
}

.feature-card pre {
  background: rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  overflow-x: auto;
  line-height: 1.5;
  border: 1px solid var(--color-border);
}

body.light-mode .feature-card pre {
  background: #fff;
}

/* --- Highlighter Token Colors --- */
.hl-keyword-declare {
  color: var(--hl-keyword-declare);
  font-weight: 600;
}

.hl-keyword-print {
  color: var(--hl-keyword-print);
  font-weight: 600;
}

.hl-keyword-input {
  color: var(--hl-keyword-input);
  font-weight: 600;
}

.hl-keyword-control {
  color: var(--hl-keyword-control);
  font-weight: 600;
}

.hl-keyword-loop {
  color: var(--hl-keyword-loop);
  font-weight: 600;
}

.hl-keyword-func {
  color: var(--hl-keyword-func);
  font-weight: 600;
}

.hl-keyword-try {
  color: var(--hl-keyword-try);
  font-weight: 600;
}

.hl-keyword-oop {
  color: var(--hl-keyword-oop);
  font-weight: 600;
}

.hl-keyword-end {
  color: var(--hl-keyword-end);
  font-weight: 600;
}

.hl-string {
  color: var(--hl-string);
}

.hl-number {
  color: var(--hl-number);
}

.hl-boolean {
  color: var(--hl-boolean);
  font-style: italic;
}

.hl-operator {
  color: var(--hl-operator);
}

.hl-assign {
  color: var(--hl-assign);
}

.hl-punctuation {
  color: var(--hl-punctuation);
}

.hl-semicolon {
  color: var(--hl-semicolon);
}

.hl-variable {
  color: var(--hl-variable);
}

.hl-comment {
  color: var(--hl-comment);
  font-style: italic;
}

.level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  margin-right: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-challenge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 16px;
}

.btn-challenge:hover {
  background: var(--color-accent);
  color: #000;
  transform: translateX(5px);
  box-shadow: 0 4px 15px var(--color-accent-glow);
}

/* ========== AKSARA SUNDA STYLES ========== */
.aksara {
  font-family: var(--font-aksara);
  opacity: 0.8;
}

.aksara-hero {
  position: absolute;
  font-size: 10rem;
  color: var(--color-accent);
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
  font-weight: 900;
}

.aksara-1 {
  top: 10%;
  left: 5%;
  transform: rotate(-15deg);
}

.aksara-2 {
  bottom: 10%;
  right: 5%;
  transform: rotate(15deg);
}

.aksara-3 {
  top: 40%;
  right: 10%;
  transform: rotate(5deg);
  font-size: 6rem;
}

.section-subtitle-aksara {
  display: block;
  font-size: 1.5rem;
  color: var(--color-sunda-gold);
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: 2px;
}

/* ========== PATTERN: MEGAMENDUNG ========== */
.pattern-megamendung {
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='70' viewBox='0 0 120 70' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 35 Q30 10 60 35 T120 35' stroke='rgba(251, 191, 36, 0.1)' fill='none' stroke-width='1.5'/%3E%3Cpath d='M0 45 Q30 20 60 45 T120 45' stroke='rgba(5, 150, 105, 0.08)' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-attachment: fixed;
}

body.light-mode .pattern-megamendung {
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='70' viewBox='0 0 120 70' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 35 Q30 10 60 35 T120 35' stroke='rgba(5, 150, 105, 0.1)' fill='none' stroke-width='1.5'/%3E%3Cpath d='M0 45 Q30 20 60 45 T120 45' stroke='rgba(251, 191, 36, 0.1)' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* ========== FLOATING ORNAMENT ========== */
.floating-aksara-wrap {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  pointer-events: none;
}

.floating-aksara {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-aksara);
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 10px 30px var(--color-accent-glow);
  animation: rotateFloating 12s linear infinite;
  border: 4px solid var(--color-surface);
}

@keyframes rotateFloating {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ========== THEME SWITCH (Premium Pill) ========== */
.theme-switch {
  position: relative;
  width: 56px;
  height: 28px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  align-items: center;
  padding: 3px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-switch:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 15px var(--color-accent-glow);
}

.switch-knob {
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.light-mode .switch-knob {
  transform: translateX(28px);
}

.theme-switch .icon-moon,
.theme-switch .icon-sun {
  position: absolute;
  font-size: 0.7rem;
  pointer-events: none;
  transition: all 0.4s;
  z-index: 1;
}

.theme-switch .icon-moon {
  right: 8px;
  opacity: 0.4;
}

.theme-switch .icon-sun {
  left: 8px;
  opacity: 0;
  transform: translateY(10px);
}

.light-mode .theme-switch .icon-moon {
  opacity: 0;
  transform: translateY(-10px);
}

.light-mode .theme-switch .icon-sun {
  opacity: 0.4;
  transform: translateY(0);
}

/* ========== FOOTER ========== */
.footer {
  padding: 60px 24px;
  text-align: center;
  border-top: 1px solid var(--color-border);
  background: linear-gradient(to bottom, transparent, var(--color-surface-2));
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-info p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-theme-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--color-text);
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.footer-theme-status .mode-text {
  min-width: 80px;
  text-align: right;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-info {
    flex: 1;
  }
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.keyword-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.keyword-table thead {
  background: rgba(245, 158, 11, 0.1);
}

.keyword-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  color: var(--hl-variable);
  border-bottom: 1px solid var(--color-border);
}

.keyword-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-border);
}

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

.keyword-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.keyword-table code {
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-accent-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--hl-variable);
}

.keyword-table .mono {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--color-text-muted);
}

/* ========== INSTALL ========== */
.install-section {
  padding: 80px 0;
}

.install-card {
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.install-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
}

.install-step h4 {
  font-weight: 600;
  margin-bottom: 6px;
}

.install-code {
  display: block;
  margin-top: 4px;
  /* background: rgba(0, 0, 0, 0.4); */
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-green);
  border: 1px solid rgba(255, 255, 255, 0.05);
  word-break: break-all;
}

/* ========== CTA ========== */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  text-align: center;
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
}

.cta-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-card p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
.footer {
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}