/* ==========================================================================
   Opus Numériques - Stylesheet
   Design institutionnel moderne avec accents dynamiques
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts Import
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* --------------------------------------------------------------------------
   CSS Variables / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs principales */
  --color-bg-primary: #0a1628;
  --color-bg-secondary: #0f1d32;
  --color-bg-tertiary: #162542;
  --color-bg-card: #1a2d4a;
  --color-bg-card-hover: #223a5c;
  
  /* Accents */
  --color-accent-blue: #2563eb;
  --color-accent-purple: #7c3aed;
  --color-accent-green: #10b981;
  --color-accent-green-dark: #059669;
  --color-accent-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --color-accent-gradient-green: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --color-accent-glow: rgba(37, 99, 235, 0.4);
  --color-accent-glow-green: rgba(16, 185, 129, 0.4);
  
  /* Texte */
  --color-text-primary: #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  
  /* Bordures et lignes */
  --color-border: rgba(148, 163, 184, 0.12);
  --color-border-hover: rgba(37, 99, 235, 0.4);
  
  /* Typographie */
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Espacement */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--color-accent-glow);
  
  /* Rayons */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  /* Largeur max contenu */
  --max-width: 1200px;
  --max-width-narrow: 800px;
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--color-accent-blue);
  color: white;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
}

p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.text-gradient {
  background: var(--color-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.lead {
  font-size: 1.25rem;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-header p {
  font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: transparent;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
}

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

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar__logo svg {
  width: 44px;
  height: 44px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.navbar__links a {
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

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

.navbar__lang {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-bg-card);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.875rem;
}

.navbar__lang a {
  opacity: 0.6;
}

.navbar__lang a:hover,
.navbar__lang a.active {
  opacity: 1;
}

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

/* Mobile menu */
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: var(--space-xs);
}

.navbar__toggle svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 768px) {
  .navbar__toggle {
    display: block;
  }
  
  .navbar__links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
  }
  
  .navbar__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent-blue);
  margin-bottom: var(--space-lg);
}

.hero__badge svg {
  width: 20px;
  height: 20px;
}

.hero__title {
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

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

.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent-gradient);
  color: white;
  box-shadow: var(--shadow-md), 0 0 30px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(37, 99, 235, 0.4);
}

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

.btn--secondary:hover {
  border-color: var(--color-accent-blue);
  background: rgba(37, 99, 235, 0.1);
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-md);
}

.card__title {
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.card__text {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Grid Layouts
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

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

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

@media (max-width: 640px) {
  .grid--4,
  .grid--3,
  .grid--2 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Approach Section
   -------------------------------------------------------------------------- */
.approach {
  background: var(--color-bg-secondary);
  position: relative;
}

.approach::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-blue), transparent);
}

.approach__visual {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.approach__visual svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

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

.approach__text h3 {
  color: var(--color-accent-blue);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.approach__text h2 {
  margin-bottom: var(--space-md);
}

.approach__image {
  position: relative;
}

.approach__image::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: var(--color-accent-gradient);
  opacity: 0.1;
  border-radius: var(--radius-xl);
  z-index: -1;
}

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

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services {
  position: relative;
}

.services::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 200px;
  height: 200px;
  background: var(--color-accent-purple);
  filter: blur(150px);
  opacity: 0.15;
  transform: translateX(-50%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Strengths Section
   -------------------------------------------------------------------------- */
.strengths {
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

.strength-card {
  text-align: center;
  padding: var(--space-xl);
}

.strength-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  padding: var(--space-md);
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.strength-card:hover .strength-card__icon {
  background: rgba(37, 99, 235, 0.2);
  transform: scale(1.05);
}

.strength-card__icon svg {
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact {
  background: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--color-accent-blue);
  filter: blur(200px);
  opacity: 0.1;
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

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

.contact__info h2 {
  margin-bottom: var(--space-md);
}

.contact__info p {
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-text-secondary);
}

.contact__item svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent-blue);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Form Styles
   -------------------------------------------------------------------------- */
.form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: var(--space-md);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-muted);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__submit {
  width: 100%;
  margin-top: var(--space-md);
}

.form__message {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin-top: var(--space-md);
  text-align: center;
  font-weight: 500;
}

.form__message--success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.form__message--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

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

.footer__badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__badge svg {
  height: 32px;
  width: auto;
}

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

.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Float animation for SVGs */
.float {
  animation: float 6s ease-in-out infinite;
}

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

/* Pulse animation */
.pulse {
  animation: pulse 2s ease-in-out infinite;
}

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

/* Line draw animation */
.draw-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 2s ease forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  section {
    padding: var(--space-2xl) 0;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    min-height: auto;
    padding: 120px 0 var(--space-2xl);
  }
  
  .hero__scroll {
    display: none;
  }
  
  .btn {
    padding: var(--space-sm) var(--space-lg);
  }
}

