/* === Tokens === */
:root {
  --color-primary: #0F172A;
  --color-secondary: #1E3A8A;
  --color-accent: #CA8A04;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2, 6, 23, 0.10);
  --color-muted: #475569;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(2, 6, 23, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(2, 6, 23, 0.28);
  --radius: 16px;
  --radius-lg: 24px;
}

/* === Reset & base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--color-primary); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
h4 { font-size: 1rem; margin-bottom: .75rem; }
p { margin: 0 0 1rem; }
blockquote { margin: 0; }
address { font-style: normal; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  text-align: center;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: var(--color-neutral-light);
  box-shadow: 0 10px 30px -10px rgba(30, 58, 138, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(30, 58, 138, 0.7); color: var(--color-neutral-light); }
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn--ghost:hover { background: rgba(2, 6, 23, 0.04); transform: translateY(-2px); }
.btn--accent {
  background: var(--color-accent);
  color: var(--color-neutral-light);
  box-shadow: 0 10px 30px -10px rgba(202, 138, 4, 0.55);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(202, 138, 4, 0.7); color: var(--color-neutral-light); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Header (glass sticky) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 24px -18px rgba(2, 6, 23, 0.35);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .6rem;
}
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent;
  border: 0;
  padding: .5rem;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.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;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  padding: .65rem .25rem;
  color: var(--color-primary);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}
.primary-nav a:last-child { border-bottom: 0; }
.primary-nav .nav-cta {
  margin-top: .5rem;
  background: var(--color-primary);
  color: var(--color-neutral-light);
  border-radius: 999px;
  padding: .7rem 1.2rem;
  text-align: center;
  border-bottom: 0;
}

@media (min-width: 960px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    padding: 0;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
  }
  .primary-nav a {
    padding: .35rem 0;
    border-bottom: 0;
    position: relative;
    font-size: .95rem;
  }
  .primary-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta {
    margin-top: 0;
    padding: .55rem 1.1rem;
    font-size: .9rem;
  }
  .primary-nav .nav-cta::after { display: none; }
}

/* === Hero (saas-spotlight) === */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 3rem;
  background: linear-gradient(160deg, rgba(30, 58, 138, 0.08), rgba(248, 250, 252, 0) 60%);
}
.hero__glow {
  position: absolute;
  inset: -20% 20% auto -20%;
  height: 500px;
  background: radial-gradient(closest-side, rgba(202, 138, 4, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: left; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 1rem;
}
.hero h1 { max-width: 22ch; }
.hero__sub {
  max-width: 55ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--color-muted);
  margin: 0 0 1.75rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero__visual {
  margin-top: 1rem;
  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; }
.thankyou__visual { max-width: 320px; box-shadow: var(--shadow-md); }
.thankyou__visual img { aspect-ratio: 1/1; }

@media (min-width: 900px) {
  .hero { padding-block: 6rem 4rem; }
  .hero__inner { text-align: center; }
  .hero__inner > .eyebrow, .hero__inner > h1, .hero__inner > .hero__sub { margin-inline: auto; }
  .hero h1 { max-width: 20ch; }
  .hero__sub { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .hero__visual { max-width: 1000px; margin-inline: auto; }
}

/* === Social-proof strip === */
.strip {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding-block: 1rem;
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
  font-size: .9rem;
  font-family: var(--font-heading);
  font-weight: 500;
  opacity: .92;
}
.strip__inner span::before { content: '●'; color: var(--color-accent); margin-right: .5rem; }

/* === Sections === */
.section { padding-block: 4rem; }
.section--tint { background: linear-gradient(180deg, rgba(30, 58, 138, 0.04), rgba(248, 250, 252, 0)); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head h2 { margin-bottom: .5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }

@media (min-width: 900px) {
  .section { padding-block: 6rem; }
}

/* === Cards === */
.cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  display: block;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.12), rgba(202, 138, 4, 0.14));
  color: var(--color-secondary);
  margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin: 0; font-size: .96rem; }

/* === Testimonial === */
.testimonial blockquote { text-align: center; padding-block: 1rem; }
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-primary);
  margin: 0 0 1.25rem;
}
.testimonial blockquote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: .95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -50% -20% auto auto;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(202, 138, 4, 0.3), transparent 70%);
}
.cta-band__inner { position: relative; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: .75rem; }
.cta-band p { color: rgba(248, 250, 252, 0.85); margin-bottom: 1.75rem; font-size: 1.05rem; }

/* === FAQ === */
.faq details {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: .75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form {
  display: grid;
  gap: 1.1rem;
  background: var(--color-neutral-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .92rem; color: var(--color-primary); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-primary);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}
.form-consent {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--color-muted);
  line-height: 1.5;
  flex-wrap: wrap;
}
.form-consent input { margin-top: .2rem; }

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

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248, 250, 252, 0.82);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
}
.site-footer h4 {
  color: var(--color-neutral-light);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; }
.footer__tag { color: rgba(248, 250, 252, 0.7); font-size: .95rem; margin-top: 1rem; max-width: 24ch; }
.site-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer nav a, .site-footer address a { color: rgba(248, 250, 252, 0.82); font-size: .93rem; }
.site-footer nav a:hover, .site-footer address a:hover { color: var(--color-accent); }
.site-footer address { line-height: 1.7; font-size: .93rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; font-size: .88rem; }
.footer__copy {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 250, 252, 0.1);
  font-size: .85rem;
  color: rgba(248, 250, 252, 0.55);
  text-align: center;
}
@media (min-width: 800px) {
  .footer__grid { grid-template-columns: 1.4fr 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);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .93rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 600;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.2);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-neutral-light); }
.cookie-banner button:hover { transform: translateY(-1px); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: .5rem; background: var(--color-neutral-light); color: var(--color-neutral-dark); }

/* === 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; }
  * { animation: none !important; transition: none !important; }
}
