:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #475569;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 20px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 10px 40px -12px rgba(12, 74, 110, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(12, 74, 110, 0.35);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  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 var(--ease); }
a:hover { color: var(--color-neutral-dark); }
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, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240, 249, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(12, 74, 110, 0.08);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav { display: none; gap: 1.75rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; position: relative; padding: .25rem 0; }
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--color-primary); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle {
  background: transparent; border: 1px solid rgba(12,74,110,0.15); border-radius: 8px;
  padding: .5rem; color: var(--color-neutral-dark); cursor: pointer;
}
.site-header.nav-open .primary-nav {
  display: flex; flex-direction: column; gap: 1rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 1.25rem 1.25rem 1.5rem; border-top: 1px solid rgba(12,74,110,0.08);
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  cursor: pointer; border: none; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  box-shadow: 0 10px 30px -12px rgba(14, 165, 233, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(14, 165, 233, 0.6); color: #fff; }
.btn-accent {
  color: #fff; background: var(--color-accent);
  box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.5);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(249, 115, 22, 0.6); color: #fff; }
.btn-ghost {
  color: var(--color-neutral-dark); background: transparent;
  border: 1.5px solid rgba(12, 74, 110, 0.2);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--color-primary); color: var(--color-primary); }

/* === Hero (hero-card archetype) === */
.hero {
  position: relative;
  padding: 3rem 1.25rem 4rem;
  background: radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.18), transparent 60%),
              radial-gradient(circle at 80% 60%, rgba(249, 115, 22, 0.12), transparent 55%),
              linear-gradient(180deg, var(--color-neutral-light), #ffffff);
  overflow: hidden;
}
.hero-card__box {
  max-width: 880px; margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.eyebrow {
  font-family: var(--font-heading); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem;
  color: var(--color-primary); margin-bottom: .75rem;
}
.hero .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 60ch; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 768px) {
  .hero { padding: 5rem 2rem 6rem; }
  .hero-card__box { padding: 4rem 3.5rem; }
  .hero .lede { font-size: 1.25rem; }
}

/* === Sections === */
.section {
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section.narrow { max-width: 780px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.1rem; }
@media (min-width: 768px) { .section { padding: 6rem 2rem; } }

/* === Cards === */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .cards-4, .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid rgba(12, 74, 110, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(14, 165, 233, 0.25); }
.card .icon { width: 36px; height: 36px; color: var(--color-primary); margin-bottom: 1rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .97rem; }
.card h3 { margin-bottom: .5rem; }

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

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial {
  max-width: 780px; margin: 0 auto;
  padding: 2rem 1.25rem;
  border-left: 4px solid var(--color-accent);
  background: var(--color-neutral-light);
  border-radius: var(--radius-md);
  text-align: left;
}
.testimonial p { font-family: var(--font-heading); font-weight: 500; font-size: 1.2rem; color: var(--color-neutral-dark); font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--color-primary); font-size: .95rem; }
@media (min-width: 768px) { .testimonial { padding: 2.5rem 3rem; } .testimonial p { font-size: 1.4rem; } }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding: 4rem 1.25rem;
  text-align: center;
}
.cta-band__inner { max-width: 780px; margin: 0 auto; }
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 1.75rem; font-size: 1.1rem; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: #fff;
  border: 1px solid rgba(12, 74, 110, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(14, 165, 233, 0.25); }
.faq summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark);
  font-size: 1.05rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--color-primary); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .85rem 0 0; color: var(--color-muted); }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(12, 74, 110, 0.12);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  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: -14px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  font-family: var(--font-heading); font-weight: 600; font-size: .78rem;
  padding: .35rem .85rem; border-radius: 999px; letter-spacing: 0.04em;
}
.pricing-card__plan { margin-bottom: .25rem; color: var(--color-primary); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.pricing-card__price { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--color-neutral-dark); margin-bottom: .5rem; }
.pricing-card__lede { color: var(--color-muted); font-size: .95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.pricing-card__features li { display: flex; gap: .5rem; color: var(--color-text); font-size: .97rem; }
.pricing-card__cta { margin-top: auto; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; max-width: 620px; margin: 0 auto; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: .8rem 1rem; border: 1px solid rgba(12, 74, 110, 0.18);
  border-radius: var(--radius-sm); background: #fff; color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}
.form-consent {
  flex-direction: row; align-items: flex-start; gap: .6rem;
  font-weight: 400; font-size: .88rem; color: var(--color-muted); flex-wrap: wrap;
}
.form-consent input { margin-top: .15rem; }
.contact-form button[type="submit"] { align-self: flex-start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240, 249, 255, 0.85); padding: 4rem 1.25rem 1.5rem; margin-top: 4rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; }
.footer-tag { margin-top: .75rem; color: rgba(240, 249, 255, 0.7); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { flex-direction: row !important; flex-wrap: wrap; gap: 1rem !important; padding-top: 1rem !important; border-top: 1px solid rgba(255,255,255,0.1); }
.copy { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: .85rem; color: rgba(240,249,255,0.6); text-align: center; }

/* === 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);
  border-radius: var(--radius-md); padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg); max-width: 640px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit; padding: .6rem 1.1rem; border-radius: 999px; border: none; cursor: pointer;
  font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
  background: rgba(255,255,255,0.12); color: #fff; transition: background .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(255,255,255,0.22); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); }
.cookie-banner [data-cookie-accept]:hover { background: #ea6a10; }
.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.12); }
.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); }

/* === Reveal (scroll 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; }
  html { scroll-behavior: auto; }
}
