/* ============================================================
   AI-Native Operations — Main Stylesheet
   ============================================================ */

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

:root {
  --bg: #04080A;
  --surface: #0A0F13;
  --surface-2: #0F1519;
  --border: rgba(255,255,255,0.06);
  --text: #F0F2F4;
  --text-dim: #5A6672;
  --text-mid: #8B95A1;
  --neon: #C8FF00;
  --neon-dim: rgba(200,255,0,0.08);
  --neon-glow: rgba(200,255,0,0.25);
  --danger: #FF3333;
  --display: 'Inter', system-ui, -apple-system, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 15px;
  font-weight: 400;
}

/* Scanline + noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.008) 2px, rgba(255,255,255,0.008) 4px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

::selection {
  background: var(--neon);
  color: var(--bg);
}

a { color: inherit; }

/* --- NAV --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, backdrop-filter 0.3s;
}

nav.scrolled {
  background: rgba(4,8,10,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-logo span {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav-status .dot {
  width: 6px; height: 6px;
  background: var(--neon);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--neon-glow); }
  50% { opacity: 0.6; box-shadow: 0 0 8px 3px var(--neon-glow); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s;
}

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

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--neon);
  color: var(--bg);
  padding: 0.6rem 1.4rem;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 30px var(--neon-dim);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  padding: 0.6rem 1.4rem;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.03);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100); /* Mobile viewport fix */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.04;
}

.hero-lines::before,
.hero-lines::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 1px;
  background: var(--neon);
  top: 35%;
  left: -50%;
  transform: rotate(-8deg);
  animation: lineSweep 8s ease-in-out infinite;
}

.hero-lines::after {
  top: 65%;
  transform: rotate(-8deg);
  animation-delay: 4s;
}

@keyframes lineSweep {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 2.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tag::before {
  content: '//';
  opacity: 0.4;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  max-width: 920px;
  margin-bottom: 2.5rem;
}

.hero h1 .strike {
  text-decoration: line-through;
  color: var(--danger);
  text-decoration-thickness: 3px;
  opacity: 0.7;
}

.hero h1 .highlight {
  color: var(--neon);
  display: inline-block;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

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

/* --- MANIFESTO STRIP --- */
.manifesto {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem;
}

.manifesto-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
}

.manifesto-badge {
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--neon);
  padding: 0.4rem 0.8rem;
  white-space: nowrap;
}

.manifesto p {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.65;
  max-width: 720px;
  letter-spacing: -0.01em;
}

.manifesto p strong {
  color: var(--neon);
  font-weight: 700;
}

/* --- MARQUEE --- */
.marquee-wrap {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 3rem;
  animation: scrollMarquee 22s linear infinite;
  width: max-content;
}

