/* ============================================================
   FLOSSWORK™ — HOME.CSS  v1.0
   Homepage-only styles — loaded after base.css on index.html.
   All layout, spacing, and component styles for homepage
   sections that don't exist on other pages.
   ============================================================ */


/* ── HERO ─────────────────────────────────────────────────── */

.home-hero {
  padding-top:    clamp(72px, 9vw, 128px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

/* Eyebrow badge row */
.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-lt);
  padding: 6px 14px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.hero-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1;  transform: scale(1);   }
  50%       { opacity: .3; transform: scale(.72); }
}

.hero-badge-sep {
  width: 1px;
  height: 14px;
  background: var(--line);
  flex-shrink: 0;
}

.hero-badge-text {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

/* Headline + sub-copy grid */
.hero-copy {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: end;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.hero-stars {
  display: flex;
  gap: 1px;
  color: var(--gold);
}

.hero-social-text {
  font-size: 13px;
  color: var(--ink-mute);
}

/* Full-width visual below copy */
.hero-visual {
  position: relative;
}

.hero-visual-img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
}

.hero-visual-img-wrap img,
.hero-visual-img-wrap .placeholder {
  width: 100%;
  aspect-ratio: 21 / 9;
  display: block;
  border-radius: 0;
}

/* Glassmorphism info cards floating on image */
.hero-card {
  position: absolute;
  bottom: 24px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(24px) saturate(2);
  -webkit-backdrop-filter: blur(24px) saturate(2);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--r-md);
  padding: 16px 20px;
  min-width: 180px;
  box-shadow: 0 8px 40px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
}

.hero-card--left  { left: 28px; }
.hero-card--right { right: 28px; text-align: right; }

.hero-card-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}

.hero-card-value {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 5px;
}

.hero-card-sub {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.45;
}

/* Stats strip sits inside hero, below the image */
.home-hero .stats-strip {
  margin-top: 40px;
}


/* ── ALIGNER SPOTLIGHT ────────────────────────────────────── */

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.spotlight-visual {
  position: relative;
  flex-shrink: 0;
}

.spotlight-visual-img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
}

.spotlight-visual-img-wrap img,
.spotlight-visual-img-wrap .placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  border-radius: 0;
}

/* Floating specialist card on image */
.spotlight-float {
  position: absolute;
  right: -18px;
  bottom: 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 20px;
  min-width: 204px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spotlight-float .mono {
  display: block;
  margin-bottom: 2px;
}

.spotlight-float strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.spotlight-float-divider {
  height: 1px;
  background: var(--line);
  margin: 10px 0;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
  transition: padding-left var(--dur-base) var(--ease);
}

.feature-row:hover { padding-left: 4px; }

.feature-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--ink-mute);
  padding-top: 3px;
}

.feature-name {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.2;
}

.feature-desc {
  display: block;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.55;
}

.spotlight-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.cta-note {
  font-size: 13px;
  color: var(--ink-mute);
}


/* ── SECTION FOOTER LINK ──────────────────────────────────── */

.section-footer {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}


/* ── REVIEWS ──────────────────────────────────────────────── */

.reviews-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}


/* ── FINAL CTA ────────────────────────────────────────────── */

/* h2 colour in dark section */
.section--ink .h2            { color: var(--bg); }
.section--ink .h2 em         { color: rgba(255,255,255,.6); }

.fcta-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
  margin-bottom: 24px;
  max-width: 46ch;
}

.fcta-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.fcta-callback-link {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  padding: 0;
  font-family: var(--sans);
  transition: color var(--dur-fast) var(--ease);
  display: block;
  margin-bottom: 32px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: left;
}

.fcta-callback-link:hover { color: rgba(255,255,255,.8); }


/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 1024px) {
  .spotlight-float { right: 0; }
}

@media (max-width: 768px) {

  .hero-copy {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Simplify badge on small screens */
  .hero-badge-sep,
  .hero-badge-text { display: none; }

  /* Floating cards too crowded on mobile */
  .hero-card { display: none; }

  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .spotlight-float {
    position: static;
    margin-top: 16px;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .reviews-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fcta-ctas { flex-direction: column; }
  .fcta-ctas .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-ctas             { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn        { width: 100%; justify-content: center; }
  .spotlight-ctas        { flex-direction: column; align-items: flex-start; }
  .spotlight-ctas .btn   { width: 100%; justify-content: center; }
}
