/* =============================================================================
   home.css — Homepage v2 (2026-10-27)
   Loaded AFTER styles.css + redesign.css. Styles ONLY the marketing homepage
   (#homepageContent, hp-* classes), the site header and the footer.
   The chat viewer (#mainContainer / .wc-*) is not touched by anything here.
   Palette: one emerald accent + navy/slate structure (see redesign.css tokens).
   ============================================================================= */

:root {
  --hp-accent:      #059669;
  --hp-accent-2:    #10b981;
  --hp-accent-soft: #ecfdf5;
  --hp-accent-line: #a7f3d0;
  --hp-ink:         #0f172a;
  --hp-ink-2:       #334155;
  --hp-ink-3:       #64748b;
  --hp-bg:          #ffffff;
  --hp-bg-2:        #f8fafc;
  --hp-card:        #ffffff;
  --hp-line:        #e2e8f0;
  --hp-line-2:      #cbd5e1;
  --hp-navy:        #0b1220;
  --hp-navy-2:      #111a2e;
  --hp-wa-bg:       #efeae2;
  --hp-wa-in:       #ffffff;
  --hp-wa-out:      #d9fdd3;
  --hp-radius:      14px;
  --hp-radius-lg:   20px;
  --hp-shadow-sm:   0 1px 2px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.06);
  --hp-shadow:      0 1px 2px rgba(15,23,42,.04), 0 8px 24px -8px rgba(15,23,42,.12);
  --hp-shadow-lg:   0 2px 6px rgba(15,23,42,.05), 0 30px 60px -20px rgba(15,23,42,.28);
  --hp-ease:        cubic-bezier(.22,.61,.36,1);
  --hp-head:        "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", sans-serif;
  --hp-body:        "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --hp-accent:      #34d399;
    --hp-accent-2:    #10b981;
    --hp-accent-soft: rgba(16,185,129,.12);
    --hp-accent-line: rgba(52,211,153,.35);
    --hp-ink:         #f1f5f9;
    --hp-ink-2:       #cbd5e1;
    --hp-ink-3:       #94a3b8;
    --hp-bg:          #0b1220;
    --hp-bg-2:        #0e1627;
    --hp-card:        #121b2e;
    --hp-line:        #1e293b;
    --hp-line-2:      #334155;
    --hp-wa-bg:       #0b141a;
    --hp-wa-in:       #202c33;
    --hp-wa-out:      #005c4b;
    --hp-shadow-sm:   0 1px 2px rgba(0,0,0,.4);
    --hp-shadow:      0 1px 2px rgba(0,0,0,.3), 0 10px 28px -10px rgba(0,0,0,.6);
    --hp-shadow-lg:   0 2px 6px rgba(0,0,0,.3), 0 30px 60px -20px rgba(0,0,0,.7);
  }
}

/* ---- Page base (homepage only; viewer sets body.chat-loaded) --------------- */
body:not(.chat-loaded) { background: var(--hp-bg) !important; padding-bottom: 0 !important; }
#homepageContent { font-family: var(--hp-body); color: var(--hp-ink-2); }
#homepageContent h1, #homepageContent h2, #homepageContent h3 { font-family: var(--hp-head); color: var(--hp-ink); letter-spacing: -.022em; margin: 0; }
#homepageContent p { margin: 0; }
#homepageContent a { color: inherit; }
#homepageContent label { white-space: normal; font-size: inherit; }

.hp-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100%; box-sizing: border-box; }
.hp-section { padding: 96px 0; }
.hp-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.hp-head-left { margin: 0; text-align: left; }
.hp-kicker {
  display: inline-block; margin-bottom: 14px;
  font: 600 .78rem/1 var(--hp-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--hp-accent);
}
.hp-h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.45rem); font-weight: 700; line-height: 1.15; }
.hp-h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.hp-h4 { font-family: var(--hp-head); font-size: 1rem; font-weight: 700; color: var(--hp-ink); margin: 0 0 4px; letter-spacing: -.01em; }
.hp-sub { margin-top: 14px !important; font-size: 1.06rem; line-height: 1.65; color: var(--hp-ink-3); }
.hp-sub-left { max-width: 520px; }
.hp-sub a { color: var(--hp-accent) !important; font-weight: 600; text-decoration: none; }
.hp-sub a:hover { text-decoration: underline; }

