/* ============================================================
   TrueCodexium — Main Stylesheet
   Mesh Gradient · Swiss Precision · 2025
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --clr-bg: #f7f8fc;
  --clr-surface: #ffffff;
  --clr-surface-tint: #f0f2fa;

  /* Mesh gradient palette — deep indigo, violet, teal */
  --clr-primary: #3d2fa0;
  --clr-primary-dark: #2a1f72;
  --clr-primary-light: #5b4ec8;
  --clr-secondary: #7c3aed;
  --clr-accent: #0ea5e9;
  --clr-accent-warm: #8b5cf6;

  --clr-text: #1a1830;
  --clr-text-secondary: #4a4768;
  --clr-text-muted: #7b7898;
  --clr-text-light: #f0eeff;
  --clr-text-light-muted: rgba(240,238,255,0.75);

  --clr-border: rgba(61,47,160,0.12);
  --clr-border-light: rgba(255,255,255,0.2);

  /* Mesh gradient definitions */
  --mesh-hero: radial-gradient(ellipse at 0% 0%, #5b4ec8 0%, transparent 55%),
               radial-gradient(ellipse at 100% 0%, #7c3aed 0%, transparent 50%),
               radial-gradient(ellipse at 50% 100%, #0ea5e9 0%, transparent 55%),
               radial-gradient(ellipse at 80% 50%, #4f46e5 0%, transparent 45%),
               #1e1850;
  --mesh-modules: radial-gradient(ellipse at 20% 20%, #3d2fa0 0%, transparent 50%),
                  radial-gradient(ellipse at 80% 80%, #7c3aed 0%, transparent 50%),
                  radial-gradient(ellipse at 60% 10%, #0ea5e9 0%, transparent 40%),
                  #0f0d2e;
  --mesh-cta: radial-gradient(ellipse at 30% 70%, #4f46e5 0%, transparent 55%),
              radial-gradient(ellipse at 80% 20%, #7c3aed 0%, transparent 50%),
              radial-gradient(ellipse at 10% 30%, #0ea5e9 0%, transparent 40%),
              #1a1645;
  --mesh-footer: radial-gradient(ellipse at 0% 100%, #2a1f72 0%, transparent 60%),
                 radial-gradient(ellipse at 100% 0%, #3d2fa0 0%, transparent 50%),
                 #0d0b22;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 8rem;

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

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(30,24,80,0.08), 0 1px 2px rgba(30,24,80,0.05);
  --shadow-md: 0 4px 12px rgba(30,24,80,0.10), 0 2px 4px rgba(30,24,80,0.06);
  --shadow-lg: 0 8px 28px rgba(30,24,80,0.13), 0 3px 8px rgba(30,24,80,0.08);
  --shadow-xl: 0 16px 48px rgba(30,24,80,0.16), 0 6px 16px rgba(30,24,80,0.10);
  --shadow-card-hover: 0 20px 60px rgba(61,47,160,0.18), 0 8px 20px rgba(61,47,160,0.10);
  --shadow-primary: 0 8px 24px rgba(61,47,160,0.35), 0 3px 8px rgba(61,47,160,0.20);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
  --t-slow: 0.4s ease;
  --t-spring: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; color: var(--clr-text); }

.hero-heading {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--clr-text-light);
}
.hero-heading em {
  font-style: normal;
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-heading {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--clr-text-light);
}

.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}
.section-heading.light { color: var(--clr-text-light); }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

/* --- Section Label --- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-sm);
  padding: 4px 12px;
  background: rgba(14,165,233,0.1);
  border-radius: var(--r-full);
  border: 1px solid rgba(14,165,233,0.2);
}
.section-label.light {
  color: #7dd3fc;
  background: rgba(125,211,252,0.1);
  border-color: rgba(125,211,252,0.25);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-secondary));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-primary);
  transition: transform var(--t-spring), box-shadow var(--t-base), filter var(--t-base);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(61,47,160,0.45), 0 4px 12px rgba(61,47,160,0.25);
  filter: brightness(1.08);
}
.btn-primary:active { transform: translateY(0) scale(0.99); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.1);
  color: var(--clr-text-light);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.25);
  transition: background var(--t-base), transform var(--t-spring), border-color var(--t-base);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--clr-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-full);
  border: 2px solid var(--clr-primary);
  transition: background var(--t-base), color var(--t-base), transform var(--t-spring);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: translateY(-2px);
}

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

/* --- Text Link --- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap var(--t-base), color var(--t-base);
}
.text-link:hover { gap: 10px; color: var(--clr-secondary); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247,248,252,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--t-base), background var(--t-base);
}
.site-nav.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(247,248,252,0.97);
}

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

.nav-logo { display: flex; align-items: center; }
.logo-img { height: 38px; width: auto; }

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
  padding: 8px 14px;
  border-radius: var(--r-md);
  transition: color var(--t-base), background var(--t-base);
}
.nav-link:hover, .nav-link.active {
  color: var(--clr-primary);
  background: rgba(61,47,160,0.07);
}

.nav-cta {
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-secondary));
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--r-full);
  font-weight: 600;
  box-shadow: var(--shadow-primary);
  transition: transform var(--t-spring), box-shadow var(--t-base), filter var(--t-base) !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(61,47,160,0.4) !important;
}
.nav-cta.active { background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark)); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-md);
  transition: background var(--t-base);
}
.hamburger:hover { background: rgba(61,47,160,0.07); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(247,248,252,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-sm) var(--sp-md) var(--sp-md);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-base), opacity var(--t-base);
}
.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mob-link {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
  border-radius: var(--r-md);
  transition: color var(--t-base), background var(--t-base);
}
.mob-link:hover, .mob-link.active {
  color: var(--clr-primary);
  background: rgba(61,47,160,0.07);
}
.mob-cta {
  margin-top: 8px;
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-secondary));
  color: #fff !important;
  text-align: center;
  border-radius: var(--r-full);
  font-weight: 600;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--mesh-hero);
  padding-top: 70px;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 75%, rgba(14,165,233,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 75% 25%, rgba(139,92,246,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-2xl) var(--sp-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: var(--sp-sm);
  padding: 5px 14px;
  background: rgba(125,211,252,0.12);
  border-radius: var(--r-full);
  border: 1px solid rgba(125,211,252,0.25);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--clr-text-light-muted);
  margin: var(--sp-md) 0 var(--sp-lg);
  max-width: 500px;
  line-height: 1.7;
}

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

.hero-note {
  font-size: 0.8rem;
  color: rgba(240,238,255,0.55);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 420px;
  line-height: 1.5;
}
.hero-note i { margin-top: 2px; flex-shrink: 0; color: #7dd3fc; }

/* Hero Image Block */
.hero-image-block {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.08);
  transform: translateX(24px);
}

.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--r-lg);
  min-width: 220px;
}
.hero-float-card i {
  font-size: 1.4rem;
  color: #a78bfa;
  flex-shrink: 0;
}
.hero-float-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text-light);
}
.hero-float-card span {
  font-size: 0.75rem;
  color: var(--clr-text-light-muted);
}

/* ============================================================
   GLASSMORPHISM
   ============================================================ */
.glass-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px rgba(30,24,80,0.18), 0 2px 8px rgba(30,24,80,0.10), inset 0 1px 0 rgba(255,255,255,0.12);
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg);
}

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

.problem-text p {
  color: var(--clr-text-secondary);
  margin-bottom: var(--sp-md);
  line-height: 1.75;
}
.problem-text .section-heading { margin-bottom: var(--sp-md); }

.problem-image { position: relative; }
.rounded-img {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.full-width-img { height: auto; }

.problem-stat-card {
  position: absolute;
  bottom: -16px;
  right: -16px;
  padding: 20px;
  border-radius: var(--r-lg);
  max-width: 260px;
  background: rgba(30,24,80,0.72) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}
.problem-stat-card i {
  font-size: 1.5rem;
  color: #a78bfa;
  margin-bottom: 8px;
  display: block;
}
.problem-stat-card p {
  font-size: 0.82rem;
  color: rgba(240,238,255,0.8);
  line-height: 1.5;
}

/* ============================================================
   MODULES SECTION
   ============================================================ */
.modules-section {
  position: relative;
  padding: var(--sp-3xl) 0;
  background: var(--mesh-modules);
  overflow: hidden;
}

.modules-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(14,165,233,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
}
.section-intro {
  font-size: 1.05rem;
  max-width: 600px;
  margin: var(--sp-sm) auto 0;
  line-height: 1.7;
  color: var(--clr-text-secondary);
}
.section-intro.light { color: var(--clr-text-light-muted); }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  position: relative;
  z-index: 1;
}

.module-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: var(--sp-lg) var(--sp-md);
  transition: transform var(--t-spring), box-shadow var(--t-base), background var(--t-base), border-color var(--t-base);
  box-shadow: 0 4px 16px rgba(30,24,80,0.15), 0 1px 4px rgba(30,24,80,0.10);
}
.module-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(167,139,250,0.35);
  box-shadow: 0 16px 40px rgba(30,24,80,0.25), 0 4px 12px rgba(30,24,80,0.15);
}

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(91,78,200,0.5), rgba(124,58,237,0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
  font-size: 1.2rem;
  color: #c4b5fd;
  box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}

