:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #F97316;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-text: #0F2A33;
  --color-muted: #4A6875;
  --color-border: rgba(22, 78, 99, 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(0, 0, 0, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(15, 42, 51, 0.25);
}

/* === Base === */
*, *::before, *::after { 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%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
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 0.75rem; }
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 700; }
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; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; }
.eyebrow { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-primary); margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 60ch; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); box-shadow: 0 10px 30px -10px rgba(8, 145, 178, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(8, 145, 178, 0.65); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--color-primary); text-decoration: none; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(249, 115, 22, 0.55); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Header / Nav === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(236, 254, 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 .25s, box-shadow .25s, border-color .25s; }
.site-header.scrolled { background: rgba(255, 255, 255, 0.9); border-bottom-color: var(--color-border); box-shadow: 0 6px 20px -12px rgba(15, 42, 51, 0.2); }
.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: transparent; border: 1px solid var(--color-border); color: var(--color-neutral-dark); border-radius: 10px; padding: 0.4rem; cursor: pointer; display: inline-flex; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255, 255, 255, 0.98); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); }
.primary-nav.is-open { display: flex; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: 0.6rem 0.25rem; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { background: var(--color-accent); color: #fff; border-radius: 999px; text-align: center; padding: 0.6rem 1.1rem; margin-top: 0.5rem; }
.primary-nav .nav-cta:hover { text-decoration: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; position: static; background: transparent; padding: 0; border: 0; }
  .primary-nav a { padding: 0.35rem 0; }
  .primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.nav-cta):hover { text-decoration: none; }
  .primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin-top: 0; }
}
@media (min-width: 768px) { .logo img { height: 96px; } }

/* === Hero (SaaS spotlight) === */
.hero { position: relative; padding-block: 4rem 3rem; background: linear-gradient(135deg, rgba(8,145,178,0.06), rgba(34,211,238,0.08)); overflow: hidden; }
.hero__glow { position: absolute; inset: -20% 30% auto -20%; height: 60vh; background: radial-gradient(circle at 30% 40%, rgba(249, 115, 22, 0.18), transparent 60%); pointer-events: none; z-index: 0; }
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { max-width: 22ch; }
.hero .lede { margin: 0 auto 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 3rem; }
.hero__visual { margin: 0; width: 100%; max-width: 960px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); background: #fff; position: relative; }
.hero__visual::before { content: ""; position: absolute; inset: -20px; background: radial-gradient(circle at 20% 20%, rgba(34,211,238,0.35), transparent 60%); z-index: -1; filter: blur(30px); }
.hero__visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero--compact { padding-bottom: 2rem; }
.hero--compact .hero__inner { padding-bottom: 1rem; }
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Sections === */
.section { padding-block: 4rem; }
.section--tint { background: var(--color-neutral-light); }
.section__title { text-align: center; margin-bottom: 2.5rem; }

/* === Cards / grids === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(8, 145, 178, 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.18)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; }
.card-link h3 { color: var(--color-neutral-dark); }

/* === Quote === */
.quote { margin: 0; padding: 2rem 1rem; text-align: center; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--color-neutral-dark); line-height: 1.4; }
.quote cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); padding-block: 3.5rem; margin-block: 0; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(236, 254, 255, 0.85); margin: 0; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 800px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* === 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: var(--color-neutral-light); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; background: #fff; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pricing-card__badge { position: absolute; top: -14px; right: 1.5rem; background: var(--color-accent); color: #fff; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.pricing-card__plan { margin-bottom: 0.25rem; font-size: 1.4rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-primary); font-family: var(--font-heading); margin: 0.25rem 0 0.75rem; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; font-size: 0.98rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--color-text); font-size: 0.95rem; }
.pricing-card__features li span { color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; align-self: stretch; }

/* === FAQ === */
.faq details { border-top: 1px solid var(--color-border); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--color-border); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--color-primary); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact === */
.contact-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.1fr; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; color: var(--color-text); }
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 500; font-size: 0.95rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea { font: inherit; padding: 0.7rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(8,145,178,0.15); background: #fff; }
.form-consent { display: flex; flex-direction: row; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; font-weight: 400; color: var(--color-muted); }
.form-consent input { flex-shrink: 0; margin-top: 0.15rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(236, 254, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.logo--footer img { height: 60px; }
.footer-tag { color: rgba(236, 254, 255, 0.7); max-width: 26ch; margin-top: 0.75rem; }
.footer-nav { display: flex; flex-direction: column; }
.footer-nav h4, .footer-contact h4 { color: #fff; font-family: var(--font-heading); font-size: 1rem; margin-bottom: 1rem; }
.footer-nav a, .footer-contact a { color: rgba(236, 254, 255, 0.8); display: block; padding: 0.25rem 0; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-secondary); text-decoration: none; }
.footer-contact address { font-style: normal; line-height: 1.7; }
.footer-legal { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.88rem; color: rgba(236, 254, 255, 0.6); }
.footer-copy p { margin: 0; }

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

/* === 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: 14px; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.4); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { flex: 1 1 auto; padding: 0.6rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); font-family: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background .2s; }
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions [data-cookie-accept]:hover { background: #ea6b0a; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; background: var(--color-primary); border: none; color: #fff; padding: 0.55rem 1.1rem; border-radius: 999px; cursor: pointer; font-weight: 600; }
