/* ═══════════════════════════════════════════════════════════
   OPTIQURA - Brand Design System
   "Clarity before complexity"
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Brand Colors */
  --deep-navy: #0D182A;
  --charcoal: #1A2433;
  --electric-blue: #2563EB;
  --cyan-blue: #00B4DB;
  --steel: #667085;
  --light-gray: #F2F4F7;
  --white: #FFFFFF;

  /* Semantic Colors */
  --bg: var(--white);
  --bg-soft: var(--light-gray);
  --bg-dark: var(--deep-navy);
  --bg-card: rgba(255, 255, 255, 0.9);
  --text: var(--deep-navy);
  --text-muted: var(--steel);
  --text-inverse: var(--white);
  --accent: var(--electric-blue);
  --accent-secondary: var(--cyan-blue);
  --line: rgba(13, 24, 42, 0.08);
  --line-strong: rgba(13, 24, 42, 0.15);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--electric-blue) 0%, var(--cyan-blue) 100%);
  --gradient-brand-hover: linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%);
  --gradient-dark: linear-gradient(180deg, var(--deep-navy) 0%, var(--charcoal) 100%);
  --gradient-subtle: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.15) 0%, transparent 70%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(13, 24, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(13, 24, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(13, 24, 42, 0.12);
  --shadow-xl: 0 24px 64px rgba(13, 24, 42, 0.16);
  --shadow-glow: 0 8px 32px rgba(37, 99, 235, 0.25);
  --shadow-glow-lg: 0 16px 48px rgba(37, 99, 235, 0.35);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  /* Layout */
  --container: 1200px;
  --header-height: 72px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 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: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

button, input, textarea, select {
  font: inherit;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════ */

.site-shell {
  min-height: 100vh;
  position: relative;
}

/* Geometric background pattern */
.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(0, 180, 219, 0.04) 0%, transparent 50%);
  z-index: -2;
}

/* Subtle grid pattern */
.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 24, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 24, 42, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: -1;
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

p, li {
  color: var(--text-muted);
  font-size: 1.0625rem;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.8;
}

/* Logo Mark */
.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: scale(1.05);
}

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

/* Brand wordmark image */
.brand-wordmark {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a:not(.button) {
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.site-nav a:not(.button):hover {
  color: var(--text);
  background: var(--light-gray);
}

.nav-toggle {
  display: none;
  padding: 0.625rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: var(--light-gray);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  min-height: 48px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.button-small {
  min-height: 40px;
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
}

.button-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand-hover);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lg);
}

.button-primary:hover::before {
  opacity: 1;
}

.button-primary span {
  position: relative;
  z-index: 1;
}

.button-secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover {
  background: var(--light-gray);
  border-color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */

.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

/* Hero background glow */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 100%;
  background: var(--gradient-glow);
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-lead {
  max-width: 50ch;
  margin-bottom: 2rem;
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--steel);
}

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

.hero-note {
  max-width: 50ch;
  margin-bottom: 0;
  font-size: 0.9375rem;
  color: var(--steel);
  opacity: 0.85;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════ */

.panel-card,
.stats-card,
.problem-card,
.pillar-card,
.service-card,
.principle-card,
.timeline-step,
.fit-card,
.price-card,
.cta-card {
  position: relative;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease-out);
  overflow: hidden;
}

.panel-card:hover,
.problem-card:hover,
.pillar-card:hover,
.service-card:hover,
.principle-card:hover,
.timeline-step:hover,
.fit-card:hover,
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

/* Hexagon accent on hover */
.service-card::before,
.pillar-card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: var(--gradient-brand);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}

.service-card:hover::before,
.pillar-card:hover::before {
  opacity: 0.08;
  transform: translate(-10px, 10px);
}

.panel-label,
.service-topline {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.signal-list,
.service-list,
.check-list {
  margin-bottom: 0;
}

.signal-list li,
.service-list li,
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.625rem;
  line-height: 1.5;
}

.signal-list li::before,
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--gradient-brand);
  border-radius: 50%;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
}

/* ═══════════════════════════════════════════════════════════
   STATS CARD
   ═══════════════════════════════════════════════════════════ */

.stats-card {
  display: grid;
  gap: 1.25rem;
  background: var(--gradient-dark);
  border: none;
}

.stats-card:hover {
  transform: translateY(-4px);
}

