/* =============================================================================
   ARCHIMEDES DESIGN SYSTEM — Website Stylesheet v1.0
   Based on /designs/archimedes_design_system.md
   ============================================================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Background */
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-hover: #1a1a25;

  /* Gold */
  --gold: #ffd700;
  --gold-dim: #b8860b;
  --gold-glow: rgba(255, 215, 0, 0.15);

  /* Accent */
  --accent-green: #22c55e;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-orange: #f97316;

  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;

  /* Border */
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(255, 215, 0, 0.3);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: #ffe44d; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ---------- Background Effects ---------- */
.bg-grid {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(255,215,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,215,0,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,215,0,0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(139,92,246,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 60px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.85);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3em;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav a {
  color: var(--text-secondary);
  font-size: 0.95em;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover, nav a.active {
  color: var(--gold);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--bg-dark) !important;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9em;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
  color: var(--bg-dark) !important;
}

/* ---------- Main ---------- */
main {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

/* ---------- Section ---------- */
.section {
  padding: 80px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5em;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.15em;
  max-width: 700px;
  margin: 0 auto 48px;
}

.highlight {
  color: var(--gold);
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 100px 60px 60px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 80vh;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  font-size: 0.85em;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 24px;
  background: rgba(255, 215, 0, 0.05);
}

.hero h1 {
  font-size: 3.8em;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.2em;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  max-width: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- Architecture Diagram ---------- */
.arch-diagram {
  position: relative;
  width: 350px;
  height: 350px;
}

.node {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85em;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

.node-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--bg-dark);
  border-radius: 50%;
  width: 90px; height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9em;
  z-index: 2;
  animation: pulse 3s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.node:nth-child(1) { top: 5%; left: 5%; animation-delay: 0s; }
.node:nth-child(2) { top: 5%; right: 5%; animation-delay: 1s; }
.node:nth-child(3) { bottom: 5%; left: 5%; animation-delay: 2s; }
.node:nth-child(4) { bottom: 5%; right: 5%; animation-delay: 3s; }

/* Connection lines */
.arch-diagram::before,
.arch-diagram::after {
  content: '';
  position: absolute;
  border: 1px dashed rgba(255, 215, 0, 0.15);
  pointer-events: none;
}

.arch-diagram::before {
  top: 50%; left: 15%; right: 15%;
  height: 0;
}

.arch-diagram::after {
  left: 50%; top: 15%; bottom: 15%;
  width: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--bg-dark);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.35);
  color: var(--bg-dark);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.btn-large {
  padding: 20px 48px;
  font-size: 1.1em;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 60px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8em;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.9em;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  color: inherit;
}

.feature-icon {
  font-size: 2.5em;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25em;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 16px;
}

.feature-link {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.9em;
}

/* ---------- Architecture Layers ---------- */
.architecture {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.arch-layer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}

.layer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8em;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.layer-items {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.arch-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-dark);
  font-size: 0.9em;
  color: var(--text-primary);
}

.arch-item.highlight { border-color: var(--accent-green); }
.arch-item.solar { border-color: var(--gold); }
.arch-item.ai { border-color: var(--accent-purple); }
.arch-item.blue { border-color: var(--accent-blue); }

.arch-icon { font-size: 1.1em; }

.arch-arrow {
  text-align: center;
  font-size: 1.5em;
  color: var(--gold);
  padding: 8px 0;
}

/* ---------- Access Funnel ---------- */
.funnel-steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.funnel-step {
  flex: 1;
  text-align: center;
}

.step-number {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  margin: 0 auto 16px;
}

.funnel-step h3 {
  font-size: 1.1em;
  margin-bottom: 8px;
}

.funnel-step p {
  font-size: 0.9em;
  color: var(--text-secondary);
}

.funnel-connector {
  display: flex;
  align-items: center;
  padding-top: 20px;
  color: var(--gold);
  font-size: 1.5em;
}

.funnel-cta {
  text-align: center;
  margin-top: 32px;
}

/* Chat preview */
.success-preview {
  max-width: 500px;
  margin: 0 auto 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.chat-bubble {
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 0.95em;
  line-height: 1.5;
}

.chat-bubble.user {
  background: var(--gold);
  color: var(--bg-dark);
  margin-left: 40px;
  border-bottom-right-radius: 4px;
}

.chat-bubble.bot {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  color: var(--text-primary);
  margin-right: 40px;
  border-bottom-left-radius: 4px;
}

.chat-bubble .bot-name {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.85em;
  margin-bottom: 4px;
}

/* ---------- Evolution Timeline ---------- */
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0; right: 0;
  height: 2px;
  background: var(--border);
}

.timeline-item {
  flex: 1;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.3s;
  position: relative;
  padding-top: 30px;
}

.timeline-item.active { opacity: 1; }

.timeline-marker {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--text-dim);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--bg-dark);
}

