/* ==========================================================================
   Homepage Redesign CSS — Phase 2: Hero + Products
   zip-codes.com — April 2026
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-redesign {
    background:
        radial-gradient(circle at 1px 1px, rgba(148,163,184,0.38) 1.2px, transparent 0) 0 0 / 32px 32px,
        radial-gradient(ellipse at 30% 70%, rgba(59,130,246,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139,92,246,0.06) 0%, transparent 40%),
        linear-gradient(135deg, #1e293b 0%, #2d3a4e 50%, #3b4a5e 100%);
    padding: 3.5rem 0 2.5rem;
    color: #f8fafc;
    overflow: hidden;
}

.hero-redesign__eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #93c5fd;
    border: 1px solid rgba(94,234,212,0.3);
    border-radius: 100px;
    padding: 0.375rem 1rem;
    margin-bottom: 1.25rem;
}

.hero-redesign__h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    color: #f8fafc;
    margin-bottom: 1rem;
}
.hero-redesign__h1 .font-caveat {
    color: #93c5fd;
}

.hero-redesign__sub {
    font-size: 1.125rem;
    color: #94a3b8;
    max-width: 520px;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

/* CTAs */
.hero-redesign__ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.hero-redesign__cta-primary {
    display: inline-block;
    background: #e42707;
    color: #fff;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
}
.hero-redesign__cta-primary:hover {
    background: #c92206;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(228,39,7,0.3);
    text-decoration: none;
}

.hero-redesign__cta-secondary {
    display: inline-block;
    background: transparent;
    color: #e2e8f0;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.2s ease;
}
.hero-redesign__cta-secondary:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    text-decoration: none;
}

.hero-redesign__subtext {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.625rem;
    margin-bottom: 1.5rem;
}

