@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --color-accent: oklch(0.84 0.18 122); /* Signature green */
  --color-accent-dark: oklch(0.76 0.18 122);
  --color-accent-light: oklch(0.96 0.05 122);
  
  --color-bg: oklch(0.985 0.003 80); /* Warm off-white, editorial feel */
  --color-card: #ffffff;
  
  --color-text-primary: oklch(0.18 0.006 70); /* Soft almost-black */
  --color-text-secondary: oklch(0.42 0.008 70); /* Slate/charcoal */
  --color-text-tertiary: oklch(0.62 0.008 70); /* Muted slate */
  
  --color-border: oklch(0.92 0.003 70); /* Very fine grey border */
  --color-border-hover: oklch(0.82 0.005 70);
  
  /* Fonts */
  --font-serif: 'Geist', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.01), 0 10px 40px rgba(0, 0, 0, 0.01);
  --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.01), 0 20px 50px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.01);
}

/* Dark Theme Variables (Specifically for Section 5) */
.theme-dark {
  --color-bg: oklch(0.14 0.012 122); /* Deep corporate charcoal-green */
  --color-card: oklch(0.17 0.012 122);
  --color-text-primary: oklch(0.96 0.005 80); /* Off-white text */
  --color-text-secondary: oklch(0.72 0.01 122); /* Warm grey text */
  --color-text-tertiary: oklch(0.55 0.01 122);
  --color-border: oklch(0.24 0.01 122);
  --color-border-hover: oklch(0.32 0.01 122);
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */
*, *::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);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-tertiary);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, .serif-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

p {
  color: var(--color-text-secondary);
  letter-spacing: -0.01em;
}

.text-accent {
  color: var(--color-accent);
}

.label-caps {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-text-tertiary);
  display: block;
  margin-bottom: 1.25rem;
}

.theme-dark .label-caps {
  color: var(--color-accent);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

.section-padding {
  padding: 9rem 0;
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

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

@media (max-width: 992px) {
  .grid-12 {
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .grid-12 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 100px;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  width: fit-content;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.status-badge:hover {
  border-color: var(--color-border-hover);
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--color-accent);
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  letter-spacing: -0.01em;
}

.btn-primary {
  background-color: var(--color-text-primary);
  color: var(--color-bg);
  border: 1px solid var(--color-text-primary);
}

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

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-text-primary);
  border: 1px solid var(--color-accent);
}

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

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

.btn-secondary:hover {
  border-color: var(--color-text-primary);
  background-color: rgba(0, 0, 0, 0.01);
}

.theme-dark .btn-secondary {
  color: var(--color-text-primary);
  border-color: var(--color-border);
}

.theme-dark .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

/* Premium Cards */
.card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

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

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(250, 249, 245, 0); /* Invisible initial */
  z-index: 1000;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: rgba(250, 249, 245, 0.95);
  backdrop-filter: blur(16px);
  height: 72px;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-text-primary);
  font-weight: 900;
  letter-spacing: -0.025em;
  gap: 0.55rem;
}

.logo-img {
  height: 30px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
  letter-spacing: -0.01em;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background-color: var(--color-text-primary);
  margin: 4px 0;
  transition: var(--transition-fast);
}

@media (max-width: 768px) {
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-bg);
    padding: 3rem 1.5rem;
    gap: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--color-border);
    pointer-events: none;
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .navbar.scrolled .nav-menu {
    top: 72px;
    height: calc(100vh - 72px);
  }
  
  .nav-actions {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 7rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}

