/* New Horizon AI — shared stylesheet */

:root {
  --bg: #000000;
  --bg-2: #0a0814;
  --fg: #ffffff;
  --muted: #a0a0a0;
  --dim: #666666;
  --line: rgba(255, 255, 255, 0.12);
  --line-purple: rgba(139, 111, 232, 0.28);
  --silver: #b8bcc8;
  --silver-dim: #7e8290;
  --purple: #8b6fe8;
  --purple-bright: #a78bfa;
  --purple-deep: #5a3fb8;
  --purple-glow: rgba(139, 111, 232, 0.35);
  --accent: var(--silver);
  --max: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.02em; }
.brand svg {
  width: 32px; height: 32px;
  color: var(--fg);
  filter: drop-shadow(0 0 12px rgba(139, 111, 232, 0.45));
  transition: filter 0.3s, transform 0.3s;
}
.brand:hover svg {
  filter: drop-shadow(0 0 18px rgba(139, 111, 232, 0.85));
  transform: rotate(-6deg);
}
.brand-name {
  font-size: 15px; text-transform: uppercase; letter-spacing: 0.18em;
  background: linear-gradient(90deg, var(--fg) 0%, var(--silver) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--purple-bright); }
.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--purple);
  background: linear-gradient(135deg, rgba(139,111,232,0.12), rgba(139,111,232,0.04));
  border-radius: 999px;
  font-size: 13px !important; font-weight: 500 !important; color: var(--fg) !important;
  letter-spacing: 0.02em; transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--purple); color: var(--fg) !important;
  border-color: var(--purple);
  box-shadow: 0 0 24px var(--purple-glow);
}
.nav-toggle { display: none; background: transparent; border: 0; color: var(--fg); cursor: pointer; }

/* ---------- HERO (homepage) ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(90,63,184,0.18) 0%, rgba(0,0,0,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(10,8,20,0.6) 50%, rgba(0,0,0,0.92) 100%);
}
.hero-content {
  position: relative; z-index: 3;
  max-width: 920px; padding: 0 24px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--purple-bright); margin-bottom: 28px;
  padding: 6px 16px;
  border: 1px solid var(--line-purple);
  background: rgba(139, 111, 232, 0.08);
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero h1 .pipe { color: var(--dim); margin: 0 0.15em; font-weight: 300; }
.hero-subhead {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  transition: all 0.2s; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: var(--fg);
  border: 1px solid var(--purple);
  box-shadow: 0 0 0 rgba(139,111,232,0);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-bright) 0%, var(--purple) 100%);
  box-shadow: 0 0 28px var(--purple-glow);
  transform: translateY(-1px);
}
.btn-secondary { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--purple); color: var(--purple-bright); }
.btn .arrow { display: inline-block; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- INNER PAGE HERO (no video) ---------- */
.page-hero {
  position: relative;
  padding: 180px 32px 100px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(90,63,184,0.18) 0%, transparent 70%),
    var(--bg);
}
.page-hero-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--purple-bright); margin-bottom: 22px;
  padding: 6px 16px;
  border: 1px solid var(--line-purple);
  background: rgba(139, 111, 232, 0.08);
  border-radius: 999px;
}
.page-hero h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 auto 20px;
  max-width: 900px;
}
.page-hero p.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- SECTIONS ---------- */
section { padding: 120px 32px; }
.container { max-width: var(--max); margin: 0 auto; }
.container-narrow { max-width: 860px; margin: 0 auto; }
.section-eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--silver-dim); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px; background: var(--purple);
}
.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 24px; max-width: 800px;
}
.section-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted); max-width: 720px; line-height: 1.6;
}

/* ---------- THREE-UP PROOF ---------- */
.proof { border-top: 1px solid var(--line); }
.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.proof-card {
  padding: 48px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}
