* { box-sizing: border-box; margin: 0; padding: 0; }
input, textarea, select { margin: 0; padding: 0; font-family: inherit; }
html { min-height: 100%; }
body { min-height: 100%; overflow-x: clip; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

:root {
    --primary: #141E3A;
    --dark: #141E3A;
    --bg: #fafafa;
    --surface: #ffffff;
    --surface-2: #e8e8e8;
    --border: rgba(20,30,58,0.09);
    --border-hover: rgba(20,30,58,0.35);
    --accent: #141E3A;
    --accent-dim: rgba(20,30,58,0.06);
    --text: #141E3A;
    --text-muted: #888888;
    --text-subtle: #bbbbbb;
    --card: #ffffff;
    --muted: #888888;
}

.container {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
}

.hidden { display: none !important; }
.fade-in { animation: fadeIn 0.6s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}
.brand-logo-icon {
    height: 45px;
    width: 55px;
    display: block;
    object-fit: fill;
    border-radius: 10px;
}
.brand-logo-text {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
}
.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(20,30,58,0.18);
}
.brand-logo {
    height: 46px;
    width: auto;
    display: block;
    object-fit: contain;
    object-position: left center;
}
.brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: -0.02em;
    line-height: 1;
}
.brand-asli {
    color: var(--text);
}
.brand-property {
    color: var(--primary);
}
.accent { color: var(--primary); }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-link {
    border: 0;
    background: var(--primary);
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    padding: 10px 16px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(20,30,58,0.18);
    transition: 0.25s;
}
.nav-link:hover {
    background: #1e2e52;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(20,30,58,0.22);
    color: #fff;
}
.nav-link i { margin-right: 8px; }

/* LAYOUT */
.main { padding: 68px 0 24px; }
.section { padding: 32px 0; }
#step-1-continued { padding: 12px 0 0; margin-bottom: 0; }
#step-1 { padding-top: 10px; }
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: 0 4px 24px rgba(20,30,58,0.04);
}
.glass-card { padding: 40px; }
#step-1 .glass-card {
    padding: 72px 60px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #5b21b6;
}
.pill i { color: #7c3aed; }
.pill-primary { background: rgba(37,99,235,0.08); color: #2563eb; }
.pill-primary i { color: #2563eb; }
.pill-success { background: #ecfdf5; color: #059669; }
.pill-success i { color: #059669; }
.pill-muted { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46; font-weight: 800; }
.pill-muted i { color: #059669; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

.hero-title {
    margin: 16px 0 22px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(20px, 3.6vw, 42px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text);
    white-space: normal;
    word-break: break-word;
}

@media (max-width: 600px) {
    .hero-title {
        font-size: clamp(18px, 5.5vw, 28px);
        line-height: 1.15;
        letter-spacing: -0.02em;
    }
}

.label {
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 8px 4px;
    line-height: 1;
}
label[for="userBudget"], label[for="userLocality"] {
    color: var(--primary);
}
.label-hint {
    font-weight: 800;
    color: var(--text-muted);
}
.label-upload {
    white-space: nowrap;
    letter-spacing: 0.08em;
}
@media (max-width: 520px) {
    .label-upload {
        font-size: 9px;
        letter-spacing: 0.05em;
    }
}
.field {
    width: 100%;
}

.input-field {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    width: 100%;
    margin: 0;
    transition: 0.25s;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    font-size: 14px;
    line-height: 1.4;
    display: block;
}
.input-field::placeholder { color: var(--text-subtle); }
.input-field:focus {
    border-color: rgba(20,30,58,0.4);
    outline: none;
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(20,30,58,0.06);
}
.input-field--error {
    border-color: #e53e3e !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(229,62,62,0.12) !important;
}
.input-field--error:focus {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 4px rgba(229,62,62,0.15) !important;
}
.field-error {
    display: none;
    font-size: 12px;
    font-weight: 600;
    color: #e53e3e;
    margin-top: 5px;
    padding-left: 2px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.01em;
}

.grid { display: grid; row-gap: 18px; column-gap: 18px; align-items: start; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.grid.stats .grid-item { display: flex; flex-direction: column; justify-content: flex-start; }

/* BUTTONS */
.btn {
    border: 0;
    border-radius: 16px;
    padding: 14px 18px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 16px 32px rgba(20,30,58,0.18);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(20,30,58,0.22);
    background: #1e2e52;
}
.btn-wide { width: 100%; margin-top: 14px; }
.btn-lg { padding: 16px 20px; border-radius: 18px; }
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); }

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid rgba(20,30,58,0.15);
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 20px;
    margin-left: 0;
    box-shadow: 0 2px 8px rgba(20,30,58,0.07);
    flex-shrink: 0;
    white-space: nowrap;
}
.btn-back:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateX(-2px);
    box-shadow: 0 6px 18px rgba(20,30,58,0.18);
}
.btn-back i {
    font-size: 12px;
    color: #2563eb;
    transition: transform 0.2s, color 0.2s;
}
.btn-back:hover i {
    transform: translateX(-3px);
    color: #fff;
}

/* RESULTS */
.results-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.results-title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(24px, 3.3vw, 40px);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text);
}
.results-sub { margin: 8px 0 0; color: var(--text-muted); font-weight: 600; }
.audit-cta-header {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.btn-audit-header {
    white-space: normal;
    width: calc(52% - 15px);
    min-width: 280px;
    min-height: 108px;
    padding: 22px 28px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    background: linear-gradient(135deg, #141E3A 0%, #1a5c35 60%, #22c55e 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 28px rgba(20,30,58,0.30), 0 4px 12px rgba(34,197,94,0.20);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-audit-header::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 60%;
    height: 180%;
    background: rgba(255,255,255,0.12);
    transform: rotate(30deg);
    pointer-events: none;
}
.btn-audit-header:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 36px rgba(20,30,58,0.35), 0 6px 16px rgba(34,197,94,0.25);
}

.price-card {
    min-width: 240px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    padding: 18px 18px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(20,30,58,0.2);
}
.price-label { margin: 0 0 8px; font-size: 10px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.price-value { margin: 0; font-size: 30px; font-weight: 900; }

.grid-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px 20px 16px;
    transition: background 0.22s, box-shadow 0.22s, border-color 0.22s, transform 0.22s;
}
#step-2 .grid-3 {
    align-items: stretch;
}
#step-2 .grid-3 > .grid-item,
#step-2 .grid-3 > .transport-item {
    height: 100%;
}
#step-2 .grid-3 > .grid-item {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
/* Blue pop on hover for infra cards (Hospitals, Schools, Malls) */
.grid-item.bordered-left:hover {
    background: #f5f3ff;
    border-color: #8b5cf6;
    box-shadow: 0 8px 28px rgba(139,92,246,0.25);
    transform: translateY(-2px);
    cursor: default;
}
.meta { margin: 0 0 10px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-muted); }
.stat { margin: 0; font-size: 14px; font-weight: 500; color: var(--text); font-family: 'Plus Jakarta Sans', sans-serif; }
.stat-good { color: #10b981; }
.stat-bad { color: #ef4444; }
.stat-accent { color: var(--primary); }
.go111-detail { margin: 6px 0 0; font-size: 11px; line-height: 1.35; font-weight: 800; color: var(--text-muted); }

/* Clickable stat cards */
.stat-card-clickable {
    cursor: pointer;
    transition: background 0.22s, box-shadow 0.22s, border-color 0.22s, transform 0.22s;
}
.stat-card-clickable:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 8px 28px rgba(201,168,76,0.15);
    transform: translateY(-2px);
}
.stat-card-clickable .meta::after {
    content: ' ⓘ';
    font-size: 11px;
    color: var(--text-subtle);
    opacity: 0.7;
}

/* Stat info popup */
.stat-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20,30,58,0.55);
    backdrop-filter: blur(6px);
}
.stat-popup {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 32px 36px;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(20,30,58,0.18);
    animation: fadeIn 0.22s ease-out;
}
.stat-popup-title {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin: 0 0 6px;
}
.stat-popup-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--text);
    margin: 0 0 14px;
}
.stat-popup-desc {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.stat-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: 0;
    background: transparent;
    color: var(--text-subtle);
    cursor: pointer;
    font-size: 20px;
    transition: 0.2s;
}
.stat-popup-close:hover { color: var(--text-muted); }

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 36px 0 20px;
    padding: 0 2px;
}
.section-title i { color: var(--primary); font-size: 18px; }
.section-title h3 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.bordered-left { border-left-width: 4px; }
.bordered-red { border-left-color: #ef4444; }
.bordered-indigo { border-left-color: #339fdd; }
.bordered-blue { border-left-color: #8b5cf6; }
.bordered-teal { border-left-color: #0d9488; }
.bordered-amber { border-left-color: #d97706; }
.bordered-pink { border-left-color: #db2777; }

.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.infra-view-more {
    display: block;
    margin-left: auto;
    margin-top: auto;
    background: none;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.infra-view-more:hover {
    background: rgba(20, 30, 58, 0.07);
    border-color: var(--primary);
}
.head-title { margin: 0; font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; color: #000000; }
.icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.icon-red { background: #fee2e2; color: #dc2626; }
.icon-indigo { background: #e0e7ff; color: #4338ca; }
.icon-blue { background: #ede9fe; color: #7c3aed; }
.icon-orange { background: #ffedd5; color: #ea580c; }
.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-teal { background: #ccfbf1; color: #0d9488; }
.icon-amber { background: #fef3c7; color: #d97706; }
.icon-pink { background: #fce7f3; color: #db2777; }

.infra-list,
.transport-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.infra-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.infra-item {
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    border-left: none;
    padding: 8px 0 8px 22px;
    font-weight: 700;
    color: var(--text);
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.infra-item::before,
.transport-list li::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--primary);
}
.infra-item::before {
    left: 9px;
    top: 17px;
}
.infra-item:last-child { margin-bottom: 0; }
.list-skeleton {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    padding: 4px 0;
}
.empty-note { font-size: 12px; color: var(--text-subtle); font-style: italic; padding: 8px 0; }

.transport {
    margin-top: 24px;
    margin-bottom: 16px;
}
.transport-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 16px 18px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--border);
    transition: background 0.22s, box-shadow 0.22s, border-color 0.22s, transform 0.22s;
    cursor: default;
    min-height: 190px;
}
.transport-item-head {
    display: flex;
    align-items: center;
    gap: 10px;
}
.transport-item:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 8px 28px rgba(201,168,76,0.15);
    transform: translateY(-2px);
}
.transport-item .meta { color: #000000; }
.transport-item-head .meta { margin: 0; }
.transport-item > div {
    min-width: 0;
    width: 100%;
}
.transport-value {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.transport-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-height: 128px;
    overflow-y: auto;
    padding-right: 4px;
}
.transport-list li {
    position: relative;
    padding-left: 46px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.transport-list li::before {
    left: 14px;
    top: 4px;
    background: #f97316;
}

/* TRACKER */
.tracker { text-align: center; padding: 52px 40px; max-width: 480px; margin: 0 auto; }
.tracker-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    border-radius: 9999px;
    background: rgba(20,30,58,0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.tracker-title {
    margin: 6px 0 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--text);
}
.track-result {
    margin-top: 16px;
    padding: 12px 14px;
    background: var(--accent-dim);
    border: 1px solid var(--border-hover);
    color: var(--primary);
    border-radius: 14px;
    font-weight: 800;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 30, 58, 0.78);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal {
    width: min(560px, 100%);
    position: relative;
    padding: 44px 48px;
}
.modal-head { text-align: center; margin-bottom: 24px; }

/* Extra room for the Property Information stage */
#modal-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#modal-details .grid {
    row-gap: 20px;
    column-gap: 20px;
}
#modal-details .input-field {
    padding: 16px 18px;
}
.modal-head h3 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--text);
}
.modal-head p { margin: 8px 0 0; color: var(--text-muted); font-weight: 600; }
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 0;
    background: transparent;
    color: var(--text-subtle);
    cursor: pointer;
    font-size: 22px;
    transition: 0.2s;
}
.modal-close:hover { color: var(--text-muted); }

.otp { display: flex; justify-content: center; gap: 10px; margin: 14px 0 10px; }
.otp-box {
    width: 48px;
    height: 56px;
    border-radius: 14px;
    border: 2px solid var(--border-hover);
    background: var(--surface-2);
    text-align: center;
    font-size: 22px;
    font-weight: 900;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    outline: none;
    transition: 0.2s;
}
.otp-box:focus {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(20,30,58,0.06);
}

.checkout {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    background: var(--accent-dim);
    border: 1px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.checkout-total { margin: 6px 0 0; font-size: 24px; font-weight: 900; color: var(--primary); }
.checkout-right { text-align: right; font-size: 11px; color: var(--text-muted); font-weight: 700; }
.pay-grid { display: grid; gap: 10px; }
.pay-btn {
    width: 100%;
    border: 2px solid var(--border-hover);
    background: var(--surface);
    padding: 14px 14px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 900;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    cursor: pointer;
    transition: 0.2s;
}
.pay-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(20,30,58,0.1);
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    background: #dcfce7;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 10px;
}
.trackbox {
    margin: 16px 0;
    padding: 16px;
    border-radius: 18px;
    background: var(--surface-2);
    border: 1px dashed var(--border-hover);
    text-align: center;
}
.track-id {
    margin: 6px 0 0;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* AD BANNERS */
.ad-banner {
    width: 100%;
    margin: 0 auto 28px auto;
    border-radius: 16px;
    overflow: hidden;
    line-height: 0;
    aspect-ratio: 1480 / 163;
    background: linear-gradient(90deg, #141E3A 0%, #1e2e52 100%);
}
.ad-banner.ad-banner-top {
    margin-bottom: 10px;
    border-radius: 20px;
}
.ad-banner-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 16px;
    object-fit: fill;
    object-position: center center;
}

/* Step-2: true full-viewport-width fill, no card background */
#step-2 {
    position: relative;
    width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    padding: 32px 0 0 0;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    #step-2 {
        width: 100%;
        margin-left: 0;
        padding: 20px 0 0 0;
        overflow-x: hidden;
    }
    .step2-content {
        padding: 0 16px 32px 16px !important;
        overflow-x: hidden;
    }
    .btn-back {
        margin-left: 0;
        position: relative;
        z-index: 1;
    }
    /* Stat card labels: prevent wrapping on small screens */
    #step-2 .grid-item .meta {
        font-size: 10px;
        letter-spacing: 0.06em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 6px;
    }
    #step-2 .grid-item .stat {
        font-size: 18px;
    }
    .grid.stats { gap: 10px; }
    .grid.stats .grid-item { padding: 14px 14px 12px; border-radius: 14px; }
}

/* Strip the card look off the inner glass-card in step-2 */
#step-2 .glass-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.step2-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 100%;
}

/* Content area: centred, max 1100px, like the rest of the site */
.step2-content {
    flex: 1;
    min-width: 0;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 40px 24px;
}

.ad-sidebar {
    width: 248px;
    flex-shrink: 0;
    overflow: hidden;
    align-self: flex-start;
    height: calc(100vh - 88px);
    line-height: 0;
    margin-right: 50px;
    position: sticky;
    top: 88px;
}
.ad-sidebar-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: 1fr; }
    .results-head { flex-direction: column; }
    .price-card { width: 100%; min-width: 0; }
    .ad-sidebar { display: none; }
    .step2-content { padding: 16px 16px 32px 16px; }
}

@media (max-width: 720px) {
    .grid-2 { grid-template-columns: 1fr; }
    .nav-inner { flex-wrap: nowrap; gap: 8px; }
    .nav-actions { display: flex; gap: 4px; order: 2; width: auto; }
    .nav-link { font-size: 0.6rem; padding: 5px 7px; }
    .nav-link i { margin-right: 3px; font-size: 0.6rem; }
    .main { padding-top: 68px; }
    .glass-card { padding: 20px; }
    #step-1 .glass-card { padding: 36px; }
}
/* Align step-1 pill and title with the card */
.step1-header {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#step-1.section {
    padding-top: 8px;
}

/* =============================================
   PRESTIGE LOADER — white full-screen overlay
   ============================================= */
#prestige-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
#prestige-loader.loader-visible {
  opacity: 1;
  pointer-events: all;
}
#prestige-loader .loader-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #141E3A;
  opacity: 1;
  white-space: nowrap;
}
#prestige-loader .loader-percent {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #C4A869;
  opacity: 0.85;
  white-space: nowrap;
  margin-top: -6px;
  transition: color 0.3s ease;
}

