: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; }
.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, .video-placeholder, .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; }
.video-placeholder { display: grid; place-items: center; min-height: 430px; border-radius: 30px; color: white; text-align: center; background: radial-gradient(circle at 50% 20%, rgba(79,70,229,.55), transparent 22rem), linear-gradient(140deg, #111827, #003a70 52%, #172554); }
.video-placeholder strong { display: block; margin-top: 18px; font-size: 28px; letter-spacing: -0.04em; }
.video-placeholder span { display: block; max-width: 560px; margin-top: 8px; color: rgba(255,255,255,.7); }
.play-button { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32); box-shadow: 0 0 60px rgba(129,140,248,.45); }

.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(3, 1fr); align-items: stretch; }
.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 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; }

.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; }
.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; }
  .workflow-step::after { display: none; }
  .video-placeholder { min-height: 310px; padding: 24px; }
  .footer { align-items: flex-start; flex-direction: column; }
  .plan-badge { position: static; align-self: flex-start; margin-bottom: 14px; }
}