/* Trust chips */
.hero-redesign__chips {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.hero-redesign__chip {
    font-size: 0.8125rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.hero-redesign__chip i {
    color: #93c5fd;
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   2. TERMINAL / API DEMO
   -------------------------------------------------------------------------- */
.hero-redesign__terminal {
    background: #1e293b;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    overflow: hidden;
}

.hero-redesign__terminal-bar {
    background: #0f172a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-redesign__terminal-bar .dot-red,
.hero-redesign__terminal-bar .dot-yellow,
.hero-redesign__terminal-bar .dot-green {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.hero-redesign__terminal-bar .dot-red { background: #ef4444; }
.hero-redesign__terminal-bar .dot-yellow { background: #eab308; }
.hero-redesign__terminal-bar .dot-green { background: #22c55e; }
.hero-redesign__terminal-bar .terminal-title {
    font-size: 0.75rem;
    color: #64748b;
    margin-left: 0.5rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

.hero-redesign__terminal-input {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-redesign__terminal-input label {
    font-size: 0.75rem;
    color: #93c5fd;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    white-space: nowrap;
    margin: 0;
}
.hero-redesign__terminal-field {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.875rem;
    padding: 0.375rem 0.625rem;
    width: 100%;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.hero-redesign__terminal-field:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(228,39,7,0.25);
}
.hero-redesign__terminal-field::placeholder {
    color: #475569;
}

.hero-redesign__terminal-body {
    padding: 1rem;
    max-height: 280px;
    overflow-y: auto;
}
.hero-redesign__terminal-body pre {
    margin: 0;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: #e2e8f0;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Syntax highlighting */
.json-key { color: #93c5fd; }
.json-string { color: #fbbf24; }
.json-number { color: #60a5fa; }
.json-boolean { color: #c084fc; }
.json-null { color: #64748b; }
.json-redacted { color: #475569; font-style: italic; }

.hero-redesign__terminal-status {
    padding: 0.5rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.6875rem;
}
.hero-redesign__terminal-status .status-ok { color: #22c55e; }
.hero-redesign__terminal-status .status-latency { color: #64748b; }

/* Rate limit message */
.api-demo-ratelimit {
    text-align: center;
    padding: 2rem 1rem;
    color: #94a3b8;
}
.api-demo-ratelimit p { margin-bottom: 1rem; }
.api-demo-ratelimit a {
    color: #93c5fd;
    text-decoration: underline;
}

/* Auto-type cursor */
.hero-redesign__terminal-field.typing {
    caret-color: transparent;
}
.hero-redesign__terminal-field.typing::after {
    content: '|';
    animation: blink-cursor 0.7s step-end infinite;
}
@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Product pills */
.hero-redesign__pills {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
}
.hero-redesign__pill {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}
.hero-redesign__pill:hover,
.hero-redesign__pill.active {
    background: rgba(59,130,246,0.15);
    border-color: #3b82f6;
    color: #93c5fd;
}

/* Mobile demo toggle */
.hero-redesign__demo-toggle {
    display: none;
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: #94a3b8;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    text-align: center;
    transition: all 0.15s;
}
.hero-redesign__demo-toggle:hover {
    background: rgba(255,255,255,0.08);
    color: #e2e8f0;
}
.hero-redesign__demo-toggle i { margin-left: 0.375rem; }

/* --------------------------------------------------------------------------
   3. TRUST STRIP — matches API site portal-logo-strip style
   -------------------------------------------------------------------------- */
.trust-strip {
    padding: 1.5rem 0 1.75rem;
    background: #302f8a;
    text-align: center;
}
.trust-strip__label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    margin-bottom: 0.875rem;
}
.trust-strip__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.trust-strip__logos::-webkit-scrollbar {
    display: none;
}
.trust-strip__logo-card {
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    padding: 10px 16px;
    flex-shrink: 0;
    transition: box-shadow 0.3s;
}
.trust-strip__logo-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.trust-strip__logo-card img {
    height: 34px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
}
.trust-strip__logo-card:hover img {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   4. PRODUCT GRID v2
   -------------------------------------------------------------------------- */
.product-grid-v2 {
    background: #fff;
}

.product-card-v2 {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    transition: all 0.25s ease;
    position: relative;
}
.product-card-v2:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* API card — dominant, dark */
.product-card-v2--api {
    background: #0f172a;
    color: #f8fafc;
    border-color: rgba(255,255,255,0.08);
    padding: 0;
    overflow: hidden;
}
.product-card-v2--api:hover {
    box-shadow: 0 8px 30px rgba(59,130,246,0.15);
}
.product-card-v2--api .product-card-v2__body {
    padding: 1.75rem;
}
.product-card-v2--api .product-card-v2__title {
    color: #f8fafc;
}
.product-card-v2--api .product-card-v2__desc {
    color: #94a3b8;
}
.product-card-v2--api .product-card-v2__price {
    color: #93c5fd;
}

/* Badge */
.product-card-v2__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e42707;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.625rem;
    border-radius: 100px;
    z-index: 2;
}

/* Icon */
.product-card-v2__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    background: rgba(59,130,246,0.1);
    color: #3b82f6;
}
.product-card-v2--api .product-card-v2__icon {
    background: rgba(94,234,212,0.1);
    color: #93c5fd;
}

.product-card-v2__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.product-card-v2__desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-card-v2__price {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 1.25rem;
}

.product-card-v2__ctas {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card-v2__cta-primary {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    border: 1.5px solid #3b82f6;
}
.product-card-v2__cta-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    text-decoration: none;
}

.product-card-v2__cta-secondary {
    display: inline-block;
    color: #3b82f6;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}
.product-card-v2__cta-secondary:hover {
    color: #2563eb;
    text-decoration: underline;
}

.product-card-v2__bridge {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}
.product-card-v2__bridge a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}
.product-card-v2__bridge a:hover {
    text-decoration: underline;
}

/* API card code preview */
.product-card-v2__code-preview {
    background: #1e293b;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 1.75rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.75rem;
    line-height: 1.7;
    color: #94a3b8;
    overflow-x: auto;
}
.product-card-v2__code-preview code {
    color: #e2e8f0;
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-redesign__h1 {
        font-size: 2rem;
    }
    .hero-redesign__sub {
        font-size: 1rem;
    }
    .hero-redesign__demo-col .hero-redesign__terminal,
    .hero-redesign__demo-col .hero-redesign__pills {
        display: none;
    }
    .hero-redesign__demo-col.demo-visible .hero-redesign__terminal,
    .hero-redesign__demo-col.demo-visible .hero-redesign__pills {
        display: block;
    }
    .hero-redesign__demo-toggle {
        display: block;
    }
    .trust-strip__logos {
        gap: 8px;
        justify-content: flex-start;
        padding: 0 1rem;
    }
    .trust-strip__logo-card img {
        height: 28px;
    }
}

@media (max-width: 575.98px) {
    .hero-redesign {
        padding: 2.5rem 0 2rem;
    }
    .hero-redesign__h1 {
        font-size: 1.75rem;
    }
    .hero-redesign__ctas {
        flex-direction: column;
    }
    .hero-redesign__cta-primary,
    .hero-redesign__cta-secondary {
        width: 100%;
        text-align: center;
    }
    .hero-redesign__chips {
        gap: 0.75rem;
    }
    .trust-strip__logos {
        gap: 6px;
        justify-content: flex-start;
    }
}

/* ==========================================================================
   Phase 3: Content Sections
   ========================================================================== */

/* --------------------------------------------------------------------------
   GUARANTEE STRIP
   -------------------------------------------------------------------------- */
.guarantee-strip {
    background: #0f172a;
    padding: 1rem 0;
}
.guarantee-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}
.guarantee-strip__icon {
    font-size: 1.5rem;
    color: #22c55e;
}
.guarantee-strip__text {
    font-size: 0.9375rem;
    color: #e2e8f0;
    line-height: 1.5;
}
.guarantee-strip__text strong {
    color: #fff;
}
.guarantee-strip__link {
    color: #93c5fd;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    white-space: nowrap;
}
.guarantee-strip__link:hover {
    color: #fff;
    text-decoration: underline;
}
@media (max-width: 575.98px) {
    .guarantee-strip__inner {
        flex-direction: column;
        gap: 0.5rem;
    }
    .guarantee-strip__icon {
        font-size: 1.75rem;
    }
}

/* --------------------------------------------------------------------------
   6. METRICS BLOCK
   -------------------------------------------------------------------------- */
.metrics-block {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}
.metrics-block__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -1px;
    line-height: 1.2;
}
.metrics-block__label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   7. USE CASES
   -------------------------------------------------------------------------- */
.use-cases {
    background: #fff;
}
.use-case-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.25s ease;
}
.use-case-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.use-case-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    background: #eff6ff;
    color: #3b82f6;
}
.use-case-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.use-case-card__desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   8. API DEEP-DIVE
   -------------------------------------------------------------------------- */
.api-deepdive__code-tab {
    transition: all 0.15s ease;
}
.api-deepdive__code-tab:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
}
.api-deepdive__code-tab.active {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE — Phase 3 additions
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .api-deepdive .row {
        flex-direction: column-reverse;
    }
}
@media (max-width: 575.98px) {
    .metrics-block__number {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   Phase 4: Mobile + Polish
   ========================================================================== */

/* --------------------------------------------------------------------------
   10. MOBILE ANCHOR PILLS — sticky bottom bar
   -------------------------------------------------------------------------- */
.mobile-anchor-pills {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    z-index: 1040;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    background: rgba(248,250,252,0.93);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: none;
}
/* Blue gradient accent line at top */
.mobile-anchor-pills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #3b82f6 30%, #3b82f6 70%, transparent 100%);
    opacity: 0.5;
}
.mobile-anchor-pills.visible {
    transform: translateY(0);
    pointer-events: auto;
}
/* Label with stagger animation */
.mobile-anchor-pills__label {
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
    padding: 0.5rem 1rem 0.125rem;
    opacity: 0;
}
.mobile-anchor-pills.visible .mobile-anchor-pills__label {
    animation: pill-label-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.15s;
}
@keyframes pill-label-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mobile-anchor-pills__label i {
    font-size: 0.625rem;
    margin-right: 0.25rem;
    color: #3b82f6;
}
.mobile-anchor-pills__inner {
    display: flex;
    gap: 0.375rem;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
}
.mobile-anchor-pills__pill {
    flex: 1;
    max-width: 120px;
    border: none;
    border-radius: 100px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.12s ease;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}
.mobile-anchor-pills__pill i {
    font-size: 0.75rem;
}
/* Tap feedback */
.mobile-anchor-pills__pill:active {
    background: #3b82f6;
    color: #fff;
    transform: scale(0.94);
}
.mobile-anchor-pills__pill:hover {
    background: #eff6ff;
    color: #3b82f6;
}
/* Active/selected state (set by JS on tap) */
.mobile-anchor-pills__pill--active {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.3);
}

/* Hide on desktop */
@media (min-width: 992px) {
    .mobile-anchor-pills {
        display: none;
    }
}

/* Sticky nav CTA removed per owner request */

/* ==========================================================================
   SEARCH TOOLS v6 — "Command Palette" layout
   Section sits between product grid and maps.
   Palette: white surface, #0f172a navy text, #3b82f6 blue accents, #e42707 red CTAs
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section shell
   -------------------------------------------------------------------------- */
.srchv6 {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 0 2.5rem;
}

.srchv6__container {
    padding-top: 0;
}

.srchv6__heading {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1.25rem;
    letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   Bridge line (above chips)
   -------------------------------------------------------------------------- */
.srchv6__bridge {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.625rem 0;
    margin-bottom: 1.75rem;
}

.srchv6__bridge-text {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.srchv6__bridge-icon {
    color: #3b82f6;
    flex-shrink: 0;
}

.srchv6__bridge-link {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}
.srchv6__bridge-link:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Chip nav — horizontal scroll row
   -------------------------------------------------------------------------- */
.srchv6__chips-nav {
    position: relative;
    margin-bottom: 1.5rem;
}

.srchv6__chips-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding-bottom: 4px; /* show focus rings */
}

/* Fade indicator not needed with wrapping */
.srchv6__chips-fade {
    display: none;
}

/* Individual chip button */
.srchv6__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    min-height: 44px;
    border-radius: 100px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
    line-height: 1;
}
.srchv6__chip:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #eff6ff;
}
.srchv6__chip:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}
.srchv6__chip--active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(15,23,42,0.18);
}
.srchv6__chip--active:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #fff;
}

.srchv6__chip-icon {
    font-size: 0.75rem;
    opacity: 0.8;
}
.srchv6__chip--active .srchv6__chip-icon {
    opacity: 1;
    color: #93c5fd;
}

/* --------------------------------------------------------------------------
   Panel card
   -------------------------------------------------------------------------- */
.srchv6__panels {
    position: relative;
}

.srchv6__panel {
    display: none;
}
.srchv6__panel--active {
    display: block;
    animation: srchv6-fade-in 0.18s ease;
}
@keyframes srchv6-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.srchv6__panel-inner {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
}

/* Panel header: icon + title + desc */
.srchv6__panel-meta {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.srchv6__panel-icon-lg {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: rgba(59,130,246,0.09);
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.srchv6__panel-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.srchv6__panel-desc {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Form internals
   -------------------------------------------------------------------------- */
.srchv6__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Single field */
.srchv6__field-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1 1 0;
    min-width: 0;
}
.srchv6__field-group--full { flex: 1 1 100%; }
.srchv6__field-group--city { flex: 2 1 0; }
.srchv6__field-group--state { flex: 1 1 0; min-width: 100px; }

/* Row of fields */
.srchv6__field-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.srchv6__field-row--2col .srchv6__field-group { flex: 1 1 calc(50% - 0.375rem); }
.srchv6__field-row--3col .srchv6__field-group { flex: 1 1 calc(33.333% - 0.5rem); }

@media (max-width: 575px) {
    .srchv6__field-row,
    .srchv6__field-row--2col,
    .srchv6__field-row--3col {
        flex-direction: column;
    }
    .srchv6__field-group--state { min-width: 0; }
}

/* Label */
.srchv6__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Input wrapper */
.srchv6__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.srchv6__input-wrap--select {
    /* extra top padding so icon aligns with select text */
}

.srchv6__input-icon {
    position: absolute;
    left: 0.75rem;
    color: #94a3b8;
    font-size: 0.875rem;
    pointer-events: none;
    z-index: 2;
}
.srchv6__input-icon--sm { font-size: 0.6rem; }

.srchv6__input {
    width: 100%;
    padding: 0.5625rem 2.25rem 0.5625rem 2.25rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
}
.srchv6__input:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
    outline: none;
}
.srchv6__input::placeholder {
    color: #94a3b8;
}
.srchv6__select {
    padding-right: 1.5rem;
    cursor: pointer;
}

.srchv6__clear {
    position: absolute;
    right: 0.625rem;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.875rem;
    z-index: 2;
    padding: 4px;
}
.srchv6__clear:hover { color: #475569; }

/* Submit button */
.srchv6__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6875rem 1.5rem;
    background: #e42707;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    align-self: flex-start;
    letter-spacing: -0.01em;
}
.srchv6__btn:hover {
    background: #c92206;
    box-shadow: 0 4px 16px rgba(228,39,7,0.25);
    transform: translateY(-1px);
}
.srchv6__btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Hint text below button */
.srchv6__hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: -0.5rem 0 0;
}

/* --------------------------------------------------------------------------
   API upsell footer strip
   -------------------------------------------------------------------------- */
.srchv6__upsell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.srchv6__upsell-label {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
    margin-right: 0.25rem;
}

.srchv6__upsell-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
    background: #0f172a;
    color: #fff;
    border: 1.5px solid #0f172a;
}
.srchv6__upsell-btn:hover {
    background: #1e293b;
    color: #fff;
}
.srchv6__upsell-btn--ghost {
    background: transparent;
    color: #0f172a;
    border-color: #cbd5e1;
}
.srchv6__upsell-btn--ghost:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

/* --------------------------------------------------------------------------
   Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 575px) {
    .srchv6__panel-inner {
        padding: 1.125rem 1rem;
    }
    .srchv6__panel-meta {
        flex-direction: column;
        gap: 0.625rem;
    }
    .srchv6__btn {
        width: 100%;
        justify-content: center;
    }
    .srchv6__upsell {
        flex-direction: column;
        align-items: flex-start;
    }
    .srchv6__upsell-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .srchv6__panel-inner {
        padding: 1.75rem 2rem;
    }
    .srchv6 {
        padding-bottom: 3rem;
    }
}

/* ==========================================================================
   Phase 5: ZIP Code Zone Maps Section
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section wrapper
   -------------------------------------------------------------------------- */
.zone-maps-section {
    background: #f8fafc;
    padding: 5rem 0 4rem;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* --------------------------------------------------------------------------
   Map cards
   -------------------------------------------------------------------------- */
.zone-map-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.zone-map-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Featured card (3-digit / SCF) — blue accent border */
.zone-map-card--featured {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0 rgba(59,130,246,0);
}
.zone-map-card--featured:hover {
    box-shadow: 0 8px 28px rgba(59,130,246,0.14);
}

/* No-ZIP card — subtle amber accent to signal "alert/gap" */
.zone-map-card--null {
    border-color: #e2e8f0;
}
.zone-map-card--null .zone-map-card__header {
    background: #1e293b;
}
.zone-map-card--null .zone-map-card__precision {
    color: #fbbf24;
}

/* Card header bar — dark navy, matches terminal aesthetic */
.zone-map-card__header {
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1rem;
}
.zone-map-card--featured .zone-map-card__header {
    background: #1d4ed8;
}

.zone-map-card__precision {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #93c5fd;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.zone-map-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
}

/* Thumbnail link + image */
.zone-map-card__thumb-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
    line-height: 0;
}

.zone-map-card__img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    aspect-ratio: 316 / 223;
    object-fit: cover;
}
.zone-map-card__thumb-link:hover .zone-map-card__img {
    transform: scale(1.03);
}

/* "Full size" overlay hint */
.zone-map-card__zoom-hint {
    position: absolute;
    bottom: 0.625rem;
    right: 0.625rem;
    background: rgba(15,23,42,0.78);
    color: #e2e8f0;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.3rem 0.625rem;
    border-radius: 100px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    pointer-events: none;
}
.zone-map-card__thumb-link:hover .zone-map-card__zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

/* Card body */
.zone-map-card__body {
    padding: 1rem 1.125rem 1.25rem;
    flex: 1;
}

.zone-map-card__desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
.zone-map-card__desc strong {
    color: #0f172a;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   B2B context panel
   -------------------------------------------------------------------------- */
.zone-maps-context {
    height: 100%;
    display: flex;
}

.zone-maps-context__inner {
    background: #0f172a;
    border-radius: 12px;
    padding: 2rem 2rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #e2e8f0;
}

.zone-maps-context__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}
.zone-maps-context__title .font-caveat {
    color: #93c5fd;
}

.zone-maps-context__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.zone-maps-context__list li {
    font-size: 0.9375rem;
    color: #94a3b8;
    line-height: 1.55;
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
}

.zone-maps-context__list li i {
    color: #3b82f6;
    font-size: 0.9rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.zone-maps-context__list li strong {
    color: #e2e8f0;
    font-weight: 600;
}

/* CTAs inside the context panel */
.zone-maps-context__ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.zone-maps-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #3b82f6;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: 1.5px solid #3b82f6;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.zone-maps-cta-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.35);
}

.zone-maps-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #93c5fd;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
    white-space: nowrap;
}
.zone-maps-cta-secondary:hover {
    color: #bfdbfe;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .zone-maps-section {
        padding: 3.5rem 0 3rem;
    }
    .zone-maps-context__inner {
        padding: 1.75rem;
    }
    .zone-maps-context__title {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .zone-maps-section {
        padding: 2.5rem 0 2rem;
    }
    .zone-maps-context {
        margin-top: 0;
    }
    .zone-maps-context__inner {
        padding: 1.5rem;
    }
    .zone-maps-context__list li {
        font-size: 0.875rem;
    }
    .zone-maps-context__ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .zone-maps-cta-primary,
    .zone-maps-cta-secondary {
        justify-content: center;
        text-align: center;
    }
}


/* ==========================================================================
   Products Page Styles (merged from products-v3.css)
   ========================================================================== */
/* ==========================================================================
   Products Page v3 — ZIP-Codes.com
   Design system: Wix Madefor Display + Caveat, navy/blue/red palette
   April 2026
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables (local page scope, inherits global from style.css)
   -------------------------------------------------------------------------- */
:root {
    --pv3-navy:      #1e293b;
    --pv3-navy-deep: #0f172a;
    --pv3-blue:      #3b82f6;
    --pv3-blue-lt:   #eff6ff;
    --pv3-blue-mid:  #93c5fd;
    --pv3-red:       #e42707;
    --pv3-border:    #e2e8f0;
    --pv3-slate:     #64748b;
    --pv3-slate-lt:  #94a3b8;
    --pv3-green:     #22c55e;
    --pv3-amber:     #f59e0b;
    --pv3-radius:    12px;
    --pv3-card-pad:  1.75rem;
}

/* --------------------------------------------------------------------------
   1. PRODUCTS HERO
   -------------------------------------------------------------------------- */
.products-hero {
    background:
        radial-gradient(circle at 1px 1px, rgba(148,163,184,0.28) 1.2px, transparent 0) 0 0 / 28px 28px,
        radial-gradient(ellipse at 20% 80%, rgba(59,130,246,0.07) 0%, transparent 55%),
        linear-gradient(135deg, #1e293b 0%, #2d3a4e 60%, #3b4a5e 100%);
    padding: 3rem 0 2.75rem;
    color: #f8fafc;
    overflow: hidden;
}

.products-hero__h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.18;
    color: #f8fafc;
    margin-bottom: 1rem;
}
.products-hero__h1 .font-caveat {
    color: #93c5fd;
}

.products-hero__sub {
    font-size: 1.0625rem;
    color: #94a3b8;
    max-width: 500px;
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* Stat row */
.products-hero__stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}
.products-hero__stat {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem 0 0;
}
.products-hero__stat:first-child { padding-left: 0; }
.products-hero__stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
    line-height: 1;
}
.products-hero__stat-lbl {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.25rem;
    white-space: nowrap;
}
.products-hero__stat-div {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.12);
    margin: 0 1.5rem 0 0;
    flex-shrink: 0;
    align-self: center;
}

/* Category pill grid (right column decorative) */
.products-hero__category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: flex-end;
    padding: 1rem 0;
}
.products-hero__cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 100px;
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #94a3b8;
}
.products-hero__cat-pill i {
    color: #93c5fd;
    font-size: 0.8125rem;
}
.products-hero__cat-pill--free {
    border-color: rgba(34,197,94,0.35);
    color: #86efac;
}
.products-hero__cat-pill--free i {
    color: #86efac;
}

/* --------------------------------------------------------------------------
   2. PRODUCTS SECTION SHELL
   -------------------------------------------------------------------------- */
.products-section {
    padding: 4rem 0;
    background: #fff;
}
.products-section--alt {
    background: #f8fafc;
    border-top: 1px solid var(--pv3-border);
    border-bottom: 1px solid var(--pv3-border);
}

.products-section__header {
    margin-bottom: 2.5rem;
}
.products-section__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--pv3-blue);
    background: var(--pv3-blue-lt);
    border-radius: 100px;
    padding: 0.375rem 1rem;
    margin-bottom: 1rem;
}
.products-section__label i {
    font-size: 0.75rem;
}
.products-section__title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--pv3-navy-deep);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.products-section__title .font-caveat {
    color: var(--pv3-blue);
}
.products-section__desc {
    font-size: 1rem;
    color: var(--pv3-slate);
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   3. PRODUCT CARD EXTENSIONS
   (base classes from homepage-redesign.css: product-card-v2, etc.)
   -------------------------------------------------------------------------- */

/* Trust pill row (above icon, inside card) */
.pcard__trust-pills-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.pcard__trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #3b82f6;
    background: #eff6ff;
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 100px;
    padding: 0.25rem 0.625rem;
}
.pcard__trust-pill--scale {
    color: #0f172a;
    background: #f1f5f9;
    border-color: rgba(15,23,42,0.12);
}
.pcard__trust-pill i {
    font-size: 0.625rem;
}

