/* ==========================================================================
   sections.css — Per-section layout/styles (one block per homepage section)
   ========================================================================== */

/* ---- Scroll reveal (progressive enhancement) ----
   The initial hidden state only applies when JS is available (html.js); with
   JS disabled, content renders normally. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--grad-hero);
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) var(--section-y);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-8);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-5);
}
.hero__eyebrow svg { width: 18px; height: 18px; color: var(--success); }
.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.5;
  text-wrap: wrap;
  margin-bottom: var(--sp-4);
}
.hero__title-main,
.hero__title .accent { display: block; text-wrap: balance; }
.hero__title .accent { color: var(--brand); }
.hero__lead {
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: var(--sp-6);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.hero__microtrust {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  align-items: center;
  gap: var(--sp-3);
  color: var(--muted);
  font-size: var(--fs-xs);
}
.hero__microtrust span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero__microtrust svg { width: 16px; height: 16px; flex: none; color: var(--success); }

/* Hero visual: generated illustration + floating badge */
.hero__art {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
}
.hero__art img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero__art-badge {
  position: absolute;
  inset-block-end: -16px;
  inset-inline-start: -16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.hero__art-badge svg { width: 30px; height: 30px; color: var(--success); }
.hero__art-badge b { display: block; font-size: var(--fs-sm); }
.hero__art-badge span { font-size: var(--fs-xs); color: var(--muted); }

/* ---- Trust strip ---- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--white);
  padding-block: var(--sp-6);
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: var(--sp-6);
}
.trust__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  color: var(--ink-700);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
}
.trust__item svg { width: 26px; height: 26px; color: var(--brand); flex: none; margin-top: 2px; }
.trust__item { line-height: var(--lh-snug); }

/* ---- 1 Dey notice: a slim banner, icon + text + button in one row ---- */
.dey-notice { padding-block: var(--sp-6); }
.dey-notice__banner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.dey-notice__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--brand-050);
  color: var(--brand-600);
}
.dey-notice__icon svg { width: 26px; height: 26px; }
.dey-notice__body { flex: 1; min-width: 0; }
.dey-notice__title { font-size: var(--fs-h3); margin-bottom: var(--sp-1); }
.dey-notice__text { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.dey-notice .btn { flex: none; }
@media (max-width: 760px) {
  .dey-notice__banner { flex-direction: column; align-items: stretch; text-align: start; }
  .dey-notice__icon { align-self: flex-start; }
}

/* ---- Features ---- */
.feature-card__title { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.feature-card__text { color: var(--muted); font-size: var(--fs-sm); }

/* ---- Benefits ---- */
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.benefit {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
}
.benefit:last-child { border-bottom: 0; }
.benefit__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: rgba(22, 163, 74, 0.1);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.benefit__icon svg { width: 24px; height: 24px; }
.benefit__title { font-size: 1.1rem; font-weight: var(--fw-semibold); margin-bottom: var(--sp-1); }
.benefit__text { color: var(--muted); font-size: var(--fs-sm); }
.benefits__aside {
  background: var(--grad-cta);
  border-radius: var(--radius-xl);
  padding: var(--sp-7);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.benefits__aside-icon { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.benefits__aside h3 { color: var(--white); margin-bottom: var(--sp-3); }
.benefits__aside p { color: var(--white); margin-bottom: var(--sp-5); }
.benefits__aside .btn--primary { background: var(--white); color: var(--brand-700); box-shadow: none; }
.benefits__aside .btn--primary:hover { background: var(--surface); color: var(--brand-700); }

/* ---- Process / steps ----
   Four cards in a row on a soft panel, an arrow between each card and the
   next (pointing left: the reading direction); 2x2 then one column. */
.steps-panel {
  background: linear-gradient(180deg, var(--brand-050), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-2); }
.step__badge {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius-pill);
  padding: 3px var(--sp-3);
}
.step__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--brand-050);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step__icon svg { width: 22px; height: 22px; }
.step__title { font-size: 1.05rem; font-weight: var(--fw-semibold); margin: 0; line-height: 1.6; }
.step__text { color: var(--muted); font-size: var(--fs-sm); line-height: 1.9; margin: 0; }
/* Centred in the gap after the card, towards the next one. */
.step__arrow {
  position: absolute;
  top: 50%;
  inset-inline-end: calc(-1 * var(--sp-6) / 2 - 14px);
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.step__arrow svg { width: 16px; height: 16px; }
.steps-panel__cta { text-align: center; margin-top: var(--sp-6); }
@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .step__arrow { display: none; }
}
@media (max-width: 600px) {
  .steps-panel { padding: var(--sp-4); }
  .steps { grid-template-columns: 1fr; }
}

/* ---- Stats band ---- */
.stats {
  background: var(--grad-cta);
  color: var(--white);
}
.stats .stat { text-align: center; padding: var(--sp-4); }
.stat__value { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: var(--fw-bold); }
.stat__label { color: var(--white); font-size: var(--fs-sm); }

/* ---- Pricing ---- */
.price-card { display: flex; flex-direction: column; height: 100%; }
.price-card--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  position: relative;
}
/* Same-height heads keep the prices of a row on one line. */
.price-card__head { min-height: 4.2rem; margin-bottom: var(--sp-3); }
.price-card__tier { display: block; font-size: var(--fs-xs); color: var(--brand-700); font-weight: var(--fw-semibold); margin-bottom: var(--sp-1); }
.price-card__name { font-size: var(--fs-h4); margin: 0; line-height: 1.5; }
.price-card__desc { color: var(--muted); font-size: var(--fs-sm); margin: var(--sp-2) 0 0; }
.price-card__price { display: flex; align-items: baseline; gap: var(--sp-2); margin-bottom: var(--sp-1); }
.price-card__amount { font-size: 2rem; font-weight: var(--fw-bold); }
.price-card__unit { color: var(--muted); font-size: var(--fs-sm); }
.price-card__per { min-height: 3rem; font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--sp-3); line-height: 1.8; }
.price-card__save {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: #0f7a3d;
  background: #e6f6ec;
  border-radius: var(--radius-pill);
  padding: 1px var(--sp-2);
}
.price-card__list { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.price-card__item { display: flex; gap: var(--sp-2); align-items: flex-start; font-size: var(--fs-sm); }
.price-card__item svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: 2px; }
.price-card__cta { margin-top: auto; }
/* The office pack: one wide card, its terms beside the price. */
.pricing-office { max-width: 920px; margin-inline: auto; }
.price-card--wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-2) var(--sp-6); align-items: start; }
.price-card--wide .price-card__head { min-height: 0; grid-row: span 2; }
.price-card--wide .price-card__per { min-height: 0; }
.price-card--wide .price-card__cta { grid-column: 2; }
@media (max-width: 700px) {
  .price-card--wide { grid-template-columns: 1fr; }
  .price-card--wide .price-card__head { grid-row: auto; }
  .price-card--wide .price-card__cta { grid-column: auto; }
}

