:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #6B5BA8;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); margin: 0 0 .8rem; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-weight: 700; }
h2 { font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-weight: 600; font-size: 1.2rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
main { display: block; }
.section { padding: 4rem 1.25rem; max-width: 1200px; margin-inline: auto; }
.section--narrow { max-width: 760px; text-align: center; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.section__sub { color: var(--color-muted); font-size: 1.05rem; }
.section__lede { font-size: 1.1rem; color: var(--color-text); }
.section__figure { margin: 3rem 0 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.section__figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.section--quote { padding-block: 3rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.muted { color: var(--color-muted); }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .25s, box-shadow .25s;
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 4px 24px rgba(76, 29, 149, 0.08); }
.site-header__inner { max-width: 1200px; margin: 0 auto; padding: .6rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }
.nav-toggle { display: inline-flex; background: none; border: 0; padding: .5rem; color: var(--color-neutral-dark); cursor: pointer; border-radius: 8px; }
.nav-toggle:hover { background: rgba(124, 58, 237, 0.08); }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.primary-nav a { padding: .65rem .25rem; color: var(--color-text); font-weight: 500; position: relative; }
.primary-nav a.is-active { color: var(--color-primary); }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 1.75rem; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
  .primary-nav a { padding: .5rem 0; }
  .primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(124, 58, 237, 0.65); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { transform: translateY(-2px); background: rgba(124, 58, 237, 0.06); }
.btn--on-dark { box-shadow: 0 12px 28px -12px rgba(0,0,0,0.4); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === Hero centered === */
.hero { padding: 3.5rem 1.25rem 2rem; max-width: 1200px; margin: 0 auto; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% 10% auto 10%; height: 60%; background: radial-gradient(closest-side, rgba(202, 138, 4, 0.12), transparent 70%); pointer-events: none; z-index: -1; }
.hero__inner { max-width: 760px; margin: 0 auto; }
.hero__title { font-size: clamp(2.25rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -0.02em; max-width: 22ch; margin: 0 auto 1rem; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--color-muted); max-width: 52ch; margin: 0 auto 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero__image { margin: 3rem auto 0; max-width: 1000px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.hero__image::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); border-radius: var(--radius-lg); pointer-events: none; }
.hero__image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding: 5rem 1.25rem 2.5rem; }
  .section { padding: 5.5rem 1.5rem; }
}

/* === Grid / cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .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); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(167, 139, 250, 0.18)); color: var(--color-primary); margin-bottom: 1rem; }
.card p { margin: 0; color: var(--color-text); }

/* === Features list (rows) === */
.features-list { display: grid; gap: 1.25rem; }
.feature-row { display: grid; grid-template-columns: 64px 1fr; gap: 1.25rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-row h3 { margin: .1rem 0 .35rem; }
.feature-row p { margin: 0; color: var(--color-text); }

/* === Quote === */
.section--quote { text-align: center; }
.quote { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.5rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); position: relative; }
.quote::before { content: '"'; position: absolute; top: -.2rem; left: 1.5rem; font-family: var(--font-heading); font-size: 5rem; color: var(--color-secondary); opacity: 0.35; line-height: 1; }
.quote p { font-size: 1.2rem; line-height: 1.55; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding: 4rem 1.25rem; margin: 3rem 0 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: auto -10% -50% -10%; height: 100%; background: radial-gradient(circle, rgba(202, 138, 4, 0.35), transparent 60%); pointer-events: none; }
.cta-band__inner { max-width: 760px; margin: 0 auto; text-align: center; position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2.25rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: #fff; padding: .25rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pricing-card__plan { margin: 0 0 .25rem; color: var(--color-neutral-dark); }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-primary); margin: 0 0 1rem; line-height: 1.1; }
.pricing-card__lede { color: var(--color-muted); margin: 0 0 1.25rem; font-size: .95rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .55rem; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; font-size: .98rem; color: var(--color-text); }
.pricing-card__cta { margin-top: auto; align-self: stretch; }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-card, .contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-card address { font-style: normal; line-height: 1.7; margin-bottom: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 600; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 500; font-size: .92rem; color: var(--color-neutral-dark); }
.field input, .field textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18); }
.field textarea { resize: vertical; min-height: 140px; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 1.4rem; line-height: 1; color: var(--color-primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .9rem 0 0; color: var(--color-text); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3.5rem 1.25rem 2rem; margin-top: 3rem; }
.site-footer__cols { max-width: 1200px; margin: 0 auto; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__cols { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-heading); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.site-footer .muted { color: rgba(255,255,255,0.7); }
.site-footer .logo--footer img { filter: brightness(0) invert(1); }
.legal-links { margin-top: 1rem !important; padding-top: 1rem !important; border-top: 1px solid rgba(255,255,255,0.15); }
.copyright { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); text-align: center; font-size: .88rem; color: rgba(255,255,255,0.6); }

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

/* === 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: 0 20px 50px -10px rgba(0,0,0,0.45); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .btn { padding: .55rem 1rem; font-size: .9rem; }
.cookie-banner .btn--ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,0.3); }
.cookie-banner .btn--ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.18); display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { margin-top: .5rem; align-self: flex-start; }
