:root {
  --background: #e8eef7;
  --background-deep: #d7e1ee;
  --ink: #0f172a;
  --muted: #64748b;
  --muted-strong: #334155;
  --card: #ffffff;
  --card-soft: #f8fafc;
  --line: rgba(15, 23, 42, 0.1);
  --indigo: #4f46e5;
  --brand: #003a70;
  --nav-dark: #111827;
  --blue: #2563eb;
  --amber: #d97706;
  --emerald: #059669;
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --shadow-premium: 0 30px 80px rgba(15, 23, 42, 0.18), 0 12px 28px rgba(0, 58, 112, 0.12);
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  --glow: 0 0 44px rgba(79, 70, 229, 0.25);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: var(--background);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 16% 8%, rgba(79, 70, 229, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 4%, rgba(0, 58, 112, 0.22), transparent 28rem),
    linear-gradient(135deg, #f5f8fc 0%, var(--background) 44%, var(--background-deep) 100%);
}

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.9);
  color: #fff;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 17px; min-width: max-content; }
.brand-warehouse { width: 62px; height: 42px; fill: #00457f; flex: 0 0 auto; }
.brand-wordmark { display: inline-flex; align-items: baseline; font-size: 32px; line-height: .9; font-weight: 900; letter-spacing: -0.06em; }
.brand-dist { color: #fff; }
.brand-we { color: #5d4bf2; }
.footer-brand .brand-warehouse { width: 56px; height: 38px; }
.footer-brand .brand-wordmark { font-size: 29px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a:hover { background: rgba(255,255,255,.1); color: #fff; transform: translateY(-1px); }

.section-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 92px 0; }
.hero { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr); gap: 42px; align-items: center; padding-top: 84px; }
.eyebrow { color: var(--indigo); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(42px, 6vw, 76px); line-height: .94; letter-spacing: -0.07em; }
h2 { margin-bottom: 16px; font-size: clamp(32px, 4vw, 52px); line-height: 1; letter-spacing: -0.055em; }
h3 { margin-bottom: 12px; font-size: 21px; letter-spacing: -0.025em; }
p { color: var(--muted); line-height: 1.7; }
.hero-subtitle { color: var(--muted-strong); font-size: clamp(20px, 2vw, 24px); line-height: 1.45; font-weight: 650; }
.hero-support { font-size: 16px; }
.hero-trust-card {
  position: relative;
  margin-top: 22px;
  padding: 18px 20px 18px 22px;
  overflow: hidden;
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 70, 229, 0.16), transparent 15rem),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(248,250,252,.72));
  box-shadow: var(--shadow-card);
}
.hero-trust-card::before {
  content: '';
  position: absolute;
  inset: 18px auto 18px 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--indigo));
}
.hero-trust-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-trust-card p { margin-bottom: 0; color: var(--muted-strong); font-size: 15px; line-height: 1.65; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--brand), var(--indigo)); color: white; box-shadow: var(--glow); }
.button-secondary { background: rgba(255,255,255,.7); color: var(--brand); border: 1px solid rgba(0,58,112,.14); box-shadow: var(--shadow-card); }

