/* ═══════════════════════════════════════════════
   AXIOME — PREMIUM DARK DESIGN SYSTEM
   Warm darkness, serif headlines, green accent
   ═══════════════════════════════════════════════ */

:root {
  /* Warm near-black — not cold gray */
  --bg:          #080808;
  --bg-2:        #0d0d0d;
  --bg-3:        #111111;
  --surface:     #141414;
  --surface-2:   #1a1a1a;
  --border:      #222222;
  --border-2:    #2e2e2e;
  --fg:          #f2f2f2;
  --fg-2:        #888888;
  --fg-3:        #444444;
  /* Axiome green — primary accent */
  --accent:      #00FF88;
  --accent-2:    #00cc6a;
  --accent-dim:  rgba(0, 255, 136, 0.07);
  --accent-glow: rgba(0, 255, 136, 0.18);
  --radius:      6px;
  --radius-lg:   12px;
  --radius-xl:   20px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}

.nav-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-2);
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 32px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Grid pattern — subtle and refined */
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Atmospheric green orb — right side hero */
.hero-orb {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0, 255, 136, 0.14) 0%,
    rgba(0, 255, 136, 0.06) 35%,
    rgba(0, 255, 136, 0.02) 60%,
    transparent 80%
  );
  filter: blur(40px);
  pointer-events: none;
}

.hero-orb-inner {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 136, 0.12);
  background: radial-gradient(circle,
    rgba(0, 255, 136, 0.08) 0%,
    transparent 70%
  );
}

/* Floating node decorations */
.node-float {
  position: absolute;
  animation: float 7s ease-in-out infinite;
}
.nf1 { top: 22%; right: 18%; animation-delay: 0s; }
.nf2 { top: 58%; right: 10%; animation-delay: 2.3s; }
.nf3 { top: 72%; right: 24%; animation-delay: 4.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,255,136,0.4); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0,255,136,0); }
}

/* ── Hero Content ── */
.hero-content {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

/* Editorial serif headline — 2 lines */
.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 28px;
  max-width: 720px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--fg-2);
  max-width: 520px;
  margin-bottom: 56px;
  line-height: 1.65;
}

/* Stats row — clean and vertical */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 0;
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 28px 0 0;
}
.proof-item:first-child { padding-left: 0; }
.proof-val {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.proof-label {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 28px 0 0;
}

/* ── Problem Section ── */
.problem {
  padding: 100px 32px;
  background: var(--bg-2);
}
.problem-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.problem-card:hover {
  border-color: rgba(0, 255, 136, 0.2);
  transform: translateY(-2px);
}
.pc-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 136, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.problem-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.problem-card p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ── Stack Section ── */
.stack {
  padding: 100px 32px;
}
.stack-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.stack-header {
  text-align: center;
  margin-bottom: 56px;
}
.stack-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.stack-sub {
  font-size: 16px;
  color: var(--fg-2);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.stack-card:hover {
  border-color: rgba(0, 255, 136, 0.25);
  transform: translateY(-2px);
}
.sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sc-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sc-tag {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 136, 0.12);
  padding: 3px 8px;
  border-radius: 100px;
}
.stack-card p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.sc-meta {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.stack-note {
  text-align: center;
  font-size: 13px;
  color: var(--fg-3);
  font-style: italic;
}

/* ── Services ── */
.services {
  padding: 100px 32px;
  background: var(--bg-2);
}
.services-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: start;
}
.services-left {
  position: sticky;
  top: 80px;
}
.services-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0;
}
.services-sub {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.75;
}
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.service-item:first-child { border-top: 1px solid var(--border); }
.si-marker {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 136, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.si-content h4 {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 5px;
}
.si-content p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
}

/* ── Manifesto ── */
.manifesto {
  padding: 100px 32px;
}
.manifesto-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.manifesto-quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mq-mark { opacity: 0.4; }
blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--fg);
}
.mq-attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 4px;
}
.mq-author {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.mq-role {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}
.manifesto-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mv-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
}
.mvb-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 100px;
  margin-bottom: 14px;
}
.mvb-bar {
  flex: 1;
  background: var(--border);
  border-radius: 3px 3px 0 0;
  transition: background 0.3s;
}
.mvb-bar.active {
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.mvb-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  color: var(--fg-3);
  text-align: center;
}

/* ── Closing ── */
.closing {
  padding: 100px 32px 120px;
  background: var(--bg-2);
}
.closing-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.closing-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.closing-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.75;
  margin-bottom: 28px;
}
.cta-label {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 5px;
}
.cta-note {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}
.cv-diagram {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cvd-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 130px;
}
.cvd-num {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.cvd-text {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
}
.cvd-arrow { flex-shrink: 0; }

/* ── Footer ── */
.footer {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-3);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}
.footer-sep { opacity: 0.3; }
.footer-copy {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  color: var(--fg-3);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .problem-grid, .stack-grid { grid-template-columns: 1fr; }
  .services-inner, .manifesto-inner, .closing-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-proof { flex-wrap: wrap; gap: 16px; }
  .proof-divider { display: none; }
  .proof-item { padding: 0; }
  .hero-orb { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 80px 20px 60px; }
  .problem, .stack, .services, .manifesto, .closing { padding: 60px 20px; }
  .nav-inner { padding: 0 20px; }
}