.module-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text-light);
  margin-bottom: 8px;
}
.module-card p {
  font-size: 0.85rem;
  color: var(--clr-text-light-muted);
  line-height: 1.6;
}

/* ============================================================
   APPROACH SECTION
   ============================================================ */
.approach-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-surface-tint);
}

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

.approach-text .section-heading { margin-bottom: var(--sp-md); }
.approach-text p {
  color: var(--clr-text-secondary);
  margin-bottom: var(--sp-md);
  line-height: 1.75;
}

.approach-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--sp-md);
}
.approach-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text);
}
.approach-list li i { color: var(--clr-primary-light); font-size: 0.85rem; }

/* ============================================================
   DUAL CTA SECTION
   ============================================================ */
.dual-cta-section {
  position: relative;
  padding: var(--sp-3xl) 0;
  background: var(--mesh-cta);
  overflow: hidden;
}

.dual-cta-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(14,165,233,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.dual-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  position: relative;
  z-index: 1;
}

.cta-primary-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--t-spring), box-shadow var(--t-base);
}
.cta-primary-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.cta-secondary-card {
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  transition: transform var(--t-spring), box-shadow var(--t-base);
}
.cta-secondary-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.cta-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(91,78,200,0.5), rgba(124,58,237,0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #c4b5fd;
  margin-bottom: var(--sp-md);
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}

