:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #22C55E;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-text: #0F2A34;
  --color-muted: #52737D;
  --color-border: rgba(22, 78, 99, 0.12);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(15, 42, 52, 0.06);
  --shadow-md: 0 12px 36px -12px rgba(15, 42, 52, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(8, 145, 178, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
}

/* === Base === */
* { 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: #fff;
  -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);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; }

/* === Header (glass 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.06);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .75rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}
.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(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  width: 100%;
  padding: 1rem 0;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  position: relative;
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .6rem .25rem;
  font-size: .98rem;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: .25rem; right: .25rem; bottom: .35rem;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a.is-current::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  padding: .55rem 1.1rem;
  text-align: center;
  margin-top: .35rem;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    width: auto;
    padding: 0;
  }
  .logo img { height: 96px; }
  .logo--footer img { height: 80px; }
}

/* === Hero (saas-spotlight) === */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 3.5rem 2.5rem;
  background:
    radial-gradient(ellipse 60% 60% at 80% 10%, rgba(34, 197, 94, 0.12), transparent 60%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(34, 211, 238, 0.18), transparent 60%),
    linear-gradient(135deg, #ECFEFF 0%, #E0FBFF 50%, #F4FBFF 100%);
}
.hero__inner { text-align: center; max-width: 900px; }
.hero h1 { color: var(--color-neutral-dark); margin-inline: auto; max-width: 22ch; }
.hero__sub {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 52ch;
  margin: 0 auto 1.75rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero__visual {
  margin-top: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.social-proof {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1rem;
  color: var(--color-muted);
  font-size: .9rem;
  font-weight: 500;
}
.hero--inner { padding-block: 3rem 2.5rem; }

@media (min-width: 768px) {
  .hero { padding-block: 5.5rem 4rem; }
  .hero__inner { margin-inline: auto; }
  .hero__ctas { margin-bottom: 3rem; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.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.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(8, 145, 178, 0.7); color: #fff; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn--ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--color-neutral-dark); }
.btn--accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(34, 197, 94, 0.55);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(34, 197, 94, 0.7); color: #fff; }
.btn--sm { padding: .5rem .95rem; font-size: .9rem; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--tint { background: linear-gradient(180deg, #F4FDFF 0%, #EAFAFF 100%); }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }

/* === Grid + Cards === */
.grid { display: grid; gap: 1.25rem; margin-top: 2.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); }
  .grid { gap: 1.5rem; }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
}
.card p { color: var(--color-muted); margin-bottom: 0; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  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;
}

/* === Testimonial === */
.testimonial {
  margin: 0;
  padding: 2.25rem;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.04), rgba(34, 211, 238, 0.08));
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  position: relative;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-neutral-dark);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
  font-size: .95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral-dark) 100%);
  color: #fff;
  padding-block: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.25), transparent 50%);
  pointer-events: none;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(236, 254, 255, 0.85); margin: 0; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; }
}

/* === Contact grid === */
.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .contact-grid--wide { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { color: var(--color-primary); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.contact-card p { margin: 0; color: var(--color-neutral-dark); font-weight: 500; }

/* === Contact form === */
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .75rem .9rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  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: .6rem; font-size: .88rem; color: var(--color-muted); align-items: flex-start; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__tagline { color: rgba(236, 254, 255, 0.75); font-size: .95rem; margin-top: .75rem; }
.footer__nav { display: flex; flex-direction: column; gap: .5rem; }
.footer__nav a,
.footer__contact a { color: var(--color-neutral-light); }
.footer__nav a:hover,
.footer__contact a:hover { color: var(--color-secondary); }
.footer__contact p { color: rgba(236, 254, 255, 0.85); margin-bottom: .75rem; }
.footer__legal { font-size: .85rem; }
.footer__legal a { color: rgba(236, 254, 255, 0.7); }
.footer__copyright {
  border-top: 1px solid rgba(236, 254, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1.25rem;
  color: rgba(236, 254, 255, 0.6);
  font-size: .85rem;
}
.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: var(--radius);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.35);
  max-width: 560px;
  margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; color: rgba(236, 254, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(236, 254, 255, 0.15); font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }

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