/* ============================================================
   PERKSNAVIGATOR - AUTO INSURANCE STATIC REBUILD
   Reference structure mirrored from working oc-150amazon-v2 package
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --blue-900: #14347c;
    --blue-800: #1d2f86;
    --blue-700: #2454cc;
    --blue-100: #dfeeff;
    --blue-050: #eef5ff;
    --green: #25a186;
    --green-dark: #1d8a72;
    --text: #2b3c66;
    --text-dark: #173b87;
    --muted: #5d6d93;
    --border: #dbe6f8;
    --bg: #ffffff;
    --bg-soft: #f7fbff;
    --shadow-lg: 0 28px 65px rgba(29,47,134,0.24);
    --shadow-md: 0 24px 60px rgba(38,69,140,0.08);
    --radius: 18px;
    --radius-xl: 32px;
    --font-display: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 26%, #ffffff 100%);
    line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(219,230,248,0.9);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
}
.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue-700);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
    font-weight: 800;
    font-family: var(--font-display);
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.brand-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #162d6b;
}
.brand-subtitle {
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}
.header-trust {
    display: none;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}
.header-trust img {
    height: 30px;
    width: auto;
}

.hero {
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #dfeeff 18%, #edf5ff 100%);
    padding: 18px 0 28px;
}
.hero-card {
    margin: 0 auto 14px;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.9);
    border-radius: 999px;
    padding: 12px 18px;
    box-shadow: 0 18px 45px rgba(27,62,133,0.10);
}
.hero-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue-700);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}
.hero-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #162d6b;
}
.hero-card-copy {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}
.hero-head {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.hero-eyebrow {
    margin-bottom: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 7vw, 4.8rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    color: var(--blue-900);
}
.hero-grid {
    margin-top: 24px;
    display: grid;
    gap: 20px;
}
.zip-panel {
    border-radius: 2rem;
    background: var(--blue-800);
    color: #fff;
    padding: 28px 22px;
    box-shadow: var(--shadow-lg);
}
.zip-panel h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 18px;
}
.zip-form { display: grid; gap: 14px; }
.zip-input {
    width: 100%;
    height: 64px;
    border-radius: 1.15rem;
    border: 2px solid rgba(255,255,255,0.72);
    background: #fff;
    color: #1f2c59;
    padding: 0 18px;
    font-size: 1.1rem;
    font-weight: 700;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.zip-input:focus {
    border-color: #82d79a;
    box-shadow: 0 0 0 4px rgba(109,213,141,0.28);
}
.submit-btn {
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid #8fd3c5;
    border-radius: 1.15rem;
    background: var(--green);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 18px 35px rgba(37,161,134,0.32);
    transition: background .2s ease, transform .15s ease;
}
.submit-btn:hover { background: var(--green-dark); }
.submit-btn:disabled { opacity: .8; cursor: not-allowed; }
.zip-error {
    min-height: 24px;
    color: #ffe1e1;
    font-size: 0.96rem;
    font-weight: 700;
}
.hero-benefits {
    margin-top: 20px;
    display: grid;
    gap: 14px;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}
.benefit-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    display: grid;
    place-items: center;
    font-size: 0.85rem;
}
.visual-panel {
    position: relative;
    overflow: hidden;
    border-radius: 2.2rem;
    background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.95), rgba(255,255,255,0.25) 38%, rgba(221,236,255,0.62) 72%, rgba(214,230,251,0.85) 100%);
    min-height: 540px;
    display: none;
}
.visual-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
}
.trust-box,
.logo-box {
    position: absolute;
    left: 40px;
    right: 40px;
    border-radius: 1.7rem;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.62);
    backdrop-filter: blur(10px);
}
.trust-box {
    top: 40px;
    padding: 22px 24px;
    box-shadow: 0 18px 40px rgba(32,61,130,0.08);
}
.trust-box p {
    margin-top: 14px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.55;
    color: #2a3b65;
}
.trust-box img { height: 42px; width: auto; }
.logo-box {
    bottom: 34px;
    padding: 26px;
    box-shadow: 0 30px 65px rgba(34,59,118,0.10);
}
.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.logo-card {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.2rem;
    border: 1px solid rgba(255,255,255,0.68);
    background: rgba(255,255,255,0.92);
    padding: 14px;
}
.logo-card img {
    max-height: 54px;
    width: auto;
    object-fit: contain;
}
.mobile-logo-panel {
    margin-top: -4px;
    padding-bottom: 14px;
}
.mobile-logo-inner {
    border: 1px solid #d8e4f7;
    border-radius: 2rem;
    background: #fff;
    padding: 18px 16px;
    box-shadow: 0 22px 50px rgba(39,70,142,0.08);
}
.mobile-trust { display: flex; justify-content: center; }
.mobile-trust img { height: 34px; width: auto; }
.mobile-label {
    margin-top: 12px;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #465882;
}

.section-card {
    padding: 12px 0 44px;
}
.section-shell {
    border: 1px solid var(--border);
    border-radius: 2.2rem;
    background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
    box-shadow: var(--shadow-md);
    padding: 28px 20px;
}
.section-intro {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.section-eyebrow {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #5b6e98;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}
.review-shell {
    margin-top: 28px;
    border-radius: 1.7rem;
    background: #fff;
    box-shadow: 0 18px 50px rgba(40,70,138,0.08);
    overflow: hidden;
}
.review-slide {
    display: none;
    padding: 30px 22px;
}
.review-slide.active { display: block; }
.review-stars {
    display: flex;
    gap: 6px;
    color: #00b67a;
    font-size: 1.1rem;
    margin-bottom: 18px;
}
.review-quote {
    font-size: 1.12rem;
    line-height: 1.8;
    color: #2b3c66;
}
.review-author {
    margin-top: 20px;
}
.review-author strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-dark);
}
.review-author span {
    font-size: 0.98rem;
    color: #65779c;
}
.review-dots {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.review-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 999px;
    background: #c5d4ec;
    cursor: pointer;
    transition: all .2s ease;
}
.review-dot.active {
    width: 32px;
    background: var(--blue-800);
}

.bottom-cta {
    padding: 0 0 40px;
}
.bottom-cta-inner {
    border-radius: 2rem;
    background: var(--blue-800);
    color: #fff;
    padding: 28px 22px;
    box-shadow: var(--shadow-lg);
}
.bottom-cta h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.1;
}
.bottom-cta p {
    margin-top: 10px;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
}
.bottom-form {
    margin-top: 20px;
    display: grid;
    gap: 14px;
}
.bottom-note {
    margin-top: 12px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
}

.site-footer {
    border-top: 1px solid #e2ebf9;
    background: rgba(255,255,255,0.92);
    padding: 28px 0 40px;
}
.footer-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    font-size: 0.97rem;
    font-weight: 700;
    color: #1e3778;
}
.footer-links a {
    text-decoration: none;
    transition: color .2s ease;
}
.footer-links a:hover { color: #35b44b; }
.footer-copy {
    max-width: 860px;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #7a88a8;
}

@media (min-width: 768px) {
    .container { width: min(1120px, calc(100% - 48px)); }
    .section-shell { padding: 34px 30px; }
    .review-slide { padding: 34px 30px; }
    .bottom-cta-inner { padding: 34px 30px; }
}

@media (min-width: 1024px) {
    .header-trust { display: flex; }
    .hero { padding: 22px 0 44px; }
    .hero-grid {
        grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
        gap: 32px;
        align-items: start;
    }
    .zip-panel { padding: 34px 30px; }
    .visual-panel { display: block; }
    .mobile-logo-panel { display: none; }
    .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .section-card { padding: 12px 0 54px; }
    .section-shell { padding: 38px 42px; }
    .review-slide { padding: 38px 42px; }
    .bottom-cta-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
        gap: 34px;
        align-items: center;
        padding: 34px 32px;
    }
    .bottom-form { margin-top: 0; }
}