.cta-primary-card h3, .cta-secondary-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-text-light);
  margin-bottom: var(--sp-sm);
}
.cta-primary-card p, .cta-secondary-card p {
  color: var(--clr-text-light-muted);
  margin-bottom: var(--sp-lg);
  line-height: 1.7;
}

/* ============================================================
   MATTERS SECTION
   ============================================================ */
.matters-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg);
}

.matters-header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.matters-header .section-heading { margin-top: var(--sp-sm); }

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

.matter-item {
  background: var(--clr-surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border);
  transition: transform var(--t-spring), box-shadow var(--t-base);
}
.matter-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.matter-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.matter-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  padding: var(--sp-md) var(--sp-md) 8px;
}
.matter-item p {
  font-size: 0.88rem;
  color: var(--clr-text-secondary);
  padding: 0 var(--sp-md) var(--sp-md);
  line-height: 1.65;
}

/* ============================================================
   DISCLAIMER SECTION
   ============================================================ */
.disclaimer-section {
  padding: var(--sp-xl) 0;
  background: var(--clr-bg);
}

.disclaimer-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-lg) var(--sp-xl);
  border-radius: var(--r-xl);
  background: rgba(30,24,80,0.04) !important;
  border: 1px solid rgba(61,47,160,0.12) !important;
  box-shadow: var(--shadow-sm) !important;
}

.disclaimer-icon {
  font-size: 1.6rem;
  color: var(--clr-primary-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 6px;
}
.disclaimer-text p {
  font-size: 0.88rem;
  color: var(--clr-text-secondary);
  line-height: 1.65;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--mesh-hero);
  overflow: hidden;
}

