:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #F97316;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #64648B;
  --color-border: rgba(30, 27, 75, 0.12);
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-deep: 0 20px 60px -20px rgba(30, 27, 75, 0.25);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); 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, 3vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.section { padding-block: 4rem; }
.section-tint { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; }
.section-sub { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 1.25rem; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }
.muted { color: var(--color-muted); }

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

/* === Header / Nav (glass) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 242, 255, 0.7);
  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.85);
  box-shadow: 0 8px 30px -20px rgba(30, 27, 75, 0.25);
  border-bottom-color: var(--color-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1180px; margin-inline: auto; padding: .75rem 1.25rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: none; color: var(--color-neutral-dark); cursor: pointer; padding: .5rem; display: flex; align-items: center; }
.primary-nav { display: none; align-items: center; gap: 1.5rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: .95rem; position: relative; padding: .25rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--color-primary); 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 a[aria-current="page"] { color: var(--color-primary); }
.nav-cta { background: var(--color-primary); color: #fff !important; padding: .6rem 1.1rem !important; border-radius: 999px; font-weight: 600; }
.nav-cta:hover { background: var(--color-neutral-dark); color: #fff !important; }
.nav-cta::after { display: none; }

.primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow-soft); border-top: 1px solid var(--color-border); }
.primary-nav.is-open a { padding: .75rem 0; border-bottom: 1px solid var(--color-border); }
.primary-nav.is-open a::after { display: none; }

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

/* === Hero (saas-spotlight) === */
.hero { position: relative; padding: 4rem 0 3rem; overflow: hidden; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 400px at 80% 20%, rgba(249, 115, 22, 0.10), transparent 60%), radial-gradient(700px 500px at 10% 0%, rgba(79, 70, 229, 0.14), transparent 60%); }
.hero-inner { position: relative; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; margin-bottom: 1.25rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin: 0 auto 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero-visual { max-width: 960px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-deep); background: #fff; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }

.proof-strip { margin-top: 3rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: rgba(255,255,255,0.5); backdrop-filter: blur(6px); }
.proof-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; padding-block: 1.25rem; text-align: center; font-size: .9rem; color: var(--color-muted); }
.proof-inner strong { display: block; font-family: var(--font-heading); font-size: 1.35rem; color: var(--color-neutral-dark); font-weight: 700; }
@media (min-width: 768px) {
  .hero { padding: 5rem 0 4rem; }
  .proof-inner { grid-template-columns: repeat(4, 1fr); }
}

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-heading); font-size: .98rem; border: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 8px 24px -8px rgba(79, 70, 229, 0.55); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(79, 70, 229, 0.65); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { color: var(--color-primary); border-color: var(--color-primary); transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(249, 115, 22, 0.55); }
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(249, 115, 22, 0.7); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === Grid / Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .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-soft); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(30, 27, 75, 0.2); }
.icon-wrap { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(129,140,248,0.12)); color: var(--color-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--color-muted); font-size: .95rem; margin: 0; }

.team-card .portrait { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; margin-bottom: 1.25rem; box-shadow: var(--shadow-soft); }
.team-card .portrait img { width: 100%; height: 100%; object-fit: cover; }

/* === Testimonial === */
.testimonial { position: relative; padding: 2rem 1rem 1rem; margin: 0; text-align: center; }
.testimonial .quote-mark { color: var(--color-secondary); opacity: .35; margin: 0 auto .5rem; }
.testimonial p { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; max-width: 64ch; margin: 0 auto 1.5rem; }
.testimonial cite { display: block; font-style: normal; font-size: .95rem; color: var(--color-muted); font-weight: 500; }
@media (min-width: 768px) {
  .testimonial p { font-size: 1.55rem; }
}

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding: 3.5rem 0; margin-block: 4rem; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; max-width: 60ch; }
.cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
@media (min-width: 768px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; margin-bottom: .75rem; box-shadow: var(--shadow-soft); transition: box-shadow .25s var(--ease); }
.faq details[open] { box-shadow: 0 12px 30px -18px rgba(30, 27, 75, 0.25); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; list-style: none; position: relative; padding-right: 2rem; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--color-primary); font-weight: 400; transition: transform .25s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list strong { display: block; font-family: var(--font-heading); color: var(--color-neutral-dark); margin-bottom: .2rem; }
.contact-list li { color: var(--color-muted); }

.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-soft); display: grid; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .4rem; font-size: .92rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border: 1.5px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-text); 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-primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.15); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem !important; font-weight: 400 !important; font-size: .88rem; color: var(--color-muted); }
.form-consent input { width: 18px; height: 18px; margin-top: .15rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #cbd0ea; padding-top: 3.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-heading); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer .logo img { height: 64px; filter: brightness(0) invert(1); }
.footer-tag { color: #a5abd0; margin-top: 1rem; font-size: .95rem; max-width: 30ch; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #cbd0ea; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; margin-bottom: 1rem; font-size: .95rem; }
.legal-links { margin-top: 1rem; font-size: .88rem; }
.copyright { border-top: 1px solid rgba(255,255,255,0.08); padding-block: 1.25rem; text-align: center; }
.copyright p { margin: 0; font-size: .85rem; color: #8b91b8; }

/* === Cookie banner === */
.consent-panel { 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-md); box-shadow: 0 20px 60px -10px rgba(0,0,0,0.4); max-width: 640px; margin-inline: auto; }
.consent-panel.is-visible { display: block; }
.consent-panel p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; }
.consent-panel__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-panel__actions button { font-family: var(--font-heading); font-size: .88rem; font-weight: 600; padding: .55rem 1rem; border-radius: 999px; border: none; cursor: pointer; transition: background .2s var(--ease); }
.consent-panel__actions button[data-cookie-accept] { background: var(--color-accent); color: #fff; }
.consent-panel__actions button[data-cookie-accept]:hover { background: #ea6a10; }
.consent-panel__actions button[data-cookie-reject], .consent-panel__actions button[data-cookie-settings] { background: rgba(255,255,255,0.08); color: var(--color-neutral-light); }
.consent-panel__actions button[data-cookie-reject]:hover, .consent-panel__actions button[data-cookie-settings]:hover { background: rgba(255,255,255,0.16); }
.consent-panel__prefs { margin-top: 1rem; display: grid; gap: .55rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); }
.consent-panel__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.consent-panel__prefs button { margin-top: .5rem; justify-self: start; background: var(--color-accent); color: #fff; border: none; padding: .55rem 1rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; cursor: pointer; }

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