:root {
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(2, 32, 71, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(2, 32, 71, 0.3);
  --container: 1140px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top banner ---------- */
.topbar {
  background: linear-gradient(90deg, var(--brand-600), var(--brand-500));
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 10px 16px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.header.scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 20px -16px rgba(2, 32, 71, 0.4);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
}
.brand__mark {
  height: 36px;
  width: auto;
}
.brand__name span {
  color: var(--brand-600);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--slate);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--ink);
}
.nav__cta {
  background: var(--brand-600);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: background 0.2s, transform 0.2s;
}
.nav__cta:hover {
  background: var(--brand-700);
  transform: translateY(-1px);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

/* Language dropdown */
.lang {
  position: relative;
}
.lang__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--slate);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang__btn:hover {
  border-color: var(--brand-500);
  color: var(--ink);
}
.lang__flag {
  font-size: 16px;
  line-height: 1;
}
.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 184px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 60;
}
.lang.open .lang__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.lang__opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--slate);
  cursor: pointer;
}
.lang__opt:hover {
  background: var(--bg-soft);
}
.lang__opt[aria-selected="true"] {
  color: var(--brand-700);
  font-weight: 700;
  background: var(--brand-50);
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn--primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover {
  background: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  border-color: var(--brand-500);
  color: var(--brand-700);
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 90px;
}
.hero__bg {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 700px;
  background: radial-gradient(
      60% 60% at 75% 10%,
      rgba(37, 99, 235, 0.18),
      transparent 70%
    ),
    radial-gradient(50% 50% at 10% 0%, rgba(59, 130, 246, 0.12), transparent 70%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.grad {
  background: linear-gradient(90deg, var(--brand-600), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 22px 0 30px;
  font-size: 18px;
  color: var(--slate);
  max-width: 33ch;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: 26px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Window mock ---------- */
.hero__visual {
  position: relative;
}
.window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.window__bar > span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cbd5e1;
}
.window__bar > span:nth-child(1) {
  background: #f87171;
}
.window__bar > span:nth-child(2) {
  background: #fbbf24;
}
.window__bar > span:nth-child(3) {
  background: #34d399;
}
.window__url {
  margin-left: 10px;
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 12px;
}
.window__body {
  padding: 18px;
}
.mock-dash {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.mock-stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.mock-stat small {
  color: var(--muted);
  font-size: 11px;
}
.mock-stat b {
  display: block;
  font-size: 22px;
  margin-top: 2px;
}
.mock-stat--warn b {
  color: #d97706;
}
.mock-stat--ok b {
  color: #059669;
}
.mock-stat--bad b {
  color: #e11d48;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 8px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.mock-cell {
  flex: 1;
  font-weight: 600;
}
.mock-cell em {
  display: block;
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill--slate { background: #f1f5f9; color: #475569; }
.pill--amber { background: #fef3c7; color: #92400e; }
.pill--green { background: #d1fae5; color: #065f46; }
.pill--rose { background: #ffe4e6; color: #9f1239; }
.pill--blue { background: var(--brand-50); color: var(--brand-700); }

.mock-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.mock-input {
  flex: 1;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
}
.mock-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--slate);
}
.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  margin-top: 16px;
  padding-top: 8px;
}
.mock-bars div {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  border-radius: 8px 8px 0 0;
  opacity: 0.85;
}

/* floating quote card */
.float-card {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
  animation: floaty 5s ease-in-out infinite;
}
.float-card__title {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}
.float-card__row,
.float-card__total {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 3px 0;
  color: var(--slate);
}
.float-card__total {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 8px;
  font-weight: 800;
  color: var(--ink);
}
.float-card__tag {
  margin-top: 10px;
  display: inline-block;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Trust ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 32px;
  padding: 22px 24px;
  color: var(--muted);
}
.trust__inner span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust__label {
  flex: 0 0 100%;
  text-align: center;
  margin-bottom: 4px;
}
.trust__items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.trust__inner strong {
  color: var(--slate);
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

/* ---------- Stats ---------- */
.stats {
  padding: 56px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat b {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--brand-600), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}
.section--alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.eyebrow {
  color: var(--brand-600);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.section__head h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
  font-weight: 800;
}
.section__head p {
  color: var(--slate);
  font-size: 18px;
}

/* ---------- Features grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-100);
}
.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: var(--brand-50);
  border-radius: 14px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.card p {
  color: var(--slate);
  font-size: 15px;
}

/* ---------- Showcase ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 90px;
}
.showcase:last-child {
  margin-bottom: 0;
}
.showcase--reverse .showcase__copy {
  order: 2;
}
.showcase h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
  font-weight: 800;
}
.showcase p {
  color: var(--slate);
  font-size: 17px;
}
.ticks {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 500;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--brand-600);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* quote doc mock */
.quote-doc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 26px;
}
.quote-doc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.quote-doc__head img {
  height: 40px;
  width: auto;
}
.quote-doc__head span {
  font-weight: 700;
  color: var(--slate);
}
.quote-doc h4 {
  color: var(--brand-600);
  font-size: 24px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.quote-doc__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  color: var(--slate);
}
.quote-doc__total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 6px;
  font-weight: 800;
  font-size: 18px;
}
.quote-doc__total b {
  color: var(--brand-700);
}
.quote-doc__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.quote-doc__foot img {
  height: 18px;
  width: auto;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-600);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.step p {
  color: var(--slate);
  font-size: 14px;
}

/* ---------- Languages ---------- */
.langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.langs span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  color: var(--slate);
  box-shadow: var(--shadow);
}

/* ---------- CTA ---------- */
.cta {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600) 55%, #3b82f6);
  color: #fff;
  text-align: center;
}
.cta__inner {
  max-width: 680px;
}
.cta__mark {
  height: 64px;
  width: auto;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
}
.cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.cta p {
  margin: 14px 0 28px;
  font-size: 18px;
  opacity: 0.92;
}
.cta .hero__actions {
  justify-content: center;
}
.cta .btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 48px 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}
.footer__brand img {
  height: 34px;
  background: #fff;
  border-radius: 8px;
  padding: 3px;
}
.footer__brand span span {
  color: var(--brand-500);
}
.footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer__links a {
  color: #cbd5e1;
  font-size: 15px;
  transition: color 0.2s;
}
.footer__links a:hover {
  color: #fff;
}
.footer__copy {
  font-size: 13px;
  color: #94a3b8;
  text-align: right;
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 110px 0 80px;
}
.legal__inner {
  max-width: 820px;
}
.legal h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 8px 0 6px;
}
.legal__updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.legal h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 32px 0 10px;
  color: var(--ink);
}
.legal p {
  color: var(--slate);
  margin-bottom: 12px;
}
.legal ul {
  margin: 0 0 14px 20px;
  color: var(--slate);
}
.legal li {
  margin-bottom: 8px;
}
.legal a {
  color: var(--brand-600);
  font-weight: 600;
}
.legal a:hover {
  color: var(--brand-700);
}
.legal__back {
  margin-top: 36px;
}

/* ---------- Cookie consent ---------- */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  transform: translateY(150%);
  transition: transform 0.4s ease;
}
.cookie.show {
  transform: none;
}
.cookie p {
  flex: 1;
  min-width: 220px;
  font-size: 13px;
  color: var(--slate);
  margin: 0;
}
.cookie a {
  color: var(--brand-600);
  font-weight: 600;
}
.cookie button {
  background: var(--brand-600);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie button:hover {
  background: var(--brand-700);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner,
  .showcase {
    grid-template-columns: 1fr;
  }
  .showcase--reverse .showcase__copy {
    order: 0;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .float-card {
    right: 0;
  }
}
@media (max-width: 640px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
    gap: 18px;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow);
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav__toggle {
    display: flex;
  }
  .grid,
  .steps,
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
  .footer__copy {
    text-align: center;
  }
}
