:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --text: #0F1B45;
  --text-muted: #4B5B8A;
  --surface: #ffffff;
  --border: rgba(30, 58, 138, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(15, 27, 69, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 64, 175, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(30, 64, 175, 0.35);
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  margin: 0 0 .75rem;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 1rem;
}
.lead { font-size: 1.075rem; color: var(--text-muted); line-height: 1.75; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s;
  text-align: center;
  line-height: 1.2;
}
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(30, 64, 175, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(30, 64, 175, 0.6); color: #fff; }
.btn--accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(249, 115, 22, 0.55);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(249, 115, 22, 0.6); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--color-primary); background: var(--color-neutral-light); }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239, 246, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 20px -14px rgba(30, 64, 175, 0.3);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }

.nav-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
  display: inline-flex;
}
.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.site-nav.is-open { display: flex; }
.site-nav a {
  padding: 0.65rem 0.25rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
  border-radius: 8px;
}
.site-nav a[aria-current="page"] { color: var(--color-accent); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .site-nav a {
    position: relative;
    padding: 0.25rem 0;
  }
  .site-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease-hover);
  }
  .site-nav a:not(.btn):hover::after,
  .site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Hero (saas-spotlight) === */
.hero {
  position: relative;
  padding-block: 4rem 3rem;
  background: linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%);
  overflow: hidden;
}
.hero--inner { padding-block: 3rem 2.5rem; }
.hero__glow {
  position: absolute;
  inset: -20% 20% auto -20%;
  height: 60vh;
  background: radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.18), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.22), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__title {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-inline: auto;
  color: var(--color-neutral-dark);
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 56ch;
  margin: 1rem auto 2rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero__visual {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  position: relative;
}
.hero__visual img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.proof-strip span { position: relative; }
.proof-strip span::after {
  content: "·";
  position: absolute;
  right: -1rem;
  color: var(--color-secondary);
}
.proof-strip span:last-child::after { content: ""; }

/* === Section === */
.section { padding-block: 4rem; }
.section--tinted { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--text-muted); }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(249, 115, 22, 0.15));
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.card p { color: var(--text-muted); margin: 0; }

/* === Quote === */
.quote {
  margin: 0;
  padding: 2rem 1.5rem;
  text-align: center;
  border-left: 3px solid var(--color-accent);
  background: var(--color-neutral-light);
  border-radius: var(--radius-md);
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--color-neutral-dark);
  line-height: 1.5;
  font-weight: 500;
}
.quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3.5rem;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta-band__meta { font-size: 0.9rem; margin-top: 0.5rem !important; }
@media (min-width: 720px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}

/* === Pricing === */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 20px 50px -20px rgba(249, 115, 22, 0.35);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pricing-card__plan {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  margin: 0;
}
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-neutral-dark);
  margin: 0.5rem 0 1rem;
  line-height: 1.15;
}
.pricing-card__lede {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}
.pricing-card__features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--text);
}
.pricing-card__features li span {
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0.75rem 0 0; color: var(--text-muted); }

/* === Contact form === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: #fff;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-neutral-dark);
}
.form-row input,
.form-row textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}
.site-footer p { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  display: block;
  padding: 0.25rem 0;
  font-size: 0.95rem;
}
.site-footer a:hover { color: var(--color-accent); }
.site-footer .legal-links { margin-top: 0.75rem; }
.site-footer .legal-links a { display: inline; padding: 0; }
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.logo--footer img { filter: brightness(0) invert(1); }

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  z-index: 9999;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 540px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: var(--color-neutral-light); margin: 0 0 0.85rem; font-size: 0.92rem; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-banner__actions .btn--ghost {
  color: var(--color-neutral-light);
  border-color: rgba(255,255,255,0.25);
}
.cookie-banner__actions .btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.cookie-banner__prefs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.9rem;
}
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }

/* === Reveal (scroll) === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
