:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #22C55E;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 58, 138, 0.22);
  --shadow-lg: 0 30px 60px -20px rgba(30, 58, 138, 0.35);
}

/* === Base === */
*, *::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: #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 { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-secondary);
  font-weight: 600;
  margin: 0 0 1rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(30, 64, 175, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(30, 64, 175, 0.7); text-decoration: none; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-neutral-dark);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: #fff; transform: translateY(-2px); text-decoration: none; }
.btn--on-dark { box-shadow: 0 10px 30px -8px rgba(0,0,0,0.4); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239, 246, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s, box-shadow 0.2s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 24px -12px rgba(30, 58, 138, 0.25);
}
.site-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; display: block; }
.logo--footer img { height: 64px; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  gap: 0.5rem;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}
.site-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    gap: 1.5rem;
    backdrop-filter: none;
  }
  .site-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .site-nav a:hover { text-decoration: none; }
  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
}

/* === Hero — saas-spotlight === */
.hero {
  position: relative;
  padding-block: 3.5rem 4rem;
  background: linear-gradient(135deg, var(--color-neutral-light) 0%, #dbeafe 100%);
  overflow: hidden;
}
.hero--inner { padding-block: 2.5rem 3rem; }
.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 { max-width: 22ch; }
.hero__sub {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--color-muted);
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__visual img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 5.5rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }
.intro__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.intro__inner p { color: var(--color-muted); font-size: 1.05rem; line-height: 1.75; }
.intro--alt { background: var(--color-neutral-light); }

/* === Grids / Cards === */
.grid { display: grid; gap: 1.5rem; }
.grid--cards { grid-template-columns: 1fr; }
.grid--team { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } .grid--team { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.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: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30,64,175,0.1), rgba(59,130,246,0.15));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin-bottom: 0; }

.team-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.team-card h3 { padding: 1.5rem 1.5rem 0; }
.team-card p { padding: 0 1.5rem 1.75rem; color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.testimonial-section { background: var(--color-neutral-light); }
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 500;
}
.testimonial p {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
}
.testimonial cite { font-style: normal; font-size: 0.95rem; color: var(--color-muted); font-family: var(--font-body); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3.5rem;
}
.cta-band--soft { background: linear-gradient(135deg, var(--color-secondary), var(--color-primary)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.cta-band__meta { font-size: 0.95rem; margin-top: 0.5rem; }
.cta-band__meta a { color: #fff; text-decoration: underline; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Split === */
.split__inner { display: grid; gap: 2rem; align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split__media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .split__inner { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

/* === FAQ === */
.faq__list { max-width: 780px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.5rem;
  color: var(--color-secondary);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 1rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form-section__inner { max-width: 640px; margin: 0 auto; }
.contact-form { display: grid; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.contact-form label { display: grid; gap: 0.4rem; font-size: 0.9rem; color: var(--color-neutral-dark); font-weight: 500; }
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-text);
  transition: border-color 0.2s, background 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  font-weight: 400;
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.2rem; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }
.contact-form button[type="submit"] { justify-self: start; margin-top: 0.5rem; }

.contact-band { background: var(--color-neutral-light); }
.contact-band .container { text-align: center; max-width: 780px; }
.contact-band p { color: var(--color-muted); font-size: 1.05rem; }
.contact-band a { color: var(--color-primary); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.site-footer address { font-style: normal; margin-bottom: 1.25rem; font-size: 0.95rem; }
.legal-links { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1rem !important; }
.site-footer__tag { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.site-footer__copy {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.logo--footer img { filter: brightness(0) invert(1); }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
}

/* === 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);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  font: inherit;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.08); }
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #052e16;
  font-weight: 600;
}
.cookie-banner__actions button[data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; font-size: 0.85rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button {
  justify-self: start;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: none;
  background: var(--color-secondary);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}

/* === Reveal animations === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.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; }
}