/* Loader inner stage — 80px */
#prestige-loader .svg-stage      { width: 80px; height: 80px; position: relative; }
#prestige-loader .ring-track     { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(20,30,58,0.15); }
#prestige-loader .buildings-svg  { position: absolute; inset: 0; width: 100%; height: 100%; }
#prestige-loader .spin-ring      { position: absolute; inset: -4px; border-radius: 50%; border: 3px solid transparent; border-top-color: #141E3A; border-right-color: rgba(20,30,58,0.4); animation: pv-spin 1.8s cubic-bezier(0.4,0,0.2,1) infinite; }
#prestige-loader .spin-ring-inner{ position: absolute; inset: 10px; border-radius: 50%; border: 2px solid transparent; border-bottom-color: #C4A869; border-left-color: rgba(196,168,105,0.45); animation: pv-spin-rev 2.4s cubic-bezier(0.4,0,0.2,1) infinite; }

@keyframes pv-spin     { to { transform: rotate(360deg);  } }
@keyframes pv-spin-rev { to { transform: rotate(-360deg); } }

#prestige-loader .bld-path       { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
#prestige-loader .bld-main       { stroke: #141E3A;                  stroke-width: 2;   animation: pv-draw 2.2s cubic-bezier(0.4,0,0.2,1) forwards infinite; animation-delay: 0.1s; }
#prestige-loader .bld-left       { stroke: rgba(20,30,58,0.75);      stroke-width: 1.5; animation: pv-draw 2.2s cubic-bezier(0.4,0,0.2,1) forwards infinite; animation-delay: 0.4s; }
#prestige-loader .bld-right      { stroke: rgba(20,30,58,0.75);      stroke-width: 1.5; animation: pv-draw 2.2s cubic-bezier(0.4,0,0.2,1) forwards infinite; animation-delay: 0.6s; }
#prestige-loader .bld-accent     { stroke: #C4A869;                  stroke-width: 1.5; animation: pv-draw 1.8s cubic-bezier(0.4,0,0.2,1) forwards infinite; animation-delay: 1.0s; }
#prestige-loader .bld-windows    { stroke: rgba(196,168,105,0.85);   stroke-width: 1;   animation: pv-draw 1.5s ease-out          forwards infinite; animation-delay: 1.3s; }
#prestige-loader .pin-path       { stroke: #C4A869;                  stroke-width: 2;   fill: none; animation: pv-draw 1.2s ease-out forwards infinite; animation-delay: 1.6s; }

@keyframes pv-draw {
  0%   { stroke-dashoffset: 1000; opacity: 0.4; }
  15%  { opacity: 1; }
  80%  { stroke-dashoffset: 0; opacity: 1; }
  90%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* Hide particles and glow-line at small size — too tiny to matter */
#prestige-loader .particles { display: none; }
#prestige-loader .glow-line { display: none; }

/* ── Label hint ── */
.label-hint {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-subtle);
    margin-left: 4px;
}

/* ── Dropzone ── */
.dropzone {
    border: 2px dashed var(--border-hover);
    border-radius: 16px;
    background: rgba(20,30,58,0.02);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    min-height: 110px;
    padding: 8px;
    position: relative;
}
.dropzone:hover,
.dropzone-over {
    border-color: var(--primary);
    background: rgba(20,30,58,0.05);
}
.dropzone-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    gap: 6px;
    pointer-events: none;
}
.dropzone-icon {
    font-size: 28px;
    color: var(--primary);
    opacity: 0.6;
}
.dropzone-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}
.dropzone-link {
    color: var(--primary);
    text-decoration: underline;
}
.dropzone-sub {
    font-size: 11px;
    color: var(--text-subtle);
    text-align: center;
}

/* ── File list ── */
.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
}
.file-icon {
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}
.file-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.file-size {
    font-size: 11px;
    color: var(--text-subtle);
    flex-shrink: 0;
}
.file-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #ef4444;
    font-size: 14px;
    padding: 2px 4px;
    flex-shrink: 0;
    line-height: 1;
}
.file-remove:hover { color: #dc2626; }

/* ── Notes textarea ── */
.input-textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
    font-family: inherit;
}

