/*
Theme Name: TruVX
Theme URI: https://truvx.ai
Description: Voice Intelligence for Financial Services — cinematic dark theme
Author: Klyra AI
Version: 1.0.0
License: Proprietary
Text Domain: truvx
*/

/* ═══════════════════════════════════════════════════════════════════════
   TRUVX CINEMATIC CSS — Voice Intelligence for Financial Services
   Single-page dark-theme cinematic website with GSAP ScrollTrigger
   ═══════════════════════════════════════════════════════════════════════ */

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

/* ── Design Tokens ── */
:root {
  --bg: #020A12;
  --bg-surface: #071827;
  --surface: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.06);
  --primary: #305CDE;
  --accent: #2347B0;
  --highlight: #D8A94A;
  --signal: #2F80ED;
  --text: #F0F4F8;
  --text-secondary: #94A3B8;
  --text-muted: rgba(255, 255, 255, 0.60);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Satoshi', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 20px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background 0.8s ease, color 0.8s ease;
}

/* Film grain texture overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: rgba(48, 92, 222, 0.3);
  color: #fff;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section + .section {
  border-top: none;
}

.section-alt {
  background: var(--bg-surface);
}

/* Problem section background */
#problem {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(2,10,18,0.90) 15%, rgba(2,10,18,0.90) 85%, var(--bg) 100%),
              url('https://images.unsplash.com/photo-1549421263-6064833b071b?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  background-color: var(--bg);
}

/* Technology section background */
#technology {
  padding-bottom: 80px;
  background: linear-gradient(180deg, rgba(7,24,39,0.8) 0%, rgba(7,24,39,0.72) 50%, rgba(7,24,39,0.85) 100%),
              url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  background-color: var(--bg-surface);
}

#use-cases {
  padding-top: 80px;
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--highlight));
  z-index: 200;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* ── Cursor Glow ── */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 92, 222, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s;
  will-change: transform;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════
   1. NAV
   ═══════════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(2, 10, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  height: 72px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.nav-logo:hover .logo-icon {
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease);
}

.nav-link:hover::after {
  width: 100%;
}

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

.nav-link.active::after {
  width: 100%;
}

.nav-link[data-highlight] {
  color: var(--text);
  padding: 8px 20px;
  border: 1px solid var(--primary);
  border-radius: 100px;
  background: rgba(48, 92, 222, 0.10);
  transition: all 0.3s;
}

.nav-link[data-highlight]::after {
  display: none;
}

.nav-link[data-highlight]:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(48, 92, 222, 0.25);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
  display: block;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Typography ── */
.h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 16px;
}

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

.subtle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(48, 92, 222, 0.25);
}

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

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

/* ═══════════════════════════════════════════════════════════════════════
   2. HERO
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(2,10,18,0.7) 0%, rgba(2,10,18,0.65) 30%, rgba(2,10,18,0.75) 55%, rgba(2,10,18,0.88) 75%, #020A12 100%),
              url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  background-color: var(--bg);
}

.hero-rule {
  width: 48px;
  height: 1px;
  background: var(--primary);
  margin: 0 auto 24px;
  opacity: 0.6;
}

.hero-waveform {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 320px;
  pointer-events: none;
  opacity: 0.6;
  filter: drop-shadow(0 0 20px rgba(48, 92, 222, 0.15));
  z-index: 0;
}

.waveform-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 80px 24px 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text-wrap {
  overflow: hidden;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 auto 24px;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  background: rgba(255,255,255,0.12);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 16px auto 0;
  text-align: center;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* Hero stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 40px;
  border-top: 1px solid var(--border);
}

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

.odo-value {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--highlight);
  display: flex;
  align-items: baseline;
  justify-content: center;
  overflow: hidden;
  height: 1.15em;
}

.odo-digit {
  display: inline-block;
  overflow: hidden;
  height: 1.15em;
  position: relative;
}

.odo-strip {
  display: flex;
  flex-direction: column;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.odo-strip span {
  display: block;
  height: 1.15em;
  line-height: 1.15;
}

.odo-static {
  font-size: 1.8rem;
  line-height: 1.15;
}

.odo-prefix,
.odo-suffix {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--highlight);
  opacity: 0.7;
}

.odo-dot {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--highlight);
  line-height: 1.15;
}

.odo-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.odo-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-hint span {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* ═══════════════════════════════════════════════════════════════════════
   3. SPLIT LAYOUT — Problem + Signal
   ═══════════════════════════════════════════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 40fr 55fr;
  gap: 80px;
  align-items: start;
  position: relative;
}

.split::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--primary) 30%, var(--primary) 70%, transparent 100%);
  opacity: 0.15;
}

.split-left .h2 {
  text-align: left;
}

.split-right p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feat-icon {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 32px;
  letter-spacing: 0.08em;
}

.feat strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.feat p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   4. TECHNOLOGY — Pillar Cards (2x2)
   ═══════════════════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.header-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 16px auto 0;
  line-height: 1.6;
}

.section-header--left {
  text-align: left;
  max-width: 800px;
  margin-left: 0;
}

.section-header--left .header-sub {
  margin-left: 0;
}

.header-rule {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 20px 0;
  border: none;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: border-color 0.3s, transform 0.3s;
}

.pillar-card:hover {
  border-color: rgba(48, 92, 222, 0.2);
  transform: translateY(-4px);
}

.pillar-num {
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 14px;
  display: block;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 12px;
}

.pillar-card p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

#technology .pillar-card p {
  color: var(--text);
  opacity: 0.85;
}

#technology .header-sub {
  color: var(--text);
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════════════
   5. MARQUEE
   ═══════════════════════════════════════════════════════════════════════ */
