:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #F97316;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 18px;
  --shadow-soft: 0 2px 20px rgba(22, 78, 99, 0.08);
  --shadow-hover: 0 20px 40px -20px rgba(8, 145, 178, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #fff;
  line-height: 1.6;
  -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); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 1rem; color: var(--color-neutral-dark); }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

/* === Header / Nav (glass) === */
.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 rgba(22, 78, 99, 0.08);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px -12px rgba(22, 78, 99, 0.25);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 72px; }
.nav-toggle {
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s; }
.primary-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 10px 30px -10px rgba(22, 78, 99, 0.2);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  padding: 0.6rem 0.5rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
  position: relative;
}
.primary-nav a.nav-cta {
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  text-align: center;
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    box-shadow: none;
    gap: 0.25rem;
  }
  .primary-nav a { padding: 0.5rem 0.85rem; font-size: 0.95rem; }
  .primary-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
}

/* === Hero (saas-spotlight) === */
.hero {
  position: relative;
  padding: 4rem 1.25rem 3rem;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.08), rgba(34, 211, 238, 0.12));
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner, .hero-visual {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner { text-align: center; padding-bottom: 2rem; }
.hero-inner--wide { max-width: 800px; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 { max-width: 20ch; margin-inline: auto; }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 55ch;
  margin: 1.25rem auto 2rem;
  color: rgba(22, 78, 99, 0.85);
}
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.hero-visual img {
  border-radius: 20px;
  box-shadow: 0 20px 60px -20px rgba(8, 145, 178, 0.35);
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}
@media (min-width: 900px) {
  .hero { padding: 6rem 2rem 4rem; }
  .hero-inner { padding-bottom: 3rem; }
  .hero h1 { max-width: 22ch; }
}
.hero--inner .hero-inner h1 { max-width: 26ch; }

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-align: center;
  line-height: 1.2;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(8, 145, 178, 0.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(8, 145, 178, 0.6); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: rgba(22, 78, 99, 0.25);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }

/* === Proof strip === */
.proof-strip {
  border-top: 1px solid rgba(22, 78, 99, 0.08);
  border-bottom: 1px solid rgba(22, 78, 99, 0.08);
  background: #fff;
}
.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
  color: rgba(22, 78, 99, 0.75);
  font-size: 0.9rem;
}
.proof-inner strong { color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.15rem; display: block; }
@media (min-width: 768px) { .proof-inner { grid-template-columns: repeat(4, 1fr); } }

/* === Sections === */
section { padding: 4rem 1.25rem; }
@media (min-width: 768px) { section { padding: 5rem 2rem; } }
.intro-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.intro-inner p { font-size: 1.05rem; color: rgba(22, 78, 99, 0.85); }
.section-head { max-width: 780px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: rgba(22, 78, 99, 0.75); }

/* === Cards / Grid === */
.card-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .card-grid--3, .card-grid--4, .card-grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--5 .card:nth-child(4),
  .card-grid--5 .card:nth-child(5) { grid-column: span 1; }
}
@media (min-width: 1200px) {
  .card-grid--5 { grid-template-columns: repeat(5, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid rgba(22, 78, 99, 0.08);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-icon {
  display: inline-flex;
  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);
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: rgba(22, 78, 99, 0.8); margin: 0; }

/* === Testimonial === */
.testimonial { background: linear-gradient(135deg, var(--color-neutral-light), #fff); }
.testimonial blockquote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
}
.testimonial p {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-weight: 500;
}
.testimonial cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(22, 78, 99, 0.7);
  font-style: normal;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
}
.cta-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(236, 254, 255, 0.85); font-size: 1.05rem; margin-bottom: 1.75rem; }
.cta-band .btn--primary {
  background: var(--color-accent);
  box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.6);
}
.cta-band .btn--primary:hover { background: #ea6a11; }

/* === Contact band === */
.contact-band { background: var(--color-neutral-light); }
.contact-band-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.contact-line { color: rgba(22, 78, 99, 0.85); font-size: 1rem; }

/* === FAQ === */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-list details {
  background: #fff;
  border: 1px solid rgba(22, 78, 99, 0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-soft);
}
.faq-list summary {
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  color: var(--color-neutral-dark);
  list-style: none;
  padding-right: 2rem;
  position: relative;
}
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: 0.75rem; color: rgba(22, 78, 99, 0.85); }

/* === Pricing === */
.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative;
  padding: 2.25rem;
  border-radius: 16px;
  border: 1px solid rgba(22, 78, 99, 0.12);
  background: #fff;
  box-shadow: var(--shadow-soft);
  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-hover); }
.pricing-card--featured {
  border-color: var(--color-accent);
  border-width: 2px;
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pricing-card__plan { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); margin-bottom: 0.5rem; }
.pricing-card__price { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-neutral-dark); margin-bottom: 0.75rem; }
.pricing-card__lede { color: rgba(22, 78, 99, 0.8); font-size: 0.95rem; margin-bottom: 1.5rem; }
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(22, 78, 99, 0.9);
}
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === Contact form === */
.contact-form-section { background: var(--color-neutral-light); }
.contact-form-inner { max-width: 640px; margin: 0 auto; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.contact-form label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  color: var(--color-neutral-dark);
}
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(22, 78, 99, 0.2);
  border-radius: 10px;
  background: #fff;
  color: var(--color-neutral-dark);
  transition: border-color .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); }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: rgba(22, 78, 99, 0.8);
  margin-top: 1rem;
  font-weight: 400;
}
.form-consent input { margin-top: 0.25rem; }
.contact-form button { margin-top: 1rem; align-self: flex-start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(236, 254, 255, 0.85);
  padding: 4rem 1.25rem 2rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer nav a, .site-footer address a { color: rgba(236, 254, 255, 0.85); font-size: 0.95rem; }
.site-footer nav a:hover, .site-footer address a:hover { color: var(--color-secondary); }
.site-footer address { font-style: normal; line-height: 1.7; font-size: 0.95rem; }
.site-footer .tagline { color: rgba(236, 254, 255, 0.65); font-size: 0.95rem; margin-top: 0.75rem; }
.legal-links { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.legal-links a { font-size: 0.85rem; }
.copyright {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(236, 254, 255, 0.12);
  color: rgba(236, 254, 255, 0.5);
  font-size: 0.85rem;
  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);
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 20px 60px -15px rgba(0,0,0,0.4);
  max-width: 720px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner__actions button {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(236, 254, 255, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  transition: background .2s;
}
.cookie-banner__actions button:hover { background: rgba(236, 254, 255, 0.1); }
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__actions button[data-cookie-accept]:hover { background: #ea6a11; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(236, 254, 255, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  cursor: pointer;
}

/* === 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; }
}
