/* =====================================================================
   Homepage modern layer: depth, glass, glow, hero testimonial module.
   Loaded only on the homepage designs. Pure CSS, no images (about 10 KB).
   ===================================================================== */

/* ---------- 1. Depth for every shared section (.home) ---------- */
.home .section-soft {
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(226,30,38,.07), transparent 60%),
    radial-gradient(800px 380px at 100% 110%, rgba(36,87,245,.06), transparent 60%),
    linear-gradient(180deg, #FFF6F3 0%, #FFFBFA 100%);
  border-top: 0; border-bottom: 0;
}
.home .section-light {
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(36,87,245,.045), transparent 60%),
    radial-gradient(700px 320px at 0% 100%, rgba(226,30,38,.04), transparent 60%),
    #fff;
}
.home .h2 .accent, .home .hero-h1 .accent {
  background: linear-gradient(95deg, #E21E26 0%, #FF4B3A 55%, #FF8A3D 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.home .eyebrow-pill { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 2px 10px rgba(226,30,38,.08); }

/* cards: layered shadow, gradient hairline, lift on hover */
.home .problem-card, .home .card, .home .engine, .home .case-card, .home .plan, .home .step4-card, .home .ad-tile, .home .compare-table-wrap {
  border: 1px solid rgba(23,24,28,.07);
  box-shadow: 0 1px 1px rgba(23,24,28,.04), 0 8px 18px -6px rgba(23,24,28,.08), 0 26px 50px -24px rgba(23,24,28,.14), inset 0 1px 0 #fff;
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s;
}
.home .problem-card:hover, .home .card:hover, .home .engine:hover, .home .case-card:hover, .home .plan:hover, .home .ad-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 1px rgba(23,24,28,.04), 0 14px 26px -8px rgba(23,24,28,.12), 0 40px 70px -26px rgba(226,30,38,.22), inset 0 1px 0 #fff;
}
.home .plan-featured { box-shadow: 0 0 0 4px rgba(226,30,38,.08), 0 30px 70px -22px rgba(226,30,38,.34) !important; }
.home .problem-card .pc-ic { background: linear-gradient(145deg, #FFE3E1, #FFF3F2); box-shadow: inset 0 0 0 1px rgba(226,30,38,.12); }

/* proof band: dark with glow */
.home .proof-band {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(620px 300px at 12% 0%, rgba(226,30,38,.55), transparent 65%),
    radial-gradient(560px 300px at 92% 100%, rgba(36,87,245,.42), transparent 65%),
    linear-gradient(180deg, #17181C, #101114);
}
.home .proof-band::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%); }
.home .proof-band .wrap { position: relative; }
.home .proof-band .stats { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.home .proof-band .stat { border-color: rgba(255,255,255,.12); }
.home .proof-band .stat-num { background: linear-gradient(180deg, #fff, #FFC9C2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.home .proof-band .stat-label { color: rgba(255,255,255,.72); }
.home .proof-band .badges { opacity: .95; }
.home .proof-band .badges img { background: #fff; border-radius: 14px; padding: 8px 14px; box-sizing: content-box; }

/* logo marquee: soft fade at both edges */
.home .logos { background: linear-gradient(180deg, #fff, #FFFAF9); }
.home .logos .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }

/* buttons: glow + shine */
.home .btn-primary { position: relative; overflow: hidden; }
.home .btn-primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transition: left .6s ease; }
.home .btn-primary:hover::after { left: 130%; }

/* final CTA: orbs */
.home .final-cta::after { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,120,.45), transparent 65%); pointer-events: none; }

/* ---------- 2. Design A hero ---------- */
.home .hero-h1 { font-size: clamp(32px, 4.5vw, 56px); }
.hero-a { position: relative; isolation: isolate; background: linear-gradient(180deg, #FFF7F4 0%, #FFFFFF 100%) !important; }
.hero-a::before { z-index: -1; }
.hero-aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.hero-aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; animation: aur 16s ease-in-out infinite alternate; }
.hero-aurora i:nth-child(1) { width: 520px; height: 520px; left: -120px; top: -140px; background: #FF6B5E; }
.hero-aurora i:nth-child(2) { width: 460px; height: 460px; right: -80px; top: 10%; background: #7FA0FF; opacity: .42; animation-duration: 20s; animation-delay: -4s; }
.hero-aurora i:nth-child(3) { width: 320px; height: 320px; right: 28%; bottom: -160px; background: #FFD36B; opacity: .45; animation-duration: 24s; animation-delay: -9s; }
@keyframes aur { to { transform: translate3d(40px, 30px, 0) scale(1.12); } }

.hero-right { position: relative; min-width: 0; }
.hp { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.hp::before { content: ''; position: absolute; inset: 4% -3% -2% -3%; border-radius: 34px; background: linear-gradient(145deg, #F2555B, #E21E26 55%, #FF8A3D); transform: rotate(-2.5deg); opacity: .92; filter: saturate(1.05); }
.hp-card { position: relative; background: rgba(255,255,255,.96); border-radius: 26px; overflow: hidden; box-shadow: 0 2px 4px rgba(23,24,28,.05), 0 30px 70px -20px rgba(23,24,28,.35); transition: opacity .16s; }
.hp-card.is-swap { opacity: .25; }
.hp-media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(420px 220px at 78% 12%, rgba(226,30,38,.55), transparent 70%), radial-gradient(360px 220px at 8% 100%, rgba(36,87,245,.45), transparent 70%), #17181C; }
.hp-video { width: 100%; height: 100%; object-fit: cover; display: block; background: transparent; }
.hp-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(16,17,20,.18), rgba(16,17,20,0) 40%, rgba(16,17,20,.45)); }
.hp-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; box-shadow: 0 12px 34px rgba(0,0,0,.35); cursor: pointer; transition: transform .2s; }
.hp-play span { display: grid; place-items: center; margin-left: 3px; }
.hp-play:hover { transform: scale(1.08); }
.hp-play::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.hp-media:has(.hp-video[controls]) .hp-metric { display: none; }
.hp-metric { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 13px; border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.22); font-size: 12.5px; color: var(--muted); }
.hp-metric b { font-size: 17px; letter-spacing: -.02em; color: var(--red); }
.hp-metric i { font-style: normal; font-weight: 600; }
.hp-body { padding: 20px 22px 22px; }
.hp-stars { color: #F5B301; letter-spacing: 3px; font-size: 15px; }
.hp-q { margin: 8px 0 16px; font-size: 16.5px; line-height: 1.58; font-weight: 520; color: var(--ink); min-height: 7.9em; }
.hp-who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.hp-logo { width: 72px; height: 32px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); padding: 3px 6px; box-sizing: border-box; flex: none; }
.hp-who b { display: block; font-size: 15px; letter-spacing: -.01em; }
.hp-who small { color: var(--muted); font-size: 13px; }
.hp-tabs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.hp-tab { display: flex; align-items: center; gap: 9px; padding: 9px 10px; text-align: left; border-radius: 14px; background: rgba(255,255,255,.88); border: 1.5px solid rgba(23,24,28,.08); box-shadow: 0 6px 16px -8px rgba(23,24,28,.25); cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; min-width: 0; }
.hp-tab:hover { transform: translateY(-2px); }
.hp-tab img { width: 42px; height: 20px; object-fit: contain; flex: none; }
.hp-tab span { min-width: 0; display: block; line-height: 1.2; }
.hp-tab b { display: block; font-size: 13px; }
.hp-tab small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-tab.is-on { border-color: var(--red); background: #fff; box-shadow: 0 10px 24px -8px rgba(226,30,38,.45); }

@media (max-width: 960px) {
  .hero-right { margin-top: 10px; }
  .hp::before { inset: 3% 0 -2% 0; }
  .hp-q { min-height: 0; }
}
@media (max-width: 520px) {
  .hp-play { width: 62px; height: 62px; margin: -31px 0 0 -31px; }
  .hp-tab { flex-direction: column; align-items: flex-start; gap: 4px; padding: 9px; }
  .hp-body { padding: 16px 16px 18px; }
  .hp-q { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-aurora i, .hp-play::before { animation: none !important; }
}

.home .hero-h1 .hl { background: linear-gradient(95deg, #E21E26 0%, #FF4B3A 60%, #FF7A45 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.home .final-cta .h2 .accent, .home .final-cta h2 .accent { background: none; -webkit-text-fill-color: #FFE3D4; color: #FFE3D4; }