.marquee span {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.marquee span::after {
  content: '\25C6';
  font-size: 0.4rem;
  color: var(--neon);
  opacity: 0.5;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- PROBLEM --- */
.problem {
  padding: 8rem 2rem;
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.problem-left .label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--danger);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.problem-left h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.problem-left h2 .num { color: var(--danger); }

.problem-left p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 480px;
}

.problem-right {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dead-item {
  background: var(--surface);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 3px solid var(--danger);
  transition: background 0.25s;
}

.dead-item:hover { background: var(--surface-2); }

.dead-item .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dead-item .status {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--danger);
  font-weight: 700;
}

/* --- SECTION SHARED --- */
.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before { content: '//'; opacity: 0.4; }

.section-heading {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
  max-width: 700px;
  line-height: 1;
}

/* --- HOW IT WORKS (Visual) --- */
.how-it-works {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.how-it-works-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.hiw-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 4rem;
}

.hiw-step {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, background 0.3s;
}

.hiw-step:hover {
  border-color: rgba(200,255,0,0.2);
  background: var(--surface-2);
}

.hiw-step-num {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(200,255,0,0.08);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hiw-step-icon {
  width: 48px;
  height: 48px;
  border: 2px solid var(--neon);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  color: var(--neon);
}

.hiw-step h4 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.hiw-step p {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.7;
  flex-grow: 1;
}

.hiw-step-label {
  margin-top: 1.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.hiw-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  color: var(--neon);
  opacity: 0.4;
}

.hiw-arrow svg {
  width: 32px;
  height: 32px;
}

.hiw-bottom {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.hiw-metric {
  background: var(--surface);
  padding: 2rem;
  text-align: center;
}

.hiw-metric-value {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon);
  margin-bottom: 0.5rem;
}

.hiw-metric-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- SERVICES --- */
.services {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.service-featured {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3.5rem;
  margin-bottom: 1px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  transition: background 0.3s;
}

.service-featured:hover { background: var(--surface-2); }

.service-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--neon);
}

.service-featured .service-num {
  font-family: var(--display);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(200,255,0,0.06);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.service-featured h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.service-featured .primary-label {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--neon);
  padding: 0.25rem 0.6rem;
  margin-bottom: 1.5rem;
}

.service-featured p,
.right-col p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.right-col p:last-of-type { margin-bottom: 0; }

.service-tag {
  margin-top: 2rem;
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.service-tag span {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon);
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(200,255,0,0.15);
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--surface);
  padding: 3rem 2.5rem;
  position: relative;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover { background: var(--surface-2); }

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card .service-num {
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-card p {
  color: var(--text-mid);
  font-size: 0.85rem;
  line-height: 1.75;
  flex-grow: 1;
}

/* --- PROCESS --- */
.process {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
}

.process-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--neon), rgba(200,255,0,0.05));
}

.phase {
  padding-right: 2rem;
  position: relative;
}

.phase-dot {
  width: 10px; height: 10px;
  background: var(--bg);
  border: 2px solid var(--neon);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.phase:first-child .phase-dot {
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon-glow);
}

.phase-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.phase h4 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.phase p {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.7;
}

/* --- RESULTS --- */
.results {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
}

.results-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 4rem;
}

.result-card {
  background: var(--surface);
  padding: 3.5rem 2.5rem;
  position: relative;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--neon);
}

.result-num {
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text) 30%, var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-label {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* --- BELIEFS & VALUES --- */
.beliefs {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
}

.beliefs-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.beliefs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

/* Left: Core Beliefs */
.beliefs-col h3 {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 2.5rem;
  opacity: 0.6;
}

.belief-item {
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(200,255,0,0.15);
}

.belief-item:last-child { margin-bottom: 0; }

.belief-item h4 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.belief-item p {
  color: var(--text-mid);
  font-size: 0.85rem;
  line-height: 1.75;
}

/* Right: Core Values */
.value-item {
  background: var(--surface);
  padding: 2rem 2rem;
  margin-bottom: 1px;
  position: relative;
  transition: background 0.25s;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  align-items: start;
}

.value-item:hover { background: var(--surface-2); }

.value-num {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(200,255,0,0.12);
  line-height: 1;
}

.value-item h4 {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.value-item p {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.7;
}

/* --- THESIS --- */
.thesis {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

.thesis-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.thesis-card {
  background: var(--surface);
  padding: 3rem 2.5rem;
}

.thesis-card .num {
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

.thesis-card h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.thesis-card p {
  color: var(--text-mid);
  font-size: 0.85rem;
  line-height: 1.75;
}

/* --- CONTACT / CTA --- */
.contact {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
}

.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-left h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.contact-left h2 .highlight { color: var(--neon); }

.contact-left p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 420px;
}

.contact-left .or-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dim);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-left .or-divider::before,
.contact-left .or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Calendly embed container */
.calendly-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  min-height: 380px;
  position: relative;
}

.calendly-wrap .placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 380px;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  text-align: center;
  padding: 2rem;
}

.calendly-wrap .placeholder .cal-icon {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(200,255,0,0.2);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--neon);
}

.calendly-wrap .placeholder a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-family: var(--body);
  font-size: 0.85rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--neon);
}

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

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6672' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--surface);
  color: var(--text);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 0.85rem;
}

