/* === Tokens === */
:root {
  --color-primary: #64748B;
  --color-secondary: #94A3B8;
  --color-accent: #F97316;
  --color-neutral-dark: #334155;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(51,65,85,0.12);
  --color-text: #1E293B;
  --color-muted: #64748B;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 20px rgba(15,23,42,0.06);
  --shadow-md: 0 12px 40px -10px rgba(15,23,42,0.18);
  --shadow-lg: 0 30px 60px -30px rgba(15,23,42,0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { 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%; display: block; }
a { color: var(--color-neutral-dark); text-decoration: none; }
a:hover { color: var(--color-accent); }
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, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 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; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

/* === Header === */
.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-hover), border-color .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(248,250,252,0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 10px 30px -20px rgba(15,23,42,0.18);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a {
  position: relative; font-weight: 500; color: var(--color-neutral-dark);
  padding: .25rem 0;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  height: 2px; width: 100%; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-hover);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: var(--color-neutral-dark); 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-accent); color: #fff; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; cursor: pointer; padding: .5rem;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}
.primary-nav.is-open {
  display: flex; flex-direction: column; position: absolute;
  top: 100%; left: 0; right: 0; background: var(--color-neutral-light);
  padding: 1.25rem; gap: 1rem; border-bottom: 1px solid var(--color-border);
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-heading); font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover), color .2s var(--ease-hover);
}
.btn:focus-visible { outline: 3px solid rgba(249,115,22,0.4); outline-offset: 2px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-neutral-dark), #475569);
  box-shadow: 0 8px 24px -10px rgba(51,65,85,0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(51,65,85,0.7); color: #fff; }
.btn-accent {
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), #EA580C);
  box-shadow: 0 8px 24px -10px rgba(249,115,22,0.55);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(249,115,22,0.7); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.6); color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { transform: translateY(-2px); background: #fff; color: var(--color-neutral-dark); }

/* === Hero === */
.hero {
  position: relative;
  padding-block: 4rem 3rem;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(249,115,22,0.10), transparent 70%),
    linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }
.hero-centered .container { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading); font-size: .75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(249,115,22,0.08);
  padding: .35rem .85rem; border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub {
  max-width: 56ch; margin-inline: auto;
  font-size: 1.125rem; color: var(--color-muted);
  margin-bottom: 2rem;
}
.hero__cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__visual {
  max-width: 980px; margin: 2rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hero__visual img { width: 100%; height: auto; display: block; }

/* === Sections === */
.section__head { text-align: center; margin-bottom: 3rem; }
.section__head h2 { margin-bottom: .75rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; max-width: 56ch; margin-inline: auto; }
.intro { text-align: center; }
.intro h2 { margin-bottom: .5rem; }
.intro p:not(.section__sub) { color: var(--color-text); font-size: 1.05rem; text-align: left; }
.narrow .intro p { text-align: left; }

/* === Grid === */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .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 === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(249,115,22,0.04));
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); font-size: .95rem; margin: 0; }

/* === Testimonial === */
.testimonial blockquote {
  margin: 0; padding: 2.5rem;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5; color: var(--color-neutral-dark);
  margin-bottom: 1.5rem;
}
.testimonial cite {
  font-style: normal; font-weight: 600;
  color: var(--color-muted); font-size: .95rem;
}

/* === CTA band === */
.cta-band .container {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-neutral-dark), #475569);
  color: var(--color-neutral-light);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(248,250,252,0.85); max-width: 56ch; margin-inline: auto; margin-bottom: 1.75rem; }

/* === Pricing === */
.pricing-grid { gap: 1.5rem; align-items: stretch; }
.pricing-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 30px 60px -20px rgba(249,115,22,0.35);
}
.pricing-card__badge {
  position: absolute; top: -12px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  font-family: var(--font-heading); font-size: .75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: 999px;
}
.pricing-card__plan { margin-bottom: .25rem; font-size: 1.1rem; color: var(--color-muted); font-weight: 600; }
.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: 1rem; letter-spacing: -0.02em;
}
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; font-size: .95rem; }
.pricing-card__features {
  list-style: none; padding: 0; margin: 0 0 1.75rem;
  display: flex; flex-direction: column; gap: .5rem;
  flex: 1;
}
.pricing-card__features li {
  display: flex; gap: .5rem;
  font-size: .95rem; color: var(--color-text);
  line-height: 1.5;
}
.pricing-card__cta { width: 100%; }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease-hover);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 600;
  color: var(--color-neutral-dark); font-size: 1.05rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--color-accent);
  transition: transform .2s var(--ease-hover);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 1rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--color-border); border-radius: 12px;
  background: #fff; color: var(--color-text);
  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 4px rgba(249,115,22,0.12);
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-top: 4rem; margin-top: 2rem;
}
.site-footer a { color: rgba(248,250,252,0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; }
}
.site-footer h4 {
  color: #fff; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: .8rem; margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer address { font-style: normal; color: rgba(248,250,252,0.85); margin-bottom: 1rem; line-height: 1.7; }
.site-footer .legal { margin-top: 1rem; font-size: .9rem; }
.site-footer .logo img { filter: brightness(0) invert(1); }
.site-footer__base {
  border-top: 1px solid rgba(248,250,252,0.12);
  padding-block: 1.5rem;
  font-size: .85rem; color: rgba(248,250,252,0.6);
  text-align: center;
}

/* === 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);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .85rem; }
.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: .6rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }

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