:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #475569;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --shadow-sm: 0 2px 20px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(12, 74, 110, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(12, 74, 110, 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);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.01em; margin: 0 0 1rem; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-secondary); margin-bottom: 0.75rem; }
.sub { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.lede { color: var(--color-muted); font-size: 1.15rem; max-width: 52ch; }

/* === Header / nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 249, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav { display: none; align-items: center; gap: 1.75rem; }
.primary-nav a {
  position: relative;
  color: var(--color-neutral-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding-block: 0.25rem;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.nav-toggle {
  background: transparent; border: 0; cursor: pointer; padding: 0.5rem;
  display: inline-flex; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); transition: transform .25s var(--ease), opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile nav open state */
.primary-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #ffffff;
  padding: 1.5rem;
  gap: 1rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 0; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-align: center;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(3, 105, 161, 0.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(3, 105, 161, 0.6); color: #ffffff; }
.btn--accent { background: var(--color-accent); color: #ffffff; box-shadow: 0 8px 20px -8px rgba(34, 197, 94, 0.5); }
.btn--accent:hover { transform: translateY(-2px); color: #ffffff; }
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-primary); background: var(--color-neutral-light); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero card === */
.hero { padding-block: 3rem 4rem; background: radial-gradient(circle at 20% 0%, rgba(14, 165, 233, 0.18), transparent 55%), radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.10), transparent 50%), var(--color-neutral-light); }
.hero-card__inner {
  max-width: 880px;
  margin-inline: auto;
  padding: 2.5rem 1.5rem;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.hero-card__inner .hero-cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-card__image { margin: 2rem 0 0; }
.hero-card__image img { border-radius: 16px; aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--shadow-md); }
@media (min-width: 768px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-card__inner { padding: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--intro { padding-block: 3.5rem; }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__head h2 { margin-bottom: 0.75rem; }
.section__head .sub { max-width: 60ch; margin-inline: auto; }

/* === 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: #ffffff;
  border: 1px solid var(--color-border);
  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: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(34,197,94,0.10));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.testimonial {
  margin: 0;
  padding: 2rem;
  background: var(--color-neutral-light);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
}
.testimonial p { font-size: 1.15rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.55; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.9rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band {
  padding-block: 3.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #ffffff;
  text-align: center;
}
.cta-band h2 { color: #ffffff; }
.cta-band p { color: rgba(240, 249, 255, 0.88); max-width: 60ch; margin-inline: auto 1rem; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.25rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  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: 24px;
  background: var(--color-accent); color: #ffffff;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem;
  padding: 0.35rem 0.9rem; border-radius: 999px;
  letter-spacing: 0.05em;
}
.pricing-card__plan { margin: 0 0 0.25rem; font-size: 1.1rem; color: var(--color-secondary); text-transform: uppercase; letter-spacing: 0.08em; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin: 0.25rem 0 0.5rem; }
.pricing-card__lede { color: var(--color-muted); font-size: 0.95rem; margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--color-neutral-dark); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  color: var(--color-neutral-dark);
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-secondary); font-weight: 400;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-line { font-size: 1.05rem; color: var(--color-neutral-dark); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--color-neutral-dark);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; }
.form-consent a { text-decoration: underline; }

/* === Footer === */
.site-footer {
  margin-top: 4rem;
  background: var(--color-neutral-dark);
  color: rgba(240, 249, 255, 0.85);
  padding: 3rem 0 1.5rem;
}
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h4 { color: #ffffff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: #ffffff; }
.logo--footer img { height: 60px; margin-bottom: 0.75rem; }
.footer__tagline { font-family: var(--font-heading); font-size: 0.95rem; color: rgba(240, 249, 255, 0.75); margin: 0; }
.footer__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__contact address { font-style: normal; margin-bottom: 0.75rem; }
.footer__legal { margin-top: 1rem; font-size: 0.85rem; }
.footer__copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(240, 249, 255, 0.15); text-align: center; font-size: 0.85rem; color: rgba(240, 249, 255, 0.7); }
.footer__copyright p { margin: 0; }

/* === 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;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.9rem; color: rgba(240, 249, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.55rem 1rem; font-size: 0.85rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(240,249,255,0.35); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(240,249,255,0.1); color: #ffffff; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240,249,255,0.15); }
.cookie-banner__prefs label { font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }

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