/* ---- Buttons ---------------------------------------------------------------- */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font: 600 .96rem/1.2 var(--hp-body); text-decoration: none; cursor: pointer;
  white-space: nowrap !important;
  transition: background-color .18s var(--hp-ease), box-shadow .18s var(--hp-ease), transform .18s var(--hp-ease);
}
.hp-btn-lg { padding: 14px 26px; font-size: 1rem; }
.hp-btn-primary { background: #059669; color: #fff !important; box-shadow: 0 1px 2px rgba(5,150,105,.3), inset 0 1px 0 rgba(255,255,255,.12); }
.hp-btn-primary:hover { background: #047857; box-shadow: 0 8px 20px -8px rgba(5,150,105,.6); transform: translateY(-1px); }
.hp-btn-light { background: #fff; color: #0f172a !important; }
.hp-btn-light:hover { background: #f1f5f9; transform: translateY(-1px); }

/* ---- Header (fixes) --------------------------------------------------------- */
.site-header { background: rgba(255,255,255,.86) !important; box-shadow: none !important; border-bottom: 1px solid var(--rd-border, #e2e8f0); }
.sh-logo { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.sh-logo img { width: 30px; height: 30px; }
.sh-logo span { font-family: var(--hp-head) !important; font-size: 1.12rem; font-weight: 700; color: #0f172a; }
.sh-nav a { font-size: .94rem; text-decoration: none; }
.site-header .sh-cta { border-radius: 10px !important; background: #059669 !important; padding: 10px 18px; font-size: .9rem; box-shadow: none !important; text-decoration: none; color: #fff !important; }
.site-header .sh-cta:hover { background: #047857 !important; transform: none !important; }
.sh-mobile-btn { color: #0f172a !important; border-radius: 8px; }
.sh-mobile-btn:hover { background: #f1f5f9; }
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(11,18,32,.86) !important; border-bottom-color: #1e293b; }
  .sh-logo span { color: #f1f5f9; }
  .sh-nav a { color: #cbd5e1; }
  .sh-mobile-btn { color: #f1f5f9 !important; }
  .sh-mobile-btn:hover { background: #1e293b; }
}

/* =============================================================================
   HERO
   ============================================================================= */
#homepageContent #heroSection.hp-hero {
  position: relative; overflow: hidden;
  min-height: 0; display: block;
  padding: 72px 0 84px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(16,185,129,.14), transparent 60%),
    var(--hp-bg);
}
#homepageContent #heroSection.hp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hp-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }

.hp-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--hp-card); border: 1px solid var(--hp-line);
  box-shadow: var(--hp-shadow-sm);
  font: 500 .82rem/1 var(--hp-body); color: var(--hp-ink-2);
}
.hp-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hp-accent-2); box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
#homepageContent .hp-hero-title {
  margin-top: 22px; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.55rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -.035em;
}
.hp-accent { color: var(--hp-accent); }
.hp-hero-lead { margin-top: 20px !important; max-width: 540px; font-size: 1.12rem; line-height: 1.65; color: var(--hp-ink-3); }

/* upload — reset legacy .upload-section rules */
#homepageContent .upload-section.hp-upload {
  margin: 32px 0 0; padding: 0; max-width: 560px;
  background: none; border: 0; box-shadow: none; border-radius: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none; text-align: left;
}
#homepageContent .hp-drop {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 18px 18px 20px;
  background: var(--hp-card);
  border: 1.5px dashed var(--hp-line-2);
  border-radius: var(--hp-radius-lg);
  box-shadow: var(--hp-shadow);
  transition: border-color .2s var(--hp-ease), box-shadow .2s var(--hp-ease), background-color .2s var(--hp-ease);
}
#homepageContent .hp-drop:hover { border-color: var(--hp-accent-2); }
#homepageContent .hp-drop.drag-over { border-color: var(--hp-accent-2); background: var(--hp-accent-soft); box-shadow: 0 0 0 4px rgba(16,185,129,.15), var(--hp-shadow); }
.hp-drop-icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--hp-accent-soft); color: var(--hp-accent);
  border: 1px solid var(--hp-accent-line);
}
.hp-drop-text { flex: 1 1 auto; min-width: 0; }
.hp-drop-title { font: 600 .98rem/1.35 var(--hp-body); color: var(--hp-ink); }
.hp-drop-sub { margin-top: 3px !important; font-size: .86rem; color: var(--hp-ink-3); }
.hp-drop-btn { flex: 0 0 auto; }

.hp-hero-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hp-hero-trust li, .hp-hero-trust a { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--hp-ink-3); text-decoration: none; }
.hp-hero-trust svg { color: var(--hp-accent); flex: 0 0 auto; }
.hp-hero-trust a { color: var(--hp-ink-2) !important; font-weight: 600; }
.hp-hero-trust a:hover { color: var(--hp-accent) !important; }

/* ---- Hero product mockup ---------------------------------------------------- */
.hp-hero-visual { position: relative; padding: 18px 8px 30px 0; }
.hp-window {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--hp-card); border: 1px solid var(--hp-line);
  box-shadow: var(--hp-shadow-lg);
  font-family: "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
.hp-window-bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: var(--hp-bg-2); border-bottom: 1px solid var(--hp-line); }
.hp-dots { display: inline-flex; gap: 6px; }
.hp-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.hp-dots i:nth-child(1) { background: #f87171; } .hp-dots i:nth-child(2) { background: #fbbf24; } .hp-dots i:nth-child(3) { background: #34d399; }
.hp-url { flex: 1; max-width: 260px; margin: 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 24px; border-radius: 6px; background: var(--hp-card); border: 1px solid var(--hp-line); font: 500 11.5px/1 var(--hp-body); color: var(--hp-ink-3); }
.hp-url svg { color: var(--hp-accent); }
.hp-app { display: grid; grid-template-columns: 168px 1fr; height: 400px; }
.hp-app-side { border-right: 1px solid var(--hp-line); padding: 12px 10px; background: var(--hp-card); display: flex; flex-direction: column; gap: 12px; }
.hp-side-chat { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 10px; background: var(--hp-accent-soft); }
.hp-ava { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#0d9488,#10b981); color: #fff; font: 700 11px/1 var(--hp-body); }
.hp-ava-sm { width: 28px; height: 28px; font-size: 10px; }
.hp-side-lines { display: flex; flex-direction: column; min-width: 0; }
.hp-side-lines b { font-size: 12px; color: var(--hp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-side-lines em { font-style: normal; font-size: 10.5px; color: var(--hp-ink-3); }
.hp-side-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hp-side-stats span { display: flex; flex-direction: column; padding: 7px 8px; border-radius: 8px; border: 1px solid var(--hp-line); font-size: 9.5px; color: var(--hp-ink-3); }
.hp-side-stats b { font: 700 13px/1.2 var(--hp-body); color: var(--hp-ink); }
.hp-side-bars { display: flex; flex-direction: column; gap: 7px; padding: 4px 2px; }
.hp-side-bars i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--hp-accent-2), rgba(16,185,129,.25)); }
.hp-app-chat { display: flex; flex-direction: column; min-width: 0; background: var(--hp-wa-bg); }
.hp-chat-head { display: flex; align-items: center; gap: 9px; padding: 8px 12px; background: var(--hp-card); border-bottom: 1px solid var(--hp-line); }
.hp-chat-name { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hp-chat-name b { font-size: 12.5px; color: var(--hp-ink); }
.hp-chat-name em { font-style: normal; font-size: 10.5px; color: var(--hp-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-chat-search { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 6px 0 8px; border-radius: 6px; border: 1px solid var(--hp-line); background: var(--hp-bg-2); font-size: 11px; color: var(--hp-ink-2); }
.hp-chip-count { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 4px; display: grid; place-items: center; background: #059669; color: #fff; font-size: 9.5px; font-weight: 700; }
.hp-chat-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; overflow: hidden; }
.hp-day { align-self: center; margin-bottom: 2px; padding: 3px 10px; border-radius: 7px; background: var(--hp-card); box-shadow: 0 1px .5px rgba(11,20,26,.13); font-size: 10.5px; color: var(--hp-ink-3); }
.hp-msg { position: relative; align-self: flex-start; max-width: 78%; padding: 6px 9px 16px; border-radius: 8px; background: var(--hp-wa-in); box-shadow: 0 1px .5px rgba(11,20,26,.13); font-size: 12px; line-height: 1.4; color: var(--hp-ink); }
.hp-msg b { display: block; font-size: 11px; font-weight: 600; margin-bottom: 1px; }
.hp-msg time { position: absolute; right: 8px; bottom: 3px; font-size: 9.5px; color: var(--hp-ink-3); }
.hp-msg mark { background: #fde68a; color: inherit; border-radius: 2px; padding: 0 1px; }
.hp-own { align-self: flex-end; background: var(--hp-wa-out); }
.hp-s1 { color: #d946ef; } .hp-s2 { color: #0284c7; }
.hp-doc { display: flex; align-items: center; gap: 9px; padding: 8px 10px 18px; min-width: 210px; }
.hp-doc > span:nth-child(2) { display: flex; flex-direction: column; }
.hp-doc b { margin: 0; font-size: 11.5px; color: var(--hp-ink); }
.hp-doc em { font-style: normal; font-size: 10px; color: var(--hp-ink-3); }
.hp-doc-ico { width: 30px; height: 36px; border-radius: 5px; display: grid; place-items: center; background: #ef4444; color: #fff; font: 700 8.5px/1 var(--hp-body); }
.hp-photo { padding: 4px 4px 16px; }
.hp-photo b { padding: 2px 5px 3px; }
.hp-photo-img {
  display: block; width: 190px; height: 92px; border-radius: 6px;
  background:
    radial-gradient(circle at 74% 30%, #fef3c7 0 9%, rgba(254,243,199,0) 10%),
    linear-gradient(168deg, transparent 58%, #0f766e 58.5%),
    linear-gradient(196deg, transparent 52%, #14b8a6 52.5%),
    linear-gradient(180deg, #bae6fd 0%, #7dd3fc 60%, #fde68a 100%);
}

.hp-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 12px;
  background: var(--hp-card); border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow);
}
.hp-float > span:last-child { display: flex; flex-direction: column; }
.hp-float b { font: 700 .82rem/1.25 var(--hp-body); color: var(--hp-ink); }
.hp-float em { font-style: normal; font-size: .74rem; color: var(--hp-ink-3); }
.hp-float-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--hp-accent-soft); color: var(--hp-accent); }
.hp-float-ico-pdf { background: #fef2f2; color: #dc2626; }
.hp-float-a { left: -26px; bottom: 6px; }
.hp-float-b { right: -18px; bottom: 96px; }
@media (prefers-color-scheme: dark) { .hp-float-ico-pdf { background: rgba(239,68,68,.14); color: #f87171; } .hp-msg mark { background: #a16207; } }

/* =============================================================================
   STATS
   ============================================================================= */
#homepageContent .wcv-stats.hp-stats { background: var(--hp-bg); border: 0; padding: 0 0 8px; margin: 0; }
.hp-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hp-line); border-radius: var(--hp-radius-lg);
  background: var(--hp-card); box-shadow: var(--hp-shadow-sm);
}
.hp-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 12px; text-align: center; }
.hp-stat + .hp-stat { border-left: 1px solid var(--hp-line); }
#homepageContent .hp-stat-num { font: 700 1.7rem/1.1 var(--hp-head); color: var(--hp-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; background: none; -webkit-text-fill-color: currentColor; }
.hp-stat-lbl { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--hp-ink-3); }
.hp-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: hpPulse 2s infinite; }
@keyframes hpPulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 70% { box-shadow: 0 0 0 7px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

/* =============================================================================
   STEPS
   ============================================================================= */
#homepageContent #instructionsContainer.hp-steps { background: var(--hp-bg); margin: 0; max-width: none; border: 0; box-shadow: none; border-radius: 0; }
.hp-steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.hp-step { position: relative; padding: 28px 26px; border-radius: var(--hp-radius-lg); background: var(--hp-bg-2); border: 1px solid var(--hp-line); }
.hp-step-num { display: inline-block; margin-bottom: 18px; font: 700 .86rem/1 var(--hp-head); color: var(--hp-accent); padding: 7px 10px; border-radius: 8px; background: var(--hp-card); border: 1px solid var(--hp-line); }
.hp-step p { margin-top: 10px !important; font-size: .96rem; line-height: 1.6; color: var(--hp-ink-3); }
.hp-step strong { color: var(--hp-ink-2); font-weight: 600; }
.hp-step-paths { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.hp-step-paths span { font-size: .84rem; color: var(--hp-ink-2); padding: 7px 10px; border-radius: 8px; background: var(--hp-card); border: 1px solid var(--hp-line); }
.hp-step-paths b { display: inline-block; min-width: 60px; font-weight: 600; color: var(--hp-ink); }

/* =============================================================================
   FEATURES (reset legacy .features-section rules)
   ============================================================================= */
#homepageContent .features-section.hp-features { background: var(--hp-bg-2) !important; padding: 96px 0 !important; margin: 0 !important; text-align: left; border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); }
.hp-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-feature { padding: 28px; border-radius: var(--hp-radius-lg); background: var(--hp-card); border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow-sm); transition: border-color .2s var(--hp-ease), box-shadow .2s var(--hp-ease), transform .2s var(--hp-ease); }
.hp-feature:hover { border-color: var(--hp-accent-line); box-shadow: var(--hp-shadow); transform: translateY(-2px); }
.hp-feature p { margin-top: 8px !important; font-size: .95rem; line-height: 1.6; color: var(--hp-ink-3); }
.hp-ico { width: 44px; height: 44px; margin-bottom: 18px; border-radius: 11px; display: grid; place-items: center; background: var(--hp-accent-soft); color: var(--hp-accent); border: 1px solid var(--hp-accent-line); }
.hp-ico svg { width: 22px; height: 22px; }
.hp-ico-sm { width: 40px; height: 40px; margin: 0; flex: 0 0 auto; }
.hp-ico-sm svg { width: 20px; height: 20px; }

/* =============================================================================
   PRIVACY
   ============================================================================= */
.hp-privacy { background: var(--hp-bg); }
.hp-privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hp-privacy-list { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 4px; border-radius: var(--hp-radius-lg); background: var(--hp-bg-2); border: 1px solid var(--hp-line); }
.hp-privacy-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 14px; }
.hp-privacy-list li + li { border-top: 1px solid var(--hp-line); border-radius: 0; }
.hp-privacy-list p { font-size: .93rem; line-height: 1.55; color: var(--hp-ink-3); }

/* =============================================================================
   PROMO (dark band)
   ============================================================================= */
#homepageContent .hp-promo {
  background:
    radial-gradient(800px 420px at 100% 0%, rgba(16,185,129,.16), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #0f1a2e 100%);
  color: #cbd5e1;
}
.hp-promo .hp-h2 { color: #fff !important; }
.hp-promo .hp-sub { color: #94a3b8; }
.hp-kicker-light { color: #34d399; }
.hp-promo-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 60px; align-items: center; }
.hp-checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.hp-checks li { position: relative; padding-left: 30px; font-size: .98rem; color: #e2e8f0; line-height: 1.5; }
.hp-checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(16,185,129,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.hp-promo-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hp-promo-note { font-size: .9rem; color: #94a3b8; }
.hp-promo-note strong { color: #fff; font-weight: 600; }
.hp-shot { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 70px -24px rgba(0,0,0,.7), 0 0 0 6px rgba(255,255,255,.04); }
.hp-shot img { display: block; width: 100%; height: auto; }
.hp-shot-flat { border-color: var(--hp-line); box-shadow: var(--hp-shadow-lg); }

/* =============================================================================
   CAROUSEL (ui.js translates #carouselTrack by -100% per slide)
   ============================================================================= */
.hp-gallery { background: var(--hp-bg); }
.hp-carousel { position: relative; max-width: 1000px; margin: 0 auto; }
.hp-carousel-viewport { overflow: hidden; border-radius: var(--hp-radius-lg); border: 1px solid var(--hp-line); background: var(--hp-card); box-shadow: var(--hp-shadow-lg); }
#homepageContent .hp-carousel-track { display: flex; transition: transform .55s var(--hp-ease); will-change: transform; touch-action: pan-y; }
.hp-slide { flex: 0 0 100%; min-width: 100%; margin: 0; }
.hp-slide-img { aspect-ratio: 16 / 10; background: var(--hp-bg-2); border-bottom: 1px solid var(--hp-line); overflow: hidden; }
.hp-slide-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.hp-slide figcaption { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; padding: 18px 24px 20px; }
.hp-slide figcaption .hp-h4 { margin: 0; }
.hp-slide figcaption p { font-size: .93rem; color: var(--hp-ink-3); }
.hp-car-btn {
  position: absolute; top: calc(50% - 30px); transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--hp-card); color: var(--hp-ink); border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow);
  transition: background-color .15s var(--hp-ease), color .15s var(--hp-ease);
}
.hp-car-btn:hover { color: var(--hp-accent); border-color: var(--hp-accent-line); }
.hp-car-prev { left: -22px; } .hp-car-next { right: -22px; }
.hp-car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
#homepageContent .hp-car-dots .carousel-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--hp-line-2); cursor: pointer; transition: width .25s var(--hp-ease), background-color .25s var(--hp-ease); }
#homepageContent .hp-car-dots .carousel-dot.active { width: 26px; background: var(--hp-accent-2); }

/* =============================================================================
   DESKTOP
   ============================================================================= */
.hp-desktop { background: var(--hp-bg-2); border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); }
.hp-desktop-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.hp-store-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hp-store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 12px;
  background: #0f172a; color: #fff !important; text-decoration: none; border: 1px solid #0f172a;
  transition: transform .18s var(--hp-ease), box-shadow .18s var(--hp-ease);
}
.hp-store:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(15,23,42,.55); }
.hp-store > span { display: flex; flex-direction: column; line-height: 1.15; }
.hp-store em { font-style: normal; font-size: .72rem; color: #94a3b8; }
.hp-store b { font: 600 1rem/1.2 var(--hp-body); }
@media (prefers-color-scheme: dark) { .hp-store { background: #f8fafc; color: #0f172a !important; border-color: #f8fafc; } .hp-store em { color: #475569; } }

/* =============================================================================
   FAQ
   ============================================================================= */
.hp-faq { background: var(--hp-bg); }
.hp-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.hp-faq-list { border-top: 1px solid var(--hp-line); }
.hp-qa { border-bottom: 1px solid var(--hp-line); }
.hp-qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 2px; font: 600 1.02rem/1.4 var(--hp-head); color: var(--hp-ink);
}
.hp-qa summary::-webkit-details-marker { display: none; }
.hp-qa summary::after {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--hp-line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round'%3E%3Cline x1='12' y1='6' x2='12' y2='18'/%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .2s var(--hp-ease);
}
.hp-qa[open] summary::after { transform: rotate(45deg); }
.hp-qa summary:hover { color: var(--hp-accent); }
.hp-qa p { padding: 0 40px 22px 2px; font-size: .97rem; line-height: 1.65; color: var(--hp-ink-3); }
.hp-qa a { color: var(--hp-accent) !important; font-weight: 600; text-decoration: none; }

/* =============================================================================
   BOTTOM CTA
   ============================================================================= */
#homepageContent .hp-cta { background: var(--hp-bg); padding: 0 0 96px; text-align: left; }
.hp-cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding: 48px 52px; border-radius: 24px; color: #cbd5e1;
  background:
    radial-gradient(600px 300px at 90% 120%, rgba(16,185,129,.35), transparent 60%),
    linear-gradient(135deg, #064e3b 0%, #065f46 45%, #0b1220 100%);
  box-shadow: var(--hp-shadow-lg);
}
.hp-cta-card .hp-h2 { color: #fff !important; }
.hp-cta-card p { margin-top: 8px !important; font-size: 1.05rem; color: #a7f3d0; }

/* =============================================================================
   FOOTER
   ============================================================================= */
.footer.hp-footer { background: #0b1220 !important; border-top: 1px solid #1e293b !important; padding: 64px 0 0 !important; color: #94a3b8 !important; font-family: var(--hp-body); }
.hp-footer .hp-footer-legacy { display: none !important; }
.hp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.hp-footer-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.hp-footer-logo span { font: 700 1.08rem/1 var(--hp-head); color: #fff; }
.hp-footer-brand p { margin: 14px 0 0; max-width: 320px; font-size: .9rem; line-height: 1.6; color: #94a3b8; }
.hp-footer-col { display: flex; flex-direction: column; gap: 10px; }
.hp-footer-col h3 { margin: 0 0 4px; font: 600 .78rem/1 var(--hp-body); letter-spacing: .1em; text-transform: uppercase; color: #64748b; }
.hp-footer-col a { color: #cbd5e1; text-decoration: none; font-size: .92rem; }
.hp-footer-col a:hover { color: #34d399; }
.hp-footer-bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 22px; padding-bottom: 26px; font-size: .82rem; color: #64748b; }
.hp-footer-bottom::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid #1e293b; }
@media (max-width: 640px) { .hp-footer-bottom::before { left: 16px; right: 16px; } }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1080px) {
  .hp-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hp-hero-copy { max-width: 640px; }
  .hp-hero-visual { max-width: 640px; padding-right: 0; }
  .hp-float-a { left: -10px; } .hp-float-b { right: -6px; }
  .hp-car-prev { left: 10px; } .hp-car-next { right: 10px; }
}
@media (max-width: 920px) {
  .hp-section, #homepageContent .features-section.hp-features { padding: 72px 0 !important; }
  .hp-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-steps-grid { grid-template-columns: 1fr; }
  .hp-privacy-grid, .hp-promo-grid, .hp-desktop-grid, .hp-faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .hp-stats-row { grid-template-columns: repeat(2, 1fr); }
  .hp-stat:nth-child(3) { border-left: 0; }
  .hp-stat:nth-child(n+3) { border-top: 1px solid var(--hp-line); }
  .hp-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hp-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hp-container { padding: 0 16px; }
  #homepageContent #heroSection.hp-hero { padding: 40px 0 48px; }
  .hp-hero-lead { font-size: 1.02rem; }
  #homepageContent .hp-drop { flex-wrap: wrap; padding: 18px; }
  .hp-drop-text { flex-basis: calc(100% - 62px); }
  .hp-drop-btn { width: 100%; }
  .hp-app { grid-template-columns: 1fr; height: 340px; }
  .hp-app-side { display: none; }
  .hp-chat-search { display: none; }
  .hp-float-a { left: 8px; bottom: -6px; }
  .hp-float-b { display: none; }
  .hp-feature-grid { grid-template-columns: 1fr; }
  .hp-feature { padding: 22px; }
  .hp-section, #homepageContent .features-section.hp-features { padding: 56px 0 !important; }
  .hp-head { margin-bottom: 36px; }
  .hp-car-btn { width: 36px; height: 36px; top: calc(50% - 40px); }
  .hp-slide figcaption { padding: 14px 16px 16px; }
  #homepageContent .hp-stat-num { font-size: 1.4rem; }
  .hp-stat { padding: 16px 8px; }
  .hp-cta-card { padding: 32px 24px; }
  .hp-cta-card .hp-btn { width: 100%; }
  #homepageContent .hp-cta { padding-bottom: 56px; }
  .hp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .hp-qa p { padding-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  #homepageContent .hp-carousel-track, .hp-feature, .hp-btn, .hp-store { transition: none !important; }
  .hp-live-dot { animation: none; }
  .hp-feature:hover, .hp-btn:hover, .hp-store:hover { transform: none; }
}

@media (prefers-color-scheme: dark) {
  .site-header .sh-nav a, .site-header .sh-nav a.selected { background: none !important; }
  .site-header .sh-nav a.selected { color: #34d399; }
  #homepageContent .hp-promo { border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); }
}