/* ── GOVERNMENT INTEGRATIONS (Variation B) ───────────── */
.gov-integrations-wrap.gov-v2 {
    margin-top: 48px;
    margin-bottom: 8px;
    padding: 0 24px;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .gov-integrations-wrap.gov-v2 {
        padding: 0 12px;
    }
    .gov-integrations-panel {
        padding: 28px 16px 28px;
        border-radius: 18px;
    }
}
.gov-integrations-panel {
    position: relative;
    border-radius: 28px;
    padding: 56px 52px 52px;
    overflow: hidden;
    background: linear-gradient(152deg, #0f1729 0%, #141e3a 42%, #1a2a4f 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 28px 70px rgba(20, 30, 58, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.gov-integrations-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 88%);
    pointer-events: none;
}
.gov-panel-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 45% at 50% -8%, rgba(59, 130, 246, 0.22), transparent 55%),
        radial-gradient(ellipse 40% 30% at 92% 88%, rgba(16, 185, 129, 0.12), transparent 50%);
}
.gov-integrations-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
}
.gov-v2 .section-label-wrap {
    margin-bottom: 32px;
}
.gov-v2 .gov-pill {
    background: rgba(16, 185, 129, 0.14);
    color: #6ee7b7;
    border: 1px solid rgba(110, 231, 183, 0.28);
}
.gov-section-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 14px;
}
.gov-v2 .gov-section-heading {
    color: #ffffff;
}
.gov-section-sub {
    text-align: center;
    max-width: 540px;
    margin: 0 auto 48px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.65;
}
.gov-v2 .gov-section-sub {
    color: rgba(255, 255, 255, 0.62);
}
.comparison-wrap {
    margin-top: 16px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    width: min(1600px, calc(100% - 16px));
}
.testimonials-wrap {
    margin-top: 48px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px 0;
}
.section-label-wrap { text-align: center; margin-bottom: 14px; }
.section-heading {
    text-align: center;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    color: var(--text);
    margin: 0 0 36px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.accent-orange { color: #f97316; }

.gov-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.gov-card {
    --gov-accent: #2563eb;
    --gov-accent-rgb: 37, 99, 235;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    height: 100%;
    min-height: 80px;
    padding: 20px 20px 20px 24px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    cursor: default;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    transition:
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.gov-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gov-accent), rgba(var(--gov-accent-rgb), 0.45));
    border-radius: 16px 0 0 16px;
}
.gov-card::after {
    content: '';
    position: absolute;
    inset: auto -30% -40% -30%;
    height: 70%;
    background: radial-gradient(ellipse at center bottom, rgba(var(--gov-accent-rgb), 0.08), transparent 68%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gov-card:nth-child(1) { --gov-accent: #3b82f6; --gov-accent-rgb: 59, 130, 246; }
.gov-card:nth-child(2) { --gov-accent: #06b6d4; --gov-accent-rgb: 6, 182, 212; }
.gov-card:nth-child(3) { --gov-accent: #8b5cf6; --gov-accent-rgb: 139, 92, 246; }
.gov-card:nth-child(4) { --gov-accent: #10b981; --gov-accent-rgb: 16, 185, 129; }
.gov-card:nth-child(5) { --gov-accent: #f97316; --gov-accent-rgb: 249, 115, 22; }
.gov-card:nth-child(6) { --gov-accent: #6366f1; --gov-accent-rgb: 99, 102, 241; }
.gov-last-row .gov-card:nth-child(1) { --gov-accent: #0ea5e9; --gov-accent-rgb: 14, 165, 233; }
.gov-last-row .gov-card:nth-child(2) { --gov-accent: #ec4899; --gov-accent-rgb: 236, 72, 153; }
.gov-last-row .gov-card:nth-child(3) { --gov-accent: #16a34a; --gov-accent-rgb: 22, 163, 74; }

/* Last row: spans full grid width, flex-centers the 2 final cards at column width */
.gov-last-row {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.gov-last-row .gov-card {
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
}
.gov-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(var(--gov-accent-rgb), 0.35),
        0 0 28px rgba(var(--gov-accent-rgb), 0.2);
}
.gov-card:hover::after {
    opacity: 1;
}
.gov-card-icon {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #fff;
    background: linear-gradient(145deg, var(--gov-accent), rgba(var(--gov-accent-rgb), 0.72));
    box-shadow: 0 8px 18px rgba(var(--gov-accent-rgb), 0.35);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.gov-card:hover .gov-card-icon {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 12px 24px rgba(var(--gov-accent-rgb), 0.45);
}
.gov-title {
    position: relative;
    z-index: 1;
    flex: 1;
    font-weight: 800;
    font-size: 12.5px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.gov-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 800;
    border-radius: 999px;
    padding: 5px 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.gov-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 rgba(var(--gov-accent-rgb), 0.5);
    animation: govLivePulse 2s ease-in-out infinite;
}
@keyframes govLivePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--gov-accent-rgb), 0.45); }
    50% { box-shadow: 0 0 0 5px rgba(var(--gov-accent-rgb), 0); }
}
.gov-badge.live {
    background: rgba(var(--gov-accent-rgb), 0.1);
    color: var(--gov-accent);
    border: 1px solid rgba(var(--gov-accent-rgb), 0.22);
}
.gov-badge.soon {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #5b21b6;
    border: 1px solid var(--border);
}
@media (max-width: 1024px) {
    .gov-grid {
        grid-template-columns: 1fr;
    }
    .gov-last-row {
        flex-direction: column;
    }
    .gov-last-row .gov-card {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
        height: auto;
    }
}
@media (min-width: 1025px) {
    .gov-last-row .gov-card {
        flex: 0 0 calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }
}
@media (max-width: 720px) {
    .gov-integrations-panel {
        padding: 40px 22px 36px;
        border-radius: 22px;
    }
    .gov-v2 .gov-section-sub {
        margin-bottom: 28px;
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .gov-card {
        padding: 16px 14px 16px 18px;
        min-height: 72px;
    }
    .gov-integrations-panel {
        padding: 32px 16px 32px;
    }
}

/* ── COMPARISON ──────────────────────────────────────── */
.compare-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.compare-card {
    border-radius: 24px;
    padding: 26px 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.compare-without {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 8px 40px rgba(20,30,58,0.06), 0 2px 8px rgba(20,30,58,0.04);
}
.compare-without::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(20,30,58,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.compare-with {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 20px 60px rgba(20,30,58,0.30), 0 4px 16px rgba(20,30,58,0.20);
}
.compare-with::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 55% at 50% -10%, rgba(255,255,255,0.09) 0%, transparent 55%);
    pointer-events: none;
}
.compare-with::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.compare-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    margin: 0 0 18px;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
}
.compare-without .compare-label {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #5b21b6;
    border: 1px solid var(--border);
}
.compare-with .compare-label {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
}
.compare-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    position: relative;
    z-index: 1;
}
/* Two-column: [icon] [text-block (title + desc stacked)] */
.compare-list li {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    column-gap: 11px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.42;
    padding: 7px 0;
    border-bottom: 1px solid;
}
.compare-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.compare-list li:first-child {
    padding-top: 0;
}
.compare-without .compare-list li {
    color: var(--text-muted);
    border-bottom-color: rgba(20,30,58,0.07);
}
.compare-with .compare-list li {
    color: rgba(255,255,255,0.90);
    border-bottom-color: rgba(255,255,255,0.10);
}
/* Text block: wraps title + desc so they stack naturally */
.compare-text-block {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
/* Title — first line of the text block */
.compare-title {
    display: block;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
    font-size: 13px;
}
.compare-without .compare-title { color: var(--text); }
.compare-with .compare-title { color: #fff; }
/* Description — second line, directly below title */
.compare-desc {
    display: block;
    font-weight: 600;
    line-height: 1.40;
    font-size: 12px;
}
.compare-without .compare-desc { color: var(--text-muted); }
.compare-with .compare-desc { color: rgba(255,255,255,0.78); }
.compare-list li strong {
    display: block;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.compare-without .compare-list li strong { color: var(--text); }
.compare-with .compare-list li strong { color: #fff; }
.compare-x {
    color: #ef4444;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.compare-check {
    color: #4ade80;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Responsive: comparison */
@media (max-width: 1024px) {
    .comparison-wrap {
        padding: 0 12px;
        width: calc(100% - 12px);
    }
    .compare-card {
        padding: 24px 28px;
    }
}
@media (max-width: 900px) {
    .comparison-wrap {
        padding: 0 10px;
        width: calc(100% - 10px);
    }
    .compare-wrap {
        gap: 12px;
    }
    .compare-card {
        padding: 22px 22px;
        border-radius: 20px;
    }
}
@media (max-width: 640px) {
    .compare-wrap {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .compare-card {
        padding: 20px 18px;
        border-radius: 18px;
    }
    .compare-list li {
        grid-template-columns: 20px 1fr;
        column-gap: 10px;
        padding: 8px 0;
    }
    .compare-title {
        font-size: 13px;
    }
    .compare-desc {
        font-size: 12px;
    }
}

/* ── TESTIMONIALS ────────────────────────────────────── */
/* Testimonials: unified section — static grid default, marquee on "View More" */
.testimonials-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
}

/* When marquee mode is active, convert grid to a scroll container */
.testimonials-grid.marquee-active {
    display: block;
    overflow: hidden;
}

/* Hide the static cards when marquee is active */
.testimonials-grid.marquee-active .tg-static {
    display: none;
}

/* Marquee track — hidden by default inside grid */
.testimonials-marquee-track {
    display: none;
    gap: 20px;
    width: max-content;
    padding: 12px 0;
}

/* Fade edges when marquee is visible */
.testimonials-grid.marquee-active {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80px, black calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 80px, black calc(100% - 80px), transparent 100%);
}

/* Show and animate the track when parent has marquee-active */
.testimonials-grid.marquee-active .testimonials-marquee-track {
    display: flex;
    animation: marqueeScroll 32s linear infinite;
}

.testimonials-grid.marquee-active .testimonials-marquee-track:hover {
    animation-play-state: paused;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover { border-color: var(--border-hover); box-shadow: 0 8px 24px rgba(20,30,58,0.09); }
.testimonial-stars { display: flex; gap: 3px; color: #f59e0b; font-size: 13px; }
.testimonial-text { font-size: 14px; font-weight: 500; color: var(--text-muted); line-height: 1.65; margin: 0; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.testimonial-name { font-size: 13px; font-weight: 800; color: var(--text); margin: 0 0 2px; }
.testimonial-meta { font-size: 11px; font-weight: 600; color: var(--text-muted); margin: 0; }

/* View More Button */
.testimonials-view-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 0;
}

.btn-view-more-testimonials {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    background: transparent;
    border: 1.5px solid var(--border-hover);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.22s ease;
    letter-spacing: 0.01em;
}
.btn-view-more-testimonials:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(201,168,76,0.06);
}
.btn-view-more-testimonials i {
    font-size: 11px;
    transition: transform 0.3s ease;
}
.btn-view-more-testimonials.open i {
    transform: rotate(180deg);
}

.tm-card {
    width: 320px;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════
   WORLD-CLASS FOOTER
═══════════════════════════════════════════════════════ */

.site-footer {
    margin-top: 80px;
    background: #0B1E3A;
    position: relative;
    overflow: hidden;
}

/* Subtle background texture */
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 10% 20%, rgba(201,168,76,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 90% 80%, rgba(20,130,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* ── TRUST BAR ─────────────────────────────── */
.footer-trust-bar {
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
}
.footer-trust-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    gap: 20px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    cursor: default;
    transition: transform 0.25s;
}
.trust-item:hover { transform: translateY(-2px); }
.trust-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #C9A84C;
    font-size: 16px;
    flex-shrink: 0;
    transition: background 0.25s, box-shadow 0.25s;
}
.trust-item:hover .trust-icon {
    background: rgba(201,168,76,0.18);
    box-shadow: 0 0 18px rgba(201,168,76,0.2);
}
.trust-title {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 2px;
    letter-spacing: 0.01em;
}
.trust-sub {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    margin: 0;
}
.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* ── NEWSLETTER ────────────────────────────── */
.footer-newsletter {
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 52px 0;
    position: relative;
}
.footer-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.newsletter-text { flex: 1; }
.newsletter-heading {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.newsletter-sub {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    margin: 0;
    line-height: 1.6;
    max-width: 440px;
}
.newsletter-form {
    display: flex;
    gap: 0;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}
.newsletter-input {
    width: 280px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.06);
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    outline: none;
    transition: background 0.2s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-input:focus { background: rgba(255,255,255,0.1); }
.newsletter-btn {
    padding: 15px 24px;
    background: #C9A84C;
    border: none;
    color: #0B1E3A;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.25s, gap 0.25s;
    white-space: nowrap;
}
.newsletter-btn:hover { background: #b8962e; gap: 12px; }

/* ── MAIN FOOTER GRID ──────────────────────── */
.footer-main { padding: 56px 0 56px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.3fr 1.2fr;
    gap: 48px;
}

/* ── BRAND COL ─────────────────────────────── */
.footer-brand-col { grid-column: auto; max-width: none; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.footer-logo-icon {
    width: 36px; height: 36px;
    background: #C9A84C;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #0B1E3A;
    font-size: 16px;
}
.footer-logo-text {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
}
.footer-accent { color: #C9A84C; }
.footer-tagline {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.footer-desc {
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
    margin: 0 0 24px;
}
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.18);
    color: #C9A84C;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background 0.2s;
}
.footer-badge:hover { background: rgba(201,168,76,0.15); }

/* ── FOOTER COLS ───────────────────────────── */
.footer-col-title {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #ffffff;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 24px; height: 2px;
    background: #C9A84C;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-link {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
    position: relative;
}
.footer-link i {
    font-size: 9px;
    color: #C9A84C;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.2s, transform 0.2s, width 0.2s;
    transform: translateX(-4px);
}
.footer-link:hover i {
    width: auto;
}
.footer-link:hover { color: #ffffff; gap: 8px; }
.footer-link:hover i { opacity: 1; transform: translateX(0); }
.footer-link--static {
    cursor: default;
    pointer-events: none;
}

/* ── CONTACT ───────────────────────────────── */
.footer-contact-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.footer-contact-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: #C9A84C;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}
.footer-contact-text {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
}
a.footer-contact-text:hover { color: #C9A84C; }

/* ── SOCIALS ───────────────────────────────── */
.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.social-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.social-btn:hover {
    background: #C9A84C;
    color: #0B1E3A;
    border-color: #C9A84C;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(201,168,76,0.3);
}

/* ── BOTTOM BAR ────────────────────────────── */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 22px 0;
    background: rgba(0,0,0,0.15);
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-copy {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    margin: 0;
}
.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-bottom-link {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}
.footer-bottom-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: #C9A84C;
    transition: width 0.25s;
}
.footer-bottom-link:hover { color: #C9A84C; }
.footer-bottom-link:hover::after { width: 100%; }
.footer-powered {
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.06em;
    margin: 0;
}

/* ── FOOTER RESPONSIVE ─────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-brand-col { grid-column: 1 / -1; }
    .footer-trust-inner { flex-wrap: wrap; gap: 24px; }
    .trust-divider { display: none; }
    .footer-newsletter-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
    .newsletter-form { width: 100%; }
    .newsletter-input { flex: 1; width: auto; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .footer-bottom-links { gap: 14px; }
    .trust-item { flex: 0 0 calc(50% - 12px); }
}

/* ═══════════════════════════════════════════════════════════════════
   HOW PROPVERIFY WORKS — Premium Section Styles
═══════════════════════════════════════════════════════════════════ */

/* ── 0. SECTION SHELL ─────────────────────────────────────────────── */
.hpw-section {
  position: relative;
  background: linear-gradient(180deg,
    #f0f2f8 0%,
    #e8ecf5 40%,
    #edf0f8 70%,
    #f0f2f8 100%);
  overflow: hidden;
  padding: 0;
}
.hpw-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(20,30,58,0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.hpw-section::after {
  content: '';
  position: absolute;
  top: 15%;
  left: -10%;
  width: 55%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(20,30,58,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: hpwGlob 12s ease-in-out infinite alternate;
}
@keyframes hpwGlob {
  from { transform: translateX(0) scale(1); }
  to   { transform: translateX(5%) scale(1.08); }
}

/* ── DIVIDERS ─────────────────────────────────────────────────────── */
.hpw-divider-top,
.hpw-divider-bot {
  position: relative;
  z-index: 1;
  line-height: 0;
  height: 24px;
}
.hpw-divider-top { margin-bottom: -2px; }
.hpw-divider-bot { margin-top: -2px; }
.hpw-divider-top svg,
.hpw-divider-bot svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── INNER WRAPPER ────────────────────────────────────────────────── */
.hpw-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 8px;
}

/* ── SECTION HEADER ───────────────────────────────────────────────── */
.hpw-header {
  text-align: center;
  margin-bottom: 72px;
}
.hpw-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(20,30,58,0.07);
  border: 1px solid rgba(20,30,58,0.10);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #141E3A;
  margin-bottom: 20px;
}
.hpw-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #141E3A;
  animation: hpwDotPulse 2.4s ease-in-out infinite;
}
@keyframes hpwDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
.hpw-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 4.5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #141E3A;
  margin: 0 0 16px;
  line-height: 1.05;
}
.hpw-title-asli {
  color: #141E3A;
  position: relative;
  display: inline-block;
}
.hpw-title-property {
  color: #1a7a35;
  position: relative;
  display: inline-block;
}
.hpw-title-accent {
  position: relative;
  display: inline-block;
}
.hpw-title-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #141E3A, rgba(20,30,58,0.35));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: hpwUnderline 0.8s 0.6s cubic-bezier(0.34,1.2,0.64,1) forwards;
}
@keyframes hpwUnderline {
  to { transform: scaleX(1); }
}
.hpw-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 500;
  color: #888888;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

/* ── LAYOUT ───────────────────────────────────────────────────────── */
.hpw-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
}

/* ── VERTICAL NAV SIDEBAR ─────────────────────────────────────────── */
.hpw-nav {
  position: sticky;
  top: 88px;
  padding: 8px 0;
}
.hpw-nav-track {
  position: absolute;
  left: 13px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: rgba(20,30,58,0.10);
  border-radius: 2px;
  overflow: hidden;
}
.hpw-nav-line {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #141E3A 0%, rgba(20,30,58,0.5) 100%);
  border-radius: 2px;
  transition: height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.hpw-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hpw-nav-item { position: relative; }
.hpw-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 12px 10px 36px;
  border-radius: 14px;
  text-align: left;
  transition: background 0.22s ease, transform 0.22s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
}
.hpw-nav-btn:hover {
  background: rgba(20,30,58,0.06);
  transform: translateX(2px);
}
.hpw-nav-btn::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(20,30,58,0.25);
  background: #f0f2f8;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.34,1.6,0.64,1);
  z-index: 1;
}
.hpw-nav-item.hpw-nav-active .hpw-nav-btn::before {
  background: #141E3A;
  border-color: #141E3A;
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 0 0 4px rgba(20,30,58,0.12);
}
.hpw-nav-item.hpw-nav-done .hpw-nav-btn::before {
  background: #10b981;
  border-color: #10b981;
}
.hpw-nav-num {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(20,30,58,0.35);
  transition: color 0.3s;
  flex-shrink: 0;
}
.hpw-nav-item.hpw-nav-active .hpw-nav-num { color: #141E3A; }
.hpw-nav-item.hpw-nav-done .hpw-nav-num   { color: #10b981; }
.hpw-nav-label {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(20,30,58,0.45);
  transition: color 0.3s;
  line-height: 1.3;
}
.hpw-nav-item.hpw-nav-active .hpw-nav-label { color: #141E3A; }
.hpw-nav-item.hpw-nav-done .hpw-nav-label   { color: rgba(20,30,58,0.6); }
.hpw-nav-check {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: transparent;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s, transform 0.4s cubic-bezier(0.34,1.6,0.64,1);
}
.hpw-nav-item.hpw-nav-done .hpw-nav-check {
  background: #dcfce7;
  color: #059669;
  transform: scale(1.1);
}

/* Per-item progress (autoplay) */
.hpw-nav-progress {
  position: absolute;
  left: 36px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 9999px;
  background: rgba(20,30,58,0.08);
  overflow: hidden;
  pointer-events: none;
}
.hpw-nav-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--hpw-progress, 0%);
  background: linear-gradient(90deg, #141E3A 0%, rgba(20,30,58,0.55) 100%);
  border-radius: 9999px;
  transition: width 0.18s linear;
}
.hpw-nav-item.hpw-nav-done .hpw-nav-progress::after {
  width: 100% !important;
  background: linear-gradient(90deg, #10b981 0%, rgba(16,185,129,0.6) 100%);
}
.hpw-nav-item.hpw-nav-active .hpw-nav-progress {
  background: rgba(20,30,58,0.10);
}

/* ── PANELS ───────────────────────────────────────────────────────── */
.hpw-panels {
  position: relative;
  /* Reserve enough height so the CTA strip doesn't overlap */
  min-height: 520px;
}
.hpw-panel {
  /* Keep all panels mounted to avoid layout thrash during transitions */
  display: grid;
  position: absolute;
  inset: 0;
  grid-template-columns: 1fr 1.55fr;
  gap: 48px;
  /* Align to top so mockups start flush */
  align-items: start;
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  pointer-events: none;
  will-change: transform, opacity;
}
.hpw-panel.hpw-panel-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  animation: hpwPanelIn 0.5s cubic-bezier(0.34,1.1,0.64,1) both;
}
.hpw-panel.hpw-panel-exit {
  animation: hpwPanelOut 0.5s ease forwards;
  pointer-events: none;
}
@keyframes hpwPanelIn {
  from { opacity: 0; transform: translateY(24px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hpwPanelOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-16px); }
}

/* Disable HPW transitions for immediate init */
.hpw-section.hpw-no-anim .hpw-panel,
.hpw-section.hpw-no-anim .hpw-nav-line,
.hpw-section.hpw-no-anim .hpw-nav-progress::after {
  transition: none !important;
  animation: none !important;
}

/* ── PANEL CONTENT ────────────────────────────────────────────────── */
.hpw-panel-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hpw-step-meta { display: flex; align-items: center; gap: 10px; }
.hpw-step-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(20,30,58,0.07);
  border: 1px solid rgba(20,30,58,0.10);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #141E3A;
}
.hpw-step-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #141E3A;
  margin: 0;
  line-height: 1.1;
}
.hpw-step-desc {
  font-size: 15px;
  font-weight: 500;
  color: #888888;
  line-height: 1.7;
  margin: 0;
}
.hpw-feature-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hpw-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #141E3A;
}
.hpw-feature-list li i { color: #10b981; font-size: 15px; flex-shrink: 0; }

/* Step 06: reward badge */
.hpw-delivered-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.22);
  color: #059669;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hpw-delivered-badge i { font-size: 12px; }

/* ── BROWSER MOCKUP ───────────────────────────────────────────────── */
.hpw-mockup-wrap { position: relative; }
.hpw-browser {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 2px 0 rgba(20,30,58,0.06),
    0 8px 32px rgba(20,30,58,0.10),
    0 24px 64px rgba(20,30,58,0.08),
    0 0 0 1px rgba(20,30,58,0.07);
  animation: hpwBrowserFloat 6s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hpwBrowserFloat {
  from { transform: translateY(0px); }
  to   { transform: translateY(-8px); }
}
.hpw-browser-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f5f5f7;
  border-bottom: 1px solid rgba(20,30,58,0.07);
}
.hpw-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.hpw-dot-r { background: #ff5f57; }
.hpw-dot-y { background: #febc2e; }
.hpw-dot-g { background: #28c840; }
.hpw-url-bar {
  flex: 1;
  background: rgba(20,30,58,0.05);
  border: 1px solid rgba(20,30,58,0.08);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(20,30,58,0.55);
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 320px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}
.hpw-url-icon { color: #10b981; font-size: 9px; }
.hpw-browser-body { overflow: hidden; }
.hpw-screen {
  min-height: 380px;
  padding: 20px;
  position: relative;
  background: #fafafa;
  overflow: hidden;
}

/* Remove top/bottom "breathing room" around the screenshot block */
.hpw-mockup-wrap {
  margin-top: 0;
  margin-bottom: 0;
}
.hpw-panel.hpw-panel-active .hpw-mockup-wrap {
  transform: translateY(0);
}

/* Reward browser: slightly more premium depth */
.hpw-browser.hpw-browser-reward {
  box-shadow:
    0 2px 0 rgba(20,30,58,0.06),
    0 10px 36px rgba(20,30,58,0.12),
    0 30px 90px rgba(20,30,58,0.12),
    0 0 0 1px rgba(20,30,58,0.08);
}

/* ── STEP 1: SEARCH ───────────────────────────────────────────────── */
.hpw-screen-search { background: #fafafa; }
.hpw-ss-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(20,30,58,0.07);
}
.hpw-ss-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 13px;
  color: #141E3A;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hpw-ss-shield {
  width: 22px; height: 22px;
  background: #141E3A; color: #fff;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-style: normal;
}
.hpw-ss-nav-btns { display: flex; gap: 6px; }
.hpw-ss-nav-btn { height: 22px; width: 72px; background: #141E3A; border-radius: 7px; opacity: 0.9; }
.hpw-ss-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase;
  color: #141E3A; background: rgba(20,30,58,0.06); border-radius: 9999px;
  padding: 4px 10px; margin-bottom: 8px;
}
.hpw-ss-pill-dot {
  width: 5px; height: 5px; background: #141E3A; border-radius: 50%;
  animation: hpwDotPulse 2s ease-in-out infinite;
}
.hpw-ss-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 900; color: #141E3A;
  letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.2;
}
.hpw-ss-card {
  background: #ffffff; border: 1px solid rgba(20,30,58,0.08);
  border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 2px 12px rgba(20,30,58,0.06);
}
.hpw-search-highlight { animation: hpwCardGlow 3s ease-in-out infinite; }
@keyframes hpwCardGlow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(20,30,58,0.10), 0 8px 24px rgba(20,30,58,0.06); }
  50%       { box-shadow: 0 0 0 2px rgba(20,30,58,0.22), 0 12px 32px rgba(20,30,58,0.10); }
}
.hpw-ss-fields { display: flex; flex-direction: column; gap: 10px; }
.hpw-ss-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hpw-ss-field { display: flex; flex-direction: column; gap: 4px; }
.hpw-ss-field-full { grid-column: 1 / -1; }
.hpw-ss-label { font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.14em; color: #141E3A; }
.hpw-ss-input {
  font-size: 11px; font-weight: 600; color: #141E3A;
  background: #e8e8e8; border: 1px solid rgba(20,30,58,0.08);
  border-radius: 9px; padding: 7px 10px;
  display: flex; align-items: center; gap: 2px;
}
.hpw-input-active { background: #fff; border-color: rgba(20,30,58,0.35); box-shadow: 0 0 0 3px rgba(20,30,58,0.06); }
.hpw-field-glow .hpw-ss-input { animation: hpwFieldPulse 2.5s ease-in-out infinite; }
@keyframes hpwFieldPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(20,30,58,0.06); }
  50%       { box-shadow: 0 0 0 5px rgba(20,30,58,0.11); }
}
.hpw-cursor-blink {
  display: inline-block; width: 1px; background: #141E3A; height: 12px;
  margin-left: 1px; animation: hpwBlink 1.1s step-end infinite; vertical-align: middle;
}
@keyframes hpwBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hpw-ss-btn {
  background: #141E3A; color: #fff; border-radius: 10px;
  padding: 10px 14px; font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: default;
  /* Reposition inside mock card (avoid looking like it overlays screenshot) */
  align-self: flex-end;
  margin-top: 10px;
  width: fit-content;
}
.hpw-animated-cursor {
  position: absolute; bottom: 126px; right: 44px;
  pointer-events: none; animation: hpwCursorMove 4s ease-in-out infinite;
  z-index: 10; filter: drop-shadow(0 2px 6px rgba(20,30,58,0.25));
}
@keyframes hpwCursorMove {
  0%   { transform: translate(0, 0) scale(1); }
  30%  { transform: translate(-40px, -30px) scale(1); }
  50%  { transform: translate(-40px, -30px) scale(0.9); }
  70%  { transform: translate(-40px, -30px) scale(1); }
  100% { transform: translate(0, 0) scale(1); }
}
.hpw-zoom-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 65%, rgba(20,30,58,0.04) 0%, transparent 70%);
  pointer-events: none; animation: hpwZoomGlow 3s ease-in-out infinite alternate;
}
@keyframes hpwZoomGlow {
  from { opacity: 0.4; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.03); }
}

/* ── STEP 2: MAP ──────────────────────────────────────────────────── */
.hpw-screen-map { background: #e8eff7; padding: 0; overflow: hidden; }
.hpw-map-bg { position: relative; width: 100%; height: 100%; min-height: 360px; }
.hpw-map-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20,30,58,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20,30,58,0.07) 1px, transparent 1px);
  background-size: 36px 36px;
}
.hpw-road { position: absolute; background: rgba(255,255,255,0.75); }
.hpw-road-h { left: 0; right: 0; height: 6px; }
.hpw-road-v { top: 0; bottom: 0; width: 6px; }
.hpw-marker {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 3px; z-index: 2; cursor: default;
}
.hpw-marker-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #141E3A; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(20,30,58,0.35);
}
.hpw-marker-main .hpw-marker-dot { width: 16px; height: 16px; }
.hpw-marker-blue .hpw-marker-dot   { background: #3b82f6; }
.hpw-marker-green .hpw-marker-dot  { background: #10b981; }
.hpw-marker-orange .hpw-marker-dot { background: #f97316; }
.hpw-marker-purple .hpw-marker-dot { background: #8b5cf6; }
.hpw-marker-label {
  font-size: 9px; font-weight: 800; color: #141E3A;
  background: rgba(255,255,255,0.92); padding: 2px 7px; border-radius: 6px;
  white-space: nowrap; box-shadow: 0 1px 4px rgba(20,30,58,0.12); letter-spacing: 0.03em;
}
.hpw-marker-pulse {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(20,30,58,0.4); animation: hpwPulse 2.2s ease-out infinite;
}
@keyframes hpwPulse {
  0%   { transform: translate(-50%,-50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(2.4); opacity: 0; }
}
.hpw-radius-ring {
  position: absolute; width: 160px; height: 160px; border-radius: 50%;
  border: 1.5px dashed rgba(20,30,58,0.22); transform: translate(-50%, -50%);
  pointer-events: none; animation: hpwRingRotate 20s linear infinite;
}
@keyframes hpwRingRotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hpw-marker:nth-child(5) { animation: hpwMarkerIn 0.5s 0.1s both; }
.hpw-marker:nth-child(6) { animation: hpwMarkerIn 0.5s 0.25s both; }
.hpw-marker:nth-child(7) { animation: hpwMarkerIn 0.5s 0.4s both; }
.hpw-marker:nth-child(8) { animation: hpwMarkerIn 0.5s 0.55s both; }
.hpw-marker:nth-child(9) { animation: hpwMarkerIn 0.5s 0.7s both; }
@keyframes hpwMarkerIn {
  from { opacity: 0; transform: translate(-50%,-50%) scale(0.4); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.hpw-map-stats {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.95); border: 1px solid rgba(20,30,58,0.09);
  border-radius: 14px; padding: 10px 16px;
  box-shadow: 0 4px 20px rgba(20,30,58,0.12); backdrop-filter: blur(8px);
}
.hpw-map-stat {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 0 14px; border-right: 1px solid rgba(20,30,58,0.08);
}
.hpw-map-stat:last-child { border-right: none; }
.hpw-map-stat-val { font-size: 14px; font-weight: 900; color: #141E3A; letter-spacing: -0.02em; }
.hpw-stat-green { color: #10b981; }
.hpw-map-stat-lbl { font-size: 8px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }

/* ── STEP 3: LEGAL ────────────────────────────────────────────────── */
.hpw-screen-legal { background: #fafafa; padding: 20px; }
.hpw-legiscore-wrap {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid rgba(20,30,58,0.07);
}
.hpw-legiscore { position: relative; width: 80px; height: 80px; flex-shrink: 0; }
.hpw-ls-ring { width: 80px; height: 80px; }
.hpw-ls-progress { animation: hpwRingFill 1.2s 0.3s cubic-bezier(0.4,0,0.2,1) both; }
@keyframes hpwRingFill {
  from { stroke-dashoffset: 213.6; }
  to   { stroke-dashoffset: 43; }
}
.hpw-ls-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hpw-ls-val { font-size: 18px; font-weight: 900; color: #141E3A; letter-spacing: -0.02em; line-height: 1; }
.hpw-ls-lbl { font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: #888; margin-top: 2px; }
.hpw-ls-status { display: flex; flex-direction: column; gap: 6px; }
.hpw-verify-check {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: #dcfce7; border: 1px solid rgba(16,185,129,0.25);
  color: #059669; border-radius: 9999px; font-size: 11px; font-weight: 800;
}
.hpw-check-animate { animation: hpwCheckBounce 0.6s 0.8s cubic-bezier(0.34,1.6,0.64,1) both; }
@keyframes hpwCheckBounce {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.hpw-legal-rows { display: flex; flex-direction: column; gap: 8px; }
.hpw-legal-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: #fff; border: 1px solid rgba(20,30,58,0.07);
  border-radius: 12px; animation: hpwRowIn 0.4s both;
}
.hpw-legal-row:nth-child(1) { animation-delay: 0.05s; }
.hpw-legal-row:nth-child(2) { animation-delay: 0.15s; }
.hpw-legal-row:nth-child(3) { animation-delay: 0.25s; }
.hpw-legal-row:nth-child(4) { animation-delay: 0.35s; }
@keyframes hpwRowIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hpw-lr-pass { border-left: 3px solid #10b981; }
.hpw-lr-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: #dcfce7; color: #059669;
  display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0;
}
.hpw-lr-info { flex: 1; min-width: 0; }
.hpw-lr-title { font-size: 11px; font-weight: 800; color: #141E3A; letter-spacing: -0.01em; }
.hpw-lr-sub { font-size: 9px; font-weight: 600; color: #888; margin-top: 1px; }
.hpw-lr-badge { font-size: 9px; font-weight: 800; padding: 3px 8px; border-radius: 9999px; flex-shrink: 0; letter-spacing: 0.05em; }
.hpw-badge-green  { background: #dcfce7; color: #059669; }
.hpw-badge-blue   { background: rgba(20,30,58,0.07); color: #141E3A; }
.hpw-badge-orange { background: #fff7ed; color: #ea580c; }

/* ── STEP 4: PAYMENT ──────────────────────────────────────────────── */
.hpw-screen-payment {
  background: linear-gradient(135deg, #f8f9fc 0%, #eef1f8 100%);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.hpw-pay-card {
  width: 100%; max-width: 340px; background: #ffffff;
  border: 1px solid rgba(20,30,58,0.09); border-radius: 20px; padding: 22px;
  box-shadow: 0 8px 40px rgba(20,30,58,0.10); position: relative; overflow: hidden;
}
.hpw-pay-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(20,30,58,0.07);
}
.hpw-pay-logo { font-family: 'Playfair Display', serif; font-size: 12px; font-weight: 900; color: #141E3A; display: flex; align-items: center; gap: 6px; }
.hpw-pay-secure { font-size: 9px; font-weight: 800; color: #10b981; display: flex; align-items: center; gap: 4px; letter-spacing: 0.05em; }
.hpw-pay-title { font-size: 14px; font-weight: 900; color: #141E3A; margin-bottom: 2px; letter-spacing: -0.01em; }
.hpw-pay-desc { font-size: 10px; color: #888; font-weight: 600; margin-bottom: 16px; }
.hpw-pay-breakdown { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.hpw-pay-row { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 600; color: #888; }
.hpw-pay-total { font-size: 14px; font-weight: 900; color: #141E3A; padding-top: 8px; border-top: 1px solid rgba(20,30,58,0.08); }
.hpw-pay-badges { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.hpw-pay-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 8px; font-weight: 800; color: #141E3A;
  background: rgba(20,30,58,0.05); border: 1px solid rgba(20,30,58,0.08);
  padding: 4px 8px; border-radius: 9999px; letter-spacing: 0.04em;
}
.hpw-pay-btn {
  background: #141E3A; color: #fff; border-radius: 12px; padding: 12px 16px;
  font-size: 12px; font-weight: 800; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  letter-spacing: 0.02em; cursor: default;
}
.hpw-pay-btn-animate { animation: hpwBtnShine 4s ease-in-out infinite; }
@keyframes hpwBtnShine {
  0%, 100% { box-shadow: 0 4px 16px rgba(20,30,58,0.22); }
  50%       { box-shadow: 0 8px 28px rgba(20,30,58,0.35); }
}
.hpw-pay-success {
  position: absolute; inset: 0; background: rgba(255,255,255,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease; border-radius: 20px;
}
.hpw-pay-success.hpw-success-show { opacity: 1; }
.hpw-success-ring {
  position: absolute; width: 80px; height: 80px;
  border: 3px solid #10b981; border-radius: 50%;
  animation: hpwSuccessRing 0.6s ease-out both;
}
@keyframes hpwSuccessRing {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.hpw-success-icon {
  font-size: 36px; color: #10b981;
  animation: hpwSuccessIcon 0.5s 0.3s cubic-bezier(0.34,1.6,0.64,1) both;
}
@keyframes hpwSuccessIcon {
  from { transform: scale(0.3); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ── STEP 5: TRACK ────────────────────────────────────────────────── */
.hpw-screen-track { background: #fafafa; padding: 20px; }
.hpw-track-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(20,30,58,0.07);
}
.hpw-track-label { font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.14em; color: #888; margin-bottom: 3px; }
.hpw-track-id { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 900; color: #141E3A; letter-spacing: -0.01em; }
.hpw-track-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; color: #141E3A;
  background: rgba(20,30,58,0.06); padding: 6px 12px; border-radius: 9999px;
}
.hpw-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #f97316; animation: hpwDotPulse 1.6s ease-in-out infinite; }
.hpw-track-steps { display: flex; flex-direction: column; margin-bottom: 14px; }
.hpw-ts-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; position: relative; }
.hpw-ts-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: #e8e8e8; color: #888;
  display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; z-index: 1;
}
.hpw-ts-done .hpw-ts-icon   { background: #dcfce7; color: #059669; }
.hpw-ts-active .hpw-ts-icon { background: rgba(20,30,58,0.08); color: #141E3A; }
.hpw-ts-spin i { display: inline-block; animation: hpwSpinIcon 1.4s linear infinite; }
@keyframes hpwSpinIcon { to { transform: rotate(360deg); } }
.hpw-ts-icon-pending { background: rgba(20,30,58,0.04) !important; color: #ccc !important; }
.hpw-ts-info { flex: 1; min-width: 0; }
.hpw-ts-name { font-size: 11px; font-weight: 800; color: #141E3A; }
.hpw-ts-pending .hpw-ts-name { color: #bbb; }
.hpw-ts-time { font-size: 9px; font-weight: 600; color: #888; margin-top: 1px; }
.hpw-ts-badge {
  font-size: 8px; font-weight: 800; padding: 3px 8px;
  border-radius: 9999px; background: rgba(20,30,58,0.06); color: #888; flex-shrink: 0;
}
.hpw-ts-badge.hpw-badge-green  { background: #dcfce7; color: #059669; }
.hpw-ts-badge.hpw-badge-orange { background: #fff7ed; color: #ea580c; }
.hpw-ts-line { width: 2px; height: 18px; background: rgba(20,30,58,0.10); margin-left: 12px; border-radius: 2px; }
.hpw-ts-line-done   { background: #10b981; }
.hpw-ts-line-active { background: linear-gradient(180deg, #10b981 0%, rgba(20,30,58,0.2) 100%); }
.hpw-download-row {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-radius: 12px; background: rgba(20,30,58,0.04);
  border: 1.5px dashed rgba(20,30,58,0.15);
  font-size: 11px; font-weight: 700; color: #141E3A; cursor: default;
}
.hpw-download-highlight { animation: hpwDlGlow 2.5s ease-in-out infinite; }
@keyframes hpwDlGlow {
  0%, 100% { border-color: rgba(20,30,58,0.15); background: rgba(20,30,58,0.04); }
  50%       { border-color: rgba(20,30,58,0.28); background: rgba(20,30,58,0.07); }
}
.hpw-dl-soon {
  margin-left: auto; font-size: 8px; font-weight: 900;
  letter-spacing: 0.12em; text-transform: uppercase; color: #888;
  background: rgba(20,30,58,0.06); padding: 3px 8px; border-radius: 9999px;
}

/* ── STEP 6: REPORT REWARD ────────────────────────────────────────── */
.hpw-screen-report {
  background: radial-gradient(ellipse 70% 60% at 50% 10%, rgba(16,185,129,0.10) 0%, transparent 55%),
              linear-gradient(135deg, #f8f9fc 0%, #eef2fb 100%);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hpw-report-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hpw-report-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(20,30,58,0.10);
  color: #059669;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
.hpw-report-chip i { font-size: 12px; }
.hpw-report-score {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(20,30,58,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(20,30,58,0.10);
  overflow: hidden;
}
.hpw-report-score-ring {
  position: absolute;
  inset: -20px;
  background: conic-gradient(from 180deg, rgba(16,185,129,0.95), rgba(16,185,129,0.15), rgba(16,185,129,0.95));
  opacity: 0.22;
  animation: hpwScoreSpin 6s linear infinite;
}
@keyframes hpwScoreSpin { to { transform: rotate(360deg); } }
.hpw-report-score-val {
  font-size: 30px;
  font-weight: 900;
  color: #141E3A;
  letter-spacing: -0.03em;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.hpw-report-score-lbl {
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(20,30,58,0.55);
  margin-top: 4px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.hpw-report-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(20,30,58,0.10);
  border-radius: 20px;
  padding: 16px 16px 14px;
  box-shadow: 0 14px 40px rgba(20,30,58,0.12);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.hpw-report-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 20% 10%, rgba(20,30,58,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.hpw-report-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.hpw-report-title {
  font-size: 14px;
  font-weight: 900;
  color: #141E3A;
  letter-spacing: -0.01em;
}
.hpw-report-sub {
  font-size: 10px;
  font-weight: 600;
  color: #888;
  margin-top: 2px;
}
.hpw-report-pill {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 9999px;
  background: rgba(20,30,58,0.06);
  border: 1px solid rgba(20,30,58,0.10);
  color: #141E3A;
  flex-shrink: 0;
}
.hpw-report-preview {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.hpw-report-page {
  height: 86px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  border: 1px solid rgba(20,30,58,0.10);
  box-shadow: 0 6px 18px rgba(20,30,58,0.10);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  animation: hpwPageFloat 3.2s ease-in-out infinite;
}
.hpw-rp-1 { animation-delay: 0s; }
.hpw-rp-2 { animation-delay: 0.2s; }
.hpw-rp-3 { animation-delay: 0.4s; }
@keyframes hpwPageFloat {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-6px); }
}
.hpw-report-page::after {
  content: '';
  position: absolute;
  inset: 14px 12px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(20,30,58,0.08), rgba(20,30,58,0.02)),
    repeating-linear-gradient(180deg, rgba(20,30,58,0.10) 0 2px, transparent 2px 8px);
  opacity: 0.35;
}
.hpw-report-insights {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.hpw-insight {
  background: rgba(20,30,58,0.04);
  border: 1px solid rgba(20,30,58,0.08);
  border-radius: 14px;
  padding: 10px 10px;
}
.hpw-insight-k {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20,30,58,0.55);
}
.hpw-insight-v {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #141E3A;
}
.hpw-insight-v.hpw-good { color: #059669; }
.hpw-insight-v.hpw-warn { color: #ea580c; }
.hpw-report-actions {
  margin-top: 12px;
  position: relative;
  z-index: 1;
}
.hpw-report-download {
  width: 100%;
  background: #141E3A;
  color: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: default;
  box-shadow: 0 10px 26px rgba(20,30,58,0.22);
  transition: transform 0.25s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.25s ease, background 0.25s ease;
}
.hpw-report-download-pressed {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 8px 18px rgba(20,30,58,0.16);
  background: #1e2e52;
}
.hpw-report-success {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.hpw-report-success.hpw-success-show { opacity: 1; }
.hpw-report-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse 55% 35% at 50% 80%, rgba(16,185,129,0.12) 0%, transparent 60%);
  pointer-events: none;
  animation: hpwRewardGlow 3.5s ease-in-out infinite alternate;
}
@keyframes hpwRewardGlow {
  from { opacity: 0.45; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.03); }
}

/* ── FLOAT CARDS ──────────────────────────────────────────────────── */
.hpw-float-card {
  position: absolute; display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; background: rgba(255,255,255,0.96);
  border: 1px solid rgba(20,30,58,0.09); border-radius: 12px;
  box-shadow: 0 4px 16px rgba(20,30,58,0.10);
  font-size: 11px; font-weight: 700; color: #141E3A;
  backdrop-filter: blur(8px); pointer-events: none; z-index: 4; white-space: nowrap;
}
.hpw-float-card i { color: #141E3A; font-size: 12px; }
.hpw-float-tl { top: -14px; left: -16px; animation: hpwFloatCardTL 5s ease-in-out infinite alternate; }
.hpw-float-br { bottom: -14px; right: -16px; animation: hpwFloatCardBR 5s 1.5s ease-in-out infinite alternate; }
@keyframes hpwFloatCardTL { from { transform: translateY(0px) rotate(-1deg); } to { transform: translateY(-6px) rotate(1deg); } }
@keyframes hpwFloatCardBR { from { transform: translateY(0px) rotate(1deg); } to { transform: translateY(-6px) rotate(-1deg); } }

/* ── MOBILE DOTS ──────────────────────────────────────────────────── */
.hpw-mobile-dots { display: none; justify-content: center; gap: 8px; margin-top: 20px; margin-bottom: 8px; position: relative; z-index: 10; }
.hpw-dot-btn {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(20,30,58,0.18); cursor: pointer; padding: 0;
  transition: background 0.3s, transform 0.3s cubic-bezier(0.34,1.6,0.64,1), width 0.3s;
}
.hpw-dot-btn-active { background: #141E3A; width: 24px; border-radius: 4px; transform: scale(1.1); }

/* ── CTA STRIP ────────────────────────────────────────────────────── */
.hpw-cta-strip {
  margin-top: 20px; display: flex; align-items: center; justify-content: center;
  gap: 24px; padding: 20px 40px;
  background: transparent; border: none;
  border-radius: 0; flex-wrap: wrap;
}
.hpw-cta-text { font-size: 18px; font-weight: 800; color: #141E3A; letter-spacing: -0.01em; margin: 0; }

/* ── SCROLL REVEAL ────────────────────────────────────────────────── */
.hpw-reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.34,1.1,0.64,1); }
.hpw-reveal.hpw-visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hpw-panels { min-height: 580px; }
  .hpw-inner { padding: 56px 0 32px; }
  .hpw-header { margin-bottom: 48px; }
  .hpw-layout { grid-template-columns: 1fr; gap: 32px; }
  .hpw-nav { position: static; display: none; }
  .hpw-mobile-dots { display: flex; }
  .hpw-panel.hpw-panel-active { grid-template-columns: 1fr; gap: 18px; }
  .hpw-panel-content { order: 2; }
  .hpw-mockup-wrap { order: 1; }
  .hpw-float-tl, .hpw-float-br { display: none; }
  .hpw-cta-strip { margin-top: 24px; padding: 24px; flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .hpw-panels { min-height: 560px; height: 560px; }
  .hpw-panel { position: absolute; inset: 0; }
  .hpw-mobile-dots { margin-top: 12px; }
  .hpw-inner { width: calc(100% - 32px); padding: 40px 0 28px; }
  .hpw-title { font-size: 26px; }
  .hpw-subtitle { font-size: 14px; }
  .hpw-header { margin-bottom: 36px; }
  .hpw-step-title { font-size: 22px; }
  .hpw-step-desc { font-size: 14px; }
  .hpw-browser { border-radius: 12px; }
  .hpw-screen { min-height: 300px; padding: 16px; }
  .hpw-ss-row { grid-template-columns: 1fr; }
  .hpw-cta-strip { border-radius: 16px; }
  .hpw-cta-text { font-size: 15px; }
  .hpw-animated-cursor { display: none; }
  .hpw-map-stats { flex-direction: column; gap: 6px; }
  .hpw-map-stat { border-right: none; border-bottom: 1px solid rgba(20,30,58,0.08); }
  .hpw-map-stat:last-child { border-bottom: none; }
  .hpw-report-preview { grid-template-columns: 1fr; }
  .hpw-report-insights { grid-template-columns: 1fr; }
  .hpw-report-score { width: 90px; height: 90px; border-radius: 20px; }
  /* Step 6: shrink report mockup so it doesn't overlap CTA strip */
  .hpw-screen-report { padding: 6px 8px; gap: 4px; }
  .hpw-report-top { gap: 6px; }
  .hpw-report-chip { padding: 3px 7px; font-size: 8px; gap: 4px; }
  .hpw-report-chip i { font-size: 9px; }
  .hpw-report-score { width: 52px; height: 52px; border-radius: 10px; }
  .hpw-report-score-val { font-size: 15px; }
  .hpw-report-score-lbl { font-size: 4.5px; margin-top: 1px; }
  .hpw-report-card { padding: 6px 8px; gap: 5px; border-radius: 10px; }
  .hpw-report-card-head { gap: 4px; padding-bottom: 4px; }
  .hpw-report-pill { font-size: 7px; padding: 2px 6px; }
  .hpw-report-title { font-size: 9px; }
  .hpw-report-sub { font-size: 7.5px; }
  .hpw-report-preview { height: 22px; gap: 3px; margin: 0; }
  .hpw-report-page { border-radius: 3px; }
  .hpw-report-insights { gap: 4px; padding: 5px 6px; border-radius: 8px; }
  .hpw-insight { gap: 3px; }
  .hpw-insight-k { font-size: 6.5px; }
  .hpw-insight-v { font-size: 8px; }
  .hpw-report-actions { margin-top: 1px; }
  .hpw-report-download { padding: 5px 8px; font-size: 8px; border-radius: 7px; gap: 4px; }
  .hpw-report-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gov-live-dot { animation: none; }
  .hpw-browser, .hpw-float-card, .hpw-marker-pulse, .hpw-radius-ring,
  .hpw-animated-cursor, .hpw-section::after, .hpw-zoom-glow,
  .hpw-pill-dot, .hpw-ss-pill-dot, .hpw-cursor-blink,
  .hpw-search-highlight, .hpw-ls-progress, .hpw-pay-btn-animate,
  .hpw-download-highlight,
  .hpw-report-page,
  .hpw-report-score-ring,
  .hpw-report-glow { animation: none !important; transition: none !important; }
}


/* INFRA MODAL */
.infra-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(20,30,58,0.48);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.infra-modal-overlay.open { display: flex; }
.infra-modal-box {
    background: #fff;
    border-radius: 24px;
    width: min(520px, 100%);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(20,30,58,0.22);
    animation: infraModalIn 0.28s cubic-bezier(0.34,1.56,0.64,1) forwards;
    overflow: hidden;
}
@keyframes infraModalIn {
    from { opacity:0; transform:scale(0.88) translateY(20px); }
    to   { opacity:1; transform:scale(1) translateY(0); }
}
.infra-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 16px;
    border-bottom: 1px solid rgba(20,30,58,0.08);
    flex-shrink: 0;
}
.infra-modal-title-wrap { display:flex; align-items:center; gap:12px; }
.infra-modal-icon {
    width:40px; height:40px; border-radius:12px;
    display:inline-flex; align-items:center; justify-content:center;
    font-size:16px; flex-shrink:0;
}
.infra-modal-title {
    font-size:17px; font-weight:800; color:#141E3A; margin:0; letter-spacing:-0.01em;
}
.infra-modal-close {
    width:34px; height:34px; border-radius:10px;
    border:1.5px solid rgba(20,30,58,0.12);
    background:rgba(20,30,58,0.04); color:#141E3A;
    cursor:pointer; display:inline-flex; align-items:center;
    justify-content:center; font-size:15px; transition:0.18s; flex-shrink:0;
}
.infra-modal-close:hover { background:#141E3A; color:#fff; border-color:#141E3A; }
.infra-modal-list {
    list-style:none; padding:16px 22px 22px; margin:0;
    overflow-y:auto; display:flex; flex-direction:column; gap:10px;
}
.infra-modal-item {
    display:flex; align-items:center; gap:12px;
    padding:18px 14px; border-radius:12px;
    background:rgba(20,30,58,0.025); border:1px solid rgba(20,30,58,0.07);
    font-size:13.5px; font-weight:600; color:#141E3A;
    line-height:1.45; transition:background 0.15s;
    min-height:56px;
}
.infra-modal-item:hover { background:rgba(20,30,58,0.055); }
.infra-modal-num {
    width:22px; height:22px; border-radius:7px;
    background:rgba(20,30,58,0.09); color:#141E3A;
    font-size:11px; font-weight:900;
    display:inline-flex; align-items:center; justify-content:center;
    flex-shrink:0; margin-top:1px;
}
@media (max-width:600px) {
    .infra-modal-box { border-radius:18px; }
    .infra-modal-title { font-size:15px; }
}
/* ══════════════════════════════════════════════
   TRUST PATH SECTION  (Image 1 — "Your path to safe investment")
   ══════════════════════════════════════════════ */
.trust-path-section {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 36px;
    box-shadow: 0 4px 24px rgba(20,30,58,0.06);
    position: relative;
    min-height: 140px;
}

/* reveal animation */
.ap-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.ap-reveal.ap-visible {
    opacity: 1;
    transform: translateY(0);
}
.ap-reveal-step {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease var(--step-delay, 0s),
                transform 0.45s ease var(--step-delay, 0s);
}
.ap-visible .ap-reveal-step {
    opacity: 1;
    transform: translateY(0);
}

.trust-path-left {
    flex: 0 0 200px;
    padding-right: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}
.trust-path-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.trust-path-rule {
    width: 36px;
    height: 3px;
    border-radius: 4px;
    background: #5B4FCF;
}
.trust-path-divider {
    width: 1px;
    height: 100px;
    background: var(--border);
    flex-shrink: 0;
    margin-right: 36px;
}
.trust-path-steps {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    gap: 0;
}
.trust-path-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    min-width: 100px;
}
.trust-step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.trust-step-circle:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}
.trust-step-check {
    position: absolute;
    bottom: -3px;
    right: -3px;
    font-size: 16px;
    color: #fff;
    background: #10B981;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid #fff;
}
.trust-path-connector {
    flex: 1;
    height: 3px;
    background: rgba(20,30,58,0.08);
    margin: 0 4px;
    margin-bottom: 0;
    align-self: flex-start;
    margin-top: 30px;
    min-width: 24px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.trust-connector-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg,
        #5B4FCF 0%,
        #0CA8A8 33%,
        #F59E0B 66%,
        #10B981 100%
    );
    animation: connectorFlow 2.2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(91,79,207,0.7), 0 0 16px rgba(12,168,168,0.4);
}
@keyframes connectorFlow {
    0%   { left: -100%; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}
.trust-step-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1.3;
}
.trust-step-sub {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .trust-path-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px 20px;
    }
    .trust-path-divider { display: none; }
    .trust-path-left { flex: none; padding-right: 0; }
    .trust-path-title { font-size: 20px; }
    .trust-path-steps { width: 100%; gap: 0; justify-content: space-between; flex-wrap: nowrap; overflow: visible; }
    .trust-path-step { min-width: 0; flex: 1 1 0; max-width: 80px; }
    .trust-step-circle { width: 48px; height: 48px; font-size: 18px; }
    .trust-step-title { font-size: 11px; }
    .trust-step-sub { font-size: 10px; }
    .trust-path-connector { min-width: 6px; flex: 0 1 20px; }
}

/* ══════════════════════════════════════════════
   AUDIT COVERAGE PIE CHART  (Image 2 — dark card)
   ══════════════════════════════════════════════ */
.audit-coverage-section {
    margin-top: 28px;
    border-radius: 20px;
    background: #141E3A;
    padding: 36px 40px;
    box-shadow: 0 8px 40px rgba(20,30,58,0.18);
    --reveal-delay: 0.1s;
    transition-delay: var(--reveal-delay);
}
.audit-coverage-inner {
    max-width: 100%;
}
.audit-coverage-label {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 8px;
}
.audit-coverage-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    line-height: 1.3;
}
.audit-price-accent {
    color: #fff;
    font-weight: 900;
}
.audit-coverage-body {
    display: flex;
    align-items: center;
    gap: 24px;
}
/* Left column: donut + stats beside */
.audit-left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
/* Donut chart */
.audit-donut-wrap {
    position: relative;
    flex-shrink: 0;
    width: 180px;
    height: 180px;
}
.audit-donut-svg {
    width: 180px;
    height: 180px;
    transform: rotate(-90deg);
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.25));
}
.audit-donut-seg {
    stroke-linecap: butt;
    transition: stroke-dashoffset 0.9s cubic-bezier(0.23,1,0.32,1),
                opacity 0.4s ease;
    /* gap between segments */
    stroke-dasharray: 71.3 441.8;
}
/* initial hidden state for animation */
.audit-donut-seg.seg-hidden {
    stroke-dasharray: 0 441.8 !important;
}
.audit-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.audit-donut-num {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.03em;
}
.audit-donut-lbl {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Legend */
.audit-legend {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}
.audit-legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.audit-legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    flex-shrink: 0;
}
.audit-legend-name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    flex: 1;
}
.audit-legend-badge {
    font-size: 11.5px;
    font-weight: 700;
    color: #10B981;
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: 8px;
    padding: 3px 10px;
    letter-spacing: 0.02em;
}

/* Footer caption */
.audit-coverage-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
}

@media (max-width: 768px) {
    .audit-coverage-section { padding: 24px 20px; }
    .audit-coverage-title { font-size: 18px; }
    .audit-coverage-body { flex-direction: column; gap: 28px; }
    .audit-donut-wrap { width: 150px; height: 150px; }
    .audit-donut-svg { width: 150px; height: 150px; }
    .audit-donut-num { font-size: 30px; }
    .audit-legend { gap: 12px; }
    .audit-legend-name { font-size: 13px; }
}

/* ══════════════════════════════════════════════════════════
   INVESTMENT RETURN SNAPSHOT  (#irs-section)
   ══════════════════════════════════════════════════════════ */

.irs-section {
    background: var(--bg, #fafafa);
    padding: 72px 0;
}

/* Two-column layout */
.irs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ── LEFT ── */
.irs-header {
    margin-bottom: 28px;
}
.irs-label {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5B4FCF;
    background: rgba(91,79,207,0.08);
    border: 1px solid rgba(91,79,207,0.18);
    border-radius: 9999px;
    padding: 4px 12px;
    margin-bottom: 14px;
}
.irs-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary, #141E3A);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 12px;
}
.irs-subtitle {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted, #888);
    line-height: 1.6;
    margin-bottom: 16px;
}
.irs-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary, #141E3A);
    background: rgba(20,30,58,0.06);
    border: 1px solid rgba(20,30,58,0.1);
    border-radius: 9999px;
    padding: 5px 14px;
}
.irs-location-pill--dark {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 11px;
}

/* 2×2 cards */
.irs-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.irs-card {
    background: var(--surface, #fff);
    border: 1px solid var(--border, rgba(20,30,58,0.09));
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 2px 12px rgba(20,30,58,0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    cursor: default;
}
.irs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(20,30,58,0.1);
    border-color: rgba(91,79,207,0.25);
}
.irs-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.irs-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
}
.irs-icon-indigo { background: linear-gradient(135deg, #5B4FCF, #7c6fe0); }
.irs-icon-teal   { background: linear-gradient(135deg, #0CA8A8, #0dd5d5); }
.irs-icon-amber  { background: linear-gradient(135deg, #F59E0B, #fbbf24); }
.irs-icon-green  { background: linear-gradient(135deg, #10B981, #34d399); }

/* Badges */
.irs-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 8px;
    padding: 3px 9px;
    white-space: nowrap;
}
.irs-badge-strong  { background: rgba(91,79,207,0.1);  color: #5B4FCF; }
.irs-badge-modhigh { background: rgba(12,168,168,0.1); color: #0CA8A8; }
.irs-badge-lowmed  { background: rgba(245,158,11,0.1); color: #d97706; }
.irs-badge-good    { background: rgba(16,185,129,0.1); color: #10B981; }

.irs-card-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--primary, #141E3A);
    margin-bottom: 6px;
    line-height: 1.3;
}
.irs-card-desc {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted, #888);
    line-height: 1.55;
    margin: 0;
}

/* ── RIGHT — Dashboard ── */
.irs-dashboard {
    background: var(--primary, #141E3A);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 12px 48px rgba(20,30,58,0.2);
    color: #fff;
}
.irs-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.irs-dash-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

/* Circular score */
.irs-score-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}
.irs-score-ring {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 10px;
}
.irs-ring-svg {
    width: 130px;
    height: 130px;
}
.irs-ring-progress {
    transition: stroke-dashoffset 1.2s cubic-bezier(0.23,1,0.32,1);
}
.irs-score-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    padding-top: 36px;
}
.irs-score-num {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
}
.irs-score-denom {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
}
.irs-score-caption {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-align: center;
    max-width: 200px;
    line-height: 1.5;
}

/* Analysis rows */
.irs-analysis {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 20px;
}
.irs-analysis-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.irs-analysis-icon {
    width: 22px;
    text-align: center;
    font-size: 13px;
    flex-shrink: 0;
}
.irs-analysis-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    width: 100px;
    flex-shrink: 0;
}
.irs-bar-wrap {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.1);
    border-radius: 9999px;
    overflow: hidden;
}
.irs-bar {
    height: 100%;
    border-radius: 9999px;
    width: 0;
    transition: width 1s cubic-bezier(0.23,1,0.32,1) 0.3s;
}
.irs-analysis-val {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    width: 68px;
    text-align: right;
}
.irs-val-strong  { color: #a5b4fc; }
.irs-val-modhigh { color: #5eead4; }
.irs-val-lowmed  { color: #fcd34d; }

/* Key highlight pills */
.irs-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.irs-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 9999px;
    padding: 5px 12px;
    transition: background 0.2s ease;
}
.irs-highlight-pill:hover {
    background: rgba(255,255,255,0.14);
}

/* CTA */
.irs-cta-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 8px;
}
.irs-cta-sub {
    text-align: center;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    margin-bottom: 20px;
}

/* Footer note */
.irs-dash-footer {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.irs-dash-footer i {
    margin-top: 2px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.3);
}
.irs-dash-footer strong {
    color: rgba(255,255,255,0.7);
    font-weight: 800;
}

/* Responsive */
@media (max-width: 900px) {
    .irs-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .irs-title { font-size: 26px; }
}
@media (max-width: 540px) {
    .irs-section { padding: 48px 0; }
    .irs-cards { grid-template-columns: 1fr; }
    .irs-title { font-size: 22px; }
    .irs-dashboard { padding: 24px 18px; }
    .irs-analysis-row { gap: 6px; }
    .irs-analysis-label { width: 68px; font-size: 10.5px; }
    .irs-analysis-val { width: auto; min-width: 0; font-size: 9px; white-space: normal; text-align: right; line-height: 1.2; }
}

/* Bar animation on scroll */
/* .irs-section.irs-bars-animated .irs-bar — width is set inline; transition handles the rest */

/* ── IRS wrapper inside step-2 (no extra padding needed, uses existing container) ── */
.irs-wrap {
    margin-top: 36px;
    padding: 36px 32px;
    background: var(--surface, #fff);
    border: 1px solid var(--border, rgba(20,30,58,0.09));
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(20,30,58,0.06);
}
@media (max-width: 600px) {
    .irs-wrap { padding: 20px 14px; }
}

/* ── Audit Coverage — Marketing CTA block ── */
.audit-cta-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 22px 28px;
    background: linear-gradient(135deg, rgba(91,79,207,0.18) 0%, rgba(16,185,129,0.12) 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
}
.audit-cta-text { flex: 1; min-width: 180px; }
.audit-cta-tagline {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.audit-cta-sub {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    line-height: 1.55;
    margin: 0;
}
.audit-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #5B4FCF, #10B981);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border: none;
    border-radius: 12px;
    padding: 13px 22px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(91,79,207,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: -0.01em;
}
.audit-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(91,79,207,0.45);
}
.audit-cta-price {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.02em;
}
@media (max-width: 540px) {
    .audit-cta-block { flex-direction: column; align-items: flex-start; padding: 18px; }
    .audit-cta-btn { width: 100%; justify-content: center; }
}

/* ── Audit coverage stats row ── */
.audit-stats-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 16px 24px;
}
.audit-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.audit-stat-num {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
}
.audit-stat-lbl {
    font-size: 10.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    text-align: center;
    letter-spacing: 0.02em;
}
.audit-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}
@media (max-width: 540px) {
    .audit-stats-row { padding: 12px; gap: 0; }
    .audit-stat-num { font-size: 17px; }
    .audit-stat-lbl { font-size: 9px; }
}

/* ── 3-col cards mobile fix ── */
@media (max-width: 700px) {
    .irs-cards { grid-template-columns: 1fr; }
}

/* ── Audit coverage right column (legend + stats) ── */
.audit-right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Stats 2x2 grid beside donut */
.audit-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    flex-shrink: 0;
    align-self: stretch;
    height: 180px;
}
.audit-stat-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.audit-stat-box .audit-stat-num {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
}
.audit-stat-box .audit-stat-lbl {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    text-align: center;
    letter-spacing: 0.02em;
}
@media (max-width: 600px) {
    .audit-right-col { gap: 14px; }
    .audit-stats-grid { grid-template-columns: repeat(4,1fr); }
    .audit-stat-box { padding: 10px 8px; }
    .audit-stat-box .audit-stat-num { font-size: 15px; }
}
/* ══════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVENESS FIX
   ══════════════════════════════════════════════ */

/* ── Hero title wrapping on mobile ── */
@media (max-width: 600px) {
    .hero-title {
        white-space: normal !important;
        word-break: break-word;
    }
}

/* ── Step 1 glass card full width on mobile ── */
@media (max-width: 520px) {
    #step-1 .glass-card {
        padding: 24px 16px;
        border-radius: 18px;
    }
    .glass-card { padding: 16px; }
}

/* ── Nav on very small screens ── */
@media (max-width: 400px) {
    .nav-inner { padding: 8px 0; }
    .brand-logo { height: 36px; }
}

/* ── Results / Step 2 full width ── */
@media (max-width: 600px) {
    .results-title {
        font-size: clamp(18px, 5.5vw, 26px);
        word-break: break-word;
        white-space: normal;
    }
    .results-head { flex-direction: column; align-items: flex-start; }
    .results-sub { font-size: 13px; }
    .audit-cta-header { width: 100%; }
    .btn-audit-header { width: 100%; text-align: center; justify-content: center; }
    #step-2 .glass-card { padding: 0 16px; }
    .pills { flex-wrap: wrap; gap: 6px; }
    .pill { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ── Trust path steps — smaller circles on very small screens ── */
@media (max-width: 400px) {
    .trust-path-steps { gap: 0; }
    .trust-step-circle { width: 40px; height: 40px; font-size: 15px; }
    .trust-path-step { min-width: 0; }
    .trust-step-title { font-size: 10px; }
    .trust-step-sub { font-size: 9px; }
    .trust-path-connector { min-width: 4px; flex: 0 1 12px; }
}

/* ── Audit coverage dark card ── */
@media (max-width: 600px) {
    .audit-coverage-body {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .audit-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        height: auto;
    }
    .audit-donut-wrap { width: 140px; height: 140px; }
    .audit-donut-svg { width: 140px; height: 140px; }
    .audit-donut-num { font-size: 28px; }
    .audit-legend { width: 100%; }
    .audit-cta-block { flex-direction: column; align-items: flex-start; padding: 16px; }
    .audit-cta-btn { width: 100%; justify-content: center; }
}

/* ── IRS wrap (Investment Insights) ── */
@media (max-width: 600px) {
    .irs-wrap { padding: 16px 12px; margin-top: 20px; overflow: hidden; }
    .irs-layout { grid-template-columns: 1fr; gap: 20px; }
    .irs-cards { grid-template-columns: 1fr; gap: 10px; }
    .irs-title { font-size: 20px; }
    .irs-card { padding: 14px 12px; }
    .irs-left { overflow: hidden; }
    .irs-right { overflow: hidden; }
    .irs-dashboard { padding: 18px 14px; overflow: hidden; }
    .irs-score-ring { width: 100px; height: 100px; }
    .irs-ring-svg { width: 100px; height: 100px; }
    .irs-score-num { font-size: 30px; }
    .irs-analysis-row { gap: 4px; overflow: hidden; }
    .irs-analysis-label { width: 70px; font-size: 10px; flex-shrink: 0; line-height: 1.2; }
    .irs-bar-wrap { flex: 1; min-width: 0; }
    .irs-analysis-val { width: 56px; min-width: 56px; font-size: 8.5px; flex-shrink: 0; text-align: right; white-space: normal; line-height: 1.15; overflow: visible; }
    .irs-highlights { gap: 6px; }
    .irs-highlight-pill { font-size: 10px; padding: 4px 9px; }
    .irs-location-pill--dark { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 380px) {
    .irs-cards { grid-template-columns: 1fr; }
    .irs-analysis-label { width: 70px; }
}

/* ── Gov integration grid ── */
@media (max-width: 600px) {
    .gov-grid {
        gap: 14px;
    }
    .gov-card {
        padding: 14px 16px 14px 18px;
        gap: 12px;
        min-height: 68px;
    }
    .gov-grid .gov-card:nth-child(6) .gov-title { font-size: 11px; }
    .gov-last-row {
        gap: 14px;
    }
}
@media (max-width: 380px) {
    .gov-grid { gap: 12px; }
    .gov-last-row { gap: 12px; }
}

/* ── Comparison section ── */
@media (max-width: 640px) {
    .compare-wrap { gap: 16px; flex-direction: column; }
    .compare-card { min-width: 0; width: 100%; }
}

/* ── HPW section ── */
@media (max-width: 600px) {
    .hpw-cta-strip { flex-direction: column; text-align: center; padding: 16px; gap: 14px; }
    .hpw-cta-text { font-size: 16px; }
}

/* ── Testimonials ── */
@media (max-width: 600px) {
    .testimonials-wrap { padding: 0 10px 16px; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── Footer ── */
@media (max-width: 600px) {
    .footer-main { padding: 32px 0; }
    .footer-trust-inner { flex-direction: column; gap: 12px; align-items: stretch; }
    .trust-item { 
        flex: 1 1 100%; 
        padding: 12px 16px;
        background: rgba(255,255,255,0.04);
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.07);
        gap: 12px;
        align-items: center;
    }
    .trust-icon { width: 38px; height: 38px; flex-shrink: 0; }
    .trust-title { font-size: 13px; }
    .trust-sub { font-size: 11px; }
    .trust-divider { display: none; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 380px) {
    .footer-cols { grid-template-columns: 1fr; }
}

/* ── General overflow guard (mobile only) ── */
@media (max-width: 600px) {
    body, .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    .main {
        max-width: 100%;
    }
    #step-2 {
        padding-top: 16px;
    }
}

/* ── TRANSLATE BUTTON ─────────────────────────────────────── */
.nav-translate-btn {
    background: rgba(20,30,58,0.06) !important;
    border: 1px solid rgba(20,30,58,0.15) !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    white-space: nowrap;
}
.nav-translate-btn:hover {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}
.nav-translate-btn.te-active {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}
/* ── TELUGU TRANSLATED CONTENT DISPLAY ─────────────────────── */
.te-text { display: none; }
.te-mode .te-text { display: inline; }
.te-mode .en-text { display: none; }
/* For block-level elements */
.te-block { display: none; }
.te-mode .te-block { display: block; }
.te-mode .en-block { display: none; }
/* Notification bar for translate mode */
.te-notify-bar {
    display: none;
    background: var(--primary);
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 16px;
    letter-spacing: 0.02em;
    z-index: 201;
    position: relative;
}
.te-mode .te-notify-bar { display: block; }
/* ── FIX: Prevent compare cards from moving on hover ── */
.compare-card,
.compare-card:hover,
.compare-without,
.compare-without:hover,
.compare-with,
.compare-with:hover {
    transform: none !important;
    transition: box-shadow 0.22s ease, border-color 0.22s ease !important;
}

/* Mobile HPW stability fix: reserve a fixed stage so step changes never push the form below. */
@media (max-width: 640px) {
    .hpw-layout {
        display: block;
    }

    .hpw-panels {
        position: relative;
        height: 650px !important;
        min-height: 650px !important;
    }

    .hpw-panel {
        position: absolute;
        inset: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        opacity: 0;
        transform: none !important;
        pointer-events: none;
        animation: none !important;
    }

    .hpw-panel.hpw-panel-active {
        opacity: 1;
        pointer-events: auto;
    }

    .hpw-panel-content {
        order: 2;
        gap: 12px;
        min-width: 0;
    }

    .hpw-mockup-wrap {
        order: 1;
        width: 100%;
        min-width: 0;
    }

    .hpw-browser {
        width: 100%;
        max-width: 100%;
        animation: none;
    }

    .hpw-browser-body,
    .hpw-screen {
        width: 100%;
        min-width: 0;
    }

    .hpw-screen {
        min-height: auto;
    }

    .hpw-feature-list li {
        align-items: flex-start;
        line-height: 1.35;
    }

    .hpw-cta-strip {
        margin-top: 18px;
        clear: both;
    }

    .gov-grid > .gov-card {
        grid-column: auto !important;
    }
}

@media (max-width: 420px) {
    .hpw-panels {
        height: 700px !important;
        min-height: 700px !important;
    }

    .hpw-inner {
        width: calc(100% - 24px);
    }

    .hpw-browser-chrome {
        padding: 8px 10px;
        gap: 6px;
    }

    .hpw-dot {
        width: 8px;
        height: 8px;
    }

    .hpw-url-bar {
        min-width: 0;
        padding: 5px 8px;
        font-size: 9px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hpw-track-header,
    .hpw-download-row {
        align-items: flex-start;
        gap: 8px;
    }

    .hpw-track-header {
        flex-direction: column;
    }

    .hpw-download-row {
        flex-wrap: wrap;
    }

    .hpw-dl-soon {
        margin-left: 0;
    }
}