:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #22C55E;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(22, 78, 99, 0.08);
  --shadow-lg: 0 20px 60px -20px rgba(8, 145, 178, 0.35);
  --radius: 16px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.75em;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); 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 { color: var(--color-neutral-dark); }
img { max-width: 100%; height: auto; display: block; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section--tint { background: linear-gradient(180deg, var(--color-neutral-light), #ffffff); }
.section__head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section__head p { color: rgba(22, 78, 99, 0.75); }
.eyebrow { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.14em; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }

@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(236, 254, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(22, 78, 99, 0.08);
  transition: background .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 24px -18px rgba(22, 78, 99, 0.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; max-width: 1160px; margin-inline: auto; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: space-between; width: 40px; height: 32px; padding: 6px; background: transparent; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; gap: 0.5rem; position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(22, 78, 99, 0.08); }
.primary-nav a { position: relative; font-weight: 500; padding: 0.5rem 0; color: var(--color-neutral-dark); }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; 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); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; position: static; flex-direction: row; gap: 2rem; padding: 0; background: transparent; border: 0; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; line-height: 1; border: 0; 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: #ffffff; box-shadow: 0 10px 30px -10px rgba(8, 145, 178, 0.55); }
.btn--primary:hover { transform: translateY(-2px); color: #ffffff; box-shadow: 0 16px 36px -12px rgba(8, 145, 178, 0.7); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid rgba(22, 78, 99, 0.2); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn--accent { background: var(--color-accent); color: #ffffff; box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.55); }
.btn--accent:hover { color: #ffffff; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(34, 197, 94, 0.7); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero (centered) === */
.hero { position: relative; padding-block: 4rem 3rem; text-align: center; overflow: hidden; }
.hero__glow { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 20%, rgba(34, 211, 238, 0.18), transparent 70%), radial-gradient(50% 50% at 80% 60%, rgba(34, 197, 94, 0.10), transparent 70%); z-index: -1; }
.hero__title { max-width: 28ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 1rem auto 2rem; font-size: 1.125rem; color: rgba(22, 78, 99, 0.8); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 3rem; }
.hero__figure { margin: 0; }
.hero__figure img { width: 100%; max-width: 1000px; margin-inline: auto; border-radius: 20px; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Split === */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split__figure img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

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

.card { background: #ffffff; border: 1px solid rgba(22, 78, 99, 0.08); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(22, 78, 99, 0.25); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(34, 211, 238, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: rgba(22, 78, 99, 0.8); margin: 0; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2rem; text-align: center; background: #ffffff; border-radius: var(--radius); border: 1px solid rgba(22, 78, 99, 0.08); box-shadow: var(--shadow-sm); }
.testimonial p { font-size: 1.15rem; line-height: 1.7; 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); }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #ffffff; padding: 4rem 0; text-align: center; }
.cta-band h2 { color: #ffffff; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(236, 254, 255, 0.85); max-width: 46ch; margin: 0 auto 1.75rem; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { position: relative; background: var(--color-neutral-light); border: 1px solid rgba(22, 78, 99, 0.12); border-radius: var(--radius); padding: 2.25rem; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; background: #ffffff; box-shadow: var(--shadow-lg); }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: #ffffff; font-size: 0.75rem; font-weight: 600; padding: 0.35rem 0.75rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-card__plan { font-size: 1.35rem; margin-bottom: 0.25rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-primary); margin: 0.25rem 0 0.5rem; }
.pricing-card__lede { color: rgba(22, 78, 99, 0.7); margin-bottom: 1.25rem; font-size: 0.95rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.95rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { margin-top: auto; align-self: stretch; }

/* === FAQ === */
.faq details { border: 1px solid rgba(22, 78, 99, 0.1); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; background: #ffffff; transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; cursor: pointer; list-style: none; color: var(--color-neutral-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; font-size: 1.25rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: rgba(22, 78, 99, 0.85); }

/* === Contact === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; background: #ffffff; padding: 2rem; border-radius: var(--radius); border: 1px solid rgba(22, 78, 99, 0.08); box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid rgba(22, 78, 99, 0.2); border-radius: 10px; background: #ffffff; color: var(--color-neutral-dark); 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(8, 145, 178, 0.15); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.875rem; color: rgba(22, 78, 99, 0.85); }
.form-consent input { margin-top: 0.25rem; }

.contact-card { background: #ffffff; border: 1px solid rgba(22, 78, 99, 0.08); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.contact-card p { margin: 0 0 0.75rem; }
.contact-card p:last-child { margin-bottom: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(236, 254, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.site-footer h4 { color: #ffffff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(236, 254, 255, 0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer .tagline { color: rgba(236, 254, 255, 0.7); margin-top: 0.75rem; font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.6; font-size: 0.95rem; }
.legal-links { margin-top: 1rem; font-size: 0.85rem; }
.site-footer__bottom { border-top: 1px solid rgba(236, 254, 255, 0.12); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: rgba(236, 254, 255, 0.6); }

/* === Reveal === */
.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: var(--radius); box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.5); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { font: inherit; font-family: var(--font-heading); font-weight: 600; padding: 0.55rem 1rem; border-radius: 999px; border: 0; cursor: pointer; font-size: 0.85rem; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #ffffff; }
.cookie-banner [data-cookie-reject] { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(236, 254, 255, 0.3); }
.cookie-banner [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(236, 254, 255, 0.3); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner [data-cookie-save] { align-self: flex-start; background: var(--color-primary); color: #ffffff; margin-top: 0.5rem; }