.stats-value {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--white);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.stats-label {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   TRUST SECTION
   ═══════════════════════════════════════════════════════════ */

.trust-section {
  padding: 3.5rem 0;
  background: var(--light-gray);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.trust-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  box-shadow: var(--shadow-sm);
}

.trust-stats {
  display: flex;
  gap: 4rem;
  justify-content: center;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.trust-stat {
  text-align: center;
}

.trust-stat-value {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   PROBLEM SECTION
   ═══════════════════════════════════════════════════════════ */

.problem-section {
  background: var(--gradient-subtle);
}

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

.accent-card {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.08) 0%, var(--bg-card) 100%);
  border-color: rgba(37, 99, 235, 0.2);
}

.accent-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

/* ═══════════════════════════════════════════════════════════
   ROLE SECTION
   ═══════════════════════════════════════════════════════════ */

.role-section {
  position: relative;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.role-copy > p:first-of-type {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

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

.pillar-card {
  text-align: center;
  padding: 2rem 1.25rem;
}

.pillar-card h3 {
  color: var(--accent);
}

.pillar-card p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════════ */

.services-section {
  background: var(--light-gray);
  position: relative;
}

/* Decorative hexagon */
.services-section::before {
  content: "";
  position: absolute;
  top: 10%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: var(--gradient-brand);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.03;
  pointer-events: none;
}

.services-category {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.services-category:first-of-type {
  margin-top: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.service-card > p {
  margin-bottom: 1.25rem;
}

.service-list {
  flex: 1;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
}

.featured-card {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.06) 0%, var(--white) 100%);
  border-color: rgba(37, 99, 235, 0.15);
}

.featured-card::after {
  content: "Populärast";
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  background: var(--gradient-brand);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════
   METHOD SECTION
   ═══════════════════════════════════════════════════════════ */

.method-section {
  position: relative;
  overflow: hidden;
}

.method-section::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: var(--gradient-glow);
  filter: blur(100px);
  opacity: 0.5;
  pointer-events: none;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.principle-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}

/* Timeline connector */
.timeline::before {
  content: "";
  position: absolute;
  top: 2.75rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  z-index: 0;
}

.timeline-step {
  z-index: 1;
  background: var(--white);
}

.timeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  background: var(--gradient-brand);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
}

.timeline-step h3 {
  font-size: 1rem;
}

.timeline-step p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   FIT SECTION
   ═══════════════════════════════════════════════════════════ */

.fit-section {
  background: var(--gradient-subtle);
}

.fit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.fit-card {
  padding: 2.5rem;
}

.fit-card .button {
  margin-top: 1.5rem;
}

.muted-card {
  background: rgba(242, 244, 247, 0.7);
}

.muted-card h2 {
  color: var(--steel);
}

.muted-list li {
  color: var(--steel);
  opacity: 0.8;
}

.muted-list li::before {
  color: var(--steel);
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════════════════════════ */

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.pricing-grid .price-card {
  flex: 0 1 calc(33.333% - 1rem);
  min-width: 280px;
}

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

.price-value {
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-card p:last-child {
  margin-bottom: 0;
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */

.cta-section {
  padding-bottom: 5rem;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3.5rem;
  background: var(--gradient-dark);
  border: none;
  position: relative;
  overflow: hidden;
}

/* Decorative hexagons */
.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.03);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
}

.cta-card::before {
  width: 200px;
  height: 200px;
  top: -50px;
  left: -50px;
}

.cta-card::after {
  width: 150px;
  height: 150px;
  bottom: -40px;
  right: 20%;
}

.cta-card .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.cta-card .eyebrow::before {
  background: rgba(255, 255, 255, 0.3);
}

.cta-card h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 45ch;
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 220px;
  position: relative;
  z-index: 1;
}

.cta-actions .button-primary {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-md);
}

.cta-actions .button-primary:hover {
  background: var(--light-gray);
}

.cta-actions .button-primary::before {
  display: none;
}

.cta-actions .button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.cta-actions .button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   FLOATING CTA
   ═══════════════════════════════════════════════════════════ */

.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
}

.floating-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-cta .button {
  padding: 1rem 1.75rem;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.site-footer {
  padding: 3.5rem 0 4rem;
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  margin-bottom: 1rem;
}

.footer-brand .brand-mark,
.footer-brand .brand-wordmark {
  filter: brightness(0) invert(1);
}


.site-footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
}

.footer-links,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a,
.footer-meta a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: var(--white);
}

.footer-meta span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in.delay-1 { transition-delay: 0.1s; }
.animate-in.delay-2 { transition-delay: 0.2s; }
.animate-in.delay-3 { transition-delay: 0.3s; }
.animate-in.delay-4 { transition-delay: 0.4s; }
.animate-in.delay-5 { transition-delay: 0.5s; }