.page-hero-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(14,165,233,0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 30%, rgba(139,92,246,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.page-hero-sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--clr-text-light-muted);
  margin-top: var(--sp-md);
  line-height: 1.7;
  max-width: 580px;
}

/* ============================================================
   WHY US PAGE
   ============================================================ */
.why-detail-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg);
}

.why-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--sp-lg);
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--clr-border);
}
.why-item:last-child { border-bottom: none; }

.why-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--clr-primary);
  opacity: 0.15;
  line-height: 1;
  padding-top: 4px;
  letter-spacing: -0.04em;
}

.why-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--sp-sm);
}
.why-content p {
  color: var(--clr-text-secondary);
  margin-bottom: var(--sp-sm);
  line-height: 1.75;
}
.why-content p:last-child { margin-bottom: 0; }

.why-image-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-surface-tint);
}

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

.why-img-block .rounded-img { height: 480px; }
.why-img-text .section-heading { margin-bottom: var(--sp-md); }
.why-img-text p {
  color: var(--clr-text-secondary);
  margin-bottom: var(--sp-md);
  line-height: 1.75;
}
.why-img-text .btn-primary { margin-top: var(--sp-sm); }

/* ============================================================
   HOW IT WORKS PAGE
   ============================================================ */
.hiw-intro-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg);
}

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

.hiw-intro-text .section-heading { margin-bottom: var(--sp-md); }
.hiw-intro-text p {
  color: var(--clr-text-secondary);
  margin-bottom: var(--sp-md);
  line-height: 1.75;
}

.modules-detail-section {
  position: relative;
  padding: var(--sp-3xl) 0;
  background: var(--mesh-modules);
  overflow: hidden;
}

.modules-detail-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(14,165,233,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.module-detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  position: relative;
  z-index: 1;
}

.module-detail-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--sp-lg);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-spring);
}
.module-detail-item:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(167,139,250,0.3);
  transform: translateX(4px);
}

.module-detail-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(167,139,250,0.3);
  line-height: 1;
  letter-spacing: -0.04em;
  padding-top: 4px;
}

.module-detail-header {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}

.module-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(91,78,200,0.5), rgba(124,58,237,0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #c4b5fd;
  flex-shrink: 0;
}

.module-detail-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text-light);
}

.module-detail-content p {
  font-size: 0.9rem;
  color: var(--clr-text-light-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.module-tags span, .module-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(167,139,250,0.15);
  color: #c4b5fd;
  border: 1px solid rgba(167,139,250,0.2);
}

/* ============================================================
   COMPLETED PROJECTS PAGE
   ============================================================ */
.projects-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}

.project-card {
  background: var(--clr-surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border);
  transition: transform var(--t-spring), box-shadow var(--t-base);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.project-img-wrap { position: relative; }
.project-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.project-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-secondary));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.project-content { padding: var(--sp-lg); }

.project-meta {
  display: flex;
  gap: var(--sp-md);
  margin-bottom: var(--sp-sm);
}
.project-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  font-weight: 500;
}
.project-meta i { color: var(--clr-primary-light); font-size: 0.75rem; }

.project-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--sp-sm);
}
.project-content p {
  font-size: 0.88rem;
  color: var(--clr-text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-md);
}

.project-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.projects-note-section {
  padding: var(--sp-lg) 0 var(--sp-xl);
  background: var(--clr-bg);
}
.projects-note-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-lg) var(--sp-xl);
  border-radius: var(--r-xl);
  background: rgba(30,24,80,0.04) !important;
  border: 1px solid rgba(61,47,160,0.12) !important;
  box-shadow: var(--shadow-sm) !important;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg);
}

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

.contact-form-card {
  background: var(--clr-surface);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
}

.contact-form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 8px;
}

.form-note {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-lg);
  line-height: 1.6;
}

