/* Main Stylesheet - Layout & Components */

/* ========================================
   CURSOR FOLLOWER
   ======================================== */

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  font-family: var(--font-mono, monospace);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-primary, #5E6AD2);
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
  user-select: none;
}

.cursor-follower.visible {
  opacity: 1;
}

/* ========================================
   RESET & BASE
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-regular);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mono);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--ease-micro);
}

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

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

/* ========================================
   NOISE OVERLAY
   ======================================== */

/* Noise overlay removed — clean backgrounds */

/* ========================================
   TWO-TONE TEXT
   ======================================== */

.text-muted {
  color: var(--text-tertiary);
}

/* ========================================
   CONTAINER
   ======================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: var(--section-gap) 0;
}

/* ========================================
   SECTION HEADER
   ======================================== */

/* Section header — default (centered) */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: var(--text-mini);
  font-weight: var(--weight-medium);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}

.section-header h2 {
  font-size: var(--title-1);
  margin-bottom: var(--space-6);
}

.section-description {
  font-size: var(--text-large);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 640px;
  margin: 0 auto;
}

/* Section header — split (two-column) */
.section-header-split {
  text-align: left;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
  margin-bottom: var(--space-16);
}

.section-header-split h2 {
  font-size: var(--title-1);
  margin-bottom: 0;
}

.section-header-split .section-description {
  margin: 0;
  max-width: none;
  font-size: var(--text-large);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.section-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-small);
  font-family: var(--font-mono);
  color: var(--text-quaternary);
  margin-top: var(--space-8);
  transition: color var(--ease-micro), gap var(--ease-micro);
  letter-spacing: 0.02em;
}

.section-nav::after {
  content: '\2192';
  transition: transform var(--ease-micro);
}

.section-nav:hover {
  color: var(--text-secondary);
  gap: var(--space-3);
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-default);
  transition: background var(--ease-base), border-color var(--ease-base);
}

.nav-header.scrolled {
  background: rgba(10, 10, 11, 0.92);
  border-bottom-color: var(--border-hover);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
}

/* Logo mark */
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-secondary);
}

.logo-mark:hover { opacity: 0.85; }

.logo-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  top: -1px;
  color: var(--accent-primary);
}

.logo-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
  word-spacing: -0.2em;
  color: var(--text-secondary);
}

.logo-ai {
  font-weight: 700;
  color: var(--accent-primary);
}

/* Footer logo variant */
.logo-mark-footer {
  opacity: 0.7;
}

.logo-mark-footer .logo-icon {
  width: 20px;
  height: 20px;
}

.logo-mark-footer .logo-text {
  font-size: 16px;
}

.logo-mark-footer:hover { opacity: 0.85; }

.nav-links {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}

.nav-links a {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  transition: color var(--ease-micro);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links .btn-primary {
  margin-left: var(--space-4);
  color: #FFFFFF;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
}

.mobile-menu-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: all var(--ease-micro);
  border-radius: 1px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: var(--z-modal);
  padding: var(--space-20) var(--space-6);
  opacity: 0;
  transform: translateY(-100%);
  transition: all var(--ease-base);
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a {
  font-size: var(--title-3);
  font-weight: var(--weight-semibold);
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-size: var(--title-2);
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  font-family: var(--font-mono);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--ease-fast);
  border: none;
  text-decoration: none;
  gap: var(--space-2);
}

.btn-primary {
  background: var(--accent-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #FFFFFF;
}

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

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 16px;
}

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

/* ========================================
   HERO
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--space-32);
  padding-bottom: var(--space-20);
}

/* Hero glow removed — clean backgrounds */

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  font-family: var(--font-mono);
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: var(--text-mini);
  font-weight: var(--weight-medium);
  color: var(--text-tertiary);
  margin-bottom: var(--space-8);
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 8px rgba(77, 170, 110, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: var(--title-hero);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-6);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: var(--text-large);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
}

