:root {
  --color-primary: #18181B;
  --color-secondary: #3F3F46;
  --color-accent: #2563EB;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px -10px rgba(0,0,0,0.15);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,0.25);
}

/* === Reset === */
*, *::before, *::after { 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-primary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 250, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(9, 9, 11, 0.06);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 250, 250, 0.92);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none; border: none; padding: .5rem; cursor: pointer;
  color: var(--color-primary); display: inline-flex;
}
.primary-nav { display: none; align-items: center; gap: 1.75rem; }
.primary-nav a {
  position: relative; color: var(--color-secondary); font-weight: 500; font-size: .95rem;
  padding: .25rem 0;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--color-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1rem 0; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-body); font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #1E40AF);
  color: var(--color-neutral-light);
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .5);
}
.btn-primary:hover { color: var(--color-neutral-light); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(37, 99, 235, .6); }
.btn-ghost {
  background: transparent; color: var(--color-primary);
  border-color: rgba(9, 9, 11, 0.15);
}
.btn-ghost:hover { background: rgba(9, 9, 11, 0.04); transform: translateY(-2px); color: var(--color-primary); }
.btn:focus-visible { outline: 3px solid rgba(37, 99, 235, .4); outline-offset: 2px; }

/* === Hero (saas-spotlight) === */
.hero { position: relative; padding: 4rem 1.25rem 3rem; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 20% 10%, rgba(37, 99, 235, 0.12), transparent 55%),
              radial-gradient(ellipse at 80% 0%, rgba(37, 99, 235, 0.08), transparent 50%),
              linear-gradient(180deg, #F4F4F5 0%, var(--color-neutral-light) 100%);
}
.hero-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--color-accent); margin-bottom: 1rem;
  padding: .35rem .9rem; border-radius: 999px;
  background: rgba(37, 99, 235, .1);
}
.hero h1 { max-width: 22ch; margin: 0 auto 1.25rem; }
.hero-sub {
  font-size: 1.15rem; color: var(--color-secondary);
  max-width: 52ch; margin: 0 auto 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 3rem; }
.hero-visual {
  max-width: 1000px; margin: 0 auto;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(9, 9, 11, 0.08);
}
.hero-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding: 6rem 1.25rem 4rem; }
  .hero-sub { font-size: 1.25rem; }
}

/* === Sections === */
.section { max-width: 1200px; margin: 0 auto; padding: 4rem 1.25rem; }
.section--narrow { max-width: 780px; }
.section--narrow h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head p { color: var(--color-secondary); font-size: 1.05rem; }

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

/* === Cards === */
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(9, 9, 11, 0.08);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.2);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-secondary); font-size: .95rem; margin: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(37, 99, 235, 0.1); color: var(--color-accent);
  margin-bottom: 1rem;
}
.card--service { padding: 2rem; }

/* === Split (image + text) === */
.split {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: center;
}
.split-image img {
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Testimonial === */
.testimonial {
  margin: 0; padding: 2.5rem 1.5rem; text-align: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.02));
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.12);
}
.testimonial p {
  font-family: var(--font-heading); font-size: 1.2rem;
  line-height: 1.5; color: var(--color-primary); font-weight: 500;
  max-width: 60ch; margin: 0 auto 1.25rem;
}
.testimonial cite { font-style: normal; font-size: .95rem; color: var(--color-secondary); }

/* === CTA band === */
.cta-band {
  margin: 4rem 1.25rem; padding: 0;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary), #27272A);
  position: relative;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.25), transparent 55%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  max-width: 800px; margin: 0 auto;
  padding: 3.5rem 1.5rem; text-align: center;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250, 250, 250, 0.75); max-width: 55ch; margin: 0 auto 1.75rem; }
.cta-band .contact-line { font-size: .95rem; margin-bottom: 1.5rem; }

@media (min-width: 768px) {
  .cta-band { margin: 5rem auto; max-width: 1200px; }
  .cta-band-inner { padding: 4.5rem 2rem; }
}

/* === FAQ === */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--color-neutral-light);
  border: 1px solid rgba(9, 9, 11, 0.08);
  border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(37, 99, 235, 0.2); }
.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--font-heading);
  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 var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-secondary); font-size: .95rem; }

/* === Contact === */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
}
.contact-info h2 { margin-top: 0; }
.contact-info p { color: var(--color-secondary); }
.contact-info strong { color: var(--color-primary); }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid rgba(9, 9, 11, 0.06); font-weight: 400; }
.hours th { color: var(--color-primary); font-weight: 500; }
.hours td { color: var(--color-secondary); }

/* === Form === */
.contact-form {
  background: var(--color-neutral-light);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(9, 9, 11, 0.08);
  box-shadow: var(--shadow-sm);
}
.contact-form h2 { margin-top: 0; }
.contact-form label {
  display: block; margin-bottom: 1rem;
}
.contact-form label > span {
  display: block; font-size: .9rem; font-weight: 500;
  color: var(--color-primary); margin-bottom: .35rem;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid rgba(9, 9, 11, 0.15);
  border-radius: 10px; font-family: inherit; font-size: 1rem;
  background: #fff; color: var(--color-primary);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-consent {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .85rem; color: var(--color-secondary);
  margin: 1rem 0 1.25rem;
}
.form-consent input { width: auto; margin-top: .2rem; }
.form-consent span { flex: 1; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 250, 250, 0.7);
  padding: 4rem 1.25rem 2rem;
  margin-top: 4rem;
}
.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 1.2fr; }
}
.site-footer h3 {
  color: var(--color-neutral-light);
  font-size: .95rem; text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1rem;
}
.site-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer nav a { color: rgba(250, 250, 250, 0.7); font-size: .95rem; }
.site-footer nav a:hover { color: var(--color-neutral-light); }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.7; margin-bottom: 1rem; }
.site-footer address a { color: rgba(250, 250, 250, 0.7); }
.site-footer .logo img { height: 64px; margin-bottom: .75rem; filter: brightness(0) invert(1); }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.legal-links a { font-size: .85rem; color: rgba(250, 250, 250, 0.55); }
.copyright {
  max-width: 1200px; margin: 3rem auto 0;
  padding-top: 2rem; border-top: 1px solid rgba(250, 250, 250, 0.08);
  font-size: .85rem; color: rgba(250, 250, 250, 0.5); 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: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  padding: .55rem 1rem; border-radius: 8px; font-size: .85rem; font-weight: 600;
  cursor: pointer; border: 1px solid rgba(250, 250, 250, 0.2);
  background: transparent; color: var(--color-neutral-light);
  font-family: inherit;
}
.cookie-banner__actions [data-cookie-accept] {
  background: var(--color-accent); border-color: var(--color-accent);
}
.cookie-banner__actions button:hover { transform: translateY(-1px); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { font-size: .85rem; display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start; margin-top: .5rem;
  padding: .5rem 1rem; border-radius: 8px; border: none;
  background: var(--color-accent); color: var(--color-neutral-light);
  font-weight: 600; cursor: pointer; font-family: inherit;
}

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