/* ==========================================================================
   Philosophy Page Styles
   ========================================================================== */

/* Global SVG constraints for philosophy pages */
[data-page="philosophy"] svg {
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Page Hero (for internal pages)
   -------------------------------------------------------------------------- */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: var(--space-2xl);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-hero__bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
}

.page-hero__content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent-blue);
  margin-bottom: var(--space-lg);
}

.page-hero__badge svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex-shrink: 0;
}

.page-hero__title {
  margin-bottom: var(--space-md);
}

.page-hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Quote Banner
   -------------------------------------------------------------------------- */
.quote-banner {
  background: var(--color-bg-secondary);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.quote-banner__quote {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.quote-banner__quote p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--color-text-primary);
  font-style: italic;
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.quote-banner__quote cite {
  font-size: 0.95rem;
  color: var(--color-accent-blue);
  font-style: normal;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Philosophy Sections
   -------------------------------------------------------------------------- */
.philosophy-section {
  padding: var(--space-3xl) 0;
}

.philosophy-section--alt {
  background: var(--color-bg-secondary);
}

.philosophy-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.philosophy-section__grid--reverse {
  direction: rtl;
}

.philosophy-section__grid--reverse > * {
  direction: ltr;
}

.philosophy-section__tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.philosophy-section__content h2 {
  margin-bottom: var(--space-lg);
}

.philosophy-section__text p {
  margin-bottom: var(--space-md);
}

.philosophy-section__text .lead {
  font-size: 1.1rem;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.philosophy-section__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
}

.philosophy-section__visual svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  max-height: 300px;
}

@media (max-width: 900px) {
  .philosophy-section__grid,
  .philosophy-section__grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  
  .philosophy-section__visual {
    order: -1;
    margin-bottom: var(--space-xl);
    min-height: 200px;
  }
  
  .philosophy-section__visual svg {
    max-width: 250px;
    max-height: 250px;
  }
}

/* --------------------------------------------------------------------------
   Philosophy Insight Boxes
   -------------------------------------------------------------------------- */
.philosophy-insight {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-lg);
  margin-top: var(--space-2xl);
}

.philosophy-insight--centered {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.philosophy-insight__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-gradient);
  border-radius: var(--radius-md);
}

.philosophy-insight__icon svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  color: white;
}

.philosophy-insight__content h4 {
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
  font-size: 1rem;
}

.philosophy-insight__content p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.philosophy-insight__content em {
  color: var(--color-text-primary);
  font-style: italic;
}

@media (max-width: 640px) {
  .philosophy-insight {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Multi-Pass Cards
   -------------------------------------------------------------------------- */
.passes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.pass-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  overflow: hidden;
}

.pass-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pass-card__number {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-md);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--color-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  line-height: 1;
}