/* Bullet lists inside cards */
.pcard__bullets {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1.25rem;
}
.pcard__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 0.375rem;
}
.pcard__bullets li i {
    color: var(--pv3-green);
    font-size: 0.75rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}
/* Light variant for dark API card */
.pcard__bullets--light li {
    color: #94a3b8;
}
.pcard__bullets--light li i {
    color: #93c5fd;
}

/* --------------------------------------------------------------------------
   4. FLAGSHIP CARD
   -------------------------------------------------------------------------- */
.pcard--flagship {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-color: rgba(255,255,255,0.08);
    color: #f8fafc;
    padding: 0;
    overflow: hidden;
}
.pcard--flagship:hover {
    box-shadow: 0 12px 40px rgba(59,130,246,0.18);
    transform: translateY(-2px);
}
.pcard--flagship .product-card-v2__badge {
    background: var(--pv3-red);
}
.pcard--flagship .product-card-v2__title {
    color: #f8fafc;
}
.pcard--flagship .product-card-v2__desc {
    color: #94a3b8;
}
.pcard--flagship .product-card-v2__price {
    color: #93c5fd;
}
.pcard--flagship .product-card-v2__bridge {
    border-top-color: rgba(255,255,255,0.08);
    color: #64748b;
}
.pcard--flagship .product-card-v2__bridge a {
    color: #93c5fd;
}

