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

/* === 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-text);
  background: #ffffff;
  -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); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: min(100% - 2rem, 1180px); margin-inline: auto; }
.narrow { max-width: 760px; margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-align: center;
}
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 8px 24px -10px rgba(14, 165, 233, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(14, 165, 233, 0.7); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(249, 115, 22, 0.55); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.6); color: var(--color-neutral-dark); border-color: var(--color-border); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); color: var(--color-neutral-dark); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  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 transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(255,255,255,0.92); box-shadow: 0 6px 24px -12px rgba(12, 74, 110, 0.2); border-bottom-color: var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; background: transparent; border: 0; color: var(--color-neutral-dark); padding: .5rem; cursor: pointer; border-radius: 8px; }
.nav-toggle:hover { background: rgba(12,74,110,.06); }
.site-nav { display: none; flex-direction: column; gap: .25rem; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.site-nav.is-open { display: flex; }
.site-nav a { padding: .6rem .75rem; border-radius: 8px; color: var(--color-neutral-dark); font-weight: 500; position: relative; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(14,165,233,.08); color: var(--color-primary); }
.site-nav .nav-cta { background: var(--color-accent); color: #fff; text-align: center; }
.site-nav .nav-cta:hover { background: var(--color-accent); color: #fff; filter: brightness(1.08); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; flex-direction: row; align-items: center; gap: .5rem; position: static; background: transparent; padding: 0; border: 0; box-shadow: none; }
  .site-nav a { padding: .5rem .9rem; }
  .site-nav a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .site-nav a:not(.nav-cta):hover::after, .site-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: transparent; }
  .site-nav .nav-cta { padding: .55rem 1.15rem; border-radius: 999px; }
  .site-nav .nav-cta::after { display: none; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Hero (centered) === */
.hero { position: relative; padding: 4rem 0 3rem; overflow: hidden; }
.hero-bg { position: absolute; inset: -20% -10% auto -10%; height: 110%; background: radial-gradient(60% 60% at 50% 30%, rgba(56,189,248,0.35), transparent 70%), radial-gradient(50% 60% at 80% 80%, rgba(249,115,22,0.18), transparent 70%), linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%); z-index: -1; }
.hero-inner { text-align: center; max-width: 860px; margin-inline: auto; }
.hero-inner h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin: 1rem auto 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero-visual { margin-top: 3rem; }
.hero-visual img { border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); }
@media (min-width: 768px) { .hero { padding: 6rem 0 4rem; } }

/* === Sections === */
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 5.5rem 0; } }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }

/* === Grids & Cards === */
.grid-3, .grid-4 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s 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(14,165,233,.15), rgba(56,189,248,.25)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .95rem; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(135deg, rgba(14,165,233,.08), rgba(56,189,248,.08)); }
.quote { max-width: 780px; margin: 0 auto; text-align: center; font-family: var(--font-heading); }
.quote p { font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--color-neutral-dark); line-height: 1.4; margin-bottom: 1.25rem; font-weight: 500; }
.quote cite { font-family: var(--font-body); font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === Intro === */
.intro p { color: var(--color-text); font-size: 1.05rem; }

/* === CTA Band === */
.cta-band { padding: 4rem 0; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 60ch; margin: 0 auto 1.5rem; }

/* === Contact band === */
.contact-band { text-align: center; }
.contact-band p { color: var(--color-muted); }

/* === 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); }
.form-row { display: grid; gap: .4rem; }
.form-row label { font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row select, .form-row textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-text); 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-primary); box-shadow: 0 0 0 3px rgba(14,165,233,.2); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem; 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; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--color-primary); font-size: 1.25rem; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === 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; padding: 2.25rem; border-radius: var(--radius); border: 1px solid var(--color-border); background: #fff; box-shadow: var(--shadow-sm); 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-md); }
.pricing-card.is-featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: -12px; right: 1.25rem; background: var(--color-accent); color: #fff; font-size: .75rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; letter-spacing: .04em; }
.pricing-card__plan { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--color-primary); margin-bottom: .5rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; 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; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .65rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .5rem; font-size: .95rem; color: var(--color-text); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { width: 100%; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,.85); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .04em; margin-bottom: .75rem; }
.footer-logo img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.footer-tag { color: rgba(255,255,255,.7); margin-top: .75rem; font-size: .95rem; }
.footer-nav { display: flex; flex-direction: column; gap: .35rem; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,.8); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-accent); }
.footer-contact address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; font-size: .95rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; text-align: center; font-size: .85rem; color: rgba(255,255,255,.6); }

/* === 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: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(255,255,255,.9); font-size: .92rem; margin-bottom: .9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .85rem; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: rgba(255,255,255,.9); }
.cookie-banner__prefs button { margin-top: .5rem; justify-self: start; }

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