/* ---- Pricing at a glance (homepage) ---- */
.price-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); align-items: stretch; }
.price-summary__card { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6) var(--sp-5); position: relative; }
.price-summary__card--featured { border-color: var(--brand); box-shadow: var(--shadow); }
.price-summary__kind { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: var(--fw-semibold); color: var(--brand-700); }
.price-summary__kind svg { width: 22px; height: 22px; padding: 6px; box-sizing: content-box; border-radius: var(--radius); background: var(--brand-050); color: var(--brand); }
.price-summary__price { font-size: var(--fs-sm); color: var(--muted); }
.price-summary__amount { font-size: 2rem; font-weight: var(--fw-bold); color: var(--ink); }
.price-summary__from { font-size: var(--fs-sm); }
.price-summary__per { display: block; font-size: var(--fs-xs); }
.price-summary__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
.price-summary__list li { display: flex; gap: var(--sp-2); align-items: flex-start; font-size: var(--fs-sm); line-height: 1.8; }
.price-summary__list svg { width: 18px; height: 18px; color: var(--success); flex: none; margin-top: 4px; }
.price-summary__more { margin-top: auto; padding-top: var(--sp-3); display: inline-flex; align-items: center; gap: var(--sp-1); font-weight: var(--fw-semibold); font-size: var(--fs-sm); }
.price-summary__more svg { width: 16px; height: 16px; }
.price-summary__bar {
  margin-top: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.price-summary__free { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--ink-700); flex: 1 1 360px; }
.price-summary__free svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.price-summary__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.price-summary__note { margin: var(--sp-3) 0 0; text-align: center; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 900px) {
  .price-summary { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .price-summary__bar { flex-direction: column; align-items: stretch; text-align: start; }
  .price-summary__free { flex: none; }
  .price-summary__actions .btn { flex: 1; }
}

/* ---- Platforms ---- */
.platform-card { text-align: center; display: flex; flex-direction: column; align-items: center; height: 100%; }
.platform-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.platform-card__icon svg { width: 32px; height: 32px; }
.platform-card__name { font-size: 1.05rem; font-weight: var(--fw-semibold); margin-bottom: var(--sp-2); }
.platform-card__status { margin-bottom: var(--sp-4); }
.platform-card__action { margin-top: auto; width: 100%; }
.platform-card.is-soon { opacity: 0.82; background: var(--surface); }

/* ---- Testimonials ---- */
.testimonial { display: flex; flex-direction: column; height: 100%; }
.testimonial__quote { color: var(--ink-700); margin-bottom: var(--sp-5); flex: 1; }
.testimonial__quote::before { content: "“"; color: var(--brand); font-size: 2rem; line-height: 0; vertical-align: -0.4em; }
.testimonial__person { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-050);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  flex: none;
}
.testimonial__name { font-weight: var(--fw-semibold); font-size: var(--fs-sm); }
.testimonial__role { color: var(--muted); font-size: var(--fs-xs); }

