/* ============================================================
   MERAPI MQTT BROKER — style.css
   Palette: Volcanic dark, lava amber accent, molten gold
   ============================================================ */

:root {
  --bg-base:    #0D1117;
  --bg-surface: #161B22;
  --bg-card:    #1C2333;
  --bg-alt:     #111722;
  --accent:     #FF6B35;
  --accent-dim: rgba(255, 107, 53, 0.15);
  --gold:       #FFB627;
  --gold-dim:   rgba(255, 182, 39, 0.12);
  --text-primary:   #E6EDF3;
  --text-secondary: #8B949E;
  --text-muted:     #4D5566;
  --border:     rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 107, 53, 0.3);

  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 32px rgba(255,107,53,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: rgba(255,255,255,0.07);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--gold);
}
pre { margin: 0; }

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

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  flex-shrink: 0;
}
.logo-icon { font-size: 1.3rem; }
.logo-badge {
  font-size: 0.65rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  display: flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.nav-cta:hover { background: #e55a26; transform: translateY(-1px); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: 0.3s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  gap: 12px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 0;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 140px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.lava-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
.blob1 {
  width: 500px; height: 400px;
  background: radial-gradient(circle, #FF6B35, transparent 70%);
  top: -100px; right: -100px;
  animation-delay: 0s;
}
.blob2 {
  width: 350px; height: 300px;
  background: radial-gradient(circle, #FFB627, transparent 70%);
  bottom: 50px; left: -80px;
  animation-delay: -3s;
}
.blob3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #FF6B35, transparent 70%);
  top: 200px; left: 40%;
  opacity: 0.18;
  animation-delay: -5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.04); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.accent-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: #e55a26;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.35);
}
.btn-primary.btn-large { padding: 15px 32px; font-size: 1rem; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost.btn-large { padding: 15px 28px; font-size: 1rem; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.stat { text-align: left; }
.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}
.stat-lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* TERMINAL */
.terminal-wrap {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  max-width: 720px;
}
.terminal {
  background: #0D1117;
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.terminal-bar {
  background: #161B22;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.t-dots { display: flex; gap: 7px; }
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot.red    { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green  { background: #27C93F; }
.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  min-height: 220px;
}
.t-line {
  line-height: 1.8;
  white-space: pre-wrap;
}
.t-line.prompt { color: var(--accent); }
.t-line.info   { color: var(--text-secondary); }
.t-line.success{ color: #3FB950; }
.t-line.warn   { color: var(--gold); }
.t-line.data   { color: #79C0FF; }
.t-cursor {
  display: inline-block;
  width: 8px; height: 1em;
  background: var(--accent);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ============ SECTIONS ============ */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}
.subsection-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ============ FEATURE TABS ============ */
.feature-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.ftab {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.ftab:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-primary);
}
.ftab.active {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
  font-weight: 600;
}
.fpanel { display: none; }
.fpanel.active { display: block; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.fcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.fcard:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), 0 0 20px rgba(255,107,53,0.08);
}
.fcard-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.fcard h3 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.fcard p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============ API TABLE ============ */
.api-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.api-filter {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.api-filter:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.18); }
.api-filter.active {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
}
.api-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.api-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.api-table thead {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.api-table th {
  padding: 12px 20px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.api-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
}
.api-table td:last-child { color: var(--text-secondary); }
.api-table tr:last-child td { border-bottom: none; }
.api-table tr:hover td { background: rgba(255,255,255,0.02); }
.api-table tr.hidden { display: none; }

.method {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.method.get   { background: rgba(56,189,120,0.15);  color: #3BD978; }
.method.post  { background: rgba(121,192,255,0.15); color: #79C0FF; }
.method.put   { background: rgba(255,182,39,0.15);  color: #FFB627; }
.method.del   { background: rgba(255,107,53,0.15);  color: #FF6B35; }

/* ============ SECURITY / INFO BLOCKS ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.block-title {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  margin-top: 8px;
}
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.check-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.check-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-list strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.check-list p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ STEPS ============ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 56px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: 56px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--gold), transparent);
  opacity: 0.3;
}
.step {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  position: relative;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.step-content { flex: 1; padding-top: 10px; }
.step-content h3 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.65;
}

.platform-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid;
}
.chip.linux   { background: rgba(56,189,120,0.1);  border-color: rgba(56,189,120,0.3);  color: #3BD978; }
.chip.windows { background: rgba(121,192,255,0.1); border-color: rgba(121,192,255,0.3); color: #79C0FF; }
.chip.mac     { background: rgba(255,182,39,0.1);  border-color: rgba(255,182,39,0.3);  color: var(--gold); }
.chip.android { background: rgba(255,107,53,0.1);  border-color: rgba(255,107,53,0.3);  color: var(--accent); }

/* CODE BLOCKS */
.code-block {
  background: #0D1117;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}
.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
}
.code-block pre {
  padding: 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: auto;
}
.code-block code {
  background: none;
  padding: 0;
  color: var(--text-secondary);
  font-size: inherit;
}
.copy-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.copy-btn:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.copy-btn.copied { color: #3BD978; border-color: rgba(59,217,120,0.3); }

.note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 8px;
}

/* CLI TABLE */
.cli-table-wrap { overflow-x: auto; }
.cli-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cli-table th {
  padding: 12px 20px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.cli-table td {
  padding: 11px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.cli-table tr:last-child td { border-bottom: none; }
.cli-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ============ PLATFORM GRID ============ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.platform-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.platform-card.featured {
  border-color: rgba(255,107,53,0.3);
  background: rgba(255,107,53,0.05);
}
.platform-badge-top {
  position: absolute;
  top: -1px; right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0 0 6px 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.platform-icon { font-size: 2.2rem; margin-bottom: 12px; }
.platform-card h3 {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.platform-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.platform-file {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 16px;
  word-break: break-all;
}
.dl-btn {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}
.dl-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ============ ARCHITECTURE ============ */
.arch-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}
.arch-tree { overflow: hidden; }
.tree-block {
  background: #0D1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  overflow-x: auto;
}
.arch-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.9;
  background: none;
  padding: 0;
}
.tree-comment { color: var(--text-muted); }

.arch-layers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.layer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: 0.2s;
}
.layer-card.domain  { border-color: rgba(121,192,255,0.25); }
.layer-card.app     { border-color: rgba(255,182,39,0.25); }
.layer-card.infra   { border-color: rgba(255,107,53,0.25); }
.layer-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.layer-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.layer-arrow {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.tech-stack { margin-top: 8px; }
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tech-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  transition: 0.2s;
}
.tech-item:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}
.tech-icon { font-size: 1rem; }

/* ============ BUILD ============ */
.build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.build-step h4 {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-blob1 {
  position: absolute;
  width: 400px; height: 300px;
  background: radial-gradient(circle, #FF6B35, transparent 70%);
  top: -100px; right: -80px;
  opacity: 0.2;
  animation: float 7s ease-in-out infinite;
}
.cta-blob2 {
  position: absolute;
  width: 300px; height: 250px;
  background: radial-gradient(circle, #FFB627, transparent 70%);
  bottom: -80px; left: -60px;
  opacity: 0.18;
  animation: float 9s ease-in-out infinite reverse;
}
.cta-title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.cta-sub {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
  font-size: 1rem;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-secondary); }

/* ============ SCROLL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .arch-layout { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 48px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .steps::before { display: none; }
  .step { flex-direction: column; gap: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 0.68rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, .lava-blob { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
