/* 8gents — Hermes identity design system */
:root {
  --bg-0: #060709;
  --bg-1: #0c0e12;
  --bg-2: #12151b;
  --text-0: #f4f6f8;
  --text-1: #c7cdd6;
  --text-2: #8a919c;
  --text-3: #5d646e;
  --blue: #3d5bff;
  --blue-bright: #6b82ff;
  --blue-deep: #2b3cff;
  --blue-soft: rgba(61, 91, 255, 0.12);
  --blue-glow: rgba(61, 91, 255, 0.28);
  --gold: #d9b24a;
  --line-1: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.1);
  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-0);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1180px, 100% - 3rem); margin: 0 auto; }

.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 500;
  color: #93a6ff;
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.035em; line-height: 1.05; font-weight: 800; }

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line-1); }

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(6, 7, 9, 0.72);
  border-bottom: 1px solid var(--line-1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.header-nav { display: flex; align-items: center; gap: 1.6rem; }
.header-nav a { font-size: 0.86rem; color: var(--text-1); transition: color 0.2s; }
.header-nav a:hover { color: var(--text-0); }
.header-cta {
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--blue);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}
.header-cta:hover { background: var(--blue-bright); transform: translateY(-1px); }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, var(--blue-glow), transparent 62%);
  filter: blur(20px);
  opacity: 0.55;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}
.hero-kicker {
  margin-bottom: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(61,91,255,0.35);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 0.4rem 0.95rem 0.4rem 0.75rem;
}
.hero-kicker::before { content: ""; width: 2.2rem; height: 1px; background: var(--blue); }
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  margin-bottom: 1.4rem;
}
.hero h1 .accent { color: var(--blue-bright); }
.hero-sub {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.6;
  color: #d3d9e2;
  max-width: 34rem;
  margin-bottom: 2.2rem;
}
.hero-sub strong { color: var(--text-0); font-weight: 600; }
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  transition: transform 0.15s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 12px 34px -12px var(--blue-glow);
}
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  color: var(--text-0);
}
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.hero-proof {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.proof-item .n { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; color: #e8ecf2; }
.proof-item .n span { color: var(--blue-bright); }
.proof-item .l { font-size: 0.84rem; color: var(--text-1); margin-top: 0.2rem; }
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-art::after {
  content: "";
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2.2rem;
  background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(61,91,255,0.25), transparent 70%);
  filter: blur(14px);
}
.hero-art::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow), transparent 65%);
  filter: blur(30px);
}
.hero-art img {
  position: relative;
  width: min(560px, 92%);
  transform: translateY(var(--par, 0px));
  transition: transform 0.1s linear;
  border-radius: 1.2rem;
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px rgba(61,91,255,0.12),
    0 40px 80px -30px rgba(0,0,0,0.9),
    0 0 120px -20px var(--blue-glow);
}

