/* ===== Tokens ===== */
:root {
  --bg: #0a0f1a;
  --bg-soft: #0d1526;
  --panel: #111a2b;
  --panel-2: #0f1725;
  --text: #e6edf5;
  --muted: #8ba0b8;
  --line: #1e2a3d;
  --cyan: #38bdf8;
  --cyan-deep: #0ea5e9;
  --amber: #f5a524;
  --amber-deep: #d98a12;
  --cyan-grad: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  --amber-grad: linear-gradient(135deg, #f5a524 0%, #d98a12 100%);
  --radius: 16px;
  --radius-lg: 22px;
  --max: 1140px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-type {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
a { color: var(--cyan); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
::selection { background: rgba(56, 189, 248, 0.28); }

/* ===== Layout ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: 2.1rem; font-weight: 700; margin-bottom: 14px; }
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 52px; font-size: 1.05rem; }
.grad {
  background: var(--cyan-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cyan); font-weight: 600; font-size: 0.82rem;
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--cyan); border-radius: 2px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 15, 26, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__brand { font-weight: 700; font-size: 1.22rem; display: flex; align-items: center; gap: 11px; color: var(--text); font-family: 'Space Grotesk', sans-serif; }
.nav__brand svg { width: 34px; height: 34px; }
.nav__links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__cta { background: var(--amber-grad); color: #1a1205 !important; padding: 10px 20px; border-radius: 10px; font-weight: 700; }
.nav__cta:hover { color: #1a1205 !important; }
.nav__toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ===== Buttons ===== */
.btn { padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 0.98rem; transition: transform .15s, box-shadow .2s, background .2s; display: inline-block; }
.btn--primary { background: var(--amber-grad); color: #1a1205; box-shadow: 0 10px 30px rgba(245, 165, 36, 0.22); }
.btn--primary:hover { transform: translateY(-2px); color: #1a1205; }
.btn--ghost { border: 1px solid var(--line); color: var(--text); background: var(--panel-2); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--text); }

/* ===== Hero ===== */
.hero { padding: 104px 0 88px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -180px; right: -140px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 62%);
  z-index: 0;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 3.15rem; font-weight: 700; margin-bottom: 22px; }
.hero p.lead { font-size: 1.16rem; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__frameworks { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--muted); font-size: 0.82rem; font-weight: 600;
  padding: 7px 13px; border-radius: 999px;
}
.chip .d { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.hero__visual { position: relative; }
.hero__visual .panel-card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow);
}

/* ===== Stat strip ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 8px 4px; }
.stat b { font-family: 'Space Grotesk', sans-serif; font-size: 1.9rem; font-weight: 700; color: var(--text); display: block; }
.stat b .grad { font-size: inherit; }
.stat span { color: var(--muted); font-size: 0.88rem; }

/* ===== Cards / Grid ===== */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.45); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.16rem; margin-bottom: 10px; font-weight: 600; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card--amber .card__icon { background: rgba(245, 165, 36, 0.1); border-color: rgba(245, 165, 36, 0.3); }

/* problem cards */
.problem { border-left: 3px solid var(--amber); }
.problem .who { color: var(--amber); font-size: 0.8rem; font-weight: 700; margin-bottom: 8px; }
.problem .pain { color: var(--text); font-weight: 600; margin-bottom: 10px; font-size: 1.02rem; }
.problem .fix { color: var(--muted); font-size: 0.95rem; }
.problem .fix b { color: var(--cyan); font-weight: 600; }

/* ===== Process (numbered — real sequence) ===== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step .num { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--amber); margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; font-weight: 600; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__visual { background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.about__grid p { color: var(--muted); margin-bottom: 18px; }

/* ===== Engagement models ===== */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.model { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.model.featured { border-color: rgba(245, 165, 36, 0.5); background: linear-gradient(180deg, rgba(245,165,36,0.05), var(--panel)); }
.model .tag { font-size: 0.78rem; font-weight: 700; color: var(--amber); margin-bottom: 10px; }
.model h3 { font-size: 1.2rem; margin-bottom: 8px; }
.model p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.model ul { list-style: none; margin-top: auto; }
.model li { color: var(--muted); font-size: 0.92rem; padding: 7px 0 7px 24px; position: relative; border-top: 1px solid var(--line); }
.model li::before { content: '›'; position: absolute; left: 4px; color: var(--cyan); font-weight: 700; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__info p { color: var(--muted); margin-bottom: 24px; }
.contact__info .item { display: flex; gap: 14px; align-items: center; margin-bottom: 15px; font-weight: 500; }
.contact__info .item .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.form__group { margin-bottom: 18px; }
.form__group label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.form__group input, .form__group textarea, .form__group select {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text);
  font-size: 0.95rem; font-family: inherit; transition: border-color .2s;
}
.form__group input::placeholder, .form__group textarea::placeholder { color: #52657d; }
.form__group input:focus, .form__group textarea:focus, .form__group select:focus { outline: none; border-color: var(--cyan); }
.form__group textarea { resize: vertical; min-height: 120px; }
.form__group select { appearance: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__msg { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 0.9rem; display: none; }
.form__msg--ok { background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.4); color: var(--cyan); }

/* ===== Page header ===== */
.page-head { padding: 88px 0 20px; }
.page-head h1 { font-size: 2.6rem; font-weight: 700; margin-bottom: 14px; }
.page-head p { color: var(--muted); max-width: 620px; font-size: 1.08rem; }

/* ===== CTA band ===== */
.cta-band { text-align: center; }
.cta-band h2 { font-size: 2rem; margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted); font-size: 0.9rem; background: var(--bg-soft); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.footer__brand svg { width: 26px; height: 26px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--cyan); }

/* ===== Motion / a11y ===== */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process { grid-template-columns: 1fr 1fr; }
  .models { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .process { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .page-head h1 { font-size: 2rem; }
  .nav__links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg-soft); flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid var(--line); }
  .nav__links.open { display: flex; }
  .nav__toggle { display: block; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ===== Feedback update: alternating section backgrounds ===== */
:root {
  --tier-1: #0a0f1a;   /* base */
  --tier-2: #0d1526;   /* soft */
  --tier-3: #101b30;   /* deeper steel */
  --tier-4: #0c1424;   /* dark slate */
  --band-cyan: linear-gradient(180deg, #0d1a2e 0%, #0a1424 100%);
  --band-amber: linear-gradient(180deg, #17130a 0%, #0e1526 100%);
}
.section--t1 { background: var(--tier-1); }
.section--t2 { background: var(--tier-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--t3 { background: var(--tier-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--t4 { background: var(--tier-4); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--band-cyan { background: var(--band-cyan); border-top: 1px solid rgba(56,189,248,0.18); border-bottom: 1px solid rgba(56,189,248,0.18); }
.section--band-amber { background: var(--band-amber); border-top: 1px solid rgba(245,165,36,0.16); border-bottom: 1px solid rgba(245,165,36,0.16); }

/* ===== Scroll reveal transitions ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Persona cards with imagery ===== */
.persona { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.persona__img { width: 100%; height: 150px; object-fit: cover; border-bottom: 1px solid var(--line); }
.persona__body { padding: 26px 28px 30px; border-left: 3px solid var(--amber); flex: 1; }
.persona .who { color: var(--amber); font-size: 0.8rem; font-weight: 700; margin-bottom: 8px; letter-spacing: .01em; }
.persona .pain { color: var(--text); font-weight: 600; margin-bottom: 10px; font-size: 1.02rem; }
.persona .fix { color: var(--muted); font-size: 0.95rem; }
.persona .fix b { color: var(--cyan); font-weight: 600; }
.persona:hover { transform: translateY(-4px); border-color: rgba(56,189,248,0.45); }

/* hero glow tweak for warmth */
.hero::after {
  content: ''; position: absolute; bottom: -160px; left: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,165,36,0.10), transparent 62%);
  z-index: 0;
}

/* emotive lead line */
.hero .promise { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); font-weight: 600; font-size: 0.95rem; margin-bottom: 26px; background: rgba(245,165,36,0.08); border: 1px solid rgba(245,165,36,0.24); padding: 8px 16px; border-radius: 999px; }

/* section divider wave */
.wave { display: block; width: 100%; height: 40px; }
.wave path { fill: var(--tier-2); }