.pass-card__content h3 {
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.pass-card__content p {
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.pass-card__result {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.pass-card__result strong {
  color: var(--color-accent-blue);
}

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

/* --------------------------------------------------------------------------
   Philosophy Quote Block
   -------------------------------------------------------------------------- */
.philosophy-quote {
  margin-top: var(--space-2xl);
  text-align: center;
}

.philosophy-quote blockquote {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-xl);
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-lg);
}

.philosophy-quote blockquote p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--color-text-primary);
  font-style: italic;
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.philosophy-quote blockquote p:last-of-type {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.philosophy-quote blockquote cite {
  font-size: 1rem;
  color: var(--color-accent-purple);
  font-style: normal;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Philosophy Conclusion
   -------------------------------------------------------------------------- */
.philosophy-conclusion {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

.philosophy-conclusion__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-conclusion__content h2 {
  margin-bottom: var(--space-md);
}

.philosophy-conclusion__content .lead {
  font-size: 1.1rem;
  color: var(--color-text-primary);
}

.philosophy-conclusion__content p {
  font-size: 1rem;
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.philosophy-conclusion__cta-text {
  padding: var(--space-md);
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}

.philosophy-conclusion__cta {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   References Section
   -------------------------------------------------------------------------- */
.references {
  padding: var(--space-xl) 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

.references h3 {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.references__list {
  list-style-position: inside;
  padding-left: 0;
}

.references__list li {
  margin-bottom: var(--space-xs);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.references__list a {
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.references__list a:hover {
  color: var(--color-accent-blue);
}

/* --------------------------------------------------------------------------
   Philosophy Teaser (Homepage)
   -------------------------------------------------------------------------- */
.philosophy-teaser {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
  position: relative;
}

.philosophy-teaser::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-purple), transparent);
}

.philosophy-teaser__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: start;
}

.philosophy-teaser__tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-purple);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.philosophy-teaser__content h2 {
  margin-bottom: var(--space-md);
}

.philosophy-teaser__content .lead {
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
}

.philosophy-teaser__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.pillar {
  padding: var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.pillar:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

.pillar__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.pillar__icon svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  color: var(--color-accent-blue);
  flex-shrink: 0;
}

.pillar h4 {
  font-size: 0.95rem;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.pillar p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.philosophy-teaser__cta {
  display: inline-flex;
}

.philosophy-teaser__quote {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.philosophy-teaser__quote blockquote {
  padding: 0;
  border: none;
  background: none;
}

.philosophy-teaser__quote blockquote p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-primary);
  font-style: italic;
  margin-bottom: var(--space-xs);
  line-height: 1.5;
}

.philosophy-teaser__quote blockquote cite {
  font-size: 0.8rem;
  color: var(--color-accent-blue);
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .philosophy-teaser__grid {
    grid-template-columns: 1fr;
  }
  
  .philosophy-teaser__quote {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .philosophy-teaser__quote blockquote {
    flex: 1;
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .philosophy-teaser__pillars {
    grid-template-columns: 1fr;
  }
  
  .philosophy-teaser__quote {
    flex-direction: column;
  }
}

/* Active nav link */
.navbar__links a.active {
  color: var(--color-text-primary);
  position: relative;
}

.navbar__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent-gradient);
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   Philosophy Page - Green Theme Override
   -------------------------------------------------------------------------- */
[data-page="philosophy"] {
  background: linear-gradient(180deg, #081410 0%, #0a1a14 50%, #0d2818 100%);
}

[data-page="philosophy"] .page-hero {
  background: radial-gradient(ellipse at 30% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(5, 150, 105, 0.08) 0%, transparent 50%);
}

[data-page="philosophy"] .page-hero__bg svg circle,
[data-page="philosophy"] .page-hero__bg svg line {
  stroke: rgba(16, 185, 129, 0.3);
}

[data-page="philosophy"] .page-hero__bg svg circle[fill] {
  fill: rgba(16, 185, 129, 0.4);
}

[data-page="philosophy"] .navbar.scrolled {
  background: rgba(8, 20, 16, 0.95);
}

[data-page="philosophy"] .quote-banner {
  background: rgba(16, 185, 129, 0.03);
  border-top-color: rgba(16, 185, 129, 0.2);
  border-bottom-color: rgba(16, 185, 129, 0.2);
}

[data-page="philosophy"] .quote-banner::before {
  background: linear-gradient(90deg, transparent, var(--color-accent-green), transparent);
}

[data-page="philosophy"] .quote-banner__quote cite {
  color: var(--color-accent-green);
}

[data-page="philosophy"] .philosophy-section--alt {
  background: rgba(16, 185, 129, 0.02);
}

[data-page="philosophy"] .philosophy-section__tag {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--color-accent-green);
}

[data-page="philosophy"] .philosophy-insight {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.15);
}

[data-page="philosophy"] .philosophy-insight__icon {
  background: var(--color-accent-gradient-green);
}

[data-page="philosophy"] .pass-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-lg), 0 0 40px var(--color-accent-glow-green);
}

[data-page="philosophy"] .pass-card__number {
  background: var(--color-accent-gradient-green);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-page="philosophy"] .pass-card__result strong {
  color: var(--color-accent-green);
}

[data-page="philosophy"] .philosophy-quote blockquote {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.15);
}

[data-page="philosophy"] .philosophy-quote blockquote cite {
  color: var(--color-accent-green);
}

[data-page="philosophy"] .philosophy-conclusion {
  background: linear-gradient(180deg, #0a1a14 0%, #0d2818 100%);
}

[data-page="philosophy"] .philosophy-conclusion__cta-text {
  background: rgba(16, 185, 129, 0.08);
}

[data-page="philosophy"] .references {
  background: rgba(16, 185, 129, 0.02);
  border-top-color: rgba(16, 185, 129, 0.15);
}

[data-page="philosophy"] .page-hero__badge {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--color-accent-green);
}

[data-page="philosophy"] .text-gradient {
  background: var(--color-accent-gradient-green);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-page="philosophy"] .navbar__links a.active::after {
  background: var(--color-accent-gradient-green);
}

[data-page="philosophy"] .btn--primary {
  background: var(--color-accent-gradient-green);
  box-shadow: var(--shadow-md), 0 0 30px rgba(16, 185, 129, 0.3);
}

[data-page="philosophy"] .btn--primary:hover {
  box-shadow: var(--shadow-lg), 0 0 50px rgba(16, 185, 129, 0.4);
}

[data-page="philosophy"] .btn--secondary:hover {
  border-color: var(--color-accent-green);
  background: rgba(16, 185, 129, 0.1);
}

[data-page="philosophy"] .card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-lg), 0 0 40px var(--color-accent-glow-green);
}

[data-page="philosophy"] .references__list a:hover {
  color: var(--color-accent-green);
}

[data-page="philosophy"] .footer {
  background: #081410;
  border-top-color: rgba(16, 185, 129, 0.15);
}

