/* ═══════════════════════════════════════════════════════════
   GROWTH LAB GAMES — DESIGN SYSTEM
   Brand: Industrial Pastel · Plant-Punk · Scientific Minimalism
   Presented by the Shamelyss Growth Project
═══════════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Colors */
  --green-primary:   #4F6B4A;
  --green-secondary: #8A9A6E;
  --green-muted:     #A8BFA4;
  --green-light:     #D4E4D0;
  --green-xlight:    #EBF3E8;
  --pink-pastel:     #E7C4C9;
  --pink-light:      #F5E8EA;
  --charcoal:        #3A3A3C;
  --charcoal-light:  #5A5A5C;
  --charcoal-xlight: #8A8A8C;
  --off-white:       #F7F5F2;
  --white:           #FFFFFF;
  --plum:            #7A5C6A;
  --plum-light:      #C4A8B4;
  --plum-xlight:     #F0E8EC;

  /* Semantic */
  --bg:              var(--off-white);
  --bg-card:         var(--white);
  --text-primary:    var(--charcoal);
  --text-secondary:  var(--charcoal-light);
  --text-muted:      var(--charcoal-xlight);
  --border:          #E2DDD8;
  --border-strong:   #C8C2BC;

  /* Typography */
  --font-head:  'Manrope', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --font-accent:'DM Sans', system-ui, sans-serif;

  /* 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;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(58,58,60,0.08);
  --shadow-md:  0 4px 16px rgba(58,58,60,0.10);
  --shadow-lg:  0 8px 32px rgba(58,58,60,0.12);
  --shadow-xl:  0 16px 48px rgba(58,58,60,0.14);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 220ms;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

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

/* ── LAB PAPER GRID BACKGROUND ── */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,107,74,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,107,74,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 3px solid var(--green-primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--off-white);
  border: 2px solid var(--green-primary);
}
.btn-primary:hover {
  background: #3d5439;
  border-color: #3d5439;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
}
.btn-outline:hover {
  background: var(--green-xlight);
  transform: translateY(-1px);
}

.btn-plum {
  background: var(--plum);
  color: var(--off-white);
  border: 2px solid var(--plum);
}
.btn-plum:hover {
  background: #634a56;
  border-color: #634a56;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--green-primary);
  border: 2px solid var(--white);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-lg {
  padding: 0.875rem 1.875rem;
  font-size: 1rem;
}

/* ── SECTION SHARED ── */
section { padding: var(--space-4xl) 0; }

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-secondary);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247,245,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--duration) var(--ease);
}
.nav-header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
}

.nav-brand-sub {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
  text-decoration: none;
}
.nav-link:hover { color: var(--green-primary); background: var(--green-xlight); }

.nav-link-exchange {
  color: var(--plum);
  font-weight: 600;
}
.nav-link-exchange:hover { background: var(--plum-xlight); color: var(--plum); }

.nav-cta { margin-left: var(--space-sm); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: calc(72px + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  overflow: hidden;
  background: var(--off-white);
}

.hero-hexagons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hex {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.06;
  background: var(--green-primary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hex-1 { top: 10%; right: 5%;  width: 180px; height: 180px; opacity: 0.05; }
.hex-2 { top: 60%; right: 15%; width: 80px;  height: 80px;  opacity: 0.08; }
.hex-3 { top: 20%; left: 2%;   width: 60px;  height: 60px;  opacity: 0.07; }
.hex-4 { bottom: 10%; left: 8%; width: 140px; height: 140px; opacity: 0.04; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--green-xlight);
  border: 1px solid var(--green-light);
  color: var(--green-primary);
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}

.hero-title-accent {
  color: var(--green-primary);
  position: relative;
}

.hero-sub {
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.trust-item {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-secondary);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 260px;
}

.hero-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

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

.hero-logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--green-primary);
  animation: ring-pulse 3s ease-in-out infinite;
}
.ring-1 { width: 200px; height: 200px; opacity: 0.15; animation-delay: 0s; }
.ring-2 { width: 240px; height: 240px; opacity: 0.08; animation-delay: 0.5s; }
.ring-3 { width: 280px; height: 280px; opacity: 0.04; animation-delay: 1s; }

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.04); opacity: 0.08; }
}

.hero-stats {
  display: flex;
  gap: var(--space-md);
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   PATHS
═══════════════════════════════════════════════════════════ */
.paths { background: var(--white); }

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

.path-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.path-exchange::before { background: var(--plum); }

.path-card:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.path-exchange:hover { border-color: var(--plum); }

.path-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.path-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--green-xlight);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
}
.path-icon-plum { background: var(--plum-xlight); }

.path-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.path-badge {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}
.path-badge-games {
  background: var(--green-xlight);
  color: var(--green-primary);
  border: 1px solid var(--green-light);
}
.path-badge-exchange {
  background: var(--plum-xlight);
  color: var(--plum);
  border: 1px solid var(--plum-light);
}

.path-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.path-url {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.path-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

.path-features {
  list-style: none;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.path-features li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border);
}
.path-features li:last-child { border-bottom: none; }

