/* ============================================================
   GuildLM Design System
   Brand: Gold (#C5A55A / #D4AF37), Charcoal (#0a0a0a), Off-white
   Font: Inter (UI), JetBrains Mono (Code)
   ============================================================ */

/* --- Custom Properties --- */
:root {
  /* Brand Colors */
  --gold-50: #faf6eb;
  --gold-100: #f2ebd0;
  --gold-200: #e6d6a3;
  --gold-300: #d4bf6e;
  --gold-400: #c5a55a;
  --gold-500: #D4AF37;
  --gold-600: #a88c2a;
  --gold-700: #7f6a20;
  --gold-800: #5a4b17;
  --gold-900: #3a310f;

  /* Neutrals */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #0a0a0f;

  /* Semantic */
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f13;
  --bg-tertiary: #141418;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-gold: rgba(212, 175, 55, 0.3);

  --text-primary: #f0ece4;
  --text-secondary: #a0998a;
  --text-muted: #6b6560;
  --text-gold: #D4AF37;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-glow: 0 0 60px rgba(212, 175, 55, 0.08);
  --shadow-glow-lg: 0 0 120px rgba(212, 175, 55, 0.12);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--gray-700) transparent;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-subtle);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
  transition: opacity var(--transition-fast);
}

.nav__logo:hover {
  opacity: 0.8;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
}

.nav__logo-text {
  color: var(--text-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-500);
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5xl) 0 var(--space-4xl);
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: glow-pulse 8s ease-in-out infinite;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 165, 90, 0.1), transparent 70%);
  bottom: -100px;
  right: -100px;
  animation: glow-pulse 10s ease-in-out infinite reverse;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateX(-50%) scale(1.1); }
}

.hero__inner {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--gold-400);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xl);
  animation: fade-in-up 0.8s ease-out;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__title {
  font-size: clamp(var(--text-4xl), 8vw, var(--text-7xl));
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
}

.hero__title-line {
  display: block;
  animation: fade-in-up 0.8s ease-out;
  animation-fill-mode: both;
}

.hero__title-line:nth-child(1) {
  animation-delay: 0.1s;
}

.hero__title-line--gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500), var(--gold-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-delay: 0.25s;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-md);
  line-height: 1.7;
  animation: fade-in-up 0.8s ease-out 0.4s both;
}

.hero__subtitle strong {
  color: var(--gold-400);
  font-weight: 600;
}

.hero__subtitle--en {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  animation-delay: 0.5s;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-4xl);
  animation: fade-in-up 0.8s ease-out 0.6s both;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  animation: fade-in-up 0.8s ease-out 0.8s both;
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  display: inline;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
}

.hero__stat-suffix {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold-400);
}

.hero__stat-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #0a0a0a;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.btn--primary:hover {
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.btn--secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.btn--secondary:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.btn--large {
  padding: 16px 32px;
  font-size: var(--text-base);
}

/* --- Section Styles --- */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

.section__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.section__description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Problem / Comparison --- */
.section--problem {
  background: var(--bg-secondary);
}

.comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-xl);
  align-items: stretch;
}

.comparison__card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: transform var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.comparison__card:hover {
  transform: translateY(-4px);
}

.comparison__card--old {
  border-color: rgba(239, 68, 68, 0.15);
}

.comparison__card--old:hover {
  border-color: rgba(239, 68, 68, 0.3);
}

.comparison__card--new {
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.03);
}

.comparison__card--new:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-glow);
}

.comparison__icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.comparison__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.comparison__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
}

.comparison__tag--bad {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison__tag--good {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-400);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.comparison__list {
  margin-bottom: var(--space-lg);
}

.comparison__list li {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  position: relative;
  padding-left: var(--space-lg);
}

.comparison__card--old .comparison__list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: rgba(239, 68, 68, 0.6);
  font-weight: 600;
}

.comparison__card--new .comparison__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-weight: 600;
}

.comparison__code {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.comparison__code code {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.comparison__vs {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison__vs span {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-md);
}

/* --- Architecture --- */
.arch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.arch__node {
  text-align: center;
  position: relative;
}

.arch__node-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-xs);
}

.arch__node-label {
  font-weight: 700;
  font-size: var(--text-lg);
}

