:root {
  --brand: #ef3340;
  --brand-dark: #c91f2c;
  --brand-soft: #fff0f1;
  --ink: #171a20;
  --muted: #667085;
  --line: #e5e7eb;
  --surface: #ffffff;
  --surface-alt: #f7f8fa;
  --success: #157f3d;
  --shadow-sm: 0 8px 24px rgba(23, 26, 32, 0.08);
  --shadow-lg: 0 28px 80px rgba(23, 26, 32, 0.16);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: var(--brand);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .99;
  letter-spacing: -.055em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
p { color: var(--muted); }
.lead {
  max-width: 680px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(229,231,235,.78);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 224px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}
.nav-links a:not(.button) { color: #3f4652; }
.nav-links a:not(.button):hover { color: var(--brand); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: .2s ease;
}
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: white;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(239,51,64,.24);
}
.button-primary:hover { background: var(--brand-dark); }
.button-dark { color: white; background: var(--ink); }
.button-light { color: var(--ink); background: white; border-color: var(--line); }
.button-small { min-height: 42px; padding-inline: 17px; font-size: 14px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 108px;
  background: url("../img/hero-pattern.svg") center/cover no-repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 54px;
}
.hero-copy strong { color: var(--brand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #475467;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--success);
  background: #e9f8ee;
  font-size: 13px;
}

.product-stage { position: relative; min-height: 570px; }
.product-stage::before {
  content: "";
  position: absolute;
  inset: 60px 10px 20px 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,51,64,.18), rgba(239,51,64,0) 66%);
  filter: blur(10px);
}
.device {
  position: absolute;
  overflow: hidden;
  border: 8px solid #20242b;
  border-radius: 30px;
  background: #f5f6f8;
  box-shadow: var(--shadow-lg);
}
.device-tablet { width: 92%; right: 0; top: 18px; transform: rotate(1deg); }
.device-phone { width: 37%; left: 0; bottom: 6px; border-width: 7px; border-radius: 26px; transform: rotate(-4deg); }
.device-bar {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  background: #20242b;
}
.device-bar i { width: 6px; height: 6px; border-radius: 50%; background: #707783; }
.app-shell { padding: 16px; }
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.app-brand { font-weight: 900; font-size: 14px; }
.branch-pill { padding: 5px 10px; border-radius: 999px; color: #4338ca; background: #eef0ff; font-size: 10px; font-weight: 800; }
.app-hero {
  padding: 18px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, #1f232a, #343b46);
}
.app-hero h3 { margin: 0 0 4px; font-size: 18px; }
.app-hero p { margin: 0; color: #d0d5dd; font-size: 11px; }
.report-cards { display: grid; gap: 10px; margin-top: 12px; }
.report-card {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--brand);
  border-radius: 14px;
  background: white;
}
.report-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.report-title { font-size: 12px; font-weight: 900; }
.report-meta { margin-top: 4px; color: #667085; font-size: 9px; }
.status { padding: 4px 7px; border-radius: 999px; color: #a31520; background: #ffeaec; font-size: 8px; font-weight: 900; }
.progress { height: 6px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: #eceef2; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.mini-btn { margin-top: 10px; padding: 7px 10px; border-radius: 8px; color: white; background: var(--brand); text-align: center; font-size: 9px; font-weight: 900; }
.phone-screen { padding: 10px; }
.phone-title { margin: 4px 0 10px; font-size: 11px; font-weight: 900; }
.question-mini { padding: 12px; border-radius: 13px; background: white; box-shadow: 0 5px 18px rgba(23,26,32,.08); }
.question-mini h4 { margin: 0 0 8px; font-size: 9px; line-height: 1.35; }
.answer-pills { display: flex; gap: 5px; }
.answer-pills span { flex: 1; padding: 6px 2px; border: 1px solid #d7dae0; border-radius: 7px; text-align: center; font-size: 7px; font-weight: 800; }
.answer-pills span:first-child { color: white; border-color: var(--brand); background: var(--brand); }

.logo-strip {
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: white;
}
.logo-strip-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 32px; }
.logo-strip p { margin: 0; font-size: 14px; font-weight: 800; color: #667085; }
.logo-chip { padding: 8px 13px; border-radius: 999px; background: var(--surface-alt); color: #344054; font-size: 13px; font-weight: 800; }

.section { padding: 100px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { color: white; background: var(--ink); }
.section-dark p { color: #cfd4dc; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 2px 0 rgba(23,26,32,.02);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: #ffc7cc; box-shadow: var(--shadow-sm); }
.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--brand);
  background: var(--brand-soft);
}
.icon-box svg { width: 23px; height: 23px; }
.feature-card p { margin-bottom: 0; font-size: 15px; }

.work-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.steps { display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 17px; align-items: start; }
.step-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #343a45;
  border-radius: 16px;
  color: white;
  background: #242932;
  font-weight: 900;
}
.step p { margin-bottom: 0; }

.analytics-card {
  padding: 22px;
  border: 1px solid #343a45;
  border-radius: 26px;
  background: #222730;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.analytics-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.analytics-head strong { font-size: 17px; }
.period { padding: 7px 10px; border-radius: 9px; color: #cfd4dc; background: #2e343f; font-size: 11px; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.metric { padding: 14px; border-radius: 14px; background: #2a303a; }
.metric span { display: block; color: #aeb5c0; font-size: 9px; }
.metric strong { display: block; margin-top: 4px; font-size: 22px; }
.chart { display: flex; align-items: end; gap: 11px; height: 190px; margin-top: 18px; padding: 20px 16px 0; border-radius: 16px; background: #1d2128; }
.chart-col { flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 7px; height: 100%; }
.chart-bar { width: 100%; max-width: 34px; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, #ff6973, var(--brand)); }
.chart-col span { color: #838b98; font-size: 8px; }

.proof-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.proof-list { display: grid; gap: 15px; margin-top: 26px; }
.proof-item { display: flex; align-items: flex-start; gap: 12px; }
.proof-item p { margin: 2px 0 0; }
.proof-check { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; color: white; background: var(--success); font-size: 13px; }
.photo-proof {
  position: relative;
  min-height: 480px;
  padding: 22px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(145deg, #16191f, #2a303a);
  box-shadow: var(--shadow-lg);
}
.photo-scene {
  position: absolute;
  inset: 22px;
  overflow: hidden;
  border-radius: 21px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.44)),
    linear-gradient(135deg, #d5b899 0 18%, #59402e 18% 22%, #d9c2a6 22% 48%, #6a4d35 48% 52%, #c9a47d 52% 73%, #4d3a2d 73% 78%, #c4b49b 78% 100%);
}
.photo-scene::before {
  content: "";
  position: absolute;
  left: 12%; right: 12%; bottom: 14%; height: 22%;
  border-radius: 10px;
  background: #3e2b1f;
  box-shadow: 0 -110px 0 -65px #f4efe8, 0 -82px 0 -66px #ef3340;
}
.photo-badge {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 38px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  color: white;
  background: rgba(15,17,21,.74);
  backdrop-filter: blur(10px);
}
.photo-badge strong { display: block; font-size: 14px; }
.photo-badge span { color: #d0d5dd; font-size: 11px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 22px 60px rgba(239,51,64,.13); }
.price-badge { position: absolute; top: 18px; right: 18px; padding: 6px 10px; border-radius: 999px; color: white; background: var(--brand); font-size: 11px; font-weight: 900; }
.price { margin: 20px 0 4px; font-size: 44px; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.price small { font-size: 14px; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.price-card ul { margin: 24px 0 28px; padding: 0; list-style: none; }
.price-card li { display: flex; gap: 10px; margin: 11px 0; color: #475467; font-size: 14px; }
.price-card li::before { content: "✓"; color: var(--success); font-weight: 900; }
.price-note { margin-top: 22px; text-align: center; font-size: 13px; }

.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 42px 22px 0; list-style: none; font-weight: 800; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 17px; font-size: 25px; color: var(--brand); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-right: 38px; }

.cta {
  padding: 34px;
  border-radius: 30px;
  color: white;
  background: linear-gradient(135deg, #e82937, #b91320);
  box-shadow: 0 30px 70px rgba(239,51,64,.24);
}
.cta-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 48px; align-items: center; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: #ffe4e6; }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 800; color: #fff; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 11px;
  color: var(--ink);
  background: white;
  outline: none;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.form-note { grid-column: 1 / -1; margin: 2px 0 0; color: #ffe4e6; font-size: 12px; }
.form-message { grid-column: 1/-1; min-height: 24px; margin: 0; color: white; font-size: 13px; font-weight: 700; }

.site-footer { padding: 52px 0 28px; background: #111318; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr .75fr; gap: 40px; }
.footer-brand img { width: 210px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 370px; margin-top: 18px; color: #aeb5c0; }
.footer-col h3 { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col a { display: block; margin: 9px 0; color: #aeb5c0; font-size: 14px; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid #2a3038; color: #8f98a5; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 79px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 18px 20px 26px;
    border-bottom: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow-sm);
    transform: translateY(-130%);
    transition: transform .25s ease;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { padding: 13px 4px; }
  .nav-links .button { margin-top: 8px; }
  .hero-grid, .work-grid, .proof-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .product-stage { max-width: 720px; width: 100%; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid, .proof-grid { gap: 44px; }
  .price-grid { grid-template-columns: 1fr; max-width: 650px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand img { width: 184px; }
  .nav { min-height: 70px; }
  .nav-links { inset-block-start: 71px; }
  .hero { padding: 54px 0 72px; }
  h1 { font-size: clamp(39px, 13vw, 58px); }
  .hero-actions .button { width: 100%; }
  .product-stage { min-height: 440px; }
  .device-tablet { width: 98%; }
  .device-phone { width: 42%; }
  .section { padding: 74px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .chart { height: 160px; }
  .photo-proof { min-height: 380px; }
  .demo-form { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