/* Blueprint background layer — fills hero, sits behind text */
.hero-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
  perspective: 1800px;
}

/* Gradient fade so left-side text stays readable */
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg-primary) 22%,
    rgba(10, 10, 11, 0.75) 35%,
    rgba(10, 10, 11, 0.15) 55%,
    transparent 70%
  );
  z-index: 1;
}

.hero-network {
  width: 110%;
  height: auto;
  max-width: none;
  transform: rotateX(50deg) rotateZ(-40deg) translateX(15%) scale(1.2);
  transform-origin: center center;
}


/* ========================================
   STATS
   ======================================== */

.stats {
  padding: var(--space-20) 0;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}

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

.stat-item {
  text-align: center;
  padding: var(--space-6);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: var(--title-2);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: var(--text-mini);
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--weight-medium);
}

/* ========================================
   ABOUT
   ======================================== */

.about {
  padding: var(--section-gap) 0;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-story-text {
  color: var(--text-secondary);
  font-size: var(--text-large);
  line-height: var(--leading-relaxed);
}

.about-story-text p {
  margin-bottom: var(--space-6);
}

.about-story-text strong {
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
}

.about-story-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-default);
}

.about-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   SELECTION (WHO GETS IN)
   ======================================== */

.selection {
  padding: var(--section-gap) 0;
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.selection-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-inset);
}

.selection-card h3 {
  font-size: var(--title-4);
  margin-bottom: var(--space-6);
}

.selection-yes h3 {
  color: var(--color-purple);
}

.selection-no h3 {
  color: var(--text-tertiary);
}

.selection-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.selection-list li {
  font-size: var(--text-regular);
  color: var(--text-secondary);
  padding-left: var(--space-6);
  position: relative;
  line-height: var(--leading-normal);
}

.selection-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.selection-yes .selection-list li::before {
  background: var(--color-purple);
  opacity: 0.7;
}

.selection-no .selection-list li::before {
  background: var(--text-quaternary);
  opacity: 0.6;
}

.selection-cta {
  text-align: center;
  margin-top: var(--space-12);
}

.selection-cta-text {
  font-size: var(--text-large);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

/* ========================================
   SPACE
   ======================================== */

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

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

.space-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  box-shadow: var(--shadow-inset);
}

.space-card:hover {
  border-color: var(--border-hover);
}

.space-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.space-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-base);
}

.space-card:hover .space-card-image img {
  transform: scale(1.03);
}

.space-card-content {
  padding: var(--space-6);
}

.space-card-label {
  font-size: var(--text-mini);
  font-weight: var(--weight-medium);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  margin-bottom: var(--space-2);
  display: block;
}

.space-card h3 {
  font-size: var(--title-4);
  margin-bottom: var(--space-2);
}

.space-card p {
  font-size: var(--text-small);
  color: var(--text-tertiary);
  line-height: var(--leading-normal);
  margin-bottom: 0;
}

/* ========================================
   WHAT'S INCLUDED
   ======================================== */

.included {
  padding: var(--section-gap) 0;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.included-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--ease-fast);
  box-shadow: var(--shadow-inset);
}

.included-card:hover {
  border-color: var(--border-hover);
}