.dashboard-preview, .demo-video-card, .premium-card, .feature-card, .pricing-card, .lead-form, .legal-strip article {
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,250,252,.86));
  box-shadow: var(--shadow-premium);
}
.dashboard-preview { overflow: hidden; border-radius: 28px; transform: perspective(1100px) rotateY(-4deg) rotateX(2deg); }
.preview-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--nav-dark); color: #fff; }
.window-dot { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 999px; background: #60a5fa; box-shadow: 0 0 16px rgba(96,165,250,.8); }
.window-dot.muted { background: rgba(255,255,255,.3); box-shadow: none; }
.preview-topbar small { color: rgba(255,255,255,.62); }
.preview-body { display: grid; grid-template-columns: 132px 1fr; min-height: 470px; }
.preview-sidebar { display: flex; flex-direction: column; gap: 8px; padding: 18px 12px; background: linear-gradient(180deg, #111827, #0f172a); color: rgba(255,255,255,.64); }
.preview-sidebar span { padding: 10px; border-radius: 12px; font-size: 12px; font-weight: 750; }
.preview-sidebar .active { background: rgba(79,70,229,.28); color: #fff; box-shadow: inset 3px 0 0 #818cf8; }
.preview-main { padding: 18px; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kpi-card { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg,#fff,#f8fafc); box-shadow: var(--shadow-card); }
.kpi-card span, .kpi-card small, .panel-label { display: block; color: var(--muted); font-size: 12px; font-weight: 750; }
.kpi-card strong { display: block; margin: 8px 0 4px; font-size: 28px; letter-spacing: -0.05em; }
.tone-indigo strong { color: var(--indigo); } .tone-blue strong { color: var(--blue); } .tone-amber strong { color: var(--amber); } .tone-emerald strong { color: var(--emerald); }
.operations-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 14px 0; padding: 18px; border-radius: 20px; color: white; background: radial-gradient(circle at 80% 10%, rgba(129,140,248,.5), transparent 14rem), linear-gradient(135deg, var(--brand), #111827); box-shadow: var(--shadow-card); }
.operations-panel strong, .operations-panel small { display: block; }
.operations-panel small { color: rgba(255,255,255,.68); margin-top: 5px; }
.progress-ring { display: grid; place-items: center; flex: 0 0 auto; width: 76px; height: 76px; border-radius: 999px; background: conic-gradient(#a5b4fc 96%, rgba(255,255,255,.22) 0); font-weight: 900; }
.table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; }
.table-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted-strong); font-size: 13px; font-weight: 700; }
.table-row:last-child { border-bottom: 0; }
.table-row em { color: var(--emerald); font-style: normal; }

.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.demo-section { padding-top: 50px; }
.demo-video-card { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 30px; background: radial-gradient(circle at 50% 20%, rgba(79,70,229,.35), transparent 22rem), linear-gradient(140deg, #111827, #003a70 52%, #172554); }
.demo-video { display: block; width: 100%; height: 100%; border: 0; border-radius: inherit; background: #111827; object-fit: cover; }

.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: workflow; }
.workflow-step { position: relative; min-height: 126px; padding: 18px; border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-md); background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(248,250,252,.72)); box-shadow: var(--shadow-card); }
.workflow-step::after { content: '→'; position: absolute; top: 50%; right: -14px; z-index: 1; color: var(--indigo); font-weight: 900; }
.workflow-step:nth-child(4n)::after, .workflow-step:last-child::after { display: none; }
.workflow-step span { color: var(--indigo); font-size: 12px; font-weight: 900; }
.workflow-step strong { display: block; margin-top: 16px; line-height: 1.25; }

.card-grid, .feature-grid, .pricing-grid { display: grid; gap: 18px; }
.three-column { grid-template-columns: repeat(3, 1fr); }
.premium-card, .feature-card, .pricing-card { border-radius: var(--radius-lg); padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.premium-card:hover, .feature-card:hover, .pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-premium), var(--glow); }
.card-icon { display: block; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 15px; background: linear-gradient(135deg, var(--brand), var(--indigo)); box-shadow: var(--glow); }
.feature-grid { grid-template-columns: repeat(2, 1fr); }
.feature-card-header span { color: var(--indigo); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
ul { padding: 0; margin: 18px 0 0; list-style: none; }
li { position: relative; margin-top: 10px; padding-left: 24px; color: var(--muted-strong); font-weight: 650; }
li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 999px; background: var(--indigo); box-shadow: 0 0 14px rgba(79,70,229,.45); }
.industry-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.industry-pill { padding: 16px 20px; border-radius: 999px; background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.72); box-shadow: var(--shadow-card); color: var(--brand); font-weight: 850; }
.pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.launch-pricing-badge { width: fit-content; margin: 0 auto 18px; padding: 10px 13px; border-radius: 999px; background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.72); box-shadow: var(--shadow-card); color: var(--brand); font-size: 13px; font-weight: 850; }
.pricing-card { position: relative; display: flex; flex-direction: column; }
.pricing-card.highlighted { background: linear-gradient(145deg, #fff, #eef2ff); border-color: rgba(79,70,229,.34); }
.plan-badge { position: absolute; top: 18px; right: 18px; padding: 7px 10px; border-radius: 999px; background: var(--nav-dark); color: #fff; font-size: 11px; font-weight: 850; }
.users { color: var(--indigo); font-weight: 850; }
.price { margin: 22px 0 12px; }
.price .standard-price { display: block; margin-bottom: 4px; color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: 0; }
.price .standard-price span { font-size: 14px; }
.price strong { font-size: 42px; letter-spacing: -0.06em; }
.price span { color: var(--muted); font-weight: 800; }
.pricing-note { text-align: center; margin: 22px auto 0; font-weight: 750; }


.faq-section { padding-top: 76px; }
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,250,252,.86));
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.faq-item[open] {
  border-color: rgba(79, 70, 229, 0.26);
  box-shadow: var(--shadow-premium);
}
.faq-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-premium); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 20px 22px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.02em;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 4px solid rgba(79,70,229,.18); outline-offset: -4px; }
.faq-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,58,112,.11), rgba(79,70,229,.14));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--indigo);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p {
  margin: -4px 22px 22px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted-strong);
}

