:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(2, 6, 23, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(2, 6, 23, 0.35);
  --container: 1180px;
}

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

/* === Layout === */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.section--tint { background: linear-gradient(180deg, #EEF2F7 0%, #F8FAFC 100%); }
.section--split { padding-block: 4rem; }
@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-secondary); font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--color-secondary); }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  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 rgba(2, 6, 23, 0.06);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 4px 24px -12px rgba(2,6,23,.15); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 72px; }
.nav-toggle {
  background: none; border: 1px solid rgba(2,6,23,.12); border-radius: 10px;
  color: var(--color-primary); padding: .5rem; cursor: pointer;
}
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav a {
  color: var(--color-primary); font-weight: 500; padding: .6rem .25rem;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.primary-nav .nav-cta {
  background: var(--color-primary); color: var(--color-neutral-light);
  padding: .55rem 1rem; border-radius: 999px; font-weight: 600;
}
.primary-nav .nav-cta:hover { background: var(--color-accent); color: #fff; }
.primary-nav.is-open { display: flex; padding-block: 1rem; border-top: 1px solid rgba(2,6,23,.06); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; flex-direction: row; align-items: center; gap: 1.25rem; }
  .primary-nav a { padding: .25rem 0; }
  .primary-nav a:not(.nav-cta)::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);
  }
  .primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
}

/* === Hero (centered, saas-spotlight) === */
.hero { position: relative; overflow: hidden; padding-block: 4rem; text-align: center; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(3, 105, 161, 0.14), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.hero__title { max-width: 28ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 1rem auto 2rem; font-size: 1.15rem; color: var(--color-secondary); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero__image {
  margin-top: 3rem; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(2,6,23,.06);
}
.hero__image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 768px) { .hero { padding-block: 6rem; } }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-align: center; line-height: 1;
}
.btn:focus-visible { outline: 3px solid rgba(3, 105, 161, 0.4); outline-offset: 2px; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(15, 23, 42, 0.7); color: #fff; }
.btn--accent {
  background: linear-gradient(135deg, var(--color-accent), #075985);
  color: #fff; box-shadow: 0 8px 24px -12px rgba(3, 105, 161, 0.6);
}
.btn--accent:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 32px -12px rgba(3, 105, 161, 0.7); }
.btn--ghost {
  background: transparent; color: var(--color-primary);
  border-color: rgba(2,6,23,.16);
}
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }

/* === Grids & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid rgba(2,6,23,.06); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column; gap: .5rem;
}
.card p { color: var(--color-secondary); margin: 0; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(3, 105, 161, 0.1); color: var(--color-accent); margin-bottom: .5rem;
}
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(3,105,161,.25); }
.card-link:hover h3 { color: var(--color-accent); }

/* === Stats === */
.stats .stat { text-align: left; }
.stat__num {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem); color: var(--color-accent);
  margin-bottom: .5rem;
}
.stat p { color: var(--color-secondary); margin: 0; }

/* === Split === */
.split { display: grid; gap: 2rem; align-items: center; }
.split__image img { border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }

/* === Quote === */
.quote {
  margin: 0; padding: 2.5rem 2rem; text-align: center;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
}
.quote p { font-size: 1.2rem; line-height: 1.6; color: var(--color-primary); font-style: italic; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--color-secondary); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), #1E293B);
  color: var(--color-neutral-light); padding-block: 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: -50% 30% auto auto; width: 60%; height: 200%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(3,105,161,.35), transparent 70%); pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(248,250,252,.85); max-width: 60ch; margin-inline: auto; margin-bottom: 1.5rem; }
.cta-band .container { position: relative; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative; background: #fff; border: 1px solid rgba(2,6,23,.12);
  border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-md); }
.pricing-card__badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--color-accent); color: var(--color-neutral-light);
  padding: .3rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
}
.pricing-card__plan { font-size: 1.1rem; color: var(--color-secondary); margin-bottom: .25rem; text-transform: uppercase; letter-spacing: .1em; }
.pricing-card__price { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--color-primary); margin-bottom: 1rem; }
.pricing-card__lede { color: var(--color-secondary); margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: .6rem; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; color: var(--color-primary); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; align-self: stretch; }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid rgba(2,6,23,.08); border-radius: 12px;
  padding: 1rem 1.25rem; margin-bottom: .75rem; box-shadow: var(--shadow-sm);
}
.faq summary {
  font-weight: 600; cursor: pointer; list-style: none; font-family: var(--font-heading);
  color: var(--color-primary); padding: .25rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--color-accent); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: .75rem 0 0; color: var(--color-secondary); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.contact-info address { font-style: normal; line-height: 1.8; margin-bottom: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid rgba(2,6,23,.08); }
.hours th { font-weight: 500; color: var(--color-secondary); }

.contact-form {
  background: #fff; padding: 2rem; border-radius: var(--radius);
  border: 1px solid rgba(2,6,23,.06); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 500; color: var(--color-secondary); font-size: .95rem; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .75rem .9rem; border: 1px solid rgba(2,6,23,.15);
  border-radius: 10px; background: #fff; color: var(--color-primary);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.15);
}

/* === Map === */
.map-block {
  background: #E2E8F0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/7; display: flex; align-items: center; justify-content: center;
}
.map-block img { width: 100%; height: 100%; object-fit: cover; }

/* === Footer === */
.site-footer {
  background: var(--color-primary); color: rgba(248, 250, 252, .8);
  padding-block: 3rem 1.5rem; margin-top: 4rem;
}
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.site-footer a { color: rgba(248, 250, 252, .8); display: block; margin: .25rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.legal-nav { border-top: 1px solid rgba(248,250,252,.12); padding-top: .75rem; margin-top: .75rem; }
.site-footer__base { border-top: 1px solid rgba(248,250,252,.1); margin-top: 2rem; padding-top: 1rem; font-size: .875rem; color: rgba(248,250,252,.6); }
.site-footer .logo--footer img { filter: brightness(0) invert(1); opacity: .9; }

/* === 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: 16px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.6); max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit; padding: .6rem 1rem; border-radius: 999px;
  border: 1px solid rgba(248,250,252,.2); background: transparent;
  color: var(--color-neutral-light); cursor: pointer; font-weight: 600; font-size: .9rem;
}
.cookie-banner button:hover { border-color: var(--color-accent); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,.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-accent); border-color: var(--color-accent); }
