:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F59E0B;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --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(15, 23, 42, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
* { 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-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 600; color: var(--color-secondary); margin-bottom: 0.75rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: var(--shadow-sm); }
.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; }
.nav-toggle { background: none; border: 0; padding: 0.5rem; color: var(--color-neutral-dark); cursor: pointer; }
.site-nav { display: none; }
.site-nav a { color: var(--color-neutral-dark); font-weight: 500; position: relative; padding: 0.5rem 0; text-decoration: none; }
.site-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; padding: 0.55rem 1.1rem; border-radius: 999px;
  box-shadow: 0 6px 20px -8px rgba(30, 64, 175, 0.6);
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { text-decoration: none; transform: translateY(-1px); }

.site-nav.is-open { display: flex; position: absolute; left: 1rem; right: 1rem; top: calc(100% + 0.5rem); flex-direction: column; gap: 0.75rem; background: #fff; padding: 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-md); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 1.75rem; position: static; padding: 0; background: none; box-shadow: none; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; padding: 0.85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(59, 130, 246, 0.5); outline-offset: 2px; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 12px 30px -12px rgba(30, 64, 175, 0.55); }
.btn--primary:hover { box-shadow: 0 18px 40px -14px rgba(30, 64, 175, 0.65); }
.btn--accent { background: var(--color-accent); color: #1a1a1a; box-shadow: 0 12px 30px -12px rgba(245, 158, 11, 0.55); }
.btn--accent:hover { background: #f7ac1f; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: rgba(30, 64, 175, 0.06); }
.btn--sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }

/* === Hero (hero-card) === */
.hero { position: relative; padding-block: 3rem 2rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto -10%; height: 60%; background: radial-gradient(60% 60% at 50% 20%, rgba(245, 158, 11, 0.14), transparent 70%), radial-gradient(80% 80% at 80% 0%, rgba(59, 130, 246, 0.18), transparent 70%); z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-card__box {
  max-width: 880px; margin-inline: auto;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}
.hero-card__box .eyebrow { margin-inline: auto; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin: 0 auto 1.75rem; }
.hero__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-card__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 3rem; }
  .hero-card__box { padding: 4rem 3rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted { background: linear-gradient(180deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.01)); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }

/* === Grid / Cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  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, rgba(30, 64, 175, 0.12), rgba(59, 130, 246, 0.18)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; }

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

/* === 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; font-style: italic; color: var(--color-text); line-height: 1.6; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--color-neutral-dark); }

/* === CTA band === */
.cta-band { padding-block: 4rem; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, rgba(245, 158, 11, 0.2), transparent 70%); pointer-events: none; }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin: 0 auto 1.5rem; font-size: 1.1rem; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: 0.75rem; padding: 1rem 1.25rem; transition: box-shadow .2s var(--ease); }
.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); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::after { content: '+'; color: var(--color-primary); font-size: 1.4rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 0.85rem; color: var(--color-muted); }

/* === 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 var(--color-border); border-radius: var(--radius); padding: 2.25rem; 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: 2px solid var(--color-accent); box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: #1a1a1a; padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-card__plan { margin: 0 0 0.25rem; color: var(--color-neutral-dark); }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-primary); margin: 0 0 0.75rem; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; margin: 0 0 1.75rem; padding: 0; flex: 1; }
.pricing-card__features li { display: flex; gap: 0.5rem; padding-block: 0.4rem; color: var(--color-text); border-top: 1px dashed var(--color-border); }
.pricing-card__features li:first-child { border-top: 0; }
.pricing-card__cta { width: 100%; }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); margin-top: 1.5rem; }
.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); font-size: 0.9rem; }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); }
.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-success { margin-top: 1rem; padding: 1rem; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); border-radius: var(--radius); color: #166534; text-align: center; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.tagline { color: rgba(255, 255, 255, 0.7); font-style: italic; margin-top: 0.75rem; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 2.5rem; padding-top: 1.25rem; text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }

/* === 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: var(--shadow-lg); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; color: rgba(248, 250, 252, 0.9); }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.cookie-banner .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: 0.5rem; }

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