.included-icon {
  font-size: var(--text-mini);
  font-weight: var(--weight-semibold);
  color: var(--accent-primary);
  margin-bottom: var(--space-5);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.included-card h3 {
  font-size: var(--title-4);
  margin-bottom: var(--space-3);
}

.included-card p {
  font-size: var(--text-small);
  color: var(--text-tertiary);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

/* ========================================
   GALLERY
   ======================================== */

.gallery-section {
  padding: var(--section-gap) 0;
  overflow: hidden;
}

.gallery-scroll {
  display: flex;
  gap: var(--space-4);
  padding: 0 var(--space-6);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.gallery-scroll.dragging {
  cursor: grabbing;
}

.gallery-scroll img {
  width: 400px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
  border: 1px solid var(--border-default);
  pointer-events: none;
}

/* ========================================
   FOUNDER STORY
   ======================================== */

.founder-story {
  padding: var(--section-gap) 0;
}

.founder-story-layout {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: var(--space-16);
  align-items: start;
}

.founder-story-text {
  max-width: 560px;
}

.founder-story-text .section-nav {
  display: block;
  margin-bottom: var(--space-4);
}

.founder-story-text .section-nav::after {
  display: none;
}

.founder-story-text h2 {
  font-size: var(--title-1);
  margin-bottom: var(--space-6);
}

.founder-story-text p {
  font-size: var(--text-large);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.founder-story-text strong {
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
}

.founder-story-divider {
  width: 100%;
  height: 1px;
  background: var(--border-default);
  margin: var(--space-6) 0;
}

.founder-story-attribution {
  margin-bottom: var(--space-8);
}

.founder-name {
  font-size: var(--title-4);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.founder-title {
  font-size: var(--text-small);
  color: var(--text-tertiary);
}

.founder-story-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xl);
  max-height: 360px;
}

.founder-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   EVENTS
   ======================================== */

.events {
  padding: var(--section-gap) 0;
}

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

.event-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  box-shadow: var(--shadow-inset);
}

.event-card:hover {
  border-color: var(--border-hover);
}

.event-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.event-card-body {
  padding: var(--space-6);
}

.event-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(94, 106, 210, 0.1);
  border: 1px solid rgba(94, 106, 210, 0.25);
  border-radius: var(--radius-sm);
  font-size: var(--text-mini);
  font-weight: var(--weight-medium);
  font-family: var(--font-mono);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
}

.event-card h3 {
  font-size: var(--title-4);
  margin-bottom: var(--space-2);
}

.event-card p {
  font-size: var(--text-small);
  color: var(--text-tertiary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-3);
}

.event-card-link {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  font-family: var(--font-mono);
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--ease-micro);
}

.event-card-link::after {
  content: '\2192';
}

.event-card-link:hover {
  color: var(--accent-hover);
  gap: var(--space-3);
}

.venue-callout {
  margin-top: var(--space-12);
  padding: var(--space-8) var(--space-10);
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  text-align: center;
}

.venue-callout-content h3 {
  font-size: var(--title-3);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.venue-callout-content p {
  color: var(--text-secondary);
  font-size: var(--text-regular);
  max-width: 540px;
  margin: 0 auto var(--space-6);
  line-height: var(--leading-relaxed);
}

.events-cta {
  text-align: center;
  margin-top: var(--space-12);
}

/* ========================================
   LOCATION
   ======================================== */

.location {
  padding: var(--section-gap) 0;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.location-address {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-inset);
}

.location-address::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-hover);
}

.address-label {
  font-size: var(--text-mini);
  font-weight: var(--weight-medium);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-2);
}

.address-main {
  font-size: var(--title-3);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.address-city {
  font-size: var(--text-regular);
  color: var(--text-secondary);
}

.location-description {
  font-size: var(--text-regular);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.location-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.location-feature {
  font-size: var(--text-small);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.location-feature::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.5;
  flex-shrink: 0;
}

.location-map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  overflow: hidden;
}

.hoai-marker {
  background: none !important;
  border: none !important;
}

.leaflet-control-zoom a,
.leaflet-control-zoom a:hover {
  color: #0A0A0B !important;
}

/* ========================================
   FINAL CTA
   ======================================== */

.final-cta {
  padding: var(--space-40) 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.final-cta-content {
  text-align: center;
  position: relative;
  z-index: var(--z-base);
  max-width: 600px;
  margin: 0 auto;
}

/* CTA glow removed — clean backgrounds */

.final-cta h2 {
  font-size: var(--title-1);
  margin-bottom: var(--space-6);
}

.final-cta p {
  font-size: var(--text-large);
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
  line-height: var(--leading-relaxed);
}

.cta-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   BOOK A TOUR PAGE
   ======================================== */

.book-section {
  padding-top: var(--space-32);
  padding-bottom: var(--section-gap);
  position: relative;
  min-height: 100vh;
}

.book-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.book-info {
  position: relative;
  padding-top: var(--space-4);
}

/* Book glow removed — clean backgrounds */

.book-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-small);
  color: var(--text-tertiary);
  margin-bottom: var(--space-8);
  transition: color var(--ease-micro);
}

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

