:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-rest: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 20px 50px -20px rgba(30, 64, 175, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
*, *::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: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
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, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 600; color: var(--color-secondary); margin-bottom: 1rem; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--color-border); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.2); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--color-neutral-dark); display: inline-flex; }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); gap: 0.75rem; box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.15); }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0; }
.primary-nav .nav-cta { padding: 0.65rem 1.1rem; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav.is-open { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a { padding: 0; position: relative; }
  .primary-nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease-hover); }
  .primary-nav a:not(.nav-cta):hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav a:hover { text-decoration: none; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 0.95rem; line-height: 1; border: 0; cursor: pointer; text-align: center; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 8px 24px -8px rgba(30, 64, 175, 0.5); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(30, 64, 175, 0.55); text-decoration: none; }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(249, 115, 22, 0.45); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(249, 115, 22, 0.55); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid var(--color-border); }
.btn--ghost:hover { background: var(--color-neutral-light); text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (hero-card) === */
.hero { position: relative; padding-block: 3rem; background: linear-gradient(135deg, var(--color-neutral-light) 0%, #fff 60%); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; background: radial-gradient(circle at center, rgba(249, 115, 22, 0.12), transparent 60%); pointer-events: none; z-index: 0; }
.hero::after { content: ''; position: absolute; inset: auto auto -20% -10%; width: 50vw; height: 50vw; background: radial-gradient(circle at center, rgba(59, 130, 246, 0.18), transparent 60%); pointer-events: none; z-index: 0; }
.hero-card__box { position: relative; z-index: 1; max-width: 880px; margin-inline: auto; padding: 2.25rem 1.5rem; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); box-shadow: 0 30px 60px -30px rgba(30, 58, 138, 0.35); border: 1px solid var(--color-border); text-align: center; }
.hero__sub { font-size: 1.125rem; color: var(--color-muted); max-width: 56ch; margin-inline: auto; margin-bottom: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 2rem; }
.hero-card__image { width: 100%; max-width: 720px; margin: 2rem auto 0; border-radius: var(--radius-md); aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 20px 50px -20px rgba(30, 58, 138, 0.4); }

@media (min-width: 768px) {
  .hero { padding-block: 5rem; }
  .hero-card__box { padding: 4rem 3rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--narrow .container { max-width: 760px; }
.section--narrow h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.section--narrow p { font-size: 1.05rem; color: var(--color-muted); }
.section__head { text-align: center; margin-bottom: 2.5rem; max-width: 640px; margin-inline: auto; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; }
.section--quote { background: var(--color-neutral-light); }
.inline-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md); margin-block: 2rem; box-shadow: var(--shadow-rest); }

/* === Grid + cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: #fff; padding: 1.75rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-rest); transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--color-neutral-light), #fff); color: var(--color-primary); margin-bottom: 1rem; border: 1px solid var(--color-border); }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); font-size: 0.97rem; margin-bottom: 0; }

/* === Testimonial === */
.testimonial { max-width: 760px; margin-inline: auto; text-align: center; font-family: var(--font-heading); color: var(--color-neutral-dark); }
.testimonial p { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; font-weight: 500; margin-bottom: 1.25rem; }
.testimonial cite { display: block; font-style: normal; color: var(--color-muted); font-family: var(--font-body); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: -50% -10% auto auto; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(249, 115, 22, 0.25), transparent 60%); pointer-events: none; }
.cta-band__inner { position: relative; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(239, 246, 255, 0.85); margin-bottom: 0; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === 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; padding: 2.25rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-neutral-light); display: flex; flex-direction: column; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; background: #fff; box-shadow: var(--shadow-hover); }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 0.35rem 0.75rem; border-radius: 999px; letter-spacing: 0.05em; text-transform: uppercase; }
.pricing-card__plan { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-secondary); margin-bottom: 0.5rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin-bottom: 0.75rem; }
.pricing-card__lede { font-size: 0.95rem; color: var(--color-muted); margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; font-size: 0.95rem; color: var(--color-text); line-height: 1.45; }
.pricing-card__cta { margin-top: auto; align-self: stretch; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; box-shadow: var(--shadow-rest); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-hover); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); 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: 0; font-size: 1.25rem; color: var(--color-secondary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form { max-width: 640px; }
.form-row { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.form-row label { font-weight: 500; margin-bottom: 0.4rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: 0.85rem 1rem; border-radius: 12px; border: 1px solid var(--color-border); background: #fff; color: var(--color-text); transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(239, 246, 255, 0.85); padding-block: 3.5rem 1.5rem; margin-top: 2rem; }
.site-footer .logo img { height: 64px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.site-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.site-footer a { color: rgba(239, 246, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.site-footer__tag { font-size: 0.95rem; color: rgba(239, 246, 255, 0.7); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1.25rem; font-size: 0.9rem; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(239, 246, 255, 0.15); font-size: 0.85rem; color: rgba(239, 246, 255, 0.65); }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1.5fr; }
}

/* === 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-md); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; color: rgba(239, 246, 255, 0.92); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.cookie-banner__actions .btn--ghost { color: #fff; border-color: rgba(239, 246, 255, 0.3); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(239, 246, 255, 0.1); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(239, 246, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }

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