:root {
  --color-primary: #0F172A;
  --color-secondary: #1E3A8A;
  --color-accent: #CA8A04;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(15, 23, 42, 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);
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 40px -10px rgba(2, 6, 23, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(2, 6, 23, 0.35);
  --radius: 16px;
}

/* === 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-secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.15; 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, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }

/* === 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 transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 24px -12px rgba(2, 6, 23, 0.18);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .75rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: .5rem;
  color: var(--color-primary);
  cursor: pointer;
  display: inline-flex;
}
.primary-nav { display: none; gap: 1.5rem; align-items: center; }
.primary-nav a {
  color: var(--color-primary);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: .25rem 0;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.primary-nav a:hover { text-decoration: none; }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: .55rem 1rem;
  border-radius: 999px;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-secondary); }

.primary-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-start;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

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

/* === 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 var(--ease);
  text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  box-shadow: 0 10px 24px -10px rgba(30, 58, 138, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(30, 58, 138, 0.65); text-decoration: none; }
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn--ghost:hover { background: var(--color-primary); color: var(--color-neutral-light); text-decoration: none; }
.btn--accent {
  background: var(--color-accent);
  color: var(--color-neutral-dark);
  box-shadow: 0 10px 24px -10px rgba(202, 138, 4, 0.6);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(202, 138, 4, 0.7); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero === */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 3rem;
  text-align: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(202, 138, 4, 0.08), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(30, 58, 138, 0.10), transparent 55%),
    linear-gradient(180deg, var(--color-neutral-light), #EEF2F7);
}
.hero--compact { padding-block: 4rem 2rem; }
.hero__glow {
  position: absolute;
  inset: -20% 30% auto 30%;
  height: 400px;
  background: radial-gradient(closest-side, rgba(202, 138, 4, 0.18), transparent);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; margin-inline: auto; }
.hero .eyebrow {
  font-size: .8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 { max-width: 28ch; margin-inline: auto; }
.hero__sub {
  max-width: 52ch;
  margin: 1.25rem auto 2rem;
  font-size: 1.125rem;
  color: var(--color-muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero__image-wrap {
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}
.hero__image {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

/* === Sections === */
.section { padding-block: 4rem; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }
.intro__inner { max-width: 720px; margin-inline: auto; text-align: center; }
.intro__inner p { color: var(--color-muted); font-size: 1.05rem; }
.intro .lede { font-size: 1.1rem; color: var(--color-primary); font-weight: 500; }
.inline-image { width: 100%; border-radius: var(--radius); margin: 1.5rem 0; box-shadow: var(--shadow-md); aspect-ratio: 16 / 9; object-fit: cover; }

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

.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  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: var(--shadow-md); }
.card p { color: var(--color-muted); 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(30, 58, 138, 0.10), rgba(202, 138, 4, 0.12));
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial { background: linear-gradient(180deg, transparent, rgba(30, 58, 138, 0.04)); }
.testimonial__inner { max-width: 780px; margin-inline: auto; text-align: center; }
.quote-mark { color: var(--color-accent); margin-inline: auto; margin-bottom: 1rem; opacity: .55; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.4;
  font-weight: 500;
  color: var(--color-primary);
}
.testimonial cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  color: var(--color-muted);
  font-size: .95rem;
}

/* === CTA Band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(202, 138, 4, 0.25), transparent);
  filter: blur(30px);
  pointer-events: none;
}
.cta-band__inner { position: relative; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.85); font-size: 1.05rem; 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: #ffffff;
  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: var(--color-neutral-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
}
.pricing-card__plan { font-size: 1.1rem; color: var(--color-secondary); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: 0.06em; }
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.pricing-card__lede {
  color: var(--color-muted);
  font-size: .95rem;
  margin-bottom: 1.5rem;
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  color: var(--color-text);
  font-size: .95rem;
}
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { width: 100%; }

/* === FAQ === */
.faq__inner { max-width: 780px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  background: #ffffff;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact Band === */
.contact-band { background: rgba(30, 58, 138, 0.04); }
.contact-band p { color: var(--color-muted); }

/* === Form === */
.form-wrap { max-width: 720px; margin-inline: auto; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #ffffff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 500; font-size: .9rem; color: var(--color-primary); }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}
.form-consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248, 250, 252, 0.75);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer__col h4 { color: var(--color-neutral-light); margin-bottom: 1rem; }
.footer__col a { display: block; color: rgba(248, 250, 252, 0.75); padding: .2rem 0; }
.footer__col a:hover { color: var(--color-accent); text-decoration: none; }
.footer__tag { color: rgba(248, 250, 252, 0.6); margin-top: 1rem; }
.logo--footer img { height: 60px; filter: brightness(1.1); }
.footer__col address { font-style: normal; line-height: 1.7; }
.footer__legal { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.footer__legal a { display: inline; font-size: .88rem; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.12); text-align: center; font-size: .85rem; color: rgba(248, 250, 252, 0.55); }

/* === 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;
  border-radius: 14px;
  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: .92rem; line-height: 1.5; color: rgba(248, 250, 252, 0.88); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  padding: .55rem 1rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  border: 1px solid rgba(248, 250, 252, 0.2);
  background: transparent;
  color: var(--color-neutral-light);
  transition: background .2s var(--ease);
}
.cookie-banner__actions button:hover { background: rgba(248, 250, 252, 0.1); }
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-neutral-dark);
}
.cookie-banner__actions button[data-cookie-accept]:hover { background: #b57603; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: .5rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
}

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