:root {
  --color-primary: #2563EB;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(30, 41, 59, 0.12);
  --color-muted: #475569;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 20px 60px -20px rgba(37, 99, 235, 0.35);
}

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

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 20px -10px rgba(15, 23, 42, 0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; align-items: center; gap: 1.5rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: .95rem; position: relative; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-secondary); color: #fff; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--color-border); color: var(--color-neutral-dark); border-radius: 10px; padding: .5rem; cursor: pointer; }

/* === Hero (hero-centered + saas-spotlight) === */
.hero { position: relative; padding-block: 4rem 3rem; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; inset: -20% 10% auto 10%; height: 60%; background: radial-gradient(closest-side, rgba(249, 115, 22, 0.18), rgba(37, 99, 235, 0.15) 45%, transparent 70%); filter: blur(30px); z-index: -1; pointer-events: none; }
.hero .eyebrow { display: inline-block; font-family: var(--font-heading); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-primary); background: rgba(37, 99, 235, 0.08); padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.25rem; }
.hero h1 { max-width: 22ch; margin-inline: auto; margin-bottom: 1rem; }
.hero .sub { max-width: 55ch; margin-inline: auto; color: var(--color-muted); font-size: 1.125rem; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.hero-figure { margin: 0 auto; max-width: 960px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.5rem; font-family: var(--font-heading); font-weight: 600; font-size: .95rem; border-radius: 999px; 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 10px 30px -12px rgba(37, 99, 235, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(37, 99, 235, 0.65); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { background: rgba(37, 99, 235, 0.08); transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.55); }
.btn-accent:hover { background: #EA6A0F; transform: translateY(-2px); color: #fff; }

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: .5rem; }
.section-head .sub { color: var(--color-muted); max-width: 60ch; margin-inline: auto; }
.band-soft { background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), rgba(59, 130, 246, 0.03)); }

/* === Cards grid === */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-soft); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.2); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(249, 115, 22, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }
a.card-link { display: block; color: inherit; text-decoration: none; }
a.card-link:hover { color: inherit; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2rem; background: #fff; border-left: 4px solid var(--color-accent); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); text-align: left; }
.testimonial p { font-size: 1.15rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); }
.testimonial cite { display: block; font-style: normal; color: var(--color-muted); font-size: .9rem; margin-top: .75rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), #1E40AF); color: #fff; padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 55ch; margin-inline: auto 1rem auto; margin-bottom: 1.5rem; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: .75rem; box-shadow: var(--shadow-soft); }
.faq summary { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.pricing-card { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 2.25rem; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.2); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: #fff; padding: .3rem .75rem; font-size: .75rem; font-weight: 600; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.pricing-card__plan { font-size: 1.5rem; margin-bottom: .25rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-primary); margin: .25rem 0 1rem; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; font-size: .95rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .5rem; padding: .4rem 0; font-size: .95rem; color: var(--color-neutral-dark); }
.pricing-card__features li::before { content: '✓'; color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { width: 100%; }

/* === Contact form === */
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-soft); }
.form-row { display: flex; flex-direction: column; margin-bottom: 1.15rem; }
.form-row label { font-family: var(--font-heading); font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; margin: 1rem 0 1.25rem; font-size: .875rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.75); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { height: 60px; filter: brightness(0) invert(1); margin-bottom: .75rem; }
.tagline { color: rgba(255, 255, 255, 0.6); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.legal-nav { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.5rem; font-size: .85rem; color: rgba(255, 255, 255, 0.5); }
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-md); box-shadow: 0 20px 60px -15px rgba(0,0,0,0.4); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner__actions button { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(255,255,255,0.25); padding: .5rem 1rem; border-radius: 999px; font-family: var(--font-heading); font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .2s var(--ease); }
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #EA6A0F; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); color: #fff; border: none; padding: .5rem 1rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; cursor: pointer; }

/* === Reveal motion === */
.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: 768px) {
  .logo img { height: 96px; }
  .site-footer .logo img { height: 72px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
  .hero { padding-block: 6rem 4rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; }
  .section { padding-block: 5.5rem; }
}
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* === Mobile nav open state === */
@media (max-width: 767px) {
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border); box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.2); }
  .primary-nav a { padding: .75rem 0; border-bottom: 1px solid var(--color-border); }
  .primary-nav a:last-child { border-bottom: none; }
  .primary-nav a::after { display: none; }
  .primary-nav .nav-cta { text-align: center; margin-top: .5rem; }
  .primary-nav[data-nav]:not(.is-open) { display: none; }
  .primary-nav.is-open { display: flex; }
}
