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

/* ── DARK THEME (default) ── */
:root {
  --bg:        #050508;
  --bg2:       #0a0a10;
  --surface:   #0d0d15;
  --border:    rgba(255,255,255,0.05);
  --text:      #ffffff;
  --text-sub:  rgba(255,255,255,0.45);
  --text-dim:  rgba(255,255,255,0.18);
  --cyan:      #00f0ff;
  --purple:    #a855f7;
  --lime:      #84ff57;
  --hot:       #ff3366;
}

/* ── LIGHT THEME ── */
[data-theme="light"] {
  --bg:        #eef0f5;
  --bg2:       #ffffff;
  --surface:   #f7f8fc;
  --border:    rgba(0,0,0,0.10);
  --text:      #07070f;
  --text-sub:  rgba(0,0,0,0.65);
  --text-dim:  rgba(0,0,0,0.45);
  --cyan:      #0062b0;
  --purple:    #6d28d9;
  --lime:      #15803d;
  --hot:       #be123c;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Antonio', sans-serif;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ── THEME TOGGLE BUTTON ── */
#themeToggle {
  position: fixed; top: 20px; right: 24px; z-index: 9999;
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 50px;
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); cursor: pointer;
  font-family: 'Fira Code', monospace; font-size: 0.65rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

#themeToggle:hover {
  border-color: var(--cyan);
  box-shadow: 0 4px 24px rgba(0,240,255,0.12);
}

/* Show/hide icons & labels based on active theme */
.theme-icon-light,
.theme-label-light { display: none; }
.theme-icon-dark,
.theme-label-dark  { display: flex; align-items: center; }

[data-theme="light"] .theme-icon-dark,
[data-theme="light"] .theme-label-dark  { display: none; }
[data-theme="light"] .theme-icon-light,
[data-theme="light"] .theme-label-light { display: flex; align-items: center; }


body.locked { overflow: hidden; }

/* ── COMPILE OVERLAY ── */
#compileOverlay {
  position: fixed; inset: 0; z-index: 50;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

#codeField {
  display: flex; flex-direction: column;
  align-items: flex-start; padding-left: 10%;
  width: 100%; pointer-events: none;
}

.code-line {
  font-family: 'Fira Code', monospace;
  font-size: clamp(0.75rem, 1.4vw, 1rem);
  white-space: nowrap; opacity: 0; line-height: 2;
}

.code-line .ln { color: var(--text-dim); margin-right: 20px; }
.kw { color: #ff79c6; } .fn { color: #50fa7b; } .tp { color: #8be9fd; }
.st { color: #f1fa8c; } .cm { color: #6272a4; } .br { color: #f8f8f2; }

.progress-wrap {
  margin-top: 36px; display: flex; flex-direction: column;
  align-items: center; gap: 10px; opacity: 0;
}

.progress-track {
  width: 280px; height: 3px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px; overflow: hidden;
}

.progress-fill {
  width: 0%; height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  border-radius: 4px; box-shadow: 0 0 14px rgba(132,255,87,0.4);
}

.compile-status {
  font-family: 'Fira Code', monospace;
  font-size: 0.65rem; color: var(--lime); letter-spacing: 0.06em;
}

.bracket {
  position: absolute; font-family: 'Fira Code', monospace;
  font-size: 3.5rem; font-weight: 600; color: var(--cyan);
  opacity: 0; z-index: 56; top: 50%; transform: translateY(-50%);
}

#bracketL { left: 30%; }
#bracketR { right: 30%; }

#flash {
  position: fixed; inset: 0; background: #fff;
  z-index: 60; opacity: 0; pointer-events: none;
}

/* ── HERO BITS DISPLAY ── */
#heroSection {
  position: relative; width: 100%; height: 100vh; z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
}

.bits-hero {
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  opacity: 0;
}

.bits-display {
  display: flex; gap: 10px; align-items: center;
}

.bit-cell {
  width: 56px; height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(0,240,255,0.12);
  background: rgba(0,240,255,0.02);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  opacity: 0.07;
  transition: border-color 0.8s ease, background 0.4s ease;
}

.bit-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0,240,255,0.18) 0%, transparent 70%);
  opacity: 0;
}

.bit-val {
  font-family: 'Fira Code', monospace;
  font-size: 1.1rem; font-weight: 600;
  color: var(--cyan); position: relative; z-index: 2;
  opacity: 0.4;
}