.marquee-section {
  padding: 24px 0;
  overflow: hidden;
}

.marquee-row {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  padding: 12px 0;
}

.marquee-row + .marquee-row {
  margin-top: 4px;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-content span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 0 24px;
  color: var(--text);
}

.marquee-content span::after {
  content: '\00B7';
  margin-left: 48px;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 400;
}

.marquee-row.outlined .marquee-content span {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
}

.marquee-row.outlined .marquee-content span::after {
  color: rgba(255, 255, 255, 0.15);
  -webkit-text-stroke: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   6. USE CASES — Accordion Strips
   ═══════════════════════════════════════════════════════════════════════ */
.accordion-slider {
  display: flex;
  gap: 1px;
  height: 60vh;
  min-height: 380px;
  max-height: 560px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.svc-strip {
  flex: 1;
  background: var(--bg-surface);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-strip.active {
  flex: 5;
}

/* Accordion strip backgrounds */
.svc-strip:nth-child(1) {
  background: linear-gradient(180deg, rgba(7,24,39,0.4) 0%, rgba(7,24,39,0.65) 100%),
              url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=800&q=80&auto=format&fit=crop') center/cover no-repeat;
  background-color: #0a1e30;
}

.svc-strip:nth-child(2) {
  background: linear-gradient(180deg, rgba(7,24,39,0.4) 0%, rgba(7,24,39,0.65) 100%),
              url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=800&q=80&auto=format&fit=crop') center/cover no-repeat;
  background-color: #0c2035;
}

.svc-strip:nth-child(3) {
  background: linear-gradient(180deg, rgba(7,24,39,0.4) 0%, rgba(7,24,39,0.65) 100%),
              url('https://images.unsplash.com/photo-1559526324-4b87b5e36e44?w=800&q=80&auto=format&fit=crop') center/cover no-repeat;
  background-color: #0a1c2e;
}

.svc-vertical {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(50%) rotate(-90deg);
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transform-origin: center center;
  transition: opacity 0.3s;
}

.svc-strip.active .svc-vertical {
  opacity: 0;
}

.svc-expanded {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  background: linear-gradient(0deg, rgba(48, 92, 222, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.svc-strip.active .svc-expanded {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.svc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}

.svc-expanded h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}

.svc-expanded p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 36ch;
}

/* ═══════════════════════════════════════════════════════════════════════
   7. WHY TRUVX — Sticky Cards
   ═══════════════════════════════════════════════════════════════════════ */
#why-truvx {
  background: linear-gradient(180deg, rgba(7,24,39,0.55) 0%, rgba(2,10,18,0.7) 100%),
              url('https://images.unsplash.com/photo-1746037870491-b2e415517d0f?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  background-color: var(--bg-surface);
}

.foundation-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 80px;
}

.foundation-header-left {
  flex: 1;
}

.foundation-header-left .h2 {
  text-align: left;
}

.foundation-header-left .h2 em {
  font-style: italic;
  font-weight: 400;
}

.cards-stack {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.stack-card {
  position: sticky;
  top: calc(100px + var(--card-index) * 20px);
  z-index: calc(var(--card-index) + 1);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  margin-bottom: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.1s ease;
  will-change: transform;
}

.card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
  opacity: 0.7;
}

.stack-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
  color: var(--text);
}

.stack-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 55ch;
}

/* ═══════════════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════════════ */
.about-block {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.about-block:first-child {
  border-top: none;
  padding-top: 0;
}

.about-block-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.about-block p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 55ch;
}

/* ═══════════════════════════════════════════════════════════════════════
   8. CONTACT
   ═══════════════════════════════════════════════════════════════════════ */
#contact {
  background: linear-gradient(180deg, rgba(2,10,18,0.5) 0%, rgba(2,10,18,0.65) 100%),
              url('https://images.unsplash.com/photo-1462899006636-339e08d1844e?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  background-color: var(--bg);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .h2 {
  text-align: left;
}

.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 480px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  overflow: hidden;
  transform: translateY(-20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: radial-gradient(circle 250px at var(--mx, 50%) var(--my, 50%), rgba(48, 92, 222, 0.10), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.contact-form:hover::before {
  opacity: 1;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  position: relative;
  z-index: 1;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

/* Form status message */
.form-status {
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.form-status.success {
  background: rgba(32, 199, 181, 0.12);
  border: 1px solid rgba(32, 199, 181, 0.3);
  color: #20C7B5;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #EF4444;
}

/* ═══════════════════════════════════════════════════════════════════════
   9. FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 56px;
  width: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.footer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

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

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

.footer-meta p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-meta a {
  color: var(--primary);
  transition: color 0.3s;
}

.footer-meta a:hover {
  color: var(--highlight);
}

/* ═══════════════════════════════════════════════════════════════════════
   WP OVERRIDES — Remove WP default styling
   ═══════════════════════════════════════════════════════════════════════ */
#wpadminbar ~ .nav {
  top: 32px;
}

@media (max-width: 782px) {
  #wpadminbar ~ .nav {
    top: 46px;
  }
}

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

@media (max-width: 1024px) {
  .accordion-slider {
    height: 50vh;
    min-height: 340px;
    max-height: 480px;
  }

  .pillar-card {
    padding: 32px;
  }

  .stack-card {
    padding: 40px 32px;
    min-height: 240px;
  }

  .contact-wrap {
    gap: 40px;
  }
}

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

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 10, 18, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 99;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .cursor-glow {
    display: none;
  }

  .hero-content {
    padding: 80px 24px 120px;
  }

  .hero-headline {
    font-size: clamp(28px, 8vw, 48px);
  }

  .hero-headline br {
    display: none;
  }

  .hero-sub br {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

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

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    padding: 20px 24px;
  }

  .odo-stat {
    flex: none;
  }

  .odo-divider {
    display: none;
  }

  .odo-value {
    font-size: 1.4rem;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split::before {
    display: none;
  }

  .foundation-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
  }

  .contact-form {
    transform: none;
  }

  .section-header--left {
    text-align: center;
  }

  .section-header--left .header-sub {
    margin-left: auto;
  }

  .header-rule {
    margin: 20px auto;
  }

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

  .pillar-card {
    padding: 28px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .accordion-slider {
    flex-direction: column;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .svc-strip {
    min-height: 56px;
    flex: none;
  }

  .svc-strip.active {
    min-height: 220px;
    flex: none;
  }

  .svc-vertical {
    transform: none;
    position: relative;
    bottom: auto;
    left: auto;
    padding: 16px 20px;
  }

  .svc-strip.active .svc-vertical {
    opacity: 0;
    position: absolute;
  }

  .svc-expanded {
    position: relative;
    padding: 20px;
    background: linear-gradient(0deg, rgba(48, 92, 222, 0.06) 0%, transparent 100%);
  }

  .svc-expanded p {
    max-width: none;
  }

  .cards-stack {
    padding-bottom: 0;
  }

  .stack-card {
    position: relative;
    top: auto;
    padding: 32px 24px;
    min-height: auto;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-meta {
    text-align: left;
  }

  .scroll-hint {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .hero-content {
    padding: 60px 16px 100px;
  }

  .hero-headline {
    font-size: clamp(24px, 7vw, 36px);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-stats {
    padding: 16px;
    gap: 12px 16px;
  }

  .odo-value {
    font-size: 1.2rem;
  }

  .odo-prefix,
  .odo-suffix {
    font-size: 1rem;
  }

  .odo-dot {
    font-size: 1.2rem;
  }

  .h2 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .section-header {
    margin-bottom: 36px;
  }

  .header-sub {
    font-size: 15px;
  }

  .pillar-card {
    padding: 24px;
  }

  .pillar-card h3 {
    font-size: 18px;
  }

  .marquee-content span {
    font-size: clamp(24px, 7vw, 40px);
    padding: 0 16px;
  }

  .marquee-content span::after {
    margin-left: 32px;
  }

  .svc-expanded h3 {
    font-size: 17px;
  }

  .svc-expanded p {
    font-size: 13px;
  }

  .stack-card {
    padding: 24px 20px;
    margin-bottom: 20px;
  }

  .stack-card h3 {
    font-size: clamp(20px, 5vw, 26px);
  }

  .stack-card p {
    font-size: 14px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 14px;
    font-size: 0.9rem;
  }

  .footer {
    padding: 40px 0;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
