/* ============================================
   DESERVATION — Papyrus & Golden Amber Theme
   Da Vinci / Web3 / Human Potential
   Design by 530 Expert (530.expert)
   ============================================ */

/* --- CSS Variables --- */
:root {
  --papyrus: #f4e8c1;
  --papyrus-light: #faf3e0;
  --papyrus-dark: #e8d5a3;
  --amber: #c8922a;
  --amber-light: #daa94d;
  --amber-dark: #a67721;
  --ink: #2c1810;
  --ink-light: #4a3428;
  --ink-muted: #6b5446;
  --cream: #fdfaf3;
  --gold-glow: rgba(200, 146, 42, 0.15);
  --gold-glow-strong: rgba(200, 146, 42, 0.35);
  --shadow-warm: rgba(44, 24, 16, 0.12);
  --shadow-deep: rgba(44, 24, 16, 0.25);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1200px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--papyrus);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Papyrus Texture Overlay --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background-image: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* --- Selection --- */
::selection {
  background: var(--amber);
  color: var(--cream);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--papyrus-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--amber);
  border-radius: 4px;
}

/* --- Links --- */
a {
  color: var(--amber-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--amber);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); letter-spacing: 0em; }

p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-light);
  max-width: 680px;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(244, 232, 193, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--papyrus-dark);
  transition: all 0.4s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 30px var(--shadow-warm);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--amber);
  position: relative;
}

.nav-logo .logo-icon::after {
  content: '✦';
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-muted);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--amber);
  transition: width 0.4s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--amber-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-display) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  background: var(--ink) !important;
  color: var(--papyrus) !important;
  padding: 0.7rem 1.8rem !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--amber-dark) !important;
  color: var(--cream) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--ink);
  color: var(--papyrus);
}

.btn-primary:hover {
  background: var(--amber-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--papyrus);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: var(--cream);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow-strong);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Vitruvian Man SVG background */
.hero-bg .vitruvian {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  opacity: 0.06;
}

/* Golden ratio spiral */
.hero-bg .spiral {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 100vw);
  height: min(900px, 100vw);
  opacity: 0.04;
}

/* Radial glow */
.hero-bg .glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--gold-glow-strong) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: var(--gold-glow);
  border: 1px solid rgba(200, 146, 42, 0.3);
  padding: 0.5rem 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease 0.2s both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ink-muted);
  margin: 0 auto 2.5rem;
  max-width: 600px;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  animation: fadeIn 1s ease 1.2s both;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* --- Sections --- */
.section {
  padding: 7rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  display: block;
}

.section-header p {
  margin: 1rem auto 0;
  text-align: center;
}

/* Decorative divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  width: 200px;
  padding: 1.5rem 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--amber), transparent);
}

.divider .ornament {
  color: var(--amber);
  font-size: 0.8rem;
}

/* --- Cards --- */
.card {
  background: var(--papyrus-light);
  border: 1px solid var(--papyrus-dark);
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-warm);
  border-color: var(--amber);
}

.card-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-glow-strong);
  line-height: 1;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --- Problem Section --- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-visual .circle {
  width: 300px;
  height: 300px;
  border: 1px solid var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.problem-visual .circle::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px dashed rgba(200, 146, 42, 0.4);
  border-radius: 50%;
}

.problem-visual .stat {
  text-align: center;
}

.problem-visual .stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--amber-dark);
}

.problem-visual .stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.problem-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 1.05rem;
}

.problem-list li .icon {
  color: var(--amber);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* --- Potential Graph Section --- */
.graph-section {
  background: var(--ink);
  color: var(--papyrus);
  overflow: hidden;
}

.graph-section h2,
.graph-section h3 {
  color: var(--papyrus);
}

.graph-section .section-header p {
  color: var(--papyrus-dark);
}

.graph-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
}

.graph-axes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin: 3rem auto 0;
}

.axis-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(200, 146, 42, 0.2);
  background: rgba(200, 146, 42, 0.05);
  transition: all 0.3s ease;
}

.axis-item:hover {
  border-color: var(--amber);
  background: rgba(200, 146, 42, 0.1);
}

