:root {
  --blue: #2563EB;
  --cyan: #06B6D4;
  --purple: #7C3AED;
  --text: #0F172A;
  --muted: #64748B;
  --bg: #F8FAFC;
  --line: #E2E8F0;
  --white: #FFFFFF;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.09);
  --radius: 22px;
}

* { box-sizing: border-box; }
*::before,
*::after { box-sizing: border-box; }
html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 206px; height: auto; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 0.95rem; font-weight: 650; }
.nav a:hover, .nav a.active { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
}
.mobile-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 30px rgba(37, 99, 235, .24);
}
.btn-secondary { background: #fff; border-color: var(--line); color: var(--blue); }
.btn-soft { background: #EEF2FF; color: var(--purple); border-color: #DDD6FE; }

.hero {
  background: radial-gradient(circle at 76% 15%, rgba(6, 182, 212, .14), transparent 30%),
              radial-gradient(circle at 12% 8%, rgba(124, 58, 237, .10), transparent 32%),
              #fff;
  border-bottom: 1px solid var(--line);
  width: 100%;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: 56px;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 70px;
}
.hero-grid > * { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid #DBEAFE;
  border-radius: 999px;
  background: linear-gradient(135deg, #EFF6FF, #ECFEFF);
  color: var(--blue);
  font-size: .86rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: var(--cyan);
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 16px; letter-spacing: 0; }
h1 { font-size: 3.6rem; font-size: clamp(2.25rem, 4vw, 4rem); max-width: 720px; }
h2 { font-size: 2.5rem; font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: 1.18rem; font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 34px; width: 100%; max-width: 650px; }
.stat { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(248, 250, 252, .82); }
.stat strong { display: block; font-size: 1.5rem; color: var(--text); }
.stat span { color: var(--muted); font-size: .88rem; }

.dashboard-shell {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-product-frame {
  width: 100%;
  max-width: 610px;
  justify-self: end;
  border-radius: 30px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(6,182,212,.16), rgba(124,58,237,.14));
  box-shadow: var(--shadow);
}
.hero-product-frame img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
}
.dash-top { height: 54px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #CBD5E1; }
.dot:nth-child(2) { background: var(--cyan); }
.dot:nth-child(3) { background: var(--purple); }
.dash-body { display: grid; grid-template-columns: 136px 1fr; min-height: 430px; }
.dash-sidebar { background: var(--text); padding: 24px 16px; }
.dash-sidebar i, .dash-sidebar b { display: block; height: 12px; border-radius: 999px; background: rgba(255,255,255,.30); margin-bottom: 18px; }
.dash-sidebar b { width: 78%; background: rgba(255,255,255,.72); }
.dash-main { min-width: 0; padding: 24px; }
.dash-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 22px; }
.dash-heading strong { font-size: 1.1rem; }
.dash-pill { min-width: 118px; height: 34px; border-radius: 999px; background: #EEF2FF; }
.metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.metric { min-width: 0; min-height: 96px; padding: 16px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.metric span { display: block; width: 58px; height: 10px; border-radius: 999px; background: var(--blue); margin-bottom: 18px; }
.metric:nth-child(2) span { background: var(--cyan); }
.metric:nth-child(3) span { background: var(--purple); }
.metric strong { font-size: 1.55rem; }
.chart { height: 172px; border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fff; display: flex; align-items: end; gap: 13px; }
.bar { flex: 1; border-radius: 10px 10px 4px 4px; min-height: 38px; background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.bar:nth-child(2) { height: 58%; }
.bar:nth-child(3) { height: 82%; background: linear-gradient(180deg, var(--purple), var(--blue)); }
.bar:nth-child(4) { height: 46%; }
.bar:nth-child(5) { height: 72%; }
.bar:nth-child(6) { height: 92%; background: linear-gradient(180deg, var(--cyan), var(--purple)); }

.section { width: 100%; padding: 84px 0; overflow: hidden; }
.section.white { background: #fff; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 34px; }
.section-head p { max-width: 650px; }
.grid { display: grid; gap: 20px; width: 100%; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}
.card:hover { box-shadow: var(--shadow); }
.module-grid { align-items: stretch; }
.module-card {
  width: 100%;
  min-height: 186px;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.module-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .35);
  outline-offset: 3px;
}
.module-card:hover {
  border-color: rgba(37, 99, 235, .38);
  transform: translateY(-4px);
}
.module-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 850;
  font-size: .92rem;
}
.module-accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.module-detail-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
  overflow: hidden;
}
.module-detail-card[open] {
  border-color: rgba(37, 99, 235, .36);
  box-shadow: var(--shadow);
}
.module-detail-card summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px;
  cursor: pointer;
}
.module-card-shot {
  grid-column: 1 / -1;
  width: 100%;
  height: 172px;
  object-fit: cover;
  object-position: top left;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #EFF6FF, #F8FAFC);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}
.module-detail-card summary::-webkit-details-marker { display: none; }
.module-detail-card summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 900;
}
.module-detail-card[open] summary::after { content: "−"; }
.module-detail-card summary { position: relative; padding-right: 70px; }
.module-detail-card summary strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.16rem;
  color: var(--text);
}
.module-detail-card summary small {
  display: block;
  color: var(--muted);
  line-height: 1.55;
  font-size: .96rem;
}
.module-detail-card .icon { margin-bottom: 0; }
.module-detail-content {
  padding: 0 24px 24px 86px;
}
.module-detail-content p {
  margin-bottom: 16px;
}
.module-detail-content h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 1rem;
}
.module-detail-content .feature-list {
  margin-top: 8px;
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  margin-bottom: 18px;
}
.icon.purple { background: linear-gradient(135deg, var(--purple), var(--blue)); }
.icon.cyan { background: linear-gradient(135deg, var(--cyan), var(--purple)); }
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.feature-list li { color: var(--muted); padding-left: 28px; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); }

