/* Landing-page-only styles. Dashboard layout and behavior stay untouched. */
.home-landing { --home-surface: #fff; --home-soft: #f0f5fb; --home-ink: #15243b; --home-muted: #52647b; }
[data-bs-theme="dark"] .home-landing { --home-surface: #152237; --home-soft: #101c2e; --home-ink: #edf3fc; --home-muted: #afbed2; }
.home-landing .hero-redesign { padding: clamp(2.5rem, 5vw, 5rem) 0; text-align: left; background: radial-gradient(ellipse at 85% 30%, rgba(59,130,246,.12), transparent 55%), radial-gradient(ellipse at 8% 10%, rgba(16,185,129,.07), transparent 42%), var(--home-surface); }
.home-eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; color: #05775b; font-size: .7rem; font-weight: 800; letter-spacing: .12em; line-height: 1.6; }
[data-bs-theme="dark"] .home-eyebrow { color: #73dfbd; }
.home-landing .hero-headline { font-size: clamp(2.5rem, 5.4vw, 4.8rem); font-weight: 800; letter-spacing: -.06em; line-height: 1.08; color: var(--home-ink); }
.home-landing .hero-highlight { background: none; color: #2563eb; -webkit-text-fill-color: currentColor; }
[data-bs-theme="dark"] .home-landing .hero-highlight { color: #88b7ff; }
.home-landing .hero-subtext { max-width: 34rem; color: var(--home-muted); font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.85; margin-inline: 0; }
.home-cta-note { color: var(--home-muted); font-size: .8rem; }
.home-value-tags { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; }
.home-value-tags span { display: inline-flex; align-items: center; gap: .5rem; color: var(--home-muted); font-size: .75rem; font-weight: 600; }
.home-value-tags i { color: #059669; }
[data-bs-theme="dark"] .home-value-tags i { color: #73dfbd; }
.home-video-panel { padding: 1.1rem; background: var(--home-soft); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 24px 64px rgba(15,23,42,.09); }
.home-video-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: .2rem 0 1rem; font-size: .79rem; font-weight: 700; color: var(--home-ink); }
.home-video-duration { padding: .25rem .4rem; border-radius: 5px; background: var(--home-surface); color: var(--home-muted); font-size: .59rem; letter-spacing: .07em; white-space: nowrap; }
.home-landing .video-frame { box-shadow: none; border-radius: 13px; }
.home-landing .video-frame:hover { transform: none; box-shadow: none; }
.home-watch-button { display: block; width: 100%; margin: 1rem 0 .6rem; padding: .7rem; border: 1px solid var(--border); border-radius: 10px; background: var(--home-surface); color: var(--home-ink); font: inherit; font-size: .8rem; font-weight: 700; min-height: 44px; }
.home-watch-button:hover { border-color: var(--primary); color: var(--primary); }
.home-video-panel [role="status"] { font-size: .72rem; text-align: center; }
.home-landing .stats-strip { background: var(--home-soft); border-color: var(--border); }
.home-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 1.5rem 0; gap: 1rem; }
.home-stats > div { text-align: center; }
.home-stats > div + div { border-left: 1px solid var(--border); }
.home-stats strong { display: block; color: var(--home-ink); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.05em; }
.home-stats span { display: block; color: var(--home-muted); font-size: .72rem; line-height: 1.6; }
.home-section { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.home-section-heading { max-width: 650px; margin-bottom: 2rem; }
.home-landing .section-title { color: var(--home-ink); font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.2; margin-bottom: .8rem; }
.home-landing .section-sub { color: var(--home-muted); font-size: .95rem; line-height: 1.75; margin-bottom: 0; }
.home-step { padding: 1.5rem; background: var(--home-surface); }
.home-step p { font-size: .85rem; line-height: 1.8; }
.home-step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.home-step-top > i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: var(--primary); background: var(--home-soft); font-size: 1.1rem; }
.home-step-number { font-size: 1.8rem; font-weight: 800; letter-spacing: -.06em; color: var(--home-muted); opacity: .65; }
.home-text-link { display: inline-flex; align-items: center; color: var(--primary); font-weight: 700; font-size: .82rem; min-height: 44px; }
.home-landing .completed-showcase { background: var(--home-soft); }
.home-landing .completed-app-card { display: flex; flex-direction: column; background: var(--home-surface); border-color: var(--border); }
.home-app-cover { display: block; height: 220px; padding: 1rem; background: #e7edf5; border-bottom: 1px solid var(--border); overflow: hidden; }
[data-bs-theme="dark"] .home-app-cover { background: #0c1728; }
.home-app-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-app-no-image { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; height: 100%; color: var(--home-muted); font-size: .8rem; }
.home-app-no-image i { font-size: 3rem; }
.home-app-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.home-app-title { color: var(--home-ink); overflow-wrap: anywhere; }
.home-app-title:hover { color: var(--primary); }
.home-app-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  line-height: 1.6;
  max-height: 4.8em;
  overflow: hidden;
  overflow-wrap: anywhere;
  flex-shrink: 0;
}
.home-app-thumbnails { display: flex; gap: .6rem; margin-bottom: 1rem; }
.home-app-thumbnails a { display: block; width: 80px; height: 60px; background: var(--home-soft); border: 1px solid var(--border); border-radius: 8px; padding: .3rem; }
.home-app-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.home-app-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .2rem .8rem; padding-top: .75rem; margin-top: auto; border-top: 1px solid var(--border); }
.home-app-footer .small { font-size: .7rem; }
.home-showcase-note { max-width: 760px; line-height: 1.8; }
.home-landing .companion-banner-card { background: linear-gradient(130deg, rgba(16,185,129,.09), var(--home-surface)); }
.home-landing .companion-qr-box { color: #334155; }
.home-landing .faq-section { background: var(--home-soft); border-block: 1px solid var(--border); }
.home-faq { margin-bottom: .7rem; border: 1px solid var(--border); background: var(--home-surface); border-radius: 13px; overflow: hidden; }
.home-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; min-height: 56px; list-style: none; font-size: .88rem; font-weight: 700; color: var(--home-ink); cursor: pointer; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary i { font-size: .65rem; color: var(--home-muted); }
.home-faq[open] summary i { transform: rotate(45deg); }
.home-faq p { margin: 0; padding: 0 1.3rem 1.3rem; color: var(--home-muted); font-size: .85rem; line-height: 1.85; }
.home-landing .final-cta-banner { background: radial-gradient(ellipse at top left, #285ccc, transparent 80%), #112340; color: #fff; border-radius: 24px; }
.home-landing .final-cta-banner .home-eyebrow { justify-content: center; color: #8fe4ca; }
.home-landing .final-cta-banner .lead, .home-landing .final-cta-banner .small { color: #cad9ec; }
.home-landing .final-cta-banner .btn-light { color: #18376e !important; }
.home-landing :is(a, button, summary):focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
@media (max-width: 991.98px) {
  .home-landing .hero-headline { max-width: 720px; }
  .home-video-panel { max-width: 650px; }
}
@media (max-width: 575.98px) {
  .home-landing .container { padding-inline: 1rem; }
  .home-landing .hero-headline { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .home-eyebrow { font-size: .62rem; letter-spacing: .08em; }
  .home-landing .hero-cta-btn, .home-landing .hero-video-link { padding: .8rem 1rem; font-size: .95rem; flex: 0 0 100%; width: 100%; }
  .home-hero-actions { gap: .7rem !important; }
  .home-value-tags { gap: .7rem; }
  .home-value-tags span { font-size: .7rem; }
  .home-video-panel { padding: .8rem; border-radius: 18px; }
  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem .5rem; }
  .home-stats > div:nth-child(3) { border-left: 0; }
  .home-stats span { font-size: .65rem; padding-inline: .5rem; }
  .home-app-cover { height: 230px; }
  .home-app-body { padding: 1.2rem; }
  .home-faq summary { padding: 1rem; }
  .home-faq p { padding: 0 1rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-landing *, .home-landing *::before, .home-landing *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