.path-cta { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════
   USE CASES
═══════════════════════════════════════════════════════════ */
.use-cases { background: var(--off-white); }

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

.use-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration) var(--ease);
}

.use-card:hover {
  border-color: var(--green-muted);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.use-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.use-card-title {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.use-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.use-card-list {
  list-style: none;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.use-card-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: var(--space-md);
  position: relative;
}
.use-card-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--green-secondary);
  font-weight: 700;
}

.use-card-link {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-primary);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
.use-card-link:hover { color: #3d5439; }

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════ */
.how-it-works { background: var(--white); }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: var(--space-md);
}

.step {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--duration) var(--ease);
}
.step:hover {
  border-color: var(--green-muted);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--green-muted);
  margin-bottom: var(--space-sm);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.step-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  width: 32px;
  height: 2px;
  background: var(--green-light);
  align-self: center;
  margin-top: -20px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   GAME MODES
═══════════════════════════════════════════════════════════ */
.game-modes { background: var(--off-white); }

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

.mode-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration) var(--ease);
  position: relative;
}

.mode-card:hover {
  border-color: var(--green-muted);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.mode-card-featured {
  border-color: var(--green-primary);
  background: var(--green-xlight);
}
.mode-card-featured:hover { border-color: var(--green-primary); }

.mode-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-primary);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.mode-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.mode-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.mode-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

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

.tag {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--green-xlight);
  color: var(--green-primary);
  border: 1px solid var(--green-light);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
}

.mode-card-featured .tag {
  background: var(--white);
  border-color: var(--green-muted);
}

/* ═══════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════ */
.pricing { background: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.pricing-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration) var(--ease);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--green-muted);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pricing-card-featured {
  background: var(--green-xlight);
  border-color: var(--green-primary);
  transform: scale(1.02);
}
.pricing-card-featured:hover {
  transform: scale(1.02) translateY(-3px);
  border-color: var(--green-primary);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-primary);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-secondary);
  margin-bottom: var(--space-sm);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.price-amount {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1;
}

.price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  min-height: 48px;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-btn { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════
   SAFETY
═══════════════════════════════════════════════════════════ */
.safety { background: var(--off-white); }

.safety-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.safety-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.safety-badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.safety-badge {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}

.safety-badge-icon { font-size: 1.5rem; flex-shrink: 0; }

.safety-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--charcoal);
}

.safety-badge span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Safety Layers */
.safety-layers {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.safety-layer {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.layer-icon { font-size: 1.25rem; flex-shrink: 0; }

.layer-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.layer-content strong {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--charcoal);
}

.layer-content span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.layer-status {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.layer-active {
  background: var(--green-xlight);
  color: var(--green-primary);
  border: 1px solid var(--green-light);
}

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.faq { background: var(--white); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}
.faq-item:hover { border-color: var(--green-muted); }
.faq-item.open { border-color: var(--green-primary); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--duration) var(--ease);
}
.faq-question:hover { color: var(--green-primary); }

.faq-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--green-primary);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
  border-top: 1px solid var(--border);
}
.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-top: var(--space-md);
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--green-primary);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

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

.cta-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.cta-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.cta-note {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-4xl);
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand-sub {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.5);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

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

.compliance-badge {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.08);
  color: var(--green-muted);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
.footer-col a:hover { color: var(--green-muted); }

.footer-bottom {
  text-align: center;
}

.footer-copy {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-xs);
}

.footer-copy-sub {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card-featured { transform: none; }
  .pricing-card-featured:hover { transform: translateY(-3px); }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  .step-connector { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .container { padding: 0 var(--space-lg); }
  section { padding: var(--space-3xl) 0; }

  /* Nav */
  .nav-inner { height: 64px; }
  .nav-brand-sub { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-xs);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: var(--space-md); border-radius: var(--radius-md); }
  .nav-cta { width: 100%; justify-content: center; margin-left: 0; margin-top: var(--space-sm); }

  /* Hero */
  .hero { padding-top: calc(64px + var(--space-2xl)); }
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .hero-visual { order: -1; }
  .hero-logo-wrap { width: 200px; height: 200px; }
  .hero-logo { width: 120px; height: 120px; }
  .ring-1 { width: 160px; height: 160px; }
  .ring-2 { width: 190px; height: 190px; }
  .ring-3 { width: 220px; height: 220px; }
  .hero-stats { gap: var(--space-sm); }
  .stat-card { padding: var(--space-sm) var(--space-md); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Paths */
  .paths-grid { grid-template-columns: 1fr; }

  /* Use Cases */
  .use-cases-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; }

  /* Modes */
  .modes-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }

  /* Safety */
  .safety-inner { grid-template-columns: 1fr; gap: var(--space-2xl); }

  /* Footer */
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }

  /* Nav brand: logo centered above text on mobile */
  .nav-brand { flex-direction: row; }
}

@media (max-width: 480px) {
  .hero-trust { flex-direction: column; gap: var(--space-xs); }
  .footer-links-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}