.axis-bar {
  width: 40px;
  height: 4px;
  background: var(--amber);
  opacity: 0.6;
}

.axis-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--papyrus);
}

/* --- Protocol Layers --- */
.layers-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.layer-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--papyrus-dark);
  border-bottom: none;
  position: relative;
  transition: all 0.3s ease;
}

.layer-item:last-child {
  border-bottom: 1px solid var(--papyrus-dark);
}

.layer-item:hover {
  background: var(--gold-glow);
  border-color: var(--amber);
}

.layer-item:hover + .layer-item {
  border-top-color: var(--amber);
}

.layer-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  width: 50px;
  text-align: center;
}

.layer-content h3 {
  margin-bottom: 0.3rem;
}

.layer-content p {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* --- Network Tiers --- */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tier-card {
  background: var(--papyrus-light);
  border: 1px solid var(--papyrus-dark);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.tier-card:hover::before {
  transform: scaleX(1);
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-warm);
}

.tier-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.tier-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.tier-card p {
  font-size: 0.95rem;
  text-align: center;
  margin: 0 auto;
}

/* --- Roadmap --- */
.roadmap-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 3rem;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--amber), transparent);
}

.roadmap-item {
  position: relative;
  padding: 0 0 3rem 2rem;
}

.roadmap-item::before {
  content: '';
  position: absolute;
  left: -3.35rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--papyrus), 0 0 0 5px var(--amber);
}

.roadmap-item .phase-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.roadmap-item h3 {
  margin-bottom: 0.5rem;
}

.roadmap-item p {
  font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--ink);
  color: var(--papyrus);
  text-align: center;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--papyrus);
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-section p {
  color: var(--papyrus-dark);
  text-align: center;
  margin: 0 auto 2.5rem;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* --- Footer --- */
.footer {
  background: var(--ink);
  color: var(--papyrus-dark);
  border-top: 1px solid rgba(200, 146, 42, 0.15);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--papyrus);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--papyrus-dark);
  max-width: 300px;
  opacity: 0.7;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--papyrus);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--papyrus-dark);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--amber);
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 232, 193, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--papyrus-dark);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(200, 146, 42, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 232, 193, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

.footer-bottom a {
  color: var(--papyrus-dark);
}

.footer-bottom a:hover {
  color: var(--amber);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- White Paper Page --- */
.wp-hero {
  padding: calc(var(--nav-height) + 6rem) 0 4rem;
  text-align: center;
  position: relative;
}

.wp-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

.wp-content h2 {
  margin: 3rem 0 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--papyrus-dark);
}

.wp-content h3 {
  margin: 2rem 0 1rem;
  color: var(--amber-dark);
}

.wp-content p {
  margin-bottom: 1.2rem;
  max-width: none;
}

.wp-content ul {
  list-style: none;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.wp-content ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--ink-light);
}

.wp-content ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 0.6rem;
  top: 0.4rem;
}

.wp-toc {
  background: var(--papyrus-light);
  border: 1px solid var(--papyrus-dark);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
}

.wp-toc h3 {
  margin-top: 0;
  border: none;
  padding: 0;
}

.wp-toc ol {
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.wp-toc ol li {
  margin-bottom: 0.4rem;
}

.wp-toc a {
  font-size: 0.95rem;
}

/* --- Community Page --- */
.community-hero {
  padding: calc(var(--nav-height) + 6rem) 0 4rem;
  text-align: center;
}

.community-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--papyrus-light);
  border: 1px solid var(--papyrus-dark);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-warm);
  border-color: var(--amber);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  margin-bottom: 0.8rem;
}

.feature-card p {
  font-size: 0.95rem;
  margin: 0 auto;
  text-align: center;
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(244, 232, 193, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    border-bottom: 1px solid var(--papyrus-dark);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .hero { min-height: 90vh; }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .problem-visual { order: -1; }
  .grid-2, .grid-3, .community-features {
    grid-template-columns: 1fr;
  }
  .graph-axes {
    grid-template-columns: 1fr;
  }
  .tiers-grid, .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .section { padding: 5rem 0; }
  .cta-section { padding: 5rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