.bits-sub {
  font-family: 'Fira Code', monospace;
  font-size: 0.55rem; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.logo-name {
  font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--text); letter-spacing: 0.01em; opacity: 0;
}

.services { display: flex; align-items: center; gap: 14px; opacity: 0; }

.service-pill {
  font-family: 'Fira Code', monospace;
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transform: translateY(12px);
}

.service-dot { color: var(--text-dim); font-size: 1.2rem; opacity: 0; }

#scrollCue {
  position: absolute; bottom: 30px;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  font-family: 'Fira Code', monospace; font-size: 0.6rem;
  color: var(--text-dim); letter-spacing: 0.1em; opacity: 0;
}

.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 1.5px solid var(--text-dim);
  border-bottom: 1.5px solid var(--text-dim);
  transform: rotate(45deg); animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

@media (max-width: 600px) {
  .bit-cell { width: 36px; height: 36px; border-radius: 10px; }
  .bit-val { font-size: 0.8rem; }
  .bits-display { gap: 6px; }
}


#casesSection {
  position: relative; z-index: 20;
  height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

.cases-header {
  text-align: center;
  padding: 52px 20px 24px;
  flex-shrink: 0;
}

.cases-header h2 {
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900;
  letter-spacing: -0.03em; opacity: 0; transform: translateY(50px);
}

.cases-header p {
  font-family: 'Fira Code', monospace;
  font-size: clamp(0.65rem, 1vw, 0.82rem);
  color: var(--text-dim); margin-top: 12px;
  letter-spacing: 0.1em; opacity: 0; transform: translateY(30px);
}

.cases-viewport {
  position: relative;
  flex: 1;
  width: 92%; max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.case-card {
  position: absolute;
  top: 50%; left: 0;
  transform: translateY(-50%);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr; border-radius: 24px;
  overflow: hidden; background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 6px 16px rgba(0,0,0,0.06),
    0 20px 48px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: box-shadow 0.3s ease;
}

.case-card.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cases-progress {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  gap: 10px; z-index: 30;
}

.cases-dot {
  width: 8px; height: 8px;
  border-radius: 50%; border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  padding: 0;
}

.cases-dot.active {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 10px color-mix(in srgb, var(--cyan) 50%, transparent);
  transform: scale(1.4);
  width: 8px; height: 24px;
  border-radius: 4px;
}

.cases-counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  z-index: 30;
  display: flex; align-items: center; gap: 6px;
}

.cases-sep { margin: 0 4px; }

#casesCurrent {
  color: var(--cyan);
  transition: color 0.3s;
}

.case-card:nth-child(odd) .case-visual { order: 1; }
.case-card:nth-child(odd) .case-info { order: 2; }
.case-card:nth-child(even) .case-visual { order: 2; }
.case-card:nth-child(even) .case-info { order: 1; }

.case-visual {
  position: relative; min-height: 420px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}

.case-visual-bg { position: absolute; inset: 0; opacity: 0.6; }

.case-mockup {
  position: relative; z-index: 2; opacity: 0;
  transform: translateY(30px) scale(0.92);
}

.phone-frame {
  width: 210px; height: 430px; background: #111;
  border-radius: 34px; border: 3px solid #222; padding: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 50px rgba(0,240,255,0.05);
}

.phone-screen { width: 100%; height: 100%; border-radius: 18px; overflow: hidden; }

.browser-frame {
  width: 440px; background: #111; border-radius: 14px;
  border: 2px solid #222; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 50px rgba(168,85,247,0.06);
}

.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #0d0d12;
  border-bottom: 1px solid #1a1a22;
}

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

.browser-url {
  flex: 1; height: 22px; background: #161620; border-radius: 4px;
  margin-left: 8px; display: flex; align-items: center;
  padding: 0 10px; font-family: 'Fira Code', monospace;
  font-size: 0.55rem; color: #444;
}

.browser-content { min-height: 220px; }

.expand-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  pointer-events: none;
}

.browser-frame:hover .expand-btn,
.phone-frame:hover .expand-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.expand-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 20px color-mix(in srgb, var(--purple) 30%, transparent);
}

/* ── MODAL ── */
.site-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.site-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.site-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(12px);
}

.site-modal-content {
  position: relative;
  width: 95%;
  max-width: 1400px;
  height: 90vh;
  background: #111;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 50px rgba(168,85,247,0.1);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-modal.active .site-modal-content {
  transform: scale(1) translateY(0);
}

