:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #10B981;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #F5F3FF;
  --color-text: #1E1B4B;
  --color-muted: #4B5470;
  --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: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(49, 46, 129, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(49, 46, 129, 0.25);
}

/* === Reset === */
*, *::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: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 780px; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(49, 46, 129, 0.08);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled { background: rgba(245, 243, 255, 0.92); box-shadow: 0 10px 30px -20px rgba(49, 46, 129, 0.2); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1180px; margin: 0 auto; padding: 0.75rem 1.25rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav { display: flex; align-items: center; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.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); }
.nav-menu { list-style: none; margin: 0; padding: 0; display: none; }
.nav-menu.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(245, 243, 255, 0.98); padding: 1rem 1.25rem; gap: 0.25rem; border-bottom: 1px solid rgba(49, 46, 129, 0.08); }
.nav-menu a { display: block; padding: 0.6rem 0; color: var(--color-neutral-dark); font-weight: 500; position: relative; }
.nav-menu a[aria-current="page"] { color: var(--color-primary); }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.6rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-decoration: none; line-height: 1; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 25px -12px rgba(99, 102, 241, 0.65); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 35px -14px rgba(99, 102, 241, 0.75); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid rgba(49, 46, 129, 0.18); }
.btn-ghost:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); transform: translateY(-2px); }
:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; border-radius: 4px; }

/* === Hero === */
.hero { position: relative; padding: 3rem 0 4rem; overflow: hidden; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero::before { content: ""; position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 60%); pointer-events: none; z-index: 0; }
.hero::after { content: ""; position: absolute; bottom: -30%; left: -15%; width: 55vw; height: 55vw; background: radial-gradient(circle, rgba(129, 140, 248, 0.18), transparent 60%); pointer-events: none; z-index: 0; }
.hero__inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero__text h1 { margin-bottom: 1.25rem; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.hero-thankyou { text-align: center; padding: 5rem 0 4rem; }
.hero-thankyou h1 { max-width: 20ch; margin: 0 auto 1rem; }
.hero-thankyou .hero__sub { margin-left: auto; margin-right: auto; }

/* === Sections === */
.section { padding: 4rem 0; }
.section.alt { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }
.section-sub { color: var(--color-muted); margin-bottom: 2rem; }
.intro .container { text-align: left; }
.intro h2 { margin-bottom: 1rem; }
.intro p { color: var(--color-muted); font-size: 1.05rem; }

/* === Cards grid === */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card { background: #fff; border: 1px solid rgba(49, 46, 129, 0.08); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 25px 45px -25px rgba(49, 46, 129, 0.25); }
.card .icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(16, 185, 129, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
.card-link { display: block; color: inherit; text-decoration: none; }

/* === Testimonial === */
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial blockquote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--color-neutral-dark); line-height: 1.4; margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-primary); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { padding: 4rem 0; margin: 3rem 1.25rem; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.35), transparent 45%); pointer-events: none; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,0.88); position: relative; margin-bottom: 1.5rem; }
.cta-band .btn-primary { background: #fff; color: var(--color-neutral-dark); position: relative; }
.cta-band .btn-primary:hover { background: var(--color-accent); color: #fff; }
.cta-band .contact-line { color: rgba(255,255,255,0.9); font-size: 0.98rem; margin-bottom: 1.5rem; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-list details { background: #fff; border: 1px solid rgba(49, 46, 129, 0.1); border-radius: var(--radius); padding: 1.15rem 1.35rem; transition: box-shadow .2s var(--ease); }
.faq-list details[open] { box-shadow: var(--shadow-sm); }
.faq-list 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-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.35rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact === */
.contact-line { color: var(--color-muted); font-size: 1.02rem; line-height: 1.7; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 1.75rem; border-radius: var(--radius-lg); border: 1px solid rgba(49, 46, 129, 0.08); box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { padding: 0.75rem 0.9rem; border: 1px solid rgba(49, 46, 129, 0.18); border-radius: 10px; font-family: inherit; font-size: 1rem; color: var(--color-text); background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-row input:focus, .form-row textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15); outline: none; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.25rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(245, 243, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer .logo img { filter: brightness(0) invert(1); }
.site-footer .tagline { margin-top: 1rem; color: rgba(245, 243, 255, 0.75); font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { color: rgba(245, 243, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; font-size: 0.95rem; line-height: 1.7; }
.legal-links { margin-top: 1.25rem !important; font-size: 0.9rem; }
.copyright { text-align: center; font-size: 0.85rem; color: rgba(245, 243, 255, 0.55); padding-top: 1.5rem; border-top: 1px solid rgba(245, 243, 255, 0.12); }

/* === 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; border-radius: var(--radius); box-shadow: 0 25px 60px -15px rgba(0,0,0,0.35); max-width: 640px; margin-left: auto; margin-right: auto; }
.consent-panel.is-visible { display: block; }
.consent-panel p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.consent-panel__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent-panel__actions .btn { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.consent-panel__actions .btn-primary { background: var(--color-accent); box-shadow: none; }
.consent-panel__actions .btn-primary:hover { background: #0ea371; }
.consent-panel__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(245,243,255,0.3); }
.consent-panel__actions .btn-ghost:hover { background: rgba(245,243,255,0.1); color: #fff; }
.consent-panel__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(245,243,255,0.2); font-size: 0.9rem; }
.consent-panel__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.consent-panel__prefs .btn { align-self: flex-start; margin-top: 0.5rem; }

/* === 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; } .btn:hover, .card:hover { transform: none; } }

/* === Responsive === */
@media (min-width: 640px) {
  .cards-grid.cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .section { padding: 5.5rem 0; }
  .hero { padding: 5rem 0 6rem; }
  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .cta-band { padding: 5rem 0; margin: 4rem auto; max-width: 1140px; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex !important; position: static; flex-direction: row; background: transparent; padding: 0; gap: 0.35rem; border: 0; }
  .nav-menu a { padding: 0.5rem 0.9rem; border-radius: 8px; }
  .nav-menu a:hover { background: rgba(99, 102, 241, 0.08); color: var(--color-neutral-dark); }
  .nav-menu a[aria-current="page"] { background: rgba(99, 102, 241, 0.12); color: var(--color-primary); }
  .cards-grid.cards-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .cards-grid { gap: 1.5rem; }
}