.form-group {
  margin-bottom: var(--sp-md);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-md);
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 0.95rem;
  color: var(--clr-text);
  background: var(--clr-bg);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary-light);
  box-shadow: 0 0 0 3px rgba(91,78,200,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--clr-text-secondary);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  accent-color: var(--clr-primary);
  cursor: pointer;
}
.checkbox-label a {
  color: var(--clr-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Contact Info */
.contact-info-block {
  background: var(--clr-surface);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border);
  margin-bottom: var(--sp-md);
}
.contact-info-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--sp-lg);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}
.contact-detail:last-child { margin-bottom: 0; }

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: rgba(61,47,160,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary-light);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.contact-detail address,
.contact-detail a {
  font-size: 0.92rem;
  color: var(--clr-text-secondary);
  line-height: 1.6;
  transition: color var(--t-base);
}
.contact-detail a:hover { color: var(--clr-primary); }

.contact-note-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-md) var(--sp-lg);
  border-radius: var(--r-lg);
  background: rgba(30,24,80,0.06) !important;
  border: 1px solid rgba(61,47,160,0.12) !important;
  margin-bottom: var(--sp-md);
}
.contact-note-card i {
  color: var(--clr-primary-light);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-note-card strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 4px;
}
.contact-note-card p {
  font-size: 0.82rem;
  color: var(--clr-text-secondary);
  line-height: 1.55;
}

.contact-map { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }

/* ============================================================
   THANKS PAGE
   ============================================================ */
.thanks-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--mesh-hero);
  padding-top: 70px;
  overflow: hidden;
}

.thanks-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(14,165,233,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.thanks-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: var(--sp-3xl) var(--sp-md);
}

.thanks-icon {
  font-size: 4rem;
  color: #86efac;
  margin-bottom: var(--sp-lg);
}

.thanks-content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--clr-text-light);
  margin-bottom: var(--sp-md);
  letter-spacing: -0.025em;
}

.thanks-content p {
  font-size: 1.05rem;
  color: var(--clr-text-light-muted);
  margin-bottom: var(--sp-lg);
  line-height: 1.7;
}

.thanks-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.thanks-reminder {
  font-size: 0.82rem;
  color: rgba(240,238,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.thanks-reminder i { color: #7dd3fc; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero {
  padding: 120px 0 60px;
  background: var(--clr-surface-tint);
  border-bottom: 1px solid var(--clr-border);
}

.legal-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  margin-top: 8px;
}

.legal-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg);
}

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

.legal-block {
  margin-bottom: var(--sp-2xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--clr-border);
}
.legal-block:last-child { border-bottom: none; margin-bottom: 0; }

.legal-block h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--sp-md);
}

.legal-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-sm);
}

.legal-block p {
  font-size: 0.95rem;
  color: var(--clr-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-sm);
}
.legal-block p:last-child { margin-bottom: 0; }

.legal-block ul {
  list-style: disc;
  padding-left: var(--sp-lg);
  margin-bottom: var(--sp-sm);
}
.legal-block ul li {
  font-size: 0.95rem;
  color: var(--clr-text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}
.legal-block a {
  color: var(--clr-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-block address {
  font-size: 0.95rem;
  color: var(--clr-text-secondary);
  line-height: 1.75;
  padding: var(--sp-md);
  background: var(--clr-surface-tint);
  border-radius: var(--r-md);
  border-left: 3px solid var(--clr-primary-light);
  margin-top: var(--sp-sm);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--mesh-footer);
  padding: var(--sp-3xl) 0 0;
  overflow: hidden;
}

.footer-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(91,78,200,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-2xl);
  position: relative;
  z-index: 1;
}

.footer-brand .footer-logo { height: 36px; margin-bottom: var(--sp-md); }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(240,238,255,0.6);
  line-height: 1.65;
  margin-bottom: var(--sp-md);
  max-width: 280px;
}
.footer-brand address {
  font-size: 0.85rem;
  color: rgba(240,238,255,0.5);
  line-height: 1.7;
}

.footer-links h5, .footer-contact h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,238,255,0.5);
  margin-bottom: var(--sp-md);
}