.split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 42px; align-items: center; }
.visual-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 18px; box-shadow: var(--shadow); }
.visual-card img { width: 100%; height: auto; border-radius: 18px; }
.showcase-band {
  margin-top: 34px;
  padding: 18px;
  border-radius: 32px;
  background: linear-gradient(135deg, #FFFFFF, #EFF6FF 48%, #F5F3FF);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.screen-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
}
.screen-card img {
  width: 100%;
  height: auto;
  display: block;
}
.pricing { align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.highlight { border-color: rgba(37, 99, 235, .42); transform: translateY(-8px); }
.price { font-size: 2.35rem; font-weight: 900; margin: 12px 0 4px; color: var(--text); }
.price small { font-size: .9rem; color: var(--muted); font-weight: 700; }
.price-card .btn { margin-top: auto; }
.badge { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #ECFEFF; color: #0E7490; font-weight: 850; font-size: .78rem; }

.page-hero { padding: 70px 0 50px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 3.4rem; font-size: clamp(2.1rem, 4vw, 4rem); }
.form {
  display: grid;
  gap: 16px;
}
.field label { display: block; font-weight: 800; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }
.notice {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, #EFF6FF, #F5F3FF);
  border: 1px solid #DBEAFE;
}
.module-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  padding: 22px;
}
.module-modal.is-open { display: grid; place-items: center; }
.module-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(8px);
}
.module-modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 28px 90px rgba(15, 23, 42, .28);
  padding: 34px;
}
.module-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}
.module-modal__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 58px 26px 24px;
  margin: -10px -10px 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, #EFF6FF, #ECFEFF 52%, #F5F3FF);
  border: 1px solid var(--line);
}
.module-modal__header .icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 1.25rem;
  margin-bottom: 0;
}
.module-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.module-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
}
.module-modal__header h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}
.module-modal__header p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.08rem;
}
.module-modal__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.module-modal__body > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg);
}
.module-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
body.modal-open { overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { margin-bottom: 8px; }

.cta {
  color: #fff;
  background: linear-gradient(135deg, var(--text), #1E3A8A 48%, var(--purple));
  border-radius: 34px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.cta p { color: rgba(255,255,255,.78); }
.cta .btn { background: #fff; color: var(--blue); }

.site-footer { width: 100%; background: #0F172A; color: #fff; padding: 58px 0 24px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 34px; }
.footer-logo { width: 184px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.70); }
.site-footer a:hover { color: #fff; }
.footer-col { display: grid; align-content: start; gap: 9px; }
.footer-col strong { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; color: rgba(255,255,255,.58); font-size: .92rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: .2s ease;
  cursor: pointer;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .mobile-toggle { display: inline-block; }
  .nav, .nav-actions {
    position: absolute;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav { top: 78px; padding: 18px; border-radius: 20px 20px 0 0; flex-direction: column; align-items: stretch; gap: 12px; }
  .nav-actions { top: 328px; padding: 0 18px 18px; border-top: 0; border-radius: 0 0 20px 20px; flex-direction: column; align-items: stretch; }
  body.menu-open .nav, body.menu-open .nav-actions { display: flex; }
  .hero-grid, .split, .cta { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 56px; }
  .dashboard-shell, .hero-product-frame { justify-self: stretch; max-width: none; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .brand img { width: 160px; }
  .hero-stats, .metric-row, .grid-2, .grid-3, .grid-4, .footer-grid, .screen-grid, .module-accordion-grid { grid-template-columns: 1fr; }
  .module-detail-content { padding-left: 24px; }
  .module-card-shot { height: 150px; }
  .module-modal { padding: 12px; }
  .module-modal__panel { padding: 24px 18px; border-radius: 22px; }
  .module-modal__header, .module-modal__body { grid-template-columns: 1fr; }
  .module-modal__header { padding: 22px 54px 22px 18px; margin: -6px -6px 22px; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .section { padding: 58px 0; }
  .section-head { display: block; }
  .cta { padding: 32px 24px; border-radius: 24px; }
  .price-card.highlight { transform: none; }
}