.site-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #0d0d12;
  border-bottom: 1px solid #1a1a22;
}

.site-modal-url {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
  background: #161620;
  padding: 8px 16px;
  border-radius: 6px;
  user-select: all;
}

.site-modal-close {
  background: transparent;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.site-modal-close:hover {
  color: var(--hot);
  background: rgba(255, 51, 102, 0.1);
}

.site-modal-body {
  flex: 1;
  width: 100%;
  background: #fff; /* Most sites assume white bg */
}

.site-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.ai-frame {
  width: 360px; background: #0d0d14; border-radius: 20px;
  border: 1px solid rgba(255,51,102,0.18); padding: 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 60px rgba(255,51,102,0.07);
}

.ai-layer { display: flex; justify-content: center; gap: 12px; margin-bottom: 16px; }

.ai-node {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid; opacity: 0; transform: scale(0);
}

.ai-connection {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,51,102,0.3), transparent);
  margin: -8px 40px 8px;
}

.ai-output {
  text-align: center; margin-top: 12px;
  font-family: 'Fira Code', monospace;
  font-size: 0.65rem; color: var(--hot); opacity: 0;
}

.case-info {
  padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 4px;
}

.case-label {
  font-family: 'Fira Code', monospace; font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 16px; opacity: 0; transform: translateX(-20px);
  display: flex; align-items: center; gap: 8px;
}

.case-label::before {
  content: '';
  display: inline-block; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px;
  opacity: 0.7;
}

.case-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 18px;
  opacity: 0; transform: translateY(20px);
  color: var(--text);
}

.case-desc {
  font-size: 0.95rem; color: var(--text-sub);
  line-height: 1.75; margin-bottom: 32px;
  opacity: 0; transform: translateY(20px);
  max-width: 440px;
}

.case-tags { display: flex; flex-wrap: wrap; gap: 8px; opacity: 0; }

.case-tag {
  font-family: 'Fira Code', monospace; font-size: 0.65rem;
  padding: 6px 14px; border-radius: 50px; letter-spacing: 0.06em;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-sub);
  transition: border-color 0.2s, color 0.2s;
}

.case-tag:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ── SERVICES (Pinned Stack) ── */
#servicesSection {
  position: relative; z-index: 20;
  height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

.services-viewport {
  position: relative; flex: 1;
  width: 92%; max-width: 1200px;
  margin: 0 auto; overflow: hidden;
}

.svc-card {
  position: absolute;
  top: 50%; left: 0;
  transform: translateY(-50%);
  width: 100%;
  display: grid; grid-template-columns: 1fr 1.4fr;
  border-radius: 24px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 6px 16px rgba(0,0,0,0.06),
    0 20px 48px rgba(0,0,0,0.08);
  opacity: 0; pointer-events: none;
}

.svc-card.active { opacity: 1; pointer-events: auto; }

.svc-visual {
  min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: var(--bg);
}

.svc-icon-big {
  width: 140px; height: 140px;
  border-radius: 30px;
  border: 2px solid;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s ease;
  background: color-mix(in srgb, currentColor 5%, transparent);
}

.svc-info {
  padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 4px;
}

.svc-label {
  font-family: 'Fira Code', monospace; font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

.svc-label::before {
  content: '';
  display: inline-block; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px; opacity: 0.7;
}

.svc-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 18px;
  color: var(--text);
}

.svc-desc {
  font-size: 0.95rem; color: var(--text-sub);
  line-height: 1.75; margin-bottom: 28px;
  max-width: 440px;
}

.svc-features {
  display: flex; flex-direction: column; gap: 8px;
}

.svc-feature {
  font-family: 'Fira Code', monospace; font-size: 0.75rem;
  color: var(--text-sub); padding-left: 20px;
  position: relative; line-height: 1.8;
}

.svc-feature::before {
  content: '→'; position: absolute; left: 0;
  color: var(--text-dim);
}

.svc-progress {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  gap: 10px; z-index: 30;
}

.svc-dot {
  width: 8px; height: 8px;
  border-radius: 50%; border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer; transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  padding: 0;
}

.svc-dot.active {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 10px color-mix(in srgb, var(--purple) 50%, transparent);
  transform: scale(1.4);
  width: 8px; height: 24px;
  border-radius: 4px;
}

.svc-counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem; color: var(--text-dim);
  letter-spacing: 0.12em; z-index: 30;
  display: flex; align-items: center; gap: 6px;
}