.form-success {
  display: none;
  background: rgba(200,255,0,0.05);
  border: 1px solid rgba(200,255,0,0.15);
  padding: 2.5rem 2rem;
  text-align: center;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-success.show { display: block; }

.form-success .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(200,255,0,0.1);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--neon);
}

.form-success h4 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.form-success > p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.form-error {
  color: var(--danger);
  font-size: 0.7rem;
  display: none;
  margin-top: 0.25rem;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-status .dot {
  width: 5px; height: 5px;
  background: var(--neon);
  border-radius: 50%;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s;
}

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

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-right span {
  color: var(--text-dim);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-social a {
  color: var(--text-dim);
  transition: color 0.25s;
}

.footer-social a:hover { color: var(--neon); }

/* --- REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ============================================================
   RESPONSIVE & MOBILE OPTIMIZATION
   ============================================================ */

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- TABLET (960px and below) --- */
@media (max-width: 960px) {
  /* Navigation */
  .nav-links {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
  }

  .menu-toggle {
    display: block;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle span {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

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

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

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

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(4,8,10,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 2rem 2rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    opacity: 1;
    transform: translateY(0);
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links.open li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open li:last-child {
    border-bottom: none;
    margin-top: 1rem;
  }

  .nav-links.open a {
    display: block;
    padding: 1rem 0;
    font-size: 0.85rem;
  }

  .nav-links.open .btn-primary {
    text-align: center;
    justify-content: center;
    padding: 1rem;
  }

  /* Layout adjustments */
  .manifesto-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .problem-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-featured { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .process-timeline::before { display: none; }
  .results-grid { grid-template-columns: 1fr; }
  .beliefs-grid { grid-template-columns: 1fr; gap: 3rem; }
  .thesis-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-left { flex-direction: column; gap: 1.5rem; }

  /* How it works diagram */
  .hiw-diagram { grid-template-columns: 1fr; gap: 0; }
  .hiw-arrow {
    transform: rotate(90deg);
    padding: 1rem 0;
    opacity: 0.3;
  }
  .hiw-bottom { grid-template-columns: 1fr; }

  /* Footer links wrap */
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
  }
}

/* --- MOBILE (600px and below) --- */
@media (max-width: 600px) {
  /* Base adjustments */
  body {
    font-size: 14px;
  }

  /* Disable heavy overlay on mobile for performance */
  body::before {
    background: none;
  }

  /* Navigation */
  nav {
    padding: 0.6rem 1rem;
  }

  .nav-logo svg {
    width: 28px;
    height: 28px;
  }

  .nav-links.open {
    padding: 0.75rem 1rem 1.25rem;
  }

  .nav-links.open a {
    padding: 0.85rem 0;
    font-size: 0.8rem;
  }

  /* Hero section - compact but impactful */
  .hero {
    padding: 5.5rem 1rem 2.5rem;
    min-height: auto;
    min-height: calc(100svh - 50px);
  }

  .hero-tag {
    font-size: 0.55rem;
    margin-bottom: 1rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    margin-bottom: 1rem;
    line-height: 1;
  }

  .hero-sub {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.6rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.75rem;
    min-height: 48px;
  }

  /* Manifesto - tight */
  .manifesto {
    padding: 1.5rem 1rem;
  }

  .manifesto-badge {
    font-size: 0.55rem;
    padding: 0.3rem 0.6rem;
  }

  .manifesto p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* Marquee */
  .marquee-wrap {
    padding: 0.6rem 0;
  }

  .marquee {
    animation-duration: 25s;
  }

  .marquee span {
    font-size: 0.6rem;
    gap: 1.5rem;
  }

  /* Section spacing - COMPACT */
  .problem,
  .services,
  .process,
  .results,
  .beliefs,
  .thesis,
  .contact,
  .how-it-works {
    padding: 2.5rem 1rem;
  }

  /* Section headings - smaller */
  .section-label {
    font-size: 0.55rem;
    margin-bottom: 0.6rem;
  }

  .section-heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 1.5rem;
    line-height: 1.05;
  }

  /* Problem section */
  .problem-left .label {
    font-size: 0.55rem;
    margin-bottom: 0.75rem;
  }

  .problem-left h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 0.75rem;
  }

  .problem-left p {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .dead-item {
    padding: 0.85rem;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .dead-item .name {
    font-size: 0.7rem;
    flex: 1;
  }

  .dead-item .status {
    font-size: 0.55rem;
  }

  /* How it works - streamlined */
  .hiw-step {
    padding: 1.25rem 1rem;
  }

  .hiw-step-num {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .hiw-step-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.75rem;
    border-width: 1.5px;
  }

  .hiw-step-icon svg {
    width: 16px;
    height: 16px;
  }

  .hiw-step h4 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }

  .hiw-step p {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .hiw-step-label {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    font-size: 0.55rem;
  }

  .hiw-arrow {
    padding: 0.4rem 0;
  }

  .hiw-arrow svg {
    width: 20px;
    height: 20px;
  }

  .hiw-bottom {
    margin-top: 1.5rem;
  }

  .hiw-metric {
    padding: 1rem;
  }

  .hiw-metric-value {
    font-size: 1.5rem;
  }

  .hiw-metric-label {
    font-size: 0.6rem;
  }

  /* Services - condensed */
  .service-featured {
    padding: 1.5rem 1rem;
  }

  .service-featured .primary-label {
    font-size: 0.5rem;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.75rem;
  }

  .service-featured .service-num {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .service-featured h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .service-featured p,
  .right-col p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }

  .service-tag {
    margin-top: 1rem;
  }

  .service-tag span {
    font-size: 0.5rem;
    padding: 0.2rem 0.4rem;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  .service-card .service-num {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .service-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .service-card p {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  /* Process timeline - vertical & compact */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.5rem;
  }

  .phase {
    padding: 0 0 1.25rem 1.5rem;
    border-left: 1px solid rgba(200,255,0,0.2);
    margin-left: 4px;
    position: relative;
  }

  .phase:last-child {
    padding-bottom: 0;
  }

  .phase-dot {
    position: absolute;
    left: -5px;
    top: 0;
    margin-bottom: 0;
    width: 8px;
    height: 8px;
  }

  .phase-label {
    margin-bottom: 0.2rem;
    font-size: 0.55rem;
  }

  .phase h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .phase p {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  /* Results - compact grid */
  .results-grid {
    margin-top: 1.5rem;
  }

  .result-card {
    padding: 1.25rem 1rem;
  }

  .result-num {
    font-size: 2.5rem;
    margin-bottom: 0.35rem;
  }

  .result-label {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  /* Beliefs - streamlined */
  .beliefs-grid {
    margin-top: 1.5rem;
    gap: 2rem;
  }

  .beliefs-col h3 {
    margin-bottom: 1rem;
    font-size: 0.6rem;
  }

  .belief-item {
    margin-bottom: 1.25rem;
    padding-left: 0.85rem;
  }

  .belief-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .belief-item p {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .value-item {
    padding: 1rem;
    grid-template-columns: 2rem 1fr;
    gap: 0.75rem;
  }

  .value-num {
    font-size: 1.25rem;
  }

  .value-item h4 {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
  }

  .value-item p {
    font-size: 0.7rem;
    line-height: 1.5;
  }

  /* Thesis - compact cards */
  .thesis-card {
    padding: 1.5rem 1rem;
  }

  .thesis-card .num {
    font-size: 0.55rem;
    margin-bottom: 0.75rem;
  }

  .thesis-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .thesis-card p {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  /* Contact - efficient */
  .contact-inner {
    gap: 2rem;
  }

  .contact-left h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 0.75rem;
  }

  .contact-left p {
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }

  .calendly-wrap {
    min-height: 280px;
  }

  .calendly-wrap .placeholder {
    height: 280px;
    font-size: 0.7rem;
    gap: 0.75rem;
  }

  .calendly-wrap .placeholder .cal-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .or-divider {
    margin-bottom: 1.25rem !important;
  }

  /* Form - compact */
  .contact-form {
    gap: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-group {
    gap: 0.3rem;
  }

  .form-group label {
    font-size: 0.6rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 0.85rem;
    min-height: 48px;
  }

  .form-group textarea {
    min-height: 90px;
  }

  .form-submit {
    margin-top: 0.25rem;
  }

  .form-submit .btn-primary {
    padding: 0.85rem;
    min-height: 48px;
    font-size: 0.8rem;
  }

  .form-success {
    padding: 1.25rem;
  }

  .form-success h4 {
    font-size: 1rem;
  }

  .form-success p {
    font-size: 0.75rem;
  }

  /* Footer - minimal */
  footer {
    padding: 1.5rem 1rem;
  }

  .footer-status {
    font-size: 0.55rem;
  }

  .footer-status .dot {
    width: 4px;
    height: 4px;
  }

  .footer-links {
    gap: 0.5rem 1rem;
  }

  .footer-links a {
    font-size: 0.55rem;
    padding: 0.4rem 0;
  }

  .footer-right span {
    font-size: 0.55rem;
  }
}

/* --- EXTRA SMALL (380px and below) --- */
@media (max-width: 380px) {
  .hero {
    padding: 5rem 0.85rem 2rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-sub {
    font-size: 0.75rem;
  }

  .section-heading {
    font-size: 1.4rem;
  }

  .problem-left h2 {
    font-size: 1.5rem;
  }

  .contact-left h2 {
    font-size: 1.5rem;
  }

  .result-num {
    font-size: 2rem;
  }

  .btn-primary,
  .btn-ghost {
    font-size: 0.7rem;
    padding: 0.8rem 1rem;
    min-height: 44px;
  }

  .manifesto p {
    font-size: 0.8rem;
  }

  .problem,
  .services,
  .process,
  .results,
  .beliefs,
  .thesis,
  .contact,
  .how-it-works {
    padding: 2rem 0.85rem;
  }
}

/* --- TOUCH DEVICE OPTIMIZATIONS --- */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects that don't work well on touch */
  .service-card::before {
    display: none;
  }

  .dead-item:hover,
  .service-card:hover,
  .service-featured:hover,
  .value-item:hover {
    background: var(--surface);
  }

  /* Add active states for touch feedback */
  .btn-primary:active {
    transform: scale(0.98);
    opacity: 0.9;
  }

  .btn-ghost:active {
    background: rgba(255,255,255,0.05);
    transform: scale(0.98);
  }

  .dead-item:active,
  .service-card:active,
  .value-item:active {
    background: var(--surface-2);
  }

  /* Larger touch targets for interactive elements */
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* --- LANDSCAPE MOBILE --- */
@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 6rem 2rem 3rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero-actions {
    flex-direction: row;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: auto;
  }
}

/* --- SAFE AREA INSETS (for notched devices) --- */
@supports (padding: max(0px)) {
  nav {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .hero,
  .manifesto,
  .problem,
  .services,
  .process,
  .results,
  .beliefs,
  .thesis,
  .contact,
  .how-it-works,
  footer {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }

  footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

/* --- HIGH CONTRAST MODE --- */
@media (prefers-contrast: high) {
  :root {
    --border: rgba(255,255,255,0.2);
    --text-dim: #8B95A1;
    --text-mid: #B0B8C1;
  }

  .btn-primary {
    border: 2px solid var(--bg);
  }

  .btn-ghost {
    border-width: 2px;
  }
}

/* ============================================================
   ASSESSMENT CTA
   ============================================================ */
.assessment-cta {
  padding: 5rem 2rem;
  background: var(--surface);
}

.assessment-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.assessment-cta-content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem 2.5rem;
}

.assessment-cta-content .section-label {
  margin-bottom: 1rem;
}

.assessment-cta-content h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.assessment-cta-content p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

@media (max-width: 600px) {
  .assessment-cta {
    padding: 3.5rem 1.25rem;
  }

  .assessment-cta-content {
    padding: 2rem 1.5rem;
  }
}
