:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #059669;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-bg: #FBFEFF;
  --color-text: #0F2A33;
  --color-muted: #4E6A75;
  --color-border: rgba(22, 78, 99, 0.14);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 42, 51, 0.06);
  --shadow: 0 20px 60px -25px rgba(15, 42, 51, 0.22);
  --shadow-lg: 0 30px 80px -30px rgba(8, 145, 178, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
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.2; letter-spacing: -0.015em; margin: 0 0 .75rem; }
p { margin: 0 0 1rem; }
ul { padding: 0; margin: 0; list-style: none; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }

/* === 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 .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 30px -20px rgba(15, 42, 51, 0.2);
  border-bottom-color: var(--color-border);
}
.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; }

.primary-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 1.5rem; align-items: center; }
.nav-list a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: .25rem 0;
}
.nav-list a::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);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff !important;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav-list .nav-cta::after { display: none; }
.nav-list .nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: .5rem; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; padding: 1rem 1.25rem 1.25rem;
    gap: .25rem; box-shadow: var(--shadow);
    border-top: 1px solid var(--color-border);
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--color-border); }
  .nav-list a::after { display: none; }
  .nav-list .nav-cta { text-align: center; margin-top: .5rem; border-bottom: 0; }
}

/* === Hero (saas-spotlight) === */
.hero-spotlight {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 3rem;
  background: linear-gradient(180deg, var(--color-neutral-light) 0%, var(--color-bg) 100%);
}
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 80%;
  background: radial-gradient(60% 60% at 50% 30%, rgba(34, 211, 238, 0.35), transparent 70%),
              radial-gradient(40% 40% at 80% 20%, rgba(5, 150, 105, 0.18), transparent 75%);
  pointer-events: none;
  filter: blur(20px);
}
.hero-inner { position: relative; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .8rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--color-primary);
  background: rgba(8, 145, 178, 0.08);
  padding: .35rem .8rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 700; letter-spacing: -0.025em;
  max-width: 22ch; margin-inline: auto;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--color-muted);
  max-width: 56ch; margin: 1rem auto 1.75rem;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.hero-visual {
  margin: 2rem auto 0;
  max-width: 960px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(8, 145, 178, 0.1), 0 40px 80px -40px rgba(8, 145, 178, 0.4);
  position: relative;
}
.hero-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-inner-page { padding-block: 3rem 2rem; }
.hero-inner-page .hero-visual { aspect-ratio: auto; }
.hero-inner-page .hero-visual img { aspect-ratio: 21/9; }

.proof-strip { margin-top: 2.5rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: rgba(255,255,255,0.5); }
.proof-strip-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; padding-block: 1rem; font-family: var(--font-heading); font-size: .9rem; color: var(--color-muted); font-weight: 500; }
.proof-strip-inner span { position: relative; }

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-heading); font-weight: 600;
  padding: .85rem 1.5rem; border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer; font-size: 1rem;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(8, 145, 178, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -15px rgba(8, 145, 178, 0.7); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(8,145,178,0.4); outline-offset: 3px; }

/* === Sections === */
.section { padding-block: 4rem; }
.section .section-title { text-align: center; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 2.5rem; }
.section.narrow h2 { text-align: center; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.section.narrow p { text-align: center; font-size: 1.075rem; color: var(--color-text); }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .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 {
  display: block;
  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), border-color .25s var(--ease);
  color: inherit;
  height: 100%;
}
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .975rem; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(8, 145, 178, 0.35); }
.card-link { text-decoration: none; }
.card-link:hover h3 { color: var(--color-primary); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(8,145,178,0.12), rgba(5,150,105,0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, transparent, rgba(236, 254, 255, 0.6)); }
.testimonial { margin: 0; text-align: center; }
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--color-neutral-dark);
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  margin: 2rem 1.25rem;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: -30% -20% auto auto; width: 60%; height: 100%;
  background: radial-gradient(circle, rgba(34,211,238,0.4), transparent 70%);
  pointer-events: none;
}
.cta-band-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 0; }
.cta-band p { color: rgba(255,255,255,0.85); margin: .5rem 0 0; }
.cta-band .btn-primary { background: #fff; color: var(--color-neutral-dark); box-shadow: 0 12px 30px -10px rgba(0,0,0,0.3); }
.cta-band .btn-primary:hover { color: var(--color-primary); }
@media (min-width: 800px) {
  .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band { margin-inline: auto; max-width: 1180px; padding: 3.5rem 3rem; }
}

/* === Form === */
.form-wrap { max-width: 720px; margin-inline: auto; }
.form-intro { text-align: center; margin-bottom: 2rem; }
.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: 1rem;
}
.field { display: grid; gap: .35rem; }
.field label { font-weight: 500; font-size: .9rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font: inherit; color: inherit;
  padding: .75rem .9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(8,145,178,0.15);
}
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .875rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer {
  margin-top: 4rem;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3rem 0 1.5rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-secondary); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; }
.footer-logo img { height: 60px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-grid ul li { margin-bottom: .5rem; }
.footer-grid address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: .75rem 1rem; font-size: .875rem; }
.copyright { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.25rem; font-size: .85rem; color: rgba(236,254,255,0.7); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; } }

/* === 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 60px -20px rgba(0,0,0,0.5);
  max-width: 720px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; }
.cookie-banner a { color: var(--color-secondary); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit; cursor: pointer;
  padding: .55rem 1.1rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent; color: var(--color-neutral-light);
  font-weight: 500; font-size: .9rem;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(255,255,255,0.08); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #047857; border-color: #047857; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

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

/* === Responsive === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .footer-logo img { height: 72px; }
  .section { padding-block: 5.5rem; }
  .hero-spotlight { padding-block: 5.5rem 4rem; }
}