.proof-card:last-child { border-right: 0; }
.proof-card:hover { background: rgba(139,111,232,0.04); }
.proof-num {
  font-size: 12px; color: var(--silver-dim); margin-bottom: 32px;
  font-variant-numeric: tabular-nums; letter-spacing: 0.14em;
}
.proof-num span { color: var(--purple-bright); }
.proof-card h3 {
  font-size: 24px; font-weight: 600; margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.proof-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- WEDGE ---------- */
.wedge {
  background:
    radial-gradient(60% 80% at 80% 30%, rgba(90,63,184,0.10), transparent 70%),
    var(--bg-2);
}
.wedge-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  margin-top: 64px;
}
.wedge-col {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.wedge-col.us { border-top-color: var(--purple); }
.wedge-col h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--silver-dim); margin-bottom: 24px; font-weight: 500;
}
.wedge-col.us h4 { color: var(--purple-bright); }
.wedge-col h3 {
  font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.wedge-col p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.wedge-col.them h3 { color: #888; }
.wedge-col.them { opacity: 0.65; }

/* ---------- MISSION ---------- */
.mission .container { text-align: center; }
.mission-quote {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 300; line-height: 1.5; letter-spacing: -0.015em;
  max-width: 900px; margin: 0 auto 32px;
}
.mission-quote .accent {
  font-weight: 600;
  background: linear-gradient(135deg, var(--purple-bright) 0%, var(--silver) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mission-author { color: var(--silver-dim); font-size: 14px; letter-spacing: 0.05em; }

/* ---------- CTA BAND ---------- */
.cta-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(139,111,232,0.08), transparent 70%),
    var(--bg);
}
.cta-band .section-title { margin: 0 auto 32px; }
.cta-band .section-lede { margin: 0 auto 40px; }

/* ---------- STEPS / PROCESS ---------- */
.steps {
  display: grid; gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.step {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 48px; padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step-num {
  font-size: 14px; color: var(--purple-bright);
  letter-spacing: 0.18em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.step-num span { color: var(--silver-dim); display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0.2em; }
.step h3 {
  font-size: 26px; font-weight: 600; margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 680px; }
.step ul { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.7; padding-left: 20px; }
.step ul li { margin-bottom: 6px; }
.step ul li::marker { color: var(--purple); }

/* ---------- TWO-COLUMN PROSE ---------- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-top: 64px;
}
.two-col h3 {
  font-size: 24px; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.01em;
}
.two-col p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }

/* ---------- VALUE LIST ---------- */
.values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.value {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value:nth-child(3n) { border-right: 0; }
.value-icon {
  width: 36px; height: 36px; margin-bottom: 24px;
  color: var(--purple-bright);
  filter: drop-shadow(0 0 8px var(--purple-glow));
}
.value h4 {
  font-size: 18px; font-weight: 600; margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.value p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ---------- INLINE PROSE / LEGAL ---------- */
.prose { max-width: 720px; margin: 0 auto; color: var(--muted); }
.prose h2 {
  color: var(--fg); font-size: 26px; font-weight: 600;
  margin: 48px 0 16px; letter-spacing: -0.01em;
}
.prose h3 {
  color: var(--fg); font-size: 19px; font-weight: 600;
  margin: 32px 0 12px;
}
.prose p { font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose ul li { margin-bottom: 8px; line-height: 1.7; }
.prose ul li::marker { color: var(--purple); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--purple-bright); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--fg); }

/* ---------- FOOTER ---------- */
footer { padding: 64px 32px 40px; border-top: 1px solid var(--line); }
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; margin-top: 16px; line-height: 1.6; }
.footer-col h5 {
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--dim); margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--muted); margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--purple-bright); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding-top: 32px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--dim);
}
.footer-bottom > div:last-child { color: var(--silver); letter-spacing: 0.04em; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  section { padding: 80px 20px; }
  .page-hero { padding: 140px 20px 64px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card { border-right: 0 !important; }
  .wedge-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .values { grid-template-columns: 1fr; }
  .value { border-right: 0 !important; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .page-hero h1 { font-size: 34px; }
}

/* ---------- ACCESSIBILITY / MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background: linear-gradient(180deg, #111 0%, #000 100%); }
  .brand:hover svg { transform: none; }
}