#svcCurrent {
  color: var(--purple); transition: color 0.3s;
}

/* ── CONTACT ── */
#contactSection {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh;
  padding: 100px 20px;
}

.contact-inner { text-align: center; max-width: 600px; }

.contact-label {
  font-family: 'Fira Code', monospace; font-size: 0.65rem;
  color: var(--text-dim); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 20px;
}

.contact-title {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 900;
  letter-spacing: -0.02em; margin-bottom: 16px;
  color: var(--text);
}

.contact-desc {
  font-size: 0.95rem; color: var(--text-sub);
  line-height: 1.7; margin-bottom: 36px;
}

.contact-actions {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-family: 'Fira Code', monospace; font-size: 0.75rem;
  letter-spacing: 0.05em; text-decoration: none;
  transition: all 0.3s ease;
}

.contact-btn-primary {
  background: color-mix(in srgb, var(--cyan) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--cyan) 35%, transparent);
  color: var(--cyan);
}

.contact-btn-primary:hover {
  background: color-mix(in srgb, var(--cyan) 18%, transparent);
  border-color: var(--cyan);
  box-shadow: 0 0 30px color-mix(in srgb, var(--cyan) 20%, transparent);
}

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

.contact-btn-outline:hover {
  background: var(--surface);
  border-color: var(--text-dim);
  color: var(--text);
}

@media (max-width: 768px) {
  #casesSection { height: 100vh; }
  .cases-viewport { width: 95%; overflow: visible; }
  .case-card {
    grid-template-columns: 1fr;
    top: 50%; transform: translateY(-50%);
    max-height: 85vh; overflow-y: auto;
  }
  .case-card:nth-child(even) .case-visual { order: 1; }
  .case-card:nth-child(even) .case-info { order: 2; }
  .case-visual { min-height: 240px; padding: 20px 0; }
  .case-info { padding: 24px 20px; }
  .browser-frame { width: 95%; max-width: 340px; }
  .ai-frame { width: 95%; max-width: 300px; }
  
  /* Make Live Site button always visible on mobile */
  .expand-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    background: color-mix(in srgb, var(--surface) 95%, transparent);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    padding: 14px 28px;
    font-size: 0.85rem;
  }

  .cases-progress { right: 12px; }
  .cases-dot { width: 8px; height: 8px; }
  #servicesSection { height: 85vh; }
  .services-viewport { width: 95%; }
  .svc-card {
    grid-template-columns: 1fr;
    top: 0; transform: none;
    max-height: 100%; overflow-y: auto;
  }
  .svc-visual { min-height: 180px; }
  .svc-info { padding: 24px 20px; }
  .svc-progress { right: 12px; }
  .svc-dot { width: 8px; height: 8px; }
  .contact-actions { flex-direction: column; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

#siteFooter {
  position: relative; z-index: 20; background: var(--bg2);
  border-top: 1px solid var(--border); overflow: hidden;
}

.footer-glow {
  position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%); width: 400px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  opacity: 0.4; filter: blur(1px);
}

.footer-inner { max-width: 1100px; margin: 0 auto; padding: 70px 40px 40px; }

.footer-top { display: flex; justify-content: space-between; gap: 60px; }

.footer-brand { max-width: 320px; flex-shrink: 0; }

.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

.footer-logo-box {
  width: 40px; height: 40px; background: var(--text); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.5rem; color: var(--bg);
  border: 1px solid color-mix(in srgb, var(--cyan) 20%, transparent);
  box-shadow: 0 0 15px color-mix(in srgb, var(--cyan) 10%, transparent);
}

.footer-logo-name { font-weight: 800; font-size: 1.15rem; color: var(--text); }

.footer-tagline { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }

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

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col h4 {
  font-family: 'Fira Code', monospace; font-size: 0.6rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 6px;
}

.footer-col a {
  font-size: 0.85rem; color: var(--text-sub);
  text-decoration: none; transition: color 0.25s;
}

.footer-col a:hover { color: var(--cyan); }

.footer-divider { height: 1px; background: var(--border); margin: 50px 0 24px; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; }

.footer-copy {
  font-family: 'Fira Code', monospace; font-size: 0.6rem;
  color: var(--text-dim); letter-spacing: 0.04em;
}

.footer-built {
  font-family: 'Fira Code', monospace; font-size: 0.6rem;
  color: var(--text-dim); letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 8px;
}

.footer-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 8px var(--lime);
  animation: pulse 2s ease-in-out infinite;
}

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