.book-section h1 {
  font-size: var(--title-1);
  margin-bottom: var(--space-6);
}

.book-description {
  font-size: var(--text-large);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 440px;
}

.book-free-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(94, 106, 210, 0.1);
  border: 1px solid rgba(94, 106, 210, 0.25);
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  font-family: var(--font-mono);
  color: var(--accent-primary);
  margin-bottom: var(--space-8);
}

.book-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.book-detail {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-small);
  color: var(--text-tertiary);
}

.book-detail strong {
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
  min-width: 120px;
}

/* Form */
.book-form-wrapper {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-inset);
}

.book-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.required {
  color: var(--accent-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: var(--text-small);
  font-family: var(--font-sans);
  transition: border-color var(--ease-micro), box-shadow var(--ease-micro);
  outline: none;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237C7C89' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-quaternary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Honeypot — invisible to humans */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.book-submit {
  width: 100%;
  padding: 12px 20px;
  font-size: var(--text-regular);
  cursor: pointer;
}

.book-submit:disabled {
  opacity: 0.6;
  cursor: default;
  background: var(--text-tertiary);
}

.form-status {
  grid-column: 1 / -1;
  font-size: var(--text-small);
  min-height: 20px;
}

.form-status-success {
  color: var(--color-green);
}

.form-status-error {
  color: var(--color-red);
}

/* ========================================
   LEGAL PAGES (IMPRINT, PRIVACY)
   ======================================== */

.legal-section {
  padding-top: var(--space-32);
  padding-bottom: var(--section-gap);
}

.legal-header {
  max-width: 720px;
  margin-bottom: var(--space-12);
}

.legal-header h1 {
  font-size: var(--title-1);
  color: var(--text-primary);
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: var(--title-4);
  color: var(--text-primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: var(--text-regular);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.legal-content a {
  color: var(--accent-primary);
}

.legal-content a:hover {
  color: var(--accent-hover);
}

.legal-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.legal-content ul li {
  font-size: var(--text-regular);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  padding-left: var(--space-5);
  position: relative;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-quaternary);
}

/* ========================================
   FAQ
   ======================================== */

.faq-section {
  padding-top: var(--space-32);
  padding-bottom: var(--section-gap);
}

.faq-header {
  max-width: 640px;
  margin-bottom: var(--space-16);
}

.faq-header h1 {
  font-size: var(--title-1);
}

.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border-default);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-default);
}

.faq-question {
  font-size: var(--title-4);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.faq-answer {
  font-size: var(--text-regular);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

.faq-cta {
  margin-top: var(--space-16);
  max-width: 720px;
}

.faq-cta p {
  font-size: var(--text-large);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.faq-cta .cta-buttons {
  justify-content: flex-start;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--border-default);
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}


.footer-address {
  font-size: var(--text-small);
  font-family: var(--font-mono);
  color: var(--text-quaternary);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
}

.footer-links a {
  font-size: var(--text-small);
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  transition: color var(--ease-micro);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-right {
  text-align: right;
}

.footer-legal {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

.footer-legal a {
  font-size: var(--text-small);
  font-family: var(--font-mono);
  color: var(--text-quaternary);
  transition: color var(--ease-micro);
}

.footer-legal a:hover {
  color: var(--text-tertiary);
}

.footer-copyright {
  font-size: var(--text-small);
  font-family: var(--font-mono);
  color: var(--text-quaternary);
}