.pcard--flagship__eyebrow {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.pcard--flagship__eyebrow .pcard__trust-pill {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.3);
    color: #93c5fd;
}
.pcard--flagship__icon {
    background: rgba(94,234,212,0.1) !important;
    color: #93c5fd !important;
}

.pcard__inner {
    padding: var(--pv3-card-pad);
}

/* Field tag grid */
.pcard--flagship__fields {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 1.25rem;
}
.pcard--flagship__fields-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    margin-bottom: 0.875rem;
}
.pcard__field-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}
.pcard__field-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 0.25rem 0.625rem;
}
.pcard__field-tag--more {
    color: #93c5fd;
    background: rgba(59,130,246,0.12);
    border-color: rgba(59,130,246,0.25);
}

/* --------------------------------------------------------------------------
   5. API CARD EXTENSIONS
   -------------------------------------------------------------------------- */
.pcard__cta--api-primary {
    background: var(--pv3-red) !important;
    border-color: var(--pv3-red) !important;
}
.pcard__cta--api-primary:hover {
    background: #c92206 !important;
    border-color: #c92206 !important;
}

/* API endpoint list panel */
.pcard--api-features {
    background: #fff;
    border: 1px solid var(--pv3-border);
    border-radius: var(--pv3-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.pcard--api-features__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--pv3-slate);
    margin-bottom: 1rem;
}
.pcard--api-features__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    flex: 1;
}
.pcard--api-features__list li {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.8125rem;
}
.pcard--api-features__list li:last-child {
    border-bottom: none;
}
.pcard--api-features__method {
    font-size: 0.625rem;
    font-weight: 700;
    background: var(--pv3-blue-lt);
    color: var(--pv3-blue);
    border-radius: 4px;
    padding: 0.2rem 0.375rem;
    letter-spacing: 0.03em;
    flex-shrink: 0;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}