.arch__node-sublabel {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.arch__node--brain {
  background: rgba(212, 175, 55, 0.05);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-3xl);
  position: relative;
}

.arch__node--brain .arch__node-label {
  color: var(--gold-400);
  font-size: var(--text-2xl);
}

.arch__node-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.08), transparent 70%);
  border-radius: var(--radius-xl);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

.arch__connector--vertical {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border-default), var(--border-gold));
}

.arch__branches {
  width: 100%;
  max-width: 900px;
  position: relative;
  height: 40px;
}

.arch__branch-line {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--border-default), var(--border-gold), var(--border-default));
}

.arch__branch-line::before,
.arch__branch-line::after {
  content: '';
  position: absolute;
  top: 0;
  width: 2px;
  height: 40px;
  background: var(--border-default);
}

.arch__branch-line::before { left: 0; }
.arch__branch-line::after { right: 0; }

.arch__guilds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  width: 100%;
  max-width: 1000px;
}

.arch__guild {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  cursor: default;
}

.arch__guild:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.arch__guild--active {
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.03);
}

.arch__guild--active:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-glow);
}

.arch__guild-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.arch__guild-icon {
  font-size: var(--text-xl);
}

.arch__guild-name {
  font-weight: 700;
  font-size: var(--text-sm);
}

.arch__guild-status {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.arch__guild-status--live {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-400);
}

.arch__guild-members {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.arch__member {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* --- Flow / How it Works --- */
.flow {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.flow__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: start;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.flow__step.visible {
  opacity: 1;
  transform: translateY(0);
}

.flow__number {
  font-size: var(--text-4xl);
  font-weight: 900;
  color: rgba(212, 175, 55, 0.15);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.flow__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.flow__description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.flow__example {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--border-subtle);
}

.flow__example code {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gold-400);
  line-height: 1.6;
}

.flow__connector {
  width: 2px;
  height: 40px;
  background: var(--border-subtle);
  margin: var(--space-md) 0 var(--space-md) 24px;
}

/* --- Repos / Infrastructure --- */
.section--repos {
  background: var(--bg-secondary);
}

.repos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.repo {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.repo:hover {
  border-color: var(--border-default);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.repo--featured {
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.03);
}

.repo--featured:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-glow);
}

.repo__badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.repo__icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.repo__name {
  font-size: var(--text-lg);
  font-weight: 700;
  font-family: var(--font-mono);
  margin-bottom: var(--space-sm);
}

.repo__description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.repo__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.repo__tag {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* --- Roadmap / Timeline --- */
.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-500), var(--border-subtle) 20%, var(--border-subtle));
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease-out;
}

.timeline__item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline__item--active .timeline__marker {
  background: var(--gold-500);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.timeline__marker {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-700);
  border: 2px solid var(--bg-primary);
}

.timeline__content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: border-color var(--transition-base);
}

.timeline__item--active .timeline__content {
  border-color: var(--border-gold);
}

.timeline__content:hover {
  border-color: var(--border-default);
}

.timeline__phase {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: var(--space-xs) 0;
}

.timeline__description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline__date {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-sm);
  font-family: var(--font-mono);
}

/* --- CTA Section --- */
.section--cta {
  padding: var(--space-4xl) 0;
}

.cta {
  text-align: center;
  position: relative;
  background: rgba(212, 175, 55, 0.03);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl) var(--space-2xl);
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.06), transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  margin-bottom: var(--space-md);
  position: relative;
}

.cta__description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.cta__actions {
  position: relative;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--space-4xl);
}

.footer__logo {
  width: 28px;
  height: 28px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__brand-name {
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: var(--space-4xl);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__bottom {
  grid-column: 1 / -1;
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-subtle);
  margin-top: var(--space-2xl);
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .arch__guilds {
    grid-template-columns: repeat(2, 1fr);
  }

  .repos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .hero__stats {
    gap: var(--space-lg);
  }

  .comparison {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .comparison__vs {
    display: none;
  }

  .arch__guilds {
    grid-template-columns: 1fr;
  }

  .repos {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__links {
    flex-wrap: wrap;
    gap: var(--space-2xl);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero__stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .hero__stat-divider {
    width: 40px;
    height: 1px;
  }

  .section {
    padding: var(--space-3xl) 0;
  }
}