.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(240,238,255,0.65);
  transition: color var(--t-base);
}
.footer-links a:hover { color: #fff; }

.footer-contact {
  display: flex;
  flex-direction: column;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(240,238,255,0.65);
  margin-bottom: 10px;
  transition: color var(--t-base);
}
.footer-contact a:hover { color: #fff; }
.footer-contact i { color: rgba(167,139,250,0.7); font-size: 0.85rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(240,238,255,0.35);
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(240,238,255,0.25) !important;
  font-style: italic;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15,13,46,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--sp-md) var(--sp-md);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

.cookie-text { flex: 1; min-width: 260px; }
.cookie-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text-light);
  margin-bottom: 5px;
}
.cookie-text p {
  font-size: 0.82rem;
  color: rgba(240,238,255,0.6);
  line-height: 1.55;
}
.cookie-text a {
  color: #a78bfa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 18px;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--t-spring), box-shadow var(--t-base), filter var(--t-base);
  border: none;
  font-family: 'Schibsted Grotesk', sans-serif;
}
.cookie-btn:hover { transform: translateY(-1px); }

.cookie-btn-accept {
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-secondary));
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.cookie-btn-accept:hover { filter: brightness(1.1); }

.cookie-btn-reject {
  background: rgba(255,255,255,0.08);
  color: rgba(240,238,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
}
.cookie-btn-reject:hover { background: rgba(255,255,255,0.14); }

.cookie-btn-customize {
  background: transparent;
  color: #a78bfa;
  border: 1px solid rgba(167,139,250,0.35);
}
.cookie-btn-customize:hover { background: rgba(167,139,250,0.1); }

/* Cookie Modal */
#cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
}
#cookie-modal.open { display: flex; }

.cookie-modal-inner {
  background: #1a1645;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
}

.cookie-modal-inner h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-text-light);
  margin-bottom: var(--sp-md);
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--sp-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: var(--sp-md);
}
.cookie-category:last-of-type { border-bottom: none; }

.cookie-category-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text-light);
  margin-bottom: 4px;
}
.cookie-category-info p {
  font-size: 0.8rem;
  color: rgba(240,238,255,0.55);
  line-height: 1.5;
}

.cookie-toggle {
  position: relative;
  flex-shrink: 0;
}
.cookie-toggle input { display: none; }
.cookie-toggle label {
  display: block;
  width: 44px;
  height: 24px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--t-base);
  position: relative;
}
.cookie-toggle label::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--t-base);
}
.cookie-toggle input:checked + label { background: var(--clr-primary-light); }
.cookie-toggle input:checked + label::after { transform: translateX(20px); }
.cookie-toggle input:disabled + label { opacity: 0.5; cursor: not-allowed; }

.cookie-modal-actions {
  display: flex;
  gap: 8px;
  margin-top: var(--sp-lg);
  justify-content: flex-end;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
  .hero-img { height: 420px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: var(--sp-xl) var(--sp-md);
    text-align: center;
  }
  .hero-content-block { order: 1; }
  .hero-image-block { order: 2; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-note { justify-content: center; margin: 0 auto; }
  .hero-img { transform: none; height: 300px; }
  .hero-float-card { left: 50%; transform: translateX(-50%); bottom: -16px; }

  .problem-grid,
  .approach-grid,
  .hiw-intro-grid,
  .why-image-grid,
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }

  .problem-stat-card { position: static; margin-top: var(--sp-md); max-width: 100%; }
  .rounded-img { height: 280px; }

  .matters-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .dual-cta-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }

  .why-item { grid-template-columns: 1fr; gap: var(--sp-sm); }
  .why-number { font-size: 2rem; }

  .module-detail-item { grid-template-columns: 1fr; gap: var(--sp-sm); }
  .module-detail-num { font-size: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  .cookie-banner-inner { flex-direction: column; }
  .cookie-actions { width: 100%; }

  .disclaimer-card { flex-direction: column; padding: var(--sp-md); }
  .projects-note-card { flex-direction: column; padding: var(--sp-md); }
  .contact-note-card { flex-direction: column; }

  .page-hero { padding: 110px 0 60px; }
  .legal-hero { padding: 100px 0 40px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .thanks-actions { flex-direction: column; }
  .thanks-actions .btn-primary,
  .thanks-actions .btn-ghost { width: 100%; justify-content: center; }
  .cookie-actions { flex-direction: column; }
  .cookie-btn { width: 100%; text-align: center; }
  .module-tags { gap: 4px; }
  .project-modules { gap: 4px; }
}