:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #22C55E;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(30, 58, 138, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 58, 138, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(30, 58, 138, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: #0F172A;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; color: var(--color-secondary); font-weight: 600; margin: 0 0 1rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 4px 24px -8px rgba(30, 58, 138, 0.12); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--color-neutral-dark); padding: .5rem; cursor: pointer; border-radius: 8px; }
.nav-toggle:hover { background: var(--color-neutral-light); }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem 1.25rem; border-bottom: 1px solid rgba(30, 58, 138, 0.08); gap: .25rem; box-shadow: 0 20px 40px -20px rgba(30, 58, 138, 0.2); }
.primary-nav a { padding: .75rem 0; font-weight: 500; color: var(--color-neutral-dark); position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta { background: var(--color-primary); color: #fff !important; padding: .75rem 1.25rem !important; border-radius: 999px; text-align: center; font-weight: 600; margin-top: .5rem; }
.nav-cta:hover { background: var(--color-neutral-dark); color: #fff !important; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.75rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, color .2s ease;
}
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(59, 130, 246, 0.65); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: rgba(30, 64, 175, 0.25); }
.btn--ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(34, 197, 94, 0.5); }
.btn--accent:hover { transform: translateY(-2px); background: #16A34A; color: #fff; box-shadow: 0 14px 32px -8px rgba(34, 197, 94, 0.6); }
.btn:focus-visible { outline: 3px solid rgba(59, 130, 246, 0.45); outline-offset: 3px; }

/* === Hero (saas-spotlight) === */
.hero--spotlight {
  position: relative;
  padding-block: 3.5rem 4rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(34, 197, 94, 0.10), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(59, 130, 246, 0.18), transparent 50%),
    linear-gradient(160deg, var(--color-neutral-light) 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero__inner { position: relative; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 55ch; margin: 1rem auto 2rem; font-size: 1.15rem; color: #334155; }
.hero__ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__visual { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.hero__visual img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hero__visual::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); pointer-events: none; }

/* === Sections === */
.section { padding-block: 4rem; }
.section--tint { background: linear-gradient(180deg, var(--color-neutral-light), #FFFFFF); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub { color: #475569; font-size: 1.1rem; }

.split { display: grid; gap: 2rem; align-items: center; }
.split__figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split__figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* === Grid / cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card {
  background: #fff;
  border: 1px solid rgba(30, 58, 138, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.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, var(--color-primary), var(--color-secondary));
  color: #fff; margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: #475569; }

/* === Testimonial === */
.testimonial {
  margin: 0; padding: 2.5rem 1.5rem;
  text-align: center; position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(34, 197, 94, 0.04));
  border: 1px solid rgba(30, 58, 138, 0.08);
}
.testimonial__mark { color: var(--color-secondary); opacity: .35; margin-bottom: .5rem; }
.testimonial p { font-size: 1.25rem; line-height: 1.55; font-family: var(--font-heading); color: var(--color-neutral-dark); max-width: 55ch; margin: 0 auto 1rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-primary); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  padding-block: 4rem;
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary) 55%, var(--color-secondary));
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(34,197,94,0.25), transparent 45%); pointer-events: none; }
.cta-band__inner { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 55ch; margin-inline: auto; }
.cta-band__meta { font-size: .95rem; margin-top: 1rem; }
.cta-band .btn { margin-top: 1.5rem; }

/* === FAQ === */
.faq details { border: 1px solid rgba(30, 58, 138, 0.10); border-radius: var(--radius); background: #fff; margin-bottom: .75rem; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.25rem 1.5rem; font-weight: 600; font-family: var(--font-heading); color: var(--color-neutral-dark); list-style: none; position: relative; padding-right: 3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--color-primary); transition: transform .2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.5rem 1.25rem; margin: 0; color: #475569; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.pricing-card {
  position: relative;
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 58, 138, 0.12);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  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-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-md); }
.pricing-card__badge {
  position: absolute; top: -12px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  padding: .35rem .85rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.pricing-card__plan { margin-bottom: .25rem; color: var(--color-primary); }
.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: 1rem; }
.pricing-card__lede { color: #475569; margin-bottom: 1.25rem; font-size: .95rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; padding: .5rem 0; color: #334155; border-top: 1px solid rgba(30, 58, 138, 0.06); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { width: 100%; }

/* === Contact === */
.contact-layout { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.contact-info__block { font-style: normal; }
.contact-info__block p { margin-bottom: 1rem; }
.contact-info__block strong { color: var(--color-neutral-dark); font-family: var(--font-heading); }
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-md); border: 1px solid rgba(30, 58, 138, 0.08); display: flex; flex-direction: column; gap: 1rem; }
.contact-form h2 { margin-bottom: .5rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 500; font-size: .95rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .75rem .9rem; border: 1px solid rgba(30, 58, 138, 0.18);
  border-radius: 10px; background: #F8FAFC; color: #0F172A;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-secondary); background: #fff; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-consent { display: flex; flex-direction: row !important; align-items: flex-start; gap: .6rem; font-size: .85rem; color: #475569; font-weight: 400 !important; }
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(239, 246, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-family: var(--font-heading); }
.site-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: rgba(239, 246, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer__tag { margin-top: .75rem; color: rgba(239, 246, 255, 0.65); }
.logo--footer img { height: 56px; filter: brightness(0) invert(1); }
.footer__legal { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; font-size: .9rem; }
.footer__copy { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: .85rem; color: rgba(239, 246, 255, 0.65); text-align: center; }
address { font-style: normal; line-height: 1.7; }

/* === 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);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner button {
  font-family: var(--font-heading); font-weight: 600; font-size: .85rem;
  padding: .55rem 1rem; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.14); color: var(--color-neutral-light);
  transition: background .2s ease;
}
.cookie-banner button:hover { background: rgba(255,255,255,0.24); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #16A34A; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-accent); color: #fff; }

/* === Reveal (scroll-in) === */
.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; } }

/* === Responsive === */
@media (min-width: 640px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1.5fr; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .section { padding-block: 6rem; }
  .hero--spotlight { padding-block: 5rem 6rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr 1.4fr; gap: 3rem; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-card--featured { transform: translateY(-8px); }
  .pricing-card--featured:hover { transform: translateY(-12px); }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 1.75rem; position: static; padding: 0; background: transparent; box-shadow: none; border: 0; flex-direction: row; }
  .primary-nav a { padding: .5rem 0; font-size: .95rem; }
  .primary-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
    background: var(--color-primary);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-cta::after { display: none; }
  .nav-cta { margin-top: 0; padding: .65rem 1.25rem !important; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: clamp(2.75rem, 4.5vw, 4.25rem); letter-spacing: -0.025em; }
  .testimonial p { font-size: 1.5rem; }
}