.pcard--api-features__ep {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.75rem;
    color: #0f172a;
    font-weight: 600;
    flex-shrink: 0;
}
.pcard--api-features__desc {
    font-size: 0.75rem;
    color: var(--pv3-slate);
    flex: 1;
}
.pcard--api-features__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--pv3-blue);
    text-decoration: none;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--pv3-border);
}
.pcard--api-features__link:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   6. MAP / BOUNDARY CARD ICON VARIANT
   -------------------------------------------------------------------------- */
.pcard__icon--map {
    background: rgba(16,185,129,0.1) !important;
    color: #10b981 !important;
}

/* --------------------------------------------------------------------------
   7. FREE CARD
   -------------------------------------------------------------------------- */
.pcard--free {
    border-color: rgba(34,197,94,0.3);
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 60%);
    position: relative;
}
.pcard--free:hover {
    border-color: rgba(34,197,94,0.5);
    box-shadow: 0 8px 30px rgba(34,197,94,0.1);
}
.pcard--free__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #22c55e;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.625rem;
    border-radius: 100px;
    z-index: 2;
}
.pcard--free__price {
    color: #16a34a !important;
}
.pcard--free__price i {
    margin-right: 0.25rem;
}
.pcard--free__cta {
    background: #22c55e !important;
    border-color: #22c55e !important;
}
.pcard--free__cta:hover {
    background: #16a34a !important;
    border-color: #16a34a !important;
}

