:root {
  --color-primary: #475569;
  --color-secondary: #64748B;
  --color-accent: #2563EB;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(15, 23, 42, 0.35);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; 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.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-secondary); }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.14em; color: var(--color-accent); font-weight: 600; margin-bottom: 0.75rem; }

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(30, 41, 59, 0.06);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; max-width: 1180px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.25rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.nav-toggle { background: transparent; border: 0; display: inline-flex; flex-direction: column; gap: 5px; padding: 0.5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.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); }
.site-header.nav-open .primary-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; padding: 1rem 1.25rem 1.5rem; background: var(--color-neutral-light); border-top: 1px solid rgba(30,41,59,.06); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--color-accent), #1d4ed8); color: #fff; box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.55); }
.btn-primary:hover { box-shadow: 0 14px 32px -8px rgba(37, 99, 235, 0.65); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: rgba(30, 41, 59, 0.18); }
.btn-ghost:hover { background: rgba(30, 41, 59, 0.04); }
.btn:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.4); outline-offset: 3px; }

/* === Hero card === */
.hero { padding-block: 3rem 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.14), transparent 55%), radial-gradient(circle at 85% 80%, rgba(100, 116, 139, 0.10), transparent 55%); pointer-events: none; z-index: 0; }
.hero-card__inner {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.hero-sub { font-size: 1.15rem; color: var(--color-secondary); max-width: 60ch; margin: 0 auto 1.75rem; }
.cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 768px) {
  .hero { padding-block: 5rem 5rem; }
  .hero-card__inner { padding: 4rem 3rem; }
}

/* === Grids === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* === Cards === */
.card { background: #fff; padding: 1.75rem; border-radius: var(--radius); border: 1px solid rgba(30, 41, 59, 0.06); 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 p { color: var(--color-secondary); margin-bottom: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04)); color: var(--color-accent); margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial blockquote { margin: 0; padding: 2rem 1rem; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; color: var(--color-secondary); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary)); color: #fff; padding: 3.5rem 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(248, 250, 252, 0.85); max-width: 55ch; margin: 0 auto 1.75rem; }

/* === Intro / split === */
.intro p { font-size: 1.05rem; color: var(--color-secondary); }
.intro .container.narrow { text-align: left; }
.cta-inline { margin-top: 1.5rem; }
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
.split__figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split__figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }

/* === 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; display: flex; flex-direction: column; background: #fff; padding: 2.25rem; border-radius: var(--radius); border: 1px solid rgba(30, 41, 59, 0.12); 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: 0 20px 50px -20px rgba(37, 99, 235, 0.4); }
.pricing-card__badge { position: absolute; top: -14px; right: 1.5rem; background: var(--color-accent); color: #fff; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; padding: 0.4rem 0.85rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.08em; }
.pricing-card__plan { font-size: 1.1rem; color: var(--color-secondary); margin-bottom: 0.35rem; font-weight: 500; }
.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; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-secondary); margin-bottom: 1.25rem; font-size: 0.95rem; }
.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.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--color-neutral-dark); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-list details { background: #fff; border: 1px solid rgba(30, 41, 59, 0.08); border-radius: 12px; padding: 1rem 1.25rem; transition: box-shadow .2s; }
.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; padding-right: 1.5rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 0; color: var(--color-accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0.75rem 0 0; color: var(--color-secondary); }

/* === Contact form === */
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(30, 41, 59, 0.06); display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-heading); font-weight: 500; font-size: 0.9rem; color: var(--color-neutral-dark); }
.field input, .field textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid rgba(30, 41, 59, 0.15); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-neutral-dark); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.field textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--color-secondary); flex-wrap: wrap; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.site-footer .logo img { height: 64px; filter: brightness(0) invert(1); }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer p, .site-footer address, .site-footer a { color: rgba(248, 250, 252, 0.75); font-style: normal; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.legal-links { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(248, 250, 252, 0.12); }
.copyright { text-align: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.08); color: rgba(248, 250, 252, 0.55); font-size: 0.85rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; } }

/* === 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: var(--shadow-lg); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; color: rgba(248, 250, 252, 0.9); }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner__actions button, .cookie-banner__prefs button { font: inherit; padding: 0.6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(248,250,252,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-weight: 600; font-size: 0.85rem; transition: background .2s; }
.cookie-banner__actions button:hover { background: rgba(248,250,252,0.08); }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #1d4ed8; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,0.15); display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; background: var(--color-accent); border-color: var(--color-accent); }

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