/* Blitzboost — site styles */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- Tokens ---------- */
:root {
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-heading: 'Ubuntu', 'Inter', system-ui, sans-serif;

  --text:           #003f0c;
  --text-secondary: #4b6b4b;
  --text-muted:     rgba(0, 0, 0, 0.55);

  --bg:           #ffffff;
  --bg-soft:      #f5faf5;
  --border:       #e1ebe1;

  --primary:        #006600;
  --primary-hover:  #4db84d;
  --primary-soft:   #e6f5e6;
  --primary-strong: #009900;

  --tint-pink:   rgba(211, 132, 235, 0.25);
  --tint-blue:   rgba(132, 148, 235, 0.25);
  --tint-orange: rgba(235, 132, 132, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 8px -2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 16px -2px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 24px -4px rgba(0, 0, 0, 0.08), 0 8px 8px -4px rgba(0, 0, 0, 0.03);

  --container: 1200px;
  --container-narrow: 720px;
  --nav-height: 4.5rem;
}

/* ---------- Base typography ---------- */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: url('../images/hero-bg-blur.webp');
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: 100% auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: clamp(2.25rem, 5vw + 1rem, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw + 0.5rem, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { line-height: 1.6; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: var(--container-narrow); }

section { padding-block: 5rem; }
@media (max-width: 768px) { section { padding-block: 3.5rem; } }

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--text-secondary); margin-top: 1rem; font-size: 1.125rem; }

.eyebrow {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.eyebrow--blue   { background: #e2e9f8; color: #3c6bad; }
.eyebrow--orange { background: #fde6e6; color: #ad3c3c; }

.text-highlight {
  background: var(--primary-strong);
  color: #fff;
  padding: 0 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  border: 1px solid var(--primary);
  transition: background-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-soft); }

/* ---------- Navbar ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(225, 235, 225, 0.6);
}
.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 1.25rem;
  max-width: 1400px;
  margin-inline: auto;
}
.nav__logo img { max-height: 2.25rem; width: auto; }

main { padding-top: var(--nav-height); }

/* ---------- Hero ---------- */
.hero { padding-top: 5rem; }
.hero__inner { text-align: center; max-width: 800px; margin: 0 auto; }
.hero__title { margin-bottom: 1.25rem; }
.hero__subtitle { color: var(--text-secondary); font-size: 1.125rem; max-width: 620px; margin: 0 auto 2rem; }
.hero__cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.hero__image {
  margin-top: 4rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(240, 244, 248, 0.1), rgba(240, 244, 248, 0.5));
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__image img { width: 100%; height: auto; border-radius: var(--radius-lg); }

/* ---------- Platforms ---------- */
.platforms { padding-block: 4rem; }
.platforms__head { text-align: center; margin-bottom: 2.5rem; }
.platforms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.platform-tile {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, transparent, var(--tint-pink));
  border: 1px solid rgba(226, 226, 226, 0.5);
  border-top: 0;
  padding: 1rem;
}
.platform-tile--blue   { background: linear-gradient(180deg, transparent, var(--tint-blue)); }
.platform-tile--orange { background: linear-gradient(180deg, transparent, var(--tint-orange)); }
.platform-tile img     { max-height: 48px; width: auto; }
.platform-tile__label  { font-weight: 700; font-size: 1.25rem; text-align: center; }

/* ---------- Benefits ---------- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.benefit-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.benefit-card:hover { border-color: var(--primary-hover); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.benefit-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.benefit-card__icon img { width: 1.5rem; height: 1.5rem; }
.benefit-card h3 { margin-bottom: 0.75rem; }
.benefit-card p  { color: var(--text-secondary); }

/* ---------- Solutions ---------- */
.solutions__list { display: grid; gap: 5rem; }
.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.solution--reverse .solution__media { order: 2; }
@media (max-width: 900px) {
  .solution { grid-template-columns: 1fr; gap: 2rem; }
  .solution--reverse .solution__media { order: 0; }
}
.solution__media {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(0deg, var(--tint-orange), transparent);
}
.solution__media--blue { background: linear-gradient(0deg, var(--tint-blue), transparent); }
.solution__media img   { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }

.solution__text h2 { margin-bottom: 1rem; }
.solution__text > p { color: var(--text-secondary); font-size: 1.0625rem; margin-bottom: 1.5rem; }

.solution__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 540px) { .solution__features { grid-template-columns: 1fr; } }
.solution__feature { display: flex; flex-direction: column; gap: 0.5rem; }
.solution__feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.solution__feature-icon img { width: 1.25rem; height: 1.25rem; }
.solution__feature h3 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; }
.solution__feature p  { color: var(--text-secondary); font-size: 0.9375rem; }

.checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.checklist__item { display: flex; align-items: flex-start; gap: 0.75rem; }
.checklist__item img { width: 1.5rem; height: 1.5rem; flex: none; margin-top: 0.125rem; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-soft); }
.testimonials__grid {
  columns: 3 320px;
  column-gap: 1.5rem;
}
.testimonial {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.testimonial__quote { margin-bottom: 1.25rem; }
.testimonial__author { display: flex; gap: 1rem; align-items: center; }
.testimonial__avatar {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
}
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__name  { font-weight: 600; }
.testimonial__title { font-size: 0.875rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq__list { display: flex; flex-direction: column; gap: 1rem; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.faq-item:hover { border-color: var(--primary-hover); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23006600'><path d='M25.3 15.7v.6c0 .4-.3.7-.6.7H17v7.7c0 .4-.3.6-.7.6h-.6c-.4 0-.7-.3-.7-.6V17H7.3a.7.7 0 0 1-.6-.7v-.6c0-.4.3-.7.6-.7H15V7.3c0-.4.3-.6.7-.6h.6c.4 0 .7.3.7.6V15h7.7c.4 0 .6.3.6.7z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer { padding: 0 1.5rem 1.25rem; color: var(--text-secondary); }

/* ---------- CTA ---------- */
.cta {
  background:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    url('../images/hero-bg-blur.webp') center top / cover no-repeat;
  text-align: center;
}
.cta__head { max-width: 640px; margin: 0 auto 3rem; }
.cta__head p { color: var(--text-secondary); margin: 1rem 0 2rem; font-size: 1.0625rem; }
.cta__image {
  max-width: 80%;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-lg);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding-block: 3rem 1.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; text-align: center; } }
.footer__brand { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer__logo img { max-height: 4rem; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__nav a { color: var(--text); transition: color .2s; }
.footer__nav a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.footer-bottom a { color: var(--primary); text-decoration: underline; }

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Utility / error pages ---------- */
.utility {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}
.utility__card {
  width: 100%;
  max-width: 28rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.utility__card h1 { font-size: 2rem; margin-bottom: 0.75rem; }
.utility__card p  { color: var(--text-secondary); margin-bottom: 1.75rem; }
.utility__form { display: flex; flex-direction: column; gap: 1rem; }
.utility__input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.utility__input:focus { outline: none; border-color: var(--primary-hover); box-shadow: 0 0 0 3px var(--primary-soft); }
.utility__error {
  display: none;
  padding: 0.75rem 1rem;
  background: #fdecec;
  color: #b3261e;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
}
.utility__error.is-visible { display: block; }