.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.25s; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .hero-grid,
  .role-grid,
  .fit-grid,
  .services-grid,
  .timeline,
  .problem-grid,
  .principles-grid,
  .pillar-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid .price-card {
    flex: 0 1 calc(50% - 1rem);
  }

  .timeline::before {
    display: none;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
    flex-direction: row;
  }

  .trust-stats {
    gap: 3rem;
  }
}

@media (max-width: 820px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav a:not(.button) {
    padding: 0.75rem 1rem;
  }

  .section {
    padding: 5rem 0;
  }

  .trust-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid .price-card {
    flex: 0 1 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .hero {
    padding: 3rem 0;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    max-width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .panel-card,
  .problem-card,
  .pillar-card,
  .service-card,
  .principle-card,
  .timeline-step,
  .fit-card,
  .price-card,
  .cta-card {
    padding: 1.5rem;
  }

  .trust-grid {
    gap: 1.25rem;
  }

  .floating-cta {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .floating-cta .button {
    width: 100%;
  }

  .footer-grid {
    gap: 2rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ARTICLE / RESOURCE PAGES
   ═══════════════════════════════════════════════════════════ */

.article-page {
  padding-bottom: 5rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.breadcrumb span[aria-hidden] {
  opacity: 0.4;
}

/* Article Header */
.article-header {
  padding: 4rem 0 3rem;
  background: var(--gradient-subtle);
  border-bottom: 1px solid var(--line);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

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

.article-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 20ch;
  margin-bottom: 1rem;
}

.article-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.6;
}

/* Article Body */
.article-body {
  padding: 4rem 0;
}

.article-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

/* Article Content */
.article-content {
  max-width: 680px;
}

.article-intro {
  font-size: 1.1875rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
  font-weight: 400;
}

.article-content p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.article-content h2:first-of-type {
  margin-top: 2rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
  position: relative;
}

.article-content ul li::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 0.625rem;
  width: 6px;
  height: 6px;
  background: var(--gradient-brand);
  border-radius: 50%;
}

.article-content ol {
  list-style: decimal;
}

.article-content ol li::marker {
  color: var(--accent);
  font-weight: 600;
}

/* Article Callout */
.article-callout {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.06) 0%, var(--bg-card) 100%);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-callout p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--text);
}

.article-callout strong {
  color: var(--accent);
}

/* Article Sidebar */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.sidebar-label {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.sidebar-card p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: gap 0.2s ease;
}

.sidebar-link:hover {
  gap: 0.625rem;
}

.sidebar-link::after {
  content: "\2192";
}

.sidebar-cta {
  background: var(--gradient-dark);
  border: none;
}

.sidebar-cta .sidebar-label {
  color: rgba(255, 255, 255, 0.5);
}

.sidebar-cta h3,
.sidebar-cta p {
  color: var(--white);
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.7);
}

.sidebar-cta .button-primary {
  width: 100%;
  background: var(--white);
  color: var(--text);
}

.sidebar-cta .button-primary:hover {
  background: var(--light-gray);
}

.sidebar-cta .button-primary::before {
  display: none;
}

/* Article Responsive */
@media (max-width: 1024px) {
  .article-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .article-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-card {
    flex: 1 1 280px;
  }
}

@media (max-width: 640px) {
  .article-header {
    padding: 3rem 0 2rem;
  }

  .article-header h1 {
    font-size: 1.75rem;
  }

  .article-lead {
    font-size: 1.125rem;
  }

  .article-body {
    padding: 2.5rem 0;
  }

  .article-content h2 {
    font-size: 1.25rem;
    margin-top: 2.5rem;
  }

  .article-callout {
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
  }

  .article-sidebar {
    flex-direction: column;
  }

  .sidebar-card {
    flex: 1 1 100%;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESOURCES INDEX PAGE
   ═══════════════════════════════════════════════════════════ */

.resources-page {
  padding: 4rem 0 5rem;
}

.resources-header {
  margin-bottom: 3rem;
}

.resources-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.resources-header p {
  font-size: 1.125rem;
  max-width: 55ch;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease-out);
  text-decoration: none;
}

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

.resource-card .article-category {
  align-self: flex-start;
  margin-bottom: 1rem;
}

.resource-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.resource-card p {
  flex: 1;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.resource-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.resource-card-link {
  color: var(--accent);
  font-weight: 500;
}

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