.hero-content {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-headline {
  font-size: clamp(2.75rem, 5.2vw, 4.25rem);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual-wrapper {
  grid-column: span 6;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* High fidelity server console graphic simulation */
.hero-visual-card {
  width: 100%;
  aspect-ratio: 1.15;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.console-header {
  height: 36px;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

.console-controls {
  display: flex;
  gap: 6px;
}

.console-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border-hover);
}

.console-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-tertiary);
}

.console-body {
  flex-grow: 1;
  padding: 1.5rem;
  position: relative;
  background: radial-gradient(100% 100% at 50% 0%, rgba(250,249,245,0.4) 0%, rgba(255,255,255,1) 100%);
}

@media (max-width: 992px) {
  .hero-content {
    grid-column: span 12;
    text-align: center;
    align-items: center;
  }
  .hero-visual-wrapper {
    grid-column: span 12;
    margin-top: 2rem;
  }
}

/* Flow elements */
.flow-line {
  stroke-dasharray: 6 6;
  animation: flow 20s linear infinite;
}

.flow-line-fast {
  stroke-dasharray: 4 4;
  animation: flow 10s linear infinite;
}

@keyframes flow {
  to { stroke-dashoffset: -500; }
}

.pulse-node {
  animation: pulse-node-glow 2s ease-in-out infinite;
  filter: drop-shadow(0 0 3px var(--color-accent));
}

@keyframes pulse-node-glow {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}


/* ==========================================================================
   3. TRUST SECTION
   ========================================================================== */
.trust-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(250, 249, 245, 0.4);
}

.trust-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-tertiary);
  margin-bottom: 2.5rem;
}

.logo-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.logo-grid svg {
  height: 22px;
  fill: none;
  stroke: var(--color-text-tertiary);
  opacity: 0.55;
  transition: var(--transition-smooth);
}