/* --------------------------------------------------------------------------
   8. HISTORICAL CARD
   -------------------------------------------------------------------------- */
.pcard--historical {
    border-left: 3px solid var(--pv3-amber);
}
.pcard--historical:hover {
    box-shadow: 0 8px 30px rgba(245,158,11,0.1);
}
.pcard--historical__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}
.pcard--historical__parent-note {
    font-size: 0.75rem;
    color: var(--pv3-amber);
    font-weight: 600;
    margin: 0.25rem 0 0;
}
.pcard__icon--history {
    background: rgba(245,158,11,0.1) !important;
    color: #f59e0b !important;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. LEGACY / SPECIALTY CARD
   -------------------------------------------------------------------------- */
.pcard--legacy {
    background: #f8fafc;
    border-color: var(--pv3-border);
    display: flex;
    flex-direction: column;
}
.pcard__icon--legacy {
    background: rgba(100,116,139,0.1) !important;
    color: #64748b !important;
}
.pcard--legacy__title {
    font-size: 1rem !important;
    line-height: 1.3;
}
.pcard--legacy__year {
    font-size: 0.8125rem;
    color: var(--pv3-slate);
    font-weight: 500;
}
.pcard--legacy__desc {
    font-size: 0.8125rem !important;
    color: #94a3b8;
    flex: 1;
}
.pcard--legacy__link {
    font-size: 0.8125rem !important;
    display: block;
    padding-top: 0.75rem;
    border-top: 1px solid var(--pv3-border);
    margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   10. BOTTOM CTA STRIP
   -------------------------------------------------------------------------- */
.products-cta-strip {
    background: linear-gradient(135deg, #1e293b 0%, #2d3a4e 50%, #3b4a5e 100%);
    padding: 3.5rem 0;
    color: #f8fafc;
}
.products-cta-strip__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #64748b;
    margin-bottom: 0.5rem;
}
.products-cta-strip__title {
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.products-cta-strip__title .font-caveat {
    color: #93c5fd;
}
.products-cta-strip__desc {
    font-size: 0.9375rem;
    color: #94a3b8;
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 1.75rem;
}
.products-cta-strip__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.products-cta-strip__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}
.products-cta-strip__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #94a3b8;
}
.products-cta-strip__chip i {
    color: #93c5fd;
    font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    /* Col-lg-2 legacy card gets a bit more breathing room on md */
    .pcard--legacy {
        min-height: 0;
    }
}

@media (max-width: 991.98px) {
    .products-hero__h1 { font-size: 2rem; }
    .products-hero__sub { font-size: 1rem; }
    .products-section { padding: 3rem 0; }
    .products-section__title { font-size: 1.625rem; }
    .products-cta-strip__title { font-size: 1.625rem; }

    /* Stack the historical/legacy row nicely */
    .pcard--legacy { min-height: 200px; }
}

@media (max-width: 767.98px) {
    .products-hero { padding: 2.5rem 0 2rem; }
    .products-hero__h1 { font-size: 1.75rem; }
    .products-hero__stats { gap: 0.25rem; }
    .products-hero__stat { padding-right: 1rem; }
    .products-hero__stat-div { margin-right: 1rem; }
    .products-hero__stat-num { font-size: 1.25rem; }

    .pcard__inner { padding: 1.25rem; }
    .pcard--flagship__fields { display: none; } /* hide field grid on small screens */

    .pcard--historical__header { flex-wrap: wrap; }
}

@media (max-width: 575.98px) {
    .products-hero__stats {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .products-hero__stat-div { display: none; }
    .products-hero__stat {
        padding: 0;
        min-width: 90px;
    }

    .products-cta-strip__actions {
        flex-direction: column;
    }
    .products-cta-strip__actions a {
        text-align: center;
        width: 100%;
    }

    .products-section__header {
        margin-bottom: 1.75rem;
    }

    /* Full-width API features panel on mobile */
    .pcard--api-features {
        padding: 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   12. ACCESSIBILITY
   -------------------------------------------------------------------------- */
.product-card-v2:focus-within {
    outline: 2px solid var(--pv3-blue);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .product-card-v2,
    .product-card-v2:hover {
        transform: none;
        transition: none;
    }
}
