/* === Variables === */
:root {
  --bg: #1a1d23;
  --bg-dark: #13151a;
  --bg-card: #22252d;
  --lime: #b5c327;
  --lime-dim: rgba(181, 195, 39, 0.15);
  --lime-dark: #8a9520;
  --white: #f0f0f0;
  --gray: #9ca3af;
  --gray-light: #d1d5db;
  --border: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(26, 29, 35, 0.85);
  --nav-bg-scroll: rgba(19, 21, 26, 0.95);
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'DM Serif Display', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --container: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
}

/* === Light Theme === */
[data-theme="light"] {
  --bg: #f5f5f5;
  --bg-dark: #e8e8e8;
  --bg-card: #ffffff;
  --white: #1a1d23;
  --gray: #555d6b;
  --gray-light: #3a3f4a;
  --border: rgba(0, 0, 0, 0.1);
  --nav-bg: rgba(245, 245, 245, 0.9);
  --nav-bg-scroll: rgba(232, 232, 232, 0.95);
  --lime: #7a8a10;
  --lime-dim: rgba(122, 138, 16, 0.12);
  --lime-dark: #5c6a08;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === Container === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* === Navigation === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.35rem;
  display: flex; align-items: center; gap: 6px;
}
.nav-logo-img { width: 24px; height: 24px; border-radius: 4px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--gray);
  transition: color 0.2s; letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--white); }
.nav-btn {
  display: inline-flex !important; align-items: center; gap: 6px;
  padding: 7px 16px; border: 1px solid var(--lime);
  border-radius: 6px; color: var(--lime) !important;
  font-weight: 500; transition: all 0.2s;
}
.nav-btn:hover { background: var(--lime); color: var(--bg) !important; }
/* === Theme Toggle === */
.theme-toggle {
  background: none; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; padding: 6px 8px; color: var(--gray);
  display: flex; align-items: center; transition: all 0.2s;
}
.theme-toggle:hover { color: var(--white); border-color: var(--lime); }
.theme-icon { display: none; }
.theme-icon.moon { display: block; }
[data-theme="dark"] .theme-icon.sun { display: none; }
[data-theme="dark"] .theme-icon.moon { display: block; }
[data-theme="light"] .theme-icon.sun { display: block; }
[data-theme="light"] .theme-icon.moon { display: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--white);
  margin: 5px 0; transition: all 0.3s;
}

/* === Hero === */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(181, 195, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 195, 39, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
}
.hero-content { text-align: center; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 240px; height: 240px; border-radius: 36px; margin-bottom: 36px; display: block; }
.logo-pear { font-size: 1.2rem; }
.hero-tag {
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--lime); letter-spacing: 0.2em; margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 1; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gray-light); margin-bottom: 36px; line-height: 1.5;
}
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.pill {
  font-family: var(--font-mono); font-size: 0.78rem;
  padding: 6px 16px; border: 1px solid rgba(181, 195, 39, 0.35);
  border-radius: 100px; color: var(--lime); letter-spacing: 0.02em;
  background: rgba(181, 195, 39, 0.06);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-caption { font-size: 0.85rem; color: var(--gray); margin-bottom: 60px; }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--gray); letter-spacing: 0.15em;
}
.scroll-chevrons { display: flex; flex-direction: column; align-items: center; width: 24px; }
.scroll-chevrons svg { display: block; color: var(--lime); opacity: 0; animation: chevronPulse 2s ease-in-out infinite; }
.scroll-chevrons svg:nth-child(2) { animation-delay: 0.3s; margin-top: -4px; }
@keyframes chevronPulse {
  0% { opacity: 0; transform: translateY(-4px); }
  40% { opacity: 1; transform: translateY(0); }
  80%, 100% { opacity: 0; transform: translateY(4px); }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-weight: 600;
  font-size: 0.95rem; transition: all 0.25s; border: 2px solid transparent;
}
.btn-primary { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.btn-primary:hover { background: var(--lime-dark); border-color: var(--lime-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(181, 195, 39, 0.25); }
.btn-outline { border-color: rgba(255,255,255,0.2); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); transform: translateY(-2px); }
.btn-dark { background: var(--bg); color: var(--lime); border-color: var(--bg); }
.btn-dark:hover { background: var(--bg-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.btn-dark-outline { border: 2px solid var(--bg); color: var(--bg); background: transparent; }
.btn-dark-outline:hover { background: var(--bg); color: var(--lime); transform: translateY(-2px); }

/* === Sections === */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-dark); }
.section-lime { background: var(--lime); }
.section-label {
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--lime); letter-spacing: 0.15em; margin-bottom: 16px;
  text-transform: uppercase;
}
.section-label.dark { color: var(--bg); opacity: 0.6; }
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15; margin-bottom: 20px;
}
.section-title.dark { color: var(--bg); }
.accent { color: var(--lime); }
.section-text { color: var(--gray); font-size: 1.05rem; max-width: 640px; line-height: 1.7; }
.section-text.dark { color: var(--bg); opacity: 0.8; }
.solution-text { max-width: 700px; }
.subsection-title {
  font-size: 1.15rem; font-weight: 700;
  margin-top: 56px; margin-bottom: 24px;
  padding-top: 32px; border-top: 1px solid var(--border);
}

