/* === Tokens === */
:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #F97316;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #5B587A;
  --color-surface: #FFFFFF;
  --color-border: rgba(30, 27, 75, 0.10);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 27, 75, 0.18);
  --shadow-lg: 0 30px 80px -30px rgba(79, 70, 229, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ui: cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1180px;
}

/* === 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-text);
  background: var(--color-surface);
  -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-ui); }
a:hover { color: var(--color-accent); }
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 .6em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }

/* === Header / nav (glass) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 242, 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-ui), box-shadow .3s var(--ease-ui), border-color .3s var(--ease-ui);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 24px -12px rgba(30, 27, 75, 0.15);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav { display: none; align-items: center; gap: 1.75rem; }
.primary-nav a { position: relative; color: var(--color-neutral-dark); font-weight: 500; padding: .35rem 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-ui); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-neutral-dark); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-primary); color: #fff; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem 1.5rem; gap: 1rem; box-shadow: var(--shadow-md); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; position: static; padding: 0; background: transparent; box-shadow: none; }
  .nav-toggle { display: none; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease-ui), box-shadow .2s var(--ease-ui), background .2s var(--ease-ui), color .2s var(--ease-ui); text-decoration: none; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), #6366F1); color: #fff; box-shadow: 0 8px 24px -8px rgba(79, 70, 229, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(79, 70, 229, 0.6); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); color: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(249, 115, 22, 0.55); }
.btn--accent:hover { background: #ea6a12; color: #fff; transform: translateY(-2px); }
.btn--sm { padding: .5rem 1rem; font-size: .9rem; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

/* === Hero (saas-spotlight) === */
.hero { position: relative; padding: 3.5rem 0 2rem; overflow: hidden; }
.hero--inner { padding: 2.5rem 0 1.5rem; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 55% at 15% 20%, rgba(129, 140, 248, 0.25), transparent 60%),
  radial-gradient(50% 50% at 90% 10%, rgba(249, 115, 22, 0.14), transparent 60%),
  linear-gradient(180deg, var(--color-neutral-light), #ffffff 75%);
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; padding-block: 2rem; }
.hero__inner--single { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__visual { position: relative; }
.hero__visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.hero__visual::after { content: ""; position: absolute; inset: -20px; z-index: -1; border-radius: 32px; background: radial-gradient(60% 60% at 50% 50%, rgba(249, 115, 22, 0.15), transparent 70%); }

@media (min-width: 900px) {
  .hero { padding: 5rem 0 3rem; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero__inner--single { grid-template-columns: 1fr; }
}

/* === Proof strip === */
.proof-strip { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: rgba(255,255,255,0.6); backdrop-filter: blur(6px); }
.proof-strip__inner { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; padding-block: 1rem; font-size: .9rem; color: var(--color-muted); font-weight: 500; }
.proof-strip__inner span { position: relative; }

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted { background: linear-gradient(180deg, var(--color-neutral-light), #ffffff); }
.section__head { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.1rem; margin: 0; }
@media (min-width: 900px) { .section { padding-block: 6rem; } }

/* === Grids & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 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 .25s var(--ease-ui), box-shadow .25s var(--ease-ui); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card--lg { padding: 2rem; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(129, 140, 248, 0.2)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .97rem; }

.team-card__photo { aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; margin-bottom: 1rem; background: var(--color-neutral-light); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }

/* === Testimonial === */
.testimonial { text-align: center; padding: 1rem 0; }
.quote-mark { color: var(--color-secondary); opacity: .55; margin: 0 auto .5rem; display: block; }
.testimonial blockquote { margin: 0; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; color: var(--color-neutral-dark); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-size: .95rem; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band { padding: 3rem 0; background: linear-gradient(135deg, var(--color-primary), #6366F1 60%, var(--color-neutral-dark)); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 90% 10%, rgba(249, 115, 22, 0.35), transparent 60%); pointer-events: none; }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
@media (min-width: 800px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; } }

/* === FAQ === */
.faq details { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; background: #fff; margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); font-size: 1.05rem; 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.4rem; color: var(--color-primary); transition: transform .2s var(--ease-ui); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: .8rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.contact-list li { color: var(--color-muted); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .55rem 0; text-align: left; border-bottom: 1px solid var(--color-border); font-weight: 500; color: var(--color-muted); }
.hours th { color: var(--color-neutral-dark); font-family: var(--font-heading); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.contact-form { display: grid; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: .35rem; }
.form-row label { font-weight: 500; font-size: .92rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-text); transition: border-color .2s var(--ease-ui), box-shadow .2s var(--ease-ui); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; }
.contact-form .btn { justify-self: start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #cfd0e6; padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #cfd0e6; }
.site-footer a:hover { color: var(--color-accent); }
.logo--footer img { height: 64px; }
.footer__tag { margin-top: .75rem; color: #a5a7c8; max-width: 26ch; }
.site-footer address { font-style: normal; color: #cfd0e6; line-height: 1.7; }
.footer__legal { margin-top: 1.25rem !important; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: .9rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; color: #8f92b3; }

/* === 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.4rem; border-radius: var(--radius-md); box-shadow: 0 20px 60px -20px rgba(0,0,0,0.55); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .93rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .btn--ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,0.2); }
.cookie-banner .btn--ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { margin-top: .5rem; justify-self: start; }

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