.logo-grid svg:hover {
  stroke: var(--color-text-primary);
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .logo-grid {
    justify-content: center;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   4. BELIEF SECTION
   ========================================================================== */
.belief-headline-wrapper {
  grid-column: span 5;
}

.belief-headline {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.belief-body-wrapper {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0.5rem;
}

.belief-body {
  font-size: 1.2rem;
  line-height: 1.7;
}

.belief-cards {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.belief-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.belief-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-text-tertiary);
  line-height: 1;
}

.belief-card h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.belief-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

@media (max-width: 992px) {
  .belief-headline-wrapper, .belief-body-wrapper {
    grid-column: span 12;
  }
  .belief-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .belief-cards {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. VISION SECTION (Dark Contrast)
   ========================================================================== */
.vision-section {
  position: relative;
  overflow: hidden;
}

.vision-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.vision-headline {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

.vision-body {
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 300;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   6. WHAT WE BUILD
   ========================================================================== */
.build-header {
  grid-column: span 12;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.build-cards-grid {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .build-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .build-cards-grid {
    grid-template-columns: 1fr;
  }
}

.build-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.build-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 1px solid var(--color-border);
  transition: var(--transition-fast);
}

.theme-dark .build-icon-wrapper {
  background-color: oklch(0.2 0.012 122);
}

.build-card:hover .build-icon-wrapper {
  background-color: var(--color-accent-light);
  border-color: var(--color-accent);
}

.build-icon-wrapper svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-primary);
  stroke-width: 1.5;
  transition: var(--transition-fast);
}

.build-card:hover .build-icon-wrapper svg {
  stroke: var(--color-accent-dark);
}

.build-card h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.build-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.build-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text-primary);
  transition: var(--transition-fast);
  width: fit-content;
}

.build-link::after {
  content: '→';
  margin-left: 6px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.build-link:hover {
  color: var(--color-accent-dark);
}

.build-link:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   7. WHY EASEFORBIZ
   ========================================================================== */
.why-header {
  grid-column: span 12;
  margin-bottom: 2rem;
}

.why-column {
  grid-column: span 4;
  padding: 1.5rem;
  border-left: 1px solid var(--color-border);
  transition: var(--transition-fast);
}

.why-column:hover {
  border-left-color: var(--color-accent);
}

@media (max-width: 768px) {
  .why-column {
    grid-column: span 12;
    border-left: 1px solid var(--color-border);
    padding: 1rem 0 1rem 1.5rem;
  }
}

.why-num {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.why-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.why-column p {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ==========================================================================
   8. HOW WE WORK (Refined Timeline Grid)
   ========================================================================== */
.work-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.timeline-step {
  padding: 3.5rem 2.5rem;
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: var(--transition-smooth);
}

.timeline-step:hover {
  background-color: rgba(250, 249, 245, 0.4);
}

.timeline-step:last-child {
  border-right: none;
}

.step-meta {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-tertiary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.timeline-visual {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2rem;
  border-bottom: 1px dashed var(--color-border);
  padding-bottom: 1.5rem;
}

.timeline-visual svg {
  width: 70px;
  height: 70px;
}

.timeline-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.timeline-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

@media (max-width: 992px) {
  .timeline {
    grid-template-columns: 1fr;
  }
  .timeline-step {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 3rem 2rem;
  }
  .timeline-step:last-child {
    border-bottom: none;
  }
  .timeline-visual {
    height: auto;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1.5rem;
  }
}

/* ==========================================================================
   9. SELECTED INDUSTRIES
   ========================================================================== */
.industries-header {
  grid-column: span 12;
  margin-bottom: 2rem;
}

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

@media (max-width: 992px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

.industry-card {
  position: relative;
  height: 360px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.industry-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  filter: grayscale(80%) contrast(1.1);
}

.industry-card:hover .industry-image {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(1);
}

.industry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  transition: var(--transition-smooth);
}

.industry-card h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.industry-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.45;
  transform: translateY(12px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.industry-card:hover p {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   10. PRINCIPLES
   ========================================================================== */
.principles-grid {
  max-width: 860px;
  margin: 0 auto;
}

.principle-item {
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 0;
}

.principle-item:last-child {
  border-bottom: none;
}

.principle-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.principle-sub {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   11. FINAL CTA
   ========================================================================== */
.final-cta {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 7rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.final-cta-map {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2.5rem, 4.8vw, 3.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.final-cta p {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.footer {
  background-color: var(--color-card);
  border-top: 1px solid var(--color-border);
  padding: 5rem 0 3rem 0;
}

.footer-brand-col {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-description {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 320px;
}

.footer-links-col {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-links-col:last-child {
  grid-column: span 3;
}

.footer-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-text-primary);
}

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

.footer-link-list a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 0.825rem;
  font-weight: 500;
  transition: var(--transition-fast);
  letter-spacing: -0.01em;
}

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

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
  margin: 3.5rem 0 2rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
  letter-spacing: -0.01em;
}

.social-links {
  display: flex;
  gap: 1.25rem;
}

.social-link {
  color: var(--color-text-tertiary);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  padding: 4px;
}

.social-link:hover {
  color: var(--color-text-primary);
}

.social-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 992px) {
  .footer-brand-col {
    grid-column: span 12;
    margin-bottom: 2rem;
  }
  
  .footer-links-col {
    grid-column: span 4 !important;
  }
}

@media (max-width: 576px) {
  .footer-links-col {
    grid-column: span 6 !important;
  }
}


/* ==========================================================================
   SCROLL REVEAL & MOTION SYSTEMS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Reduced Motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .flow-line, .flow-line-fast, .pulse-node {
    animation: none !important;
  }
}

/* ==========================================================================
   NARRATIVE GRID & COLUMN SYSTEM
   ========================================================================== */
.reality-grid {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.reality-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 200px;
}

.reality-card .belief-number {
  margin-bottom: 1.5rem;
}

.reality-card h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.reality-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

@media (max-width: 992px) {
  .reality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .reality-grid {
    grid-template-columns: 1fr;
  }
}

.critique-section {
  border-bottom: 1px solid var(--color-border);
  padding: 8rem 0;
}

.two-col-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3rem;
}

.narrative-title-col {
  grid-column: span 5;
}

.narrative-body-col {
  grid-column: span 7;
  font-size: 1.15rem;
  line-height: 1.7;
}

.narrative-body-col p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.narrative-body-col p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .two-col-layout {
    gap: 1.5rem;
  }
  .narrative-title-col, .narrative-body-col {
    grid-column: span 12;
  }
  .critique-section {
    padding: 6rem 0;
  }
}