.muted-note {
  text-align: center;
  color: var(--muted-light);
  font-size: var(--fs-sm);
  margin-top: var(--sp-6);
}

/* ---- FAQ ---- */
.faq { max-width: var(--container-narrow); margin-inline: auto; }
.faq__col { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq__col + .faq__col { margin-top: var(--sp-3); }
.faq .accordion + .accordion { margin-top: 0; }
@media (min-width: 960px) {
  .faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    align-items: start;
    max-width: none;
  }
  .faq__col + .faq__col { margin-top: 0; }
}

/* ---- Final CTA ---- */
.cta-band {
  background: var(--grad-cta);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); margin-bottom: var(--sp-3); }
.cta-band p { color: var(--white); max-width: 40rem; margin-inline: auto; margin-bottom: var(--sp-6); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.cta-band .btn--primary { background: var(--white); color: var(--brand-700); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--surface); }
.cta-band .btn--secondary { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.cta-band .btn--secondary:hover { border-color: var(--white); color: var(--white); }

/* ---- Footer ---- */
/* Dark, with soft brand-coloured glows and a faint dot grid behind (CSS
   only, no image), and a frosted "any questions?" card on top. */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #14171c;
  color: rgba(255, 255, 255, 0.72);
  padding-block: var(--sp-8) var(--sp-5);
}
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.site-footer::before {
  background:
    radial-gradient(42rem 24rem at 82% -8%, rgba(25, 118, 210, 0.38), transparent 70%),
    radial-gradient(36rem 22rem at 8% 30%, rgba(0, 137, 123, 0.26), transparent 70%),
    radial-gradient(40rem 20rem at 50% 115%, rgba(21, 101, 192, 0.26), transparent 70%);
}
.site-footer::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--white); }

.footer__help {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-8);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.footer__help-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: rgba(25, 118, 210, 0.18);
  color: #7cc0ff;
}
.footer__help-icon svg { width: 26px; height: 26px; }
.footer__help-text { flex: 1; min-width: 0; }
.footer__help-text h3 { color: var(--white); font-size: var(--fs-h4); margin: 0 0 var(--sp-1); }
.footer__help-text p { margin: 0; font-size: var(--fs-sm); }
.footer__help-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.site-footer .footer__help-actions .btn--primary { color: var(--white); }
.site-footer .footer__help-actions .btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}
.site-footer .footer__help-actions .btn--secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.32); }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: var(--sp-8);
  margin-bottom: var(--sp-7);
}
/* The link columns spread over the rest of the row, so the last one ends
   at the container's edge. */
.footer__nav { display: flex; justify-content: space-between; gap: var(--sp-6); }
.footer__brand .brand { color: var(--white); margin-bottom: var(--sp-3); }
.footer__brand .brand__mark { color: var(--white); }
.footer__about { font-size: var(--fs-sm); line-height: var(--lh-body); max-width: 34ch; }
.footer__col h4 { color: var(--white); font-size: var(--fs-body); margin-bottom: var(--sp-4); }
.footer__links { display: grid; gap: var(--sp-1); font-size: var(--fs-sm); }
.footer__links a { display: inline-flex; align-items: center; min-height: 32px; }
.footer__badges { display: flex; gap: var(--sp-3); }
/* Official seal images keep their proportions on a light tile. */
.footer__badge {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 6px;
  line-height: 0;
}
.footer__badge img { max-width: 76px; height: auto; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-sm);
}
.footer__email { display: inline-flex; align-items: center; gap: var(--sp-2); }
.footer__email svg { width: 16px; height: 16px; }

/* ==========================================================================
   Responsive overrides
   ========================================================================== */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero__visual { order: 2; }
  .benefits__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .footer__help { flex-wrap: wrap; }
  .footer__help-actions { width: 100%; }
}

@media (max-width: 600px) {
  .hero__actions .btn { flex: 1; }
  .hero__microtrust { grid-template-columns: 1fr; gap: var(--sp-2); }
  .footer__help { padding: var(--sp-5); }
  .footer__help-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .footer__help-actions .btn--primary { grid-column: 1 / -1; }
  .footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-4); }
  .footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 860px) {
  .trust__inner { grid-template-columns: 1fr; gap: var(--sp-4); }
}
