/* Ollang static mirror — shared stylesheet
   Design: dark theme, Space Grotesk, brand purple #6049F8 accents */

:root {
  --bg: #0a0a0f;
  --bg-elev: #11111a;
  --bg-card: #14141f;
  --bg-card-2: #1a1a28;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #f5f5f7;
  --text-dim: #a1a1aa;
  --text-mute: #71717a;
  --brand: #6049f8;
  --brand-2: #8b78ff;
  --brand-glow: rgba(96, 73, 248, 0.35);
  --brand-soft: rgba(96, 73, 248, 0.12);
  --accent: #00e5b8;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1200px;
  --max-narrow: 880px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--max-narrow); }

section {
  padding: 96px 0;
  position: relative;
}
section.tight { padding: 64px 0; }
section.alt { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
h4 { font-size: 18px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-2); }
p { margin: 0 0 16px; color: var(--text-dim); }
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--text-dim); max-width: 720px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  background: var(--brand-soft);
  color: var(--brand-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #c9c1ff 40%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 40px -10px var(--brand-glow); }
.btn-primary:hover { background: #5238f3; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--brand-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-dim); padding: 12px 16px; }
.btn-ghost:hover { color: #fff; }
.btn-arrow::after { content: "→"; display: inline-block; transition: transform .2s ease; }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 10, 15, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 0 24px var(--brand-glow);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #fff;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  color: var(--text-dim);
  font-size: 15px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: #fff; background: var(--bg-card); }
.nav-links a.active { color: #fff; }
.nav-cta { display: inline-flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #fff;
  align-items: center;
  justify-content: center;
}

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .nav-mobile-open .nav-links a { padding: 12px 14px; font-size: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -200px 30% auto auto;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--brand-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 229, 184, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 24px; margin-top: 56px; color: var(--text-mute); font-size: 14px; flex-wrap: wrap; }
.hero-meta strong { color: var(--text); font-weight: 600; }

/* ---------- Logos strip ---------- */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px 64px;
  opacity: .8;
}
.logos span {
  color: var(--text-mute);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  filter: grayscale(1);
}

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover { border-color: var(--border-strong); background: var(--bg-card-2); transform: translateY(-2px); }
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-soft);
  border: 1px solid rgba(96,73,248,0.25);
  color: var(--brand-2);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 20px;
}
.card h3 { margin-bottom: 10px; font-size: 22px; }
.card p { margin: 0; color: var(--text-dim); }

.card-feature h4 { color: var(--brand-2); margin-bottom: 6px; }
.card-feature h3 { font-size: 24px; margin-bottom: 12px; }

/* ---------- Sections ---------- */
.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 760px;
}
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--text-dim);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-2);
  font-weight: 700;
}

.mockup {
  background: linear-gradient(160deg, rgba(96,73,248,0.18), rgba(0,229,184,0.06) 60%, transparent);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.mockup-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.mockup-window .titlebar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
}
.mockup-window .dot { width: 10px; height: 10px; border-radius: 50%; background: #2a2a3a; }
.mockup-window .dot.r { background: #ff5f56; }
.mockup-window .dot.y { background: #ffbd2e; }
.mockup-window .dot.g { background: #27c93f; }
.mockup-window .body { padding: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--text-dim); line-height: 1.7; }
.mockup-window .body .k { color: var(--brand-2); }
.mockup-window .body .s { color: var(--accent); }
.mockup-window .body .c { color: var(--text-mute); }

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--border);
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 24px;
  color: var(--brand-2);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; max-width: 740px; }

/* ---------- CTA Block ---------- */
.cta-block {
  background: linear-gradient(135deg, rgba(96,73,248,0.18), rgba(96,73,248,0.04));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: -50% auto auto -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--brand-glow), transparent 60%);
  z-index: 0;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { margin-bottom: 16px; }
.cta-block .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-dim); font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin-top: 14px; color: var(--text-mute); font-size: 14px; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-mute);
  font-size: 13px;
}

/* ---------- Misc ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat .num {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label { color: var(--text-mute); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }

.pipeline {
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.pipeline .step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: flex-start;
}
.pipeline .step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: ui-monospace, monospace;
  font-size: 14px;
  color: var(--brand-2);
  background: var(--brand-soft);
  border: 1px solid rgba(96,73,248,0.25);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-weight: 600;
}
.pipeline h3 { font-size: 18px; margin-bottom: 6px; }
.pipeline p { margin: 0; font-size: 15px; }

.profile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.profile .avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 50%, var(--accent) 100%);
  display: grid;
  place-items: center;
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.profile h3 { font-size: 20px; margin-bottom: 4px; }
.profile .role { color: var(--brand-2); font-size: 14px; margin-bottom: 10px; }
.profile p { font-size: 14px; }

/* ---------- Forms ---------- */
form.contact { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--text-mute); letter-spacing: 0.04em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-2); }
.field textarea { resize: vertical; min-height: 140px; }

/* ---------- Page header ---------- */
.page-head {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--brand-glow), transparent 70%);
  z-index: 0;
}
.page-head > .container { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(36px, 4.5vw, 60px); max-width: 800px; }
.page-head .lead { margin-top: 18px; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 32px; }
.mt-16 { margin-top: 64px; }
.text-center { text-align: center; }
.muted { color: var(--text-mute); }
hr { border: 0; border-top: 1px solid var(--border); margin: 48px 0; }

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
  .cta-block { padding: 40px 24px; }
}