.trust-strip {
  position: relative;
  border-top: 1px solid var(--line-1);
  padding: 1.1rem 0;
}
.trust-inner {
  display: flex;
  gap: 2.4rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-inner .mono { color: var(--text-2); letter-spacing: 0.12em; }
.trust-inner strong { color: var(--text-0); }

/* ——— Sections ——— */
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head .mono { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.section-head .mono::before { content: ""; width: 2.2rem; height: 1px; background: var(--blue); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head p { color: var(--text-1); margin-top: 1rem; font-size: 1.05rem; max-width: 40rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }

/* outcome cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card {
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}
.card:hover { border-color: rgba(61,91,255,0.35); transform: translateY(-4px); background: var(--bg-2); }
.card .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue-bright);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 0.9rem;
}
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.55rem; }
.card p { font-size: 0.92rem; color: var(--text-2); }

/* terminal */
.terminal {
  background: #08090c;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line-1);
}
.terminal-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.terminal-bar .dot:nth-child(1) { background: #ff5f57; }
.terminal-bar .dot:nth-child(2) { background: #febc2e; }
.terminal-bar .dot:nth-child(3) { background: #28c840; }
.terminal-bar .t { margin-left: auto; font-size: 0.68rem; color: var(--text-3); letter-spacing: 0.1em; }
.terminal-body { padding: 1.2rem 1.3rem; line-height: 2; color: var(--text-1); }
.terminal-body .c { color: var(--text-3); }
.terminal-body .cmd { color: var(--text-0); }
.terminal-body .cmd::before { content: "$ "; color: var(--blue-bright); }
.terminal-body .ok { color: #4ade80; }
.terminal-body .ok::before { content: "✓ "; }

/* feature grid */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.feature-card { min-height: 100%; }
.feature-card .icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9px;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.step {
  position: relative;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line-1);
  border-radius: 14px;
  background: var(--bg-1);
}
.step .step-n {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.88rem; color: var(--text-2); }
.step .time { display: block; margin-top: 0.8rem; font-family: var(--font-mono); font-size: 0.68rem; color: var(--blue-bright); letter-spacing: 0.1em; text-transform: uppercase; }

/* verticals */
.verticals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.vertical {
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--line-1);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.vertical h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.vertical p { color: var(--text-2); font-size: 0.94rem; }
.vertical .mono { color: var(--text-3); display: block; margin-bottom: 0.9rem; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.price-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: 14px;
  padding: 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.price-card.featured {
  border-color: rgba(61, 91, 255, 0.5);
  background: linear-gradient(180deg, var(--blue-soft), var(--bg-1) 60%);
  box-shadow: 0 0 0 1px rgba(61,91,255,0.15), 0 24px 50px -24px var(--blue-glow);
}
.price-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 0.24rem 0.6rem;
  font-weight: 500;
}
.price-name { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; }
.price-amount span { font-family: var(--font-body); font-size: 0.78rem; font-weight: 400; color: var(--text-2); }
.price-detail { font-size: 0.84rem; color: var(--text-2); }
.price-footnote { margin-top: 2rem; color: var(--text-2); font-size: 0.92rem; max-width: 46rem; }
.price-footnote a { color: var(--blue-bright); }

/* comparison */
.compare {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line-1);
  border-radius: 14px;
  overflow: hidden;
  font-size: 0.94rem;
}
.compare th, .compare td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line-1); }
.compare th { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-2); background: var(--bg-1); font-weight: 500; }
.compare tr:last-child td { border-bottom: none; }
.compare td:first-child { color: var(--text-2); }
.compare td:last-child { color: var(--text-0); font-weight: 600; background: var(--blue-soft); }
.compare th:last-child { color: var(--blue-bright); background: var(--blue-soft); }

/* faq */
.faq-list { max-width: 52rem; }
.faq-item { border: 1px solid var(--line-1); border-radius: 12px; background: var(--bg-1); margin-bottom: 0.7rem; overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: "+"; color: var(--blue-bright); font-size: 1.2rem; font-weight: 400; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-body { padding: 0 1.3rem 1.2rem; color: var(--text-2); font-size: 0.94rem; }
.faq-body a { color: var(--blue-bright); }

/* closing */
.closing {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 80vw;
  max-width: 900px;
  height: 100%;
  background: radial-gradient(ellipse 60% 55% at 50% 35%, var(--blue-glow), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}
.closing .container { position: relative; }
.closing h2 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); max-width: 20ch; margin: 1rem auto 1.4rem; }
.closing p { color: var(--text-1); max-width: 34rem; margin: 0 auto 2.2rem; font-size: 1.08rem; }
.closing-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }
.closing-mail { margin-top: 2rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-2); letter-spacing: 0.08em; }
.closing-mail a { color: var(--blue-bright); }

/* footer */
.site-footer {
  border-top: 1px solid var(--line-1);
  padding: 2.4rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 800; }
.footer-brand img { width: 26px; height: 26px; border-radius: 7px; }
.footer-note { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase; }
.footer-links { display: flex; gap: 1.4rem; font-size: 0.85rem; color: var(--text-2); }
.footer-links a:hover { color: var(--text-0); }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ——— Responsive ——— */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art img { width: min(400px, 80%); }
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 640px) {
  .header-nav a:not(.header-cta) { display: none; }
  .cards-3, .cards-4, .steps, .price-grid, .verticals { grid-template-columns: 1fr; }
  .hero-proof { gap: 1.3rem; }
  .trust-inner { gap: 1.1rem; }
  .section { padding: 3.6rem 0; }
}
