:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #CA8A04;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.14);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(30, 58, 138, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-secondary); }
img { max-width: 100%; height: auto; display: block; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--color-muted); }
.eyebrow { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-secondary); margin: 0 0 0.75rem; }

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 6px 24px -12px rgba(15,23,42,0.15); }
.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; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--color-border); padding: 0.5rem; border-radius: 10px; color: var(--color-primary); cursor: pointer; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; position: absolute; left: 1rem; right: 1rem; top: calc(100% + 0.5rem); background: rgba(255,255,255,0.98); backdrop-filter: blur(14px); border: 1px solid var(--color-border); border-radius: 14px; padding: 0.75rem; box-shadow: var(--shadow-md); }
.primary-nav.is-open { display: flex; }
.primary-nav a { padding: 0.65rem 0.75rem; border-radius: 8px; color: var(--color-text); font-weight: 500; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); background: rgba(59, 130, 246, 0.08); }
.primary-nav a.nav-cta { background: var(--color-primary); color: #fff; text-align: center; }
.primary-nav a.nav-cta:hover { background: var(--color-secondary); color: #fff; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; position: static; background: transparent; border: 0; padding: 0; box-shadow: none; gap: 0.35rem; }
  .primary-nav a { padding: 0.5rem 0.85rem; }
  .primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.25rem; height: 2px; background: var(--color-secondary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; 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), box-shadow .2s var(--ease), background .2s var(--ease); text-decoration: none; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 12px 28px -14px rgba(30, 58, 138, 0.6); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(30, 58, 138, 0.7); }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn--ghost:hover { background: rgba(59, 130, 246, 0.08); transform: translateY(-2px); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 28px -14px rgba(202, 138, 4, 0.6); }
.btn--accent:hover { color: #fff; transform: translateY(-2px); background: #b47404; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero (saas-spotlight) === */
.hero--spotlight { position: relative; padding-block: 3.5rem 3rem; overflow: hidden; background: radial-gradient(60% 60% at 20% 0%, rgba(59, 130, 246, 0.16), transparent 60%), radial-gradient(50% 50% at 100% 30%, rgba(202, 138, 4, 0.1), transparent 60%), linear-gradient(180deg, #F1F5FF 0%, var(--color-neutral-light) 100%); }
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero__inner--single { grid-template-columns: 1fr; text-align: center; }
.hero__inner--single .hero__text { max-width: 720px; margin-inline: auto; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 1rem; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }
.hero__ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero__visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: #fff; }
@media (min-width: 900px) {
  .hero--spotlight { padding-block: 5.5rem 4rem; }
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
}
.proof-strip { margin-top: 3rem; padding: 1rem 1.5rem; text-align: center; background: rgba(255,255,255,0.7); border: 1px solid var(--color-border); border-radius: 999px; box-shadow: var(--shadow-sm); max-width: 720px; margin-inline: auto; }
.proof-strip p { margin: 0; color: var(--color-muted); font-size: 0.95rem; }

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted { background: linear-gradient(180deg, #EEF2FF 0%, #F8FAFC 100%); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }

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

/* === Cards === */
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: block; }
.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.14), rgba(30, 58, 138, 0.14)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { color: var(--color-primary); }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
a.card-link { color: inherit; text-decoration: none; }
a.card-link:hover h3 { color: var(--color-secondary); }

/* === Quote === */
.quote { margin: 0; padding: 2rem; background: #fff; border-left: 4px solid var(--color-accent); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.15rem; line-height: 1.6; color: var(--color-text); font-style: italic; margin: 0 0 1rem; }
.quote cite { color: var(--color-muted); font-style: normal; font-weight: 600; }

/* === CTA band === */
.cta-band { padding: 4rem 0; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral-dark) 60%, var(--color-secondary) 100%); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 52ch; margin-inline: auto; }
.cta-band .muted { color: rgba(255,255,255,0.75); }

/* === Pricing === */
.grid--pricing { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .grid--pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2.25rem 1.75rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: -12px; right: 1.5rem; background: var(--color-accent); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.35rem 0.75rem; border-radius: 999px; letter-spacing: 0.05em; text-transform: uppercase; }
.pricing-card__plan { color: var(--color-primary); font-size: 1.4rem; margin-bottom: 0.35rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin-bottom: 0.75rem; }
.pricing-card__lede { color: var(--color-muted); font-size: 0.98rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.55rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--color-text); font-size: 0.98rem; }
.pricing-card__cta { margin-top: auto; }

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

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--color-primary); }
.field input, .field textarea { font: inherit; padding: 0.75rem 0.9rem; border-radius: 10px; border: 1px solid var(--color-border); background: var(--color-neutral-light); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.2rem; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }

/* === Footer === */
.site-footer { background: #0B1A48; color: #CBD5E1; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.site-footer .logo img { height: 64px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 0.75rem; }
.site-footer a { color: #CBD5E1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-tag { margin: 1rem 0 0; color: #94A3B8; }
.site-footer nav ul, .footer-legal { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-legal { margin-top: 1rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-copy { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: #94A3B8; font-size: 0.9rem; }
.footer-copy p { margin: 0; }

/* === Reveal animation === */
.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; } }

/* === 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: 14px; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5); max-width: 620px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { font: inherit; font-family: var(--font-heading); font-weight: 600; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; transition: background .2s var(--ease); }
.cookie-banner button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #b47404; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; background: var(--color-secondary); border-color: var(--color-secondary); }