/* === Two Col === */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 16px; }

/* === Problem Cards === */
.problem-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.problem-card {
  padding: 20px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.problem-card:hover { border-color: rgba(181, 195, 39, 0.3); }
.problem-icon { color: var(--lime); margin-bottom: 10px; }
.problem-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.problem-card p { font-size: 0.8rem; color: var(--gray); }

/* === Ethics Grid === */
.ethics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.ethics-card {
  padding: 24px 28px; background: var(--bg-dark);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.ethics-card:hover { border-color: rgba(181, 195, 39, 0.3); }
.ethics-card h4 { font-size: 1rem; margin-bottom: 8px; color: var(--lime); }
.ethics-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }

/* === Features Grid === */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature-card {
  padding: 32px 28px; background: var(--bg-dark);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all 0.3s;
}
.feature-card:hover { border-color: rgba(181, 195, 39, 0.3); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.feature-icon { color: var(--lime); margin-bottom: 18px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }

/* === Architecture Diagram === */
.arch-diagram {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin: 48px 0; padding: 40px 24px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--radius); overflow-x: auto;
}
.arch-node {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); min-width: 180px; text-align: center;
}
.arch-node-transport { border-color: rgba(181, 195, 39, 0.3); }
.arch-node-header {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.1em; padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--lime); font-weight: 600;
}
.arch-node-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.arch-node-body span { font-size: 0.82rem; color: var(--gray); }
.arch-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.arch-arrow-label { font-size: 0.7rem; color: var(--gray); white-space: nowrap; }

/* === Tech Grid === */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tech-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.tech-name { font-family: var(--font-mono); font-size: 0.88rem; color: var(--lime); }
.tech-desc { font-size: 0.82rem; color: var(--gray); }

/* === Crypto Grid === */
.crypto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.crypto-card {
  padding: 24px; background: var(--bg-dark);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  text-align: center;
}
.crypto-name { font-family: var(--font-mono); font-size: 1rem; color: var(--lime); margin-bottom: 6px; font-weight: 600; }
.crypto-use { font-size: 0.85rem; color: var(--gray); }

/* === Algo Grid === */
.algo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.algo-card {
  padding: 28px; background: var(--bg-dark);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.algo-number { font-family: var(--font-mono); font-size: 2rem; color: var(--lime); opacity: 0.4; margin-bottom: 12px; font-weight: 700; }
.algo-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.algo-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }

/* === Steps === */
.steps-grid { display: flex; align-items: flex-start; gap: 0; margin-top: 48px; }
.step { flex: 1; text-align: center; padding: 0 16px; }
.step-num {
  font-family: var(--font-mono); font-size: 1.8rem;
  color: var(--lime); opacity: 0.5; margin-bottom: 12px; font-weight: 700;
}
.step h4 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }
.step-line {
  width: 60px; height: 1px; background: var(--border);
  margin-top: 22px; flex-shrink: 0;
}

/* === Testing === */
.testing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.test-card {
  padding: 24px; background: var(--bg-dark);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  text-align: center;
}
.test-icon { font-size: 1.6rem; margin-bottom: 12px; display: block; color: var(--lime); }
.test-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.test-card p { font-size: 0.82rem; color: var(--gray); }
.testing-components {
  margin-top: 36px; padding: 28px 32px;
  background: var(--bg-dark); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.testing-components h4 { font-size: 1rem; margin-bottom: 14px; color: var(--lime); }
.component-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.component-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 0.78rem;
  padding: 6px 14px; border-radius: 6px;
  background: rgba(181, 195, 39, 0.08); border: 1px solid rgba(181, 195, 39, 0.25);
  color: var(--lime); white-space: nowrap;
}