.timeline-item.active .timeline-marker {
  background: var(--gold);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.timeline-content h4 {
  font-size: 1.1em;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.85em;
  color: var(--text-dim);
}

/* ---------- Subpage Hero ---------- */
.subpage-hero {
  text-align: center;
  padding: 120px 60px 60px;
  max-width: 800px;
  margin: 0 auto;
  background: radial-gradient(ellipse at center, rgba(255,215,0,0.05) 0%, transparent 70%);
}

.hero-icon {
  font-size: 4em;
  margin-bottom: 20px;
}

.subpage-hero h1 {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 16px;
}

.subpage-hero p {
  font-size: 1.15em;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Content Grid ---------- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.content-text h2 {
  font-size: 1.8em;
  margin-bottom: 16px;
}

.content-text p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.content-text ul {
  list-style: none;
  padding: 0;
}

.content-text ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.content-text ul li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.content-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

/* ---------- Highlight Box ---------- */
.highlight-box {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}

.highlight-box h4 {
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 1.05em;
}

.highlight-box p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Info Box ---------- */
.info-box {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.info-box h4 {
  color: var(--accent-blue);
  margin-bottom: 8px;
}

/* ---------- Code Block ---------- */
.code-block {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9em;
  color: var(--text-primary);
  overflow-x: auto;
  line-height: 1.5;
  margin: 16px 0;
}

.code-block .comment { color: var(--text-dim); }
.code-block .keyword { color: var(--accent-purple); }
.code-block .string { color: var(--accent-green); }
.code-block .function { color: var(--gold); }

/* ---------- Table ---------- */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.styled-table th {
  background: var(--bg-card);
  color: var(--gold);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-gold);
}

.styled-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95em;
}

.styled-table tr:hover td {
  background: var(--bg-hover);
}

/* ---------- Step Cards ---------- */
.step-cards {
  display: grid;
  gap: 24px;
  counter-reset: step;
}

.step-card {
  display: flex;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  counter-increment: step;
  transition: border-color 0.3s;
}

.step-card:hover {
  border-color: var(--border-gold);
}

.step-card::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--bg-dark);
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2em;
}

.step-card-content h3 {
  font-size: 1.15em;
  margin-bottom: 8px;
}

.step-card-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Badge / Tag ---------- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8em;
  font-weight: 500;
}

.tag-gold { background: rgba(255,215,0,0.15); color: var(--gold); }
.tag-green { background: rgba(34,197,94,0.15); color: var(--accent-green); }
.tag-blue { background: rgba(59,130,246,0.15); color: var(--accent-blue); }
.tag-purple { background: rgba(139,92,246,0.15); color: var(--accent-purple); }
.tag-orange { background: rgba(249,115,22,0.15); color: var(--accent-orange); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 60px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9em;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-dim);
  font-size: 0.9em;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.85em;
}

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
  padding: 80px 60px;
  background: radial-gradient(ellipse at center, rgba(255,215,0,0.06) 0%, transparent 70%);
}

.cta-section h2 {
  font-size: 2.4em;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1em;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Urgency badge */
.urgency-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 100px;
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 0.9em;
  margin-bottom: 24px;
  animation: pulse-subtle 2s ease-in-out infinite;
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 100px 60px 0;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.9em;
}

.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { color: var(--text-dim); margin: 0 8px; }
.breadcrumbs .current { color: var(--text-secondary); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 80px 40px 40px;
  }
  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { max-width: 300px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid.reverse { direction: ltr; }
  .funnel-steps { flex-direction: column; align-items: center; }
  .funnel-connector { transform: rotate(90deg); padding: 0; }
  .footer-content { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 40px; }
  .section { padding: 60px 40px; }
}

@media (max-width: 768px) {
  header { padding: 15px 20px; }
  nav ul { display: none; }
  .hero h1 { font-size: 2.5em; }
  .hero { padding: 60px 20px 20px; min-height: auto; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; gap: 24px; padding: 30px 20px; }
  .stat-value { font-size: 2.2em; }
  .section { padding: 40px 20px; }
  .section-title { font-size: 1.8em; }
  .subpage-hero { padding: 100px 20px 40px; }
  .subpage-hero h1 { font-size: 2em; }
  .timeline { flex-direction: column; }
  .timeline::before { display: none; }
  .timeline-item { padding-top: 0; padding-left: 40px; text-align: left; opacity: 1; margin-bottom: 24px; }
  .timeline-marker { left: 0; transform: none; }
  .breadcrumbs { padding: 80px 20px 0; }
  footer { padding: 40px 20px; }
  .step-card { flex-direction: column; text-align: center; }
  .step-card::before { margin: 0 auto; }
}

/* ---------- Hamburger Mobile Menu ---------- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5em;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--bg-dark);
  border: none;
  border-radius: 50%;
  font-size: 1.2em;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}