.form-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.form-copy { position: sticky; top: 112px; padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(17,24,39,.95), rgba(0,58,112,.9)); color: white; box-shadow: var(--shadow-premium); }
.form-copy p { color: rgba(255,255,255,.72); }
.launch-window { display: inline-flex; margin: 10px 0 18px; padding: 10px 13px; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 850; }
.small-copy { font-size: 14px; }
.lead-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 22px; border-radius: var(--radius-lg); }
label span { display: block; margin-bottom: 7px; color: var(--muted-strong); font-size: 13px; font-weight: 850; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 15px; background: #fff; color: var(--ink); padding: 14px 15px; outline: 0; transition: border .2s ease, box-shadow .2s ease; }
input:focus, textarea:focus { border-color: rgba(79,70,229,.55); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
.full-width { grid-column: 1 / -1; }
.form-note { color: var(--muted); line-height: 1.55; }
.form-status { min-height: 1.4em; margin: 0; font-weight: 800; line-height: 1.45; }
.form-status[data-status="success"] { color: #047857; }
.form-status[data-status="error"] { color: #b91c1c; }
.form-status[data-status="pending"] { color: var(--indigo); }
button:disabled { cursor: wait; opacity: .72; }
.legal-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-top: 20px; }
.legal-strip article { border-radius: var(--radius-md); padding: 22px; }
.legal-strip h2 { font-size: 24px; }

.footer { width: min(1160px, calc(100% - 32px)); margin: 0 auto 24px; padding: 24px; border-radius: 28px; background: var(--nav-dark); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px; box-shadow: var(--shadow-premium); }
.footer nav { display: flex; gap: 16px; }
.footer p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; max-width: 360px; }
.footer-brand small { color: rgba(255,255,255,.62); }

.reveal { animation: rise .7s ease both; }
.delay-1 { animation-delay: .14s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 980px) {
  .site-header { position: static; border-radius: 28px; align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .hero, .form-section { grid-template-columns: 1fr; }
  .dashboard-preview { transform: none; }
  .workflow-grid, .three-column, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .form-copy { position: relative; top: 0; }
}

@media (max-width: 720px) {
  .section-shell { width: min(100% - 22px, 1160px); padding: 62px 0; }
  .hero { padding-top: 54px; }
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .kpi-grid, .workflow-grid, .feature-grid, .pricing-grid, .lead-form, .legal-strip, .three-column { grid-template-columns: 1fr; }
  .faq-item summary { min-height: 64px; padding: 18px; }
  .faq-item p { margin: -2px 18px 18px; }
  .workflow-step::after { display: none; }
  .footer { align-items: flex-start; flex-direction: column; }
  .plan-badge { position: static; align-self: flex-start; margin-bottom: 14px; }
}

.legal-hero { padding-bottom: 34px; }
.legal-hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 16%, rgba(129, 140, 248, 0.38), transparent 22rem),
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(0, 58, 112, 0.92));
  color: #fff;
  box-shadow: var(--shadow-premium);
}
.legal-hero-card h1 { max-width: 840px; margin-top: 18px; }
.legal-hero-card .hero-subtitle { max-width: 900px; color: rgba(255, 255, 255, 0.78); }
.legal-updated { margin: 18px 0 0; color: rgba(255, 255, 255, 0.64); font-weight: 800; }
.back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 26px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  transition: transform .2s ease, background .2s ease;
}
.back-link:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.16); }
.legal-document {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 18px;
}
.legal-toc,
.legal-section {
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,250,252,.86));
  box-shadow: var(--shadow-card);
}
.legal-toc {
  position: sticky;
  top: 112px;
  max-height: calc(100vh - 136px);
  overflow: auto;
  padding: 18px;
  border-radius: var(--radius-md);
}
.legal-toc strong { display: block; margin-bottom: 12px; color: var(--ink); }
.legal-toc nav { display: grid; gap: 6px; }
.legal-toc a {
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 750;
}
.legal-toc a:hover { background: rgba(79, 70, 229, 0.09); color: var(--indigo); }
.legal-content { display: grid; gap: 18px; }
.legal-section {
  scroll-margin-top: 118px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-lg);
}
.legal-section span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--indigo));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: var(--glow);
}
.legal-section h2 { margin-bottom: 14px; font-size: clamp(26px, 3vw, 36px); }
.legal-section p { max-width: 860px; color: var(--muted-strong); font-size: 16px; }
.legal-section p:last-child { margin-bottom: 0; }

@media (max-width: 980px) {
  .legal-document { grid-template-columns: 1fr; }
  .legal-toc { position: relative; top: 0; max-height: none; }
  .legal-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .legal-hero { padding-top: 46px; }
  .legal-toc nav { grid-template-columns: 1fr; }
  .legal-section { scroll-margin-top: 24px; }
}