/* === Team === */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.team-card {
  padding: 32px 24px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center; transition: all 0.3s;
}
.team-card:hover { border-color: rgba(181, 195, 39, 0.3); transform: translateY(-4px); }
.team-photo {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  margin: 0 auto 16px; border: 3px solid rgba(181, 195, 39, 0.3);
  background: var(--bg-dark);
}
.team-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--lime); margin-bottom: 16px; font-weight: 500; }
.team-card ul { text-align: left; }
.team-card li {
  font-size: 0.82rem; color: var(--gray); padding: 3px 0 3px 16px; position: relative;
}
.team-card li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; background: var(--border); border-radius: 50%; }

/* === Timeline === */
.timeline { position: relative; margin-top: 48px; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 40px; display: flex; gap: 20px; align-items: flex-start; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: -40px; top: 4px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--lime);
  display: flex; align-items: center; justify-content: center;
}
.timeline-dot::after { content: ''; width: 8px; height: 8px; background: var(--lime); border-radius: 50%; }
.timeline-date {
  font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--lime); min-width: 140px; padding-top: 2px;
}
.timeline-content h4 { font-size: 1rem; margin-bottom: 4px; }
.timeline-content p { font-size: 0.88rem; color: var(--gray); }

/* === Solution features pills === */
.solution-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill-dark { border-color: rgba(26, 29, 35, 0.3); color: var(--bg); background: rgba(26, 29, 35, 0.08); }

/* === Dev Details === */
.dev-details { margin-top: 16px; }
.detail-list { list-style: none; padding: 0; }
.detail-list li {
  font-size: 0.88rem; color: var(--gray); padding: 6px 0 6px 20px; position: relative; line-height: 1.5;
}
.detail-list li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; background: var(--lime); border-radius: 50%; }

/* === Future Grid === */
.future-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.future-card {
  padding: 28px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all 0.3s;
}
.future-card:hover { border-color: rgba(181, 195, 39, 0.3); transform: translateY(-4px); }
.future-num { font-family: var(--font-mono); font-size: 2rem; color: var(--lime); opacity: 0.3; margin-bottom: 12px; font-weight: 700; }
.future-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.future-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }

/* === CTA === */
.cta-section { text-align: center; padding: 20px 0; }
.cta-section .section-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); word-wrap: break-word; }
.cta-section .section-text { max-width: 600px; margin: 0 auto; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* === Footer === */
.footer {
  padding: 48px 0 32px; border-top: 1px solid var(--border);
  background: var(--bg-dark);
}
.footer-inner { text-align: center; }
.footer-brand { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 4px; }
.footer-logo-link { display: inline-flex; align-items: center; gap: 8px; transition: opacity 0.2s; }
.footer-logo-link:hover { opacity: 0.8; }
.footer-logo-img { width: 24px; height: 24px; border-radius: 4px; }
.footer-brand p { font-size: 0.82rem; color: var(--gray); margin-top: 6px; font-family: var(--font-body); }
.footer-links { display: flex; gap: 24px; justify-content: center; margin: 20px 0; }
.footer-links a { font-size: 0.88rem; color: var(--gray); transition: color 0.2s; }
.footer-links a:hover { color: var(--lime); }
.footer-copy { font-size: 0.78rem; color: var(--gray); opacity: 0.6; }

/* === Responsive === */
@media (max-width: 1024px) {
  .features-grid, .crypto-grid, .algo-grid, .future-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testing-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .component-tags { gap: 6px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(26, 29, 35, 0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .features-grid, .crypto-grid, .algo-grid, .future-grid, .ethics-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .testing-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; align-items: center; gap: 24px; }
  .step-line { width: 1px; height: 30px; }
  .arch-diagram { flex-direction: column; gap: 0; padding: 24px 16px; }
  .arch-node { min-width: 0; width: 100%; max-width: 280px; }
  .arch-arrow { padding: 4px 0; }
  .arch-arrow svg { display: none; }
  .arch-arrow::before {
    content: ''; display: block; width: 2px; height: 28px;
    background: var(--lime); margin: 0 auto;
  }
  .arch-arrow::after {
    content: ''; display: block; width: 0; height: 0;
    border-left: 6px solid transparent; border-right: 6px solid transparent;
    border-top: 8px solid var(--lime); margin: 0 auto;
  }
  .arch-arrow-label { font-size: 0.65rem; order: -1; }
  .section { padding: 64px 0; }
  .hero { padding: 100px 24px 80px; }
  .hero-logo { width: 180px; height: 180px; border-radius: 28px; margin-bottom: 28px; }
  .hero-caption { margin-bottom: 48px; }
  .hero-scroll-hint { bottom: 20px; }
  .problem-cards { grid-template-columns: 1fr; }
}

/* === Light Theme Overrides === */
[data-theme="light"] body { background: var(--bg); color: var(--white); }
[data-theme="light"] .hero-title {
  background: linear-gradient(135deg, #1a1d23 0%, #3a3f4a 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
[data-theme="light"] .hero-bg-grid {
  background-image:
    linear-gradient(rgba(122, 138, 16, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 138, 16, 0.06) 1px, transparent 1px);
}
[data-theme="light"] .section-dark { background: var(--bg-dark); }
[data-theme="light"] .section-lime { background: var(--lime); }
[data-theme="light"] .section-lime .section-label.dark { color: #1a1d23; }
[data-theme="light"] .section-lime .section-title.dark { color: #1a1d23; }
[data-theme="light"] .section-lime .section-text.dark { color: #1a1d23; }
[data-theme="light"] .section-lime .pill-dark { border-color: rgba(26, 29, 35, 0.3); color: #1a1d23; }
[data-theme="light"] .section-lime .btn-dark { background: #1a1d23; color: #b5c327; border-color: #1a1d23; }
[data-theme="light"] .section-lime .btn-dark-outline { border-color: #1a1d23; color: #1a1d23; }
[data-theme="light"] .section-lime .btn-dark-outline:hover { background: #1a1d23; color: #b5c327; }
[data-theme="light"] .feature-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="light"] .crypto-card { background: var(--bg-card); }
[data-theme="light"] .algo-card { background: var(--bg-card); }
[data-theme="light"] .test-card { background: var(--bg-card); }
[data-theme="light"] .testing-components { background: var(--bg-card); }
[data-theme="light"] .component-tag { background: rgba(122, 138, 16, 0.08); border-color: rgba(122, 138, 16, 0.3); }
[data-theme="light"] .pill { border-color: rgba(122, 138, 16, 0.4); color: var(--lime); background: rgba(122, 138, 16, 0.08); }
[data-theme="light"] .btn-outline { border-color: rgba(0,0,0,0.2); color: var(--white); }
[data-theme="light"] .btn-outline:hover { border-color: var(--white); background: rgba(0,0,0,0.03); }
[data-theme="light"] .nav-links a { color: var(--gray); }
[data-theme="light"] .nav-links a:hover { color: var(--white); }
[data-theme="light"] .nav-btn { border-color: var(--lime); color: var(--lime) !important; }
[data-theme="light"] .nav-btn:hover { background: var(--lime); color: #fff !important; }
[data-theme="light"] .arch-diagram { background: rgba(0,0,0,0.02); }
[data-theme="light"] .arch-node { background: var(--bg-card); }
[data-theme="light"] .tech-item { background: rgba(0,0,0,0.02); }
[data-theme="light"] .problem-card { background: rgba(0,0,0,0.02); }
[data-theme="light"] .ethics-card { background: var(--bg-card); }
[data-theme="light"] .team-card { background: rgba(0,0,0,0.02); }
[data-theme="light"] .future-card { background: rgba(0,0,0,0.02); }
[data-theme="light"] .footer { background: var(--bg-dark); }
[data-theme="light"] .hero-scroll-hint { color: var(--gray); }
[data-theme="light"] .scroll-chevrons svg { color: var(--lime); }

/* === Animations === */
@media (prefers-reduced-motion: no-preference) {
  .feature-card, .crypto-card, .algo-card, .team-card, .future-card, .problem-card, .test-card {
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
  }
  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
  .features-grid > :nth-child(1) { animation-delay: 0.05s; }
  .features-grid > :nth-child(2) { animation-delay: 0.1s; }
  .features-grid > :nth-child(3) { animation-delay: 0.15s; }
  .features-grid > :nth-child(4) { animation-delay: 0.2s; }
  .features-grid > :nth-child(5) { animation-delay: 0.25s; }
  .features-grid > :nth-child(6) { animation-delay: 0.3s; }
}
