/**
 * State Page Hero Section Styles
 * Matches Figma and reference design:
 * - Clean white/light gray background
 * - Left column: Pill badge, H1, Subtitle, Vehicle Switcher Chips, Orange CTA, Trust line
 * - Right column: Fanned 3D cheat sheet mockups with CDL, Car (with aerial intersection artwork), Motorcycle & floating Printable PDF badge
 */

/* ==========================================================================
   1. State Hero Wrapper & Background
   ========================================================================== */
.state-page-hero {
    position: relative;
    background-color: #FFFFFF;
    color: var(--color-charcoal);
    padding: 2.25rem 0 3.5rem;
    overflow: hidden;
    width: 100%;
}

.state-hero-road-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.state-hero-road-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.state-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.state-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

/* ==========================================================================
   2. Left Column: Content, Typography & Controls
   ========================================================================== */
.state-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 620px;
}

/* State Badge Pill */
.state-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #202232;
    color: #FFFFFF;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.state-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-teal);
    display: inline-block;
}

/* Main H1 Headline */
.state-hero-h1 {
    font-size: clamp(2.25rem, 4.2vw, 3.75rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #202232;
    margin: 0 0 1.25rem 0;
}

/* Subtitle Description */
.state-hero-description {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.6;
    color: #55576D;
    margin: 0 0 2rem 0;
    max-width: 540px;
}

/* Vehicle Switcher Segmented Control Container (Matches Figma & Mobile) */
.state-vehicle-tabs {
    display: inline-flex;
    align-items: center;
    background-color: #F4F5F7;
    border-radius: 16px;
    padding: 6px;
    gap: 6px;
    margin-bottom: 2rem;
    box-sizing: border-box;
}

.state-veh-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: transparent;
    color: #202232;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.35rem;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    white-space: nowrap;
}

.state-veh-tab:hover {
    color: #202232;
    background-color: rgba(32, 34, 50, 0.05);
}

.state-veh-tab.is-active {
    background-color: #202232;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(32, 34, 50, 0.18);
}

.state-veh-tab .veh-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.state-veh-tab .veh-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* Orange CTA Button */
.state-hero-cta-wrap {
    margin-bottom: 1.75rem;
    width: 100%;
}

.btn-primary-orange.state-hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: #F26419;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 0.95rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(242, 100, 25, 0.28);
    transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary-orange.state-hero-cta-btn:hover {
    background-color: #D9561A;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(242, 100, 25, 0.35);
}

.btn-primary-orange.state-hero-cta-btn:active {
    transform: translateY(0);
}

.btn-primary-orange .cta-btn-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.btn-primary-orange:hover .cta-btn-arrow {
    transform: translateX(4px);
}

/* Trust Guarantee Bar */
.state-hero-trust-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    font-size: 0.875rem;
    color: #55576D;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.trust-item .trust-icon {
    color: var(--color-teal);
    display: inline-flex;
    align-items: center;
}

.trust-bullet {
    color: #C9CAD3;
    font-weight: 700;
}

/* ==========================================================================
   3. Right Column: Fanned Mockup Stage & Cheat Sheets
   ========================================================================== */
.state-hero-visual-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.state-mockup-stage {
    position: relative;
    width: 100%;
    max-width: 540px;
    padding: 3.5rem 1.75rem 4.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F4F5F7;
    border-radius: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

/* Dedicated road SVG backdrop layer inside the stage */
.state-stage-road-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    border-radius: 40px;
}

.state-stage-road-layer .stage-dashed-curve {
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 100%;
    height: 90px;
    pointer-events: none;
    display: block;
}

/* Ensure fanned stack and every card render as a dedicated stacking context above the curve */
.state-mockup-stage .cheat-sheets-fanned-stack {
    position: relative;
    z-index: 5 !important;
}

.state-mockup-stage .cheat-sheet-card {
    position: absolute;
    background-color: #202232 !important;
    opacity: 1 !important;
}

/* Optional subtle road or highlight accent in stage */
.state-mockup-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.7) 0%, rgba(244, 245, 247, 0) 70%);
    border-radius: 36px;
    z-index: 0;
    pointer-events: none;
}

/* Fanned 3D Cards Stack (Sits above the contained road curve) */
.cheat-sheets-fanned-stack {
    position: relative;
    width: 320px;
    height: 440px;
    perspective: 1200px;
    z-index: 10 !important;
}

/* Common Card Styles */
.cheat-sheet-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 270px;
    height: 380px;
    border-radius: 16px;
    background-color: #2B2D42;
    color: #FFFFFF;
    box-shadow: 0 16px 36px rgba(20, 21, 33, 0.22), 0 4px 12px rgba(20, 21, 33, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, opacity 0.4s ease, z-index 0.4s ease;
    cursor: pointer;
}

/* 1. Left Card: Truck (CDL) */
.cheat-sheet-card.card-cdl {
    transform: translate(-50px, 35px) rotate(-11deg) scale(0.92);
    z-index: 1;
    background-color: #232536;
    opacity: 0.92;
}

/* 2. Right Card: Motorcycle */
.cheat-sheet-card.card-motorcycle {
    transform: translate(95px, 15px) rotate(11deg) scale(0.92);
    z-index: 2;
    background-color: #25273A;
    opacity: 0.92;
}

/* 3. Center Card: Car Permit Test (Primary Hero Card) */
.cheat-sheet-card.card-car {
    transform: translate(25px, 0) rotate(0deg) scale(1);
    z-index: 4;
    background-color: #202232;
    box-shadow: 0 24px 48px rgba(20, 21, 33, 0.28), 0 8px 16px rgba(20, 21, 33, 0.12);
}

/* Active Highlight dynamically triggered by tabs */
.cheat-sheets-fanned-stack[data-active-veh="cdl"] .card-cdl {
    transform: translate(25px, 0) rotate(0deg) scale(1);
    z-index: 5;
    opacity: 1;
    box-shadow: 0 28px 52px rgba(20, 21, 33, 0.32);
}
.cheat-sheets-fanned-stack[data-active-veh="cdl"] .card-car {
    transform: translate(-50px, 35px) rotate(-11deg) scale(0.92);
    z-index: 2;
    opacity: 0.85;
}

.cheat-sheets-fanned-stack[data-active-veh="motorcycle"] .card-motorcycle {
    transform: translate(25px, 0) rotate(0deg) scale(1);
    z-index: 5;
    opacity: 1;
    box-shadow: 0 28px 52px rgba(20, 21, 33, 0.32);
}
.cheat-sheets-fanned-stack[data-active-veh="motorcycle"] .card-car {
    transform: translate(95px, 35px) rotate(11deg) scale(0.92);
    z-index: 2;
    opacity: 0.85;
}

/* Sheet Internal Layout */
.sheet-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.15rem 1.15rem 0.85rem;
    box-sizing: border-box;
}

/* Sheet Header (Prevents collision / overlapping between brand logo and pill tag) */
.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    width: 100%;
    min-width: 0;
}

.sheet-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    flex: 0 1 auto;
}

.sheet-mini-logo {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--color-teal);
    background: transparent;
    position: relative;
}

.sheet-mini-logo::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #FFFFFF;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sheet-brand-text {
    display: flex;
    flex-direction: column;
    font-size: 0.525rem;
    line-height: 1.1;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sheet-pill-tag {
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-teal);
    background: rgba(0, 180, 166, 0.12);
    border: 1px solid rgba(0, 180, 166, 0.3);
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

/* Sheet Title Area */
.sheet-title-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 0.5rem;
}

.sheet-state-name {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #8C8E9F;
    letter-spacing: 0.08em;
    margin-bottom: 0.15rem;
    text-align: left;
}

.sheet-big-num {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.2rem;
    text-align: left;
    align-self: flex-start;
}

.sheet-big-num.orange-accent {
    color: #F26419;
}

.sheet-big-num.cdl-accent {
    color: #FFB703;
}

.sheet-main-title {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    max-width: 190px;
}

/* Sheet Graphic Artwork Box */
.sheet-graphic-preview {
    flex: 1;
    border-radius: 8px;
    background: #181924;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Realistic Aerial Intersection Scene (Car Sheet) */
.intersection-scene {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2F3142;
}

/* Pavement Sidewalk Corners */
.intersection-scene::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 0%, #D8D9E0 32%, transparent 33%),
        radial-gradient(circle at 100% 0%, #D8D9E0 32%, transparent 33%),
        radial-gradient(circle at 0% 100%, #D8D9E0 32%, transparent 33%),
        radial-gradient(circle at 100% 100%, #D8D9E0 32%, transparent 33%);
}

/* Vertical and Horizontal Asphalt Roads */
.road-surface-v {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 32%;
    width: 36%;
    background-color: #262736;
}

.road-surface-h {
    position: absolute;
    left: 0;
    right: 0;
    top: 30%;
    height: 40%;
    background-color: #262736;
}

/* Road Zebra Crosswalks */
.crosswalk-stripes {
    position: absolute;
    background-image: repeating-linear-gradient(90deg, #FFFFFF, #FFFFFF 4px, transparent 4px, transparent 8px);
    opacity: 0.85;
}

.crosswalk-stripes.n {
    top: 26%;
    left: 34%;
    width: 32%;
    height: 6px;
}

.crosswalk-stripes.s {
    bottom: 26%;
    left: 34%;
    width: 32%;
    height: 6px;
}

/* Aerial Cars & Details */
.aerial-car.teal-sedan {
    position: absolute;
    width: 14px;
    height: 26px;
    background: #00B4A6;
    border-radius: 4px;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%) rotate(5deg);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.aerial-car .windshield {
    position: absolute;
    width: 8px;
    height: 6px;
    background: #181924;
    border-radius: 2px;
    top: 4px;
    left: 3px;
}

.aerial-truck.white-truck {
    position: absolute;
    width: 16px;
    height: 38px;
    background: #F8F9FA;
    border-radius: 3px;
    bottom: 12%;
    left: 12%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.mini-stop-sign {
    position: absolute;
    top: 72%;
    left: 28%;
    background: #E63946;
    color: #FFFFFF;
    font-size: 4px;
    font-weight: 800;
    padding: 1px 2px;
    border-radius: 1px;
    line-height: 1;
}

/* Traffic Light Pillars */
.intersection-light {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #2EC4B6;
    box-shadow: 0 0 6px #2EC4B6;
}

.intersection-light.tr {
    top: 24%;
    right: 28%;
}

/* CDL & Motorcycle preview graphic fallbacks */
.cdl-road-scene, .moto-road-scene {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #202232;
    display: flex;
    align-items: center;
    justify-content: center;
}

.curved-road-arc {
    width: 120px;
    height: 120px;
    border: 14px solid #383A52;
    border-style: dashed;
    border-radius: 50%;
    opacity: 0.6;
}

.traffic-light-post.right {
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00B4A6;
    box-shadow: 0 0 8px #00B4A6;
}

/* Sheet Footer Bar */
.sheet-footer-bar {
    font-size: 0.485rem;
    color: #8C8E9F;
    text-align: center;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   2.8. Client-Specific Cheat Sheet Cover Styles (Matches Reference Exactly)
   ========================================================================== */

/* Dashed Circular Arc in Top-Right */
.cover-dashed-arc {
    position: absolute;
    top: 55px;
    right: -45px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3.5px dashed rgba(255, 255, 255, 0.16);
    pointer-events: none;
    z-index: 1;
}

/* Brand Logo Icon with checkmark and orange dots */
.sheet-brand-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.sheet-brand-logo-icon img,
.cover-brand .sheet-brand-logo-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.brand-test-orange {
    color: #F26419;
    font-weight: 800;
}

/* Pill Tag (Single line render matching Figma exactly) */
.sheet-pill-tag.car-tag,
.sheet-pill-tag.moto-tag,
.sheet-pill-tag.cdl-tag,
.sheet-pill-tag,
.cover-pill-tag {
    font-size: 0.44rem;
    font-weight: 700;
    color: var(--color-teal);
    background: transparent;
    border: 1px solid var(--color-teal);
    padding: 0.16rem 0.45rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.1;
    display: inline-block;
}

.sheet-pill-tag.moto-tag,
.sheet-pill-tag.cdl-tag {
    font-size: 0.41rem;
    padding: 0.15rem 0.4rem;
    letter-spacing: 0.015em;
}

/* State Title in Vibrant Teal */
.sheet-state-name.state-teal-title,
.cover-state.state-teal-title {
    color: var(--color-teal);
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 0.2rem;
}

/* Big 150 Number in Brand Orange */
.sheet-title-area .sheet-big-num.orange-accent,
.cover-title-area .cover-count.count-orange {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 0.95;
    color: #F26419;
    margin: 0.1rem 0 0.35rem;
    letter-spacing: -0.02em;
    text-align: left;
    align-self: flex-start;
}

/* 2-line Subtitle */
.sheet-title-area .sheet-main-title,
.cover-title-area .cover-subtitle {
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
    letter-spacing: -0.015em;
    max-width: 190px;
    margin-bottom: 0.35rem;
}

/* Orange Underline Accent Bar */
.title-orange-underline {
    width: 38px;
    height: 3px;
    background-color: #F26419;
    border-radius: 2px;
    margin-top: 0.15rem;
}

/* High-Res Aerial Intersection Photo (Bleeds edge-to-edge flush like client design) */
.sheet-inner.client-cover-style,
.cover-inner.client-cover-style {
    position: relative;
    overflow: hidden;
    background-color: #2B2D42; /* Matches theme header bg */
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0.5rem;
    text-align: left;
}

.sheet-inner.client-cover-style .sheet-header,
.sheet-inner.client-cover-style .sheet-title-area,
.cover-inner.client-cover-style .cover-header,
.cover-inner.client-cover-style .cover-title-area {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
}

.cover-inner.client-cover-style .cover-header,
.cover-inner.client-cover-style .cover-title-area {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.sheet-graphic-preview.has-photo,
.cover-art-box.has-photo {
    flex: 1 1 auto;
    min-height: 90px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #1e202e;
    margin: 0.4rem 0 0.35rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-left: none;
    border-right: none;
    width: 100%;
}

/* Soft atmospheric feathering at top of image matching client design */
.sheet-graphic-preview.has-photo::before,
.cover-art-box.has-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 26px;
    background: linear-gradient(to bottom, rgba(43, 45, 66, 0.95) 0%, rgba(43, 45, 66, 0.45) 50%, rgba(43, 45, 66, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.aerial-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Client Cover Footer (Flush horizontal padding with side-by-side or stacked meta) */
.sheet-footer-bar.client-cover-footer,
.cover-footer-bar.client-cover-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.45rem;
    color: #A0A2B3;
    line-height: 1.25;
    padding: 0.35rem 1.15rem 0;
    text-align: left;
    flex-wrap: wrap;
}

.cover-footer-bar.client-cover-footer {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.client-cover-footer .footer-domain {
    font-size: 0.55rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.client-cover-footer .footer-meta {
    font-size: 0.42rem;
    color: #8C8E9F;
}

/* Floating Printable PDF Badge (Bottom Right matching screenshot) */
.floating-pdf-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #FFFFFF;
    color: #202232;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.15rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid #E6E7EB;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 10;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-pdf-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.pdf-badge-icon {
    color: var(--color-teal);
    display: inline-flex;
    align-items: center;
}

/* ==========================================================================
   3.5. What's Inside Section (Dark Charcoal Horizontal Strip)
   ========================================================================== */
/* ==========================================================================
   3.5. What's Inside Section (Matches Header #2B2D42 & Figma Screenshot)
   ========================================================================== */
.state-whats-inside-section {
    background-color: #2B2D42; /* Same color as header */
    color: #FFFFFF;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 5;
    width: 100%;
}

.whats-inside-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.whats-inside-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

/* Left Title Column with Right Divider Line */
.whats-inside-heading-col {
    flex: 0 0 240px;
    max-width: 260px;
    padding-right: 2.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.whats-inside-eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--color-teal);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.whats-inside-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.22;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Right Features Row with Vertical Separators */
.whats-inside-features-grid {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

.inside-feature-card {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 1.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    min-width: 0;
}

.inside-feature-card:last-child {
    border-right: none;
    padding-right: 0;
}

/* Rounded Dark Charcoal Icon Badge (#36384E with teal stroke) */
.feature-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: #36384E;
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.inside-feature-card:hover .feature-icon-badge {
    transform: translateY(-2px);
    background-color: #3D4058;
}

.feature-icon-badge svg {
    display: block;
    width: 22px;
    height: 22px;
    stroke: var(--color-teal);
}

/* Feature Description Text (White, Bold, 2-line clean break matching screenshot) */
.feature-text {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.32;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.feature-highlight {
    font-weight: 800;
    color: #FFFFFF;
}

/* Responsive adjustments for What's Inside */
@media (max-width: 1100px) {
    .state-whats-inside-section {
        padding: 2.25rem 0;
    }

    .whats-inside-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .whats-inside-heading-col {
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
        max-width: 100%;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 1rem;
        width: 100%;
    }

    .whats-inside-features-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .inside-feature-card {
        border-right: none;
        padding: 0;
    }
}

/* Mobile Screens (<= 640px down to 320px) */
@media (max-width: 640px) {
    .state-whats-inside-section {
        background-color: #2B2D42;
        padding: 1.5rem 0 1.75rem;
    }

    .whats-inside-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .whats-inside-heading-col {
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.75rem;
        width: 100%;
    }

    .whats-inside-eyebrow {
        font-size: 0.6875rem;
        letter-spacing: 0.12em;
        margin-bottom: 0.25rem;
    }

    .whats-inside-title {
        font-size: 1.35rem;
        font-weight: 800;
        line-height: 1.18;
        letter-spacing: -0.025em;
        color: #FFFFFF;
        max-width: 100%;
    }

    /* 2x2 Grid on Mobile */
    .whats-inside-features-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .inside-feature-card {
        background-color: #34364D;
        border-radius: 16px;
        padding: 1rem 0.85rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        box-sizing: border-box;
        border: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .feature-icon-badge {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background-color: #3D4058;
    }

    .feature-icon-badge svg {
        width: 18px;
        height: 18px;
    }

    .feature-text {
        font-size: 0.8125rem;
        font-weight: 700;
        line-height: 1.25;
        color: #FFFFFF;
    }
}

/* 320px Screen Safeguard */
@media (max-width: 340px) {
    .whats-inside-title {
        font-size: 1.45rem;
    }

    .whats-inside-features-grid {
        gap: 0.65rem;
    }

    .inside-feature-card {
        padding: 1rem 0.75rem;
        border-radius: 14px;
        gap: 0.85rem;
    }

    .feature-icon-badge {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .feature-icon-badge svg {
        width: 16px;
        height: 16px;
    }

    .feature-text {
        font-size: 0.8125rem;
    }
}

/* ==========================================================================
   3.8. All State Cheat Sheets Section (3-Column Catalog Grid)
   ========================================================================== */
.state-all-sheets-section {
    background-color: #FFFFFF;
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    width: 100%;
}

.all-sheets-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Header */
.all-sheets-header {
    margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.all-sheets-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-teal);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.all-sheets-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.18;
    color: #202232;
    letter-spacing: -0.025em;
    margin: 0;
}

/* 3-Card Grid */
.all-sheets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

.sheet-catalog-card {
    display: flex;
    flex-direction: column;
}

/* Top Light Gray Stage with Realistic Cheat Sheet Mockup */
.sheet-card-stage {
    background-color: #F4F5F7;
    border-radius: 20px;
    padding: 2.25rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem;
}

.catalog-cover-mockup {
    width: 220px;
    height: 310px;
    background-color: #2B2D42; /* Matches theme header bg */
    border-radius: 12px;
    color: #FFFFFF;
    box-shadow: 0 16px 32px rgba(20, 21, 33, 0.22), 0 4px 10px rgba(20, 21, 33, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Proportional scaling for Catalog Grid Cards */
.catalog-cover-mockup .sheet-inner.client-cover-style {
    padding-top: 0.85rem;
    padding-bottom: 0.65rem;
}

.catalog-cover-mockup .sheet-header,
.catalog-cover-mockup .sheet-title-area {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.catalog-cover-mockup .sheet-header {
    margin-bottom: 0.45rem;
}

.catalog-cover-mockup .sheet-brand-logo-icon img {
    width: 16px;
    height: 16px;
}

.catalog-cover-mockup .sheet-brand-text {
    font-size: 0.44rem;
    line-height: 1.05;
}

.catalog-cover-mockup .sheet-pill-tag {
    font-size: 0.38rem;
    padding: 0.1rem 0.38rem;
    letter-spacing: 0.015em;
    white-space: nowrap;
    flex-shrink: 0;
}

.catalog-cover-mockup .sheet-pill-tag.moto-tag,
.catalog-cover-mockup .sheet-pill-tag.cdl-tag {
    font-size: 0.35rem;
    padding: 0.09rem 0.34rem;
    letter-spacing: 0.01em;
}

.catalog-cover-mockup .sheet-state-name.state-teal-title {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.1rem;
}

.catalog-cover-mockup .sheet-title-area .sheet-big-num.orange-accent {
    font-size: 1.85rem;
    margin: 0.05rem 0 0.15rem;
    line-height: 0.95;
}

.catalog-cover-mockup .sheet-title-area .sheet-main-title {
    font-size: 0.72rem;
    line-height: 1.15;
    max-width: 160px;
    margin-bottom: 0.25rem;
}

.catalog-cover-mockup .title-orange-underline {
    width: 32px;
    height: 2.5px;
}

.catalog-cover-mockup .sheet-graphic-preview.has-photo {
    margin: 0.45rem 0 0.35rem 0;
}

.catalog-cover-mockup .sheet-footer-bar.client-cover-footer {
    padding: 0.2rem 0.85rem 0;
    font-size: 0.38rem;
    gap: 0.35rem;
}

.catalog-cover-mockup .client-cover-footer .footer-domain {
    font-size: 0.46rem;
}

.catalog-cover-mockup .client-cover-footer .footer-meta {
    font-size: 0.36rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Card Bottom Details */
.sheet-card-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sheet-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #55576D;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.sheet-category-tag .cat-icon {
    color: var(--color-teal);
    display: inline-flex;
    align-items: center;
}

.sheet-item-title {
    font-size: 1.1875rem;
    font-weight: 800;
    line-height: 1.25;
    color: #202232;
    margin: 0 0 0.5rem 0;
}

.sheet-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.sheet-item-title a:hover {
    color: var(--color-teal);
}

.sheet-item-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #55576D;
    margin: 0 0 1rem 0;
}

/* Action Link with Underline & Arrow */
.sheet-item-action {
    margin-top: auto;
}

.sheet-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #202232;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--color-teal);
    text-decoration-thickness: 2px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.sheet-action-link:hover {
    color: var(--color-teal);
}

.sheet-action-link .link-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
    color: var(--color-teal);
}

.sheet-action-link:hover .link-arrow {
    transform: translateX(4px);
}

/* Responsive Grid */
@media (max-width: 960px) {
    .all-sheets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (max-width: 640px) {
    .all-sheets-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sheet-card-stage {
        padding: 1.75rem 1rem;
    }
}

/* ==========================================================================
   3.9. State FAQ Section Styles
   ========================================================================== */
.state-faq-section {
    background-color: #F8F9FA;
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    width: 100%;
    border-top: 1px solid #E6E7EB;
}

.state-faq-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.state-faq-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: flex-start;
}

/* Left Column */
.state-faq-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 440px;
}

.state-faq-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-teal);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.state-faq-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: #202232;
    letter-spacing: -0.025em;
    margin: 0 0 1rem 0;
}

.state-faq-desc {
    font-size: 1.0625rem;
    line-height: 1.55;
    color: #55576D;
    margin: 0 0 1.5rem 0;
}

/* Handbook Link */
.state-faq-handbook-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
    font-weight: 800;
    color: #202232;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--color-teal);
    text-decoration-thickness: 2px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.state-faq-handbook-link:hover {
    color: var(--color-teal);
}

.state-faq-handbook-link .handbook-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
    color: #202232;
}

.state-faq-handbook-link:hover .handbook-arrow {
    transform: translateX(4px);
    color: var(--color-teal);
}

/* Right Column: Accordion */
.state-faq-right-col {
    width: 100%;
}

.state-faq-right-col .faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-handbook-wrap {
    display: none;
}

.desktop-handbook-wrap {
    display: block;
}

/* Responsive FAQ */
@media (max-width: 960px) {
    .state-faq-split-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .state-faq-left-col {
        max-width: 100%;
    }
}

/* Mobile Screens (<= 640px down to 320px matching mobile screenshot) */
@media (max-width: 640px) {
    .state-faq-section {
        padding: 2.25rem 0 2.75rem;
    }

    .state-faq-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .state-faq-split-grid {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .state-faq-eyebrow {
        font-size: 0.75rem;
        letter-spacing: 0.08em;
        margin-bottom: 0.4rem;
    }

    .state-faq-title {
        font-size: 1.625rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
        margin: 0;
    }

    /* Subtitle description is hidden on mobile matching screenshot */
    .state-faq-desc {
        display: none !important;
    }

    /* Desktop handbook wrap hidden on mobile; mobile handbook wrap shown below accordion */
    .desktop-handbook-wrap {
        display: none !important;
    }

    .mobile-handbook-wrap {
        display: block !important;
        margin-top: 1.75rem;
    }

    .state-faq-handbook-link {
        font-size: 0.9375rem;
    }

    /* Compact Mobile Accordion Cards */
    .state-faq-right-col .faq-accordion-list {
        gap: 0.75rem;
    }

    .state-faq-right-col .faq-accordion-item {
        border-radius: 14px;
        background-color: #FFFFFF;
        border: 1px solid #E6E7EB;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .state-faq-right-col .faq-accordion-item.is-active {
        border: 2px solid var(--color-teal);
        box-shadow: 0 4px 14px rgba(0, 180, 166, 0.12);
    }

    .state-faq-right-col .faq-question-btn {
        padding: 1rem 1.15rem;
        gap: 0.85rem;
    }

    .state-faq-right-col .faq-question-text {
        font-size: 0.9375rem;
        font-weight: 700;
        line-height: 1.35;
        color: #202232;
    }

    .state-faq-right-col .faq-toggle-icon {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
    }

    .state-faq-right-col .faq-accordion-item.is-active .faq-toggle-icon {
        background-color: var(--color-teal);
        color: #FFFFFF;
    }

    .state-faq-right-col .faq-answer-collapse {
        padding: 0 1.15rem 1rem;
    }

    .state-faq-right-col .faq-answer-body p {
        font-size: 0.875rem;
        line-height: 1.55;
        color: #55576D;
    }
}

/* 320px Screen Safeguard */
@media (max-width: 340px) {
    .state-faq-title {
        font-size: 1.45rem;
    }

    .state-faq-right-col .faq-question-btn {
        padding: 0.85rem 0.95rem;
    }

    .state-faq-right-col .faq-question-text {
        font-size: 0.875rem;
    }

    .state-faq-right-col .faq-toggle-icon {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
    }
}

/* ==========================================================================
   3.10. "Not in [State]?" Switcher Card Banner
   ========================================================================== */
.state-switcher-banner-section {
    background-color: #FFFFFF;
    padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(4rem, 6vw, 6rem);
    width: 100%;
}

.state-switcher-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Outer Rounded Card with Dark Border */
.state-switcher-card {
    background-color: #FFFFFF;
    border: 2px solid #202232;
    border-radius: 28px;
    padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-sizing: border-box;
}

/* Left: Title & Quick State Chips */
.switcher-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    flex: 1 1 auto;
}

.switcher-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #202232;
    margin: 0;
    letter-spacing: -0.02em;
}

.switcher-chips-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.state-quick-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    border: 1px solid #DCDDE3;
    background-color: #FFFFFF;
    color: #202232;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.state-quick-chip:hover {
    background-color: #202232;
    color: #FFFFFF;
    border-color: #202232;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 34, 50, 0.15);
}

/* Right: Dropdown + Go Button */
.switcher-right-col {
    flex: 0 0 auto;
}

.switcher-select-form {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.switcher-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

/* Hidden native select when custom switcher is active */
.custom-switcher-dropdown .switcher-select-dropdown {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    padding: 0;
    border: none;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* Custom Trigger Button */
.custom-switcher-trigger {
    background-color: #FFFFFF;
    border: 1.5px solid #DCDDE3;
    border-radius: 12px;
    padding: 0.75rem 2.5rem 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    color: #202232;
    cursor: pointer;
    min-width: 240px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.custom-switcher-trigger:hover {
    border-color: #A0A4B8;
    background-color: #F8F9FA;
}

.custom-switcher-dropdown.is-open .custom-switcher-trigger {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(0, 180, 166, 0.15);
    background-color: #FFFFFF;
}

.custom-switcher-trigger .custom-trigger-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
}

.custom-switcher-trigger .select-arrow {
    position: absolute;
    right: 1.15rem;
    pointer-events: none;
    display: flex;
    align-items: center;
    color: #64748B;
    transition: transform 0.2s ease, color 0.2s ease;
}

.custom-switcher-dropdown.is-open .custom-switcher-trigger .select-arrow {
    transform: rotate(180deg);
    color: var(--color-teal);
}

/* Custom Dropdown Menu with Popover & Theme Styling */
.custom-switcher-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: #1E2032; /* Rich dark charcoal matching theme mega-dropdown */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    z-index: 1050;
    box-sizing: border-box;
    animation: switcherMenuFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes switcherMenuFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-switcher-dropdown.is-open .custom-switcher-menu {
    display: flex;
}

/* Search input inside dropdown */
.custom-menu-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
    padding: 0 0.15rem;
}

.custom-search-icon {
    position: absolute;
    left: 0.65rem;
    color: #8C8E9F;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.custom-menu-search-input {
    width: 100%;
    background-color: #282A3E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.4rem 0.65rem 0.4rem 1.85rem;
    font-size: 0.8125rem;
    font-family: inherit;
    color: #FFFFFF;
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.custom-menu-search-input:focus {
    border-color: var(--color-teal);
    background-color: #2F3249;
}

.custom-menu-search-input::placeholder {
    color: #8C8E9F;
}

/* States List */
.custom-switcher-list {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 2px;
}

.custom-switcher-list::-webkit-scrollbar {
    width: 4px;
}

.custom-switcher-list::-webkit-scrollbar-track {
    background: transparent;
}

.custom-switcher-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.custom-state-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    color: #C9CAD3;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.custom-state-option:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

.custom-state-option.is-selected {
    background-color: rgba(0, 180, 166, 0.18);
    color: #00D4C3;
    font-weight: 700;
}

.custom-option-check {
    display: none;
    color: #00D4C3;
}

.custom-state-option.is-selected .custom-option-check {
    display: flex;
    align-items: center;
}

/* Go Button */
.btn-switcher-go {
    background-color: #202232;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-switcher-go:hover {
    background-color: #383A52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 34, 50, 0.2);
}

.btn-switcher-go:active {
    transform: translateY(0);
}

/* Responsive Switcher */
@media (max-width: 900px) {
    .state-switcher-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        border-radius: 24px;
        padding: 1.75rem 1.5rem;
    }

    .switcher-left-col {
        gap: 1rem;
        width: 100%;
    }

    .switcher-right-col {
        width: 100%;
    }

    .switcher-select-form {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .switcher-select-wrap {
        flex: 1 1 auto;
    }

    .custom-switcher-trigger {
        width: 100%;
        min-width: 0;
        padding: 0.75rem 2.25rem 0.75rem 1rem;
        font-size: 0.9375rem;
    }

    .custom-switcher-menu {
        width: 100%;
        max-width: 320px;
        right: 0;
    }

    .btn-switcher-go {
        flex: 0 0 auto;
        padding: 0.75rem 1.5rem;
        border-radius: 12px;
    }
}

/* Mobile Screens (<= 480px down to 320px matching reference screenshot) */
@media (max-width: 480px) {
    .state-switcher-banner-section {
        padding: 2.25rem 0 3.5rem;
    }

    .state-switcher-card {
        padding: 1.35rem 1.15rem;
        border-radius: 20px;
        gap: 1.25rem;
        border-width: 2px;
    }

    .switcher-title {
        font-size: 1.5rem;
        letter-spacing: -0.02em;
    }

    .switcher-chips-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .state-quick-chip {
        font-size: 0.8125rem;
        font-weight: 500;
        padding: 0.45rem 1rem;
        border-radius: 999px;
    }

    /* Side-by-side Dropdown and Go button matching screenshot */
    .switcher-select-form {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }

    .switcher-select-wrap {
        flex: 1 1 0;
        min-width: 0;
    }

    .custom-switcher-trigger {
        padding: 0.7rem 1.85rem 0.7rem 0.85rem;
        font-size: 0.875rem;
        border-radius: 10px;
    }

    .custom-switcher-menu {
        position: fixed;
        left: 1rem;
        right: 1rem;
        bottom: 5.5rem;
        width: auto;
        max-width: calc(100vw - 2rem);
        margin: 0 auto;
        border-radius: 14px;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
        z-index: 9999;
    }

    .custom-switcher-list {
        max-height: 180px;
    }

    .btn-switcher-go {
        flex: 0 0 auto;
        padding: 0.7rem 1.25rem;
        font-size: 0.9375rem;
        font-weight: 700;
        border-radius: 10px;
    }
}

/* 320px Screen Safeguard */
@media (max-width: 340px) {
    .state-switcher-card {
        padding: 1.15rem 0.85rem;
        border-radius: 18px;
    }

    .switcher-title {
        font-size: 1.35rem;
    }

    .state-quick-chip {
        font-size: 0.775rem;
        padding: 0.4rem 0.75rem;
    }

    .custom-switcher-trigger {
        font-size: 0.8125rem;
        padding: 0.65rem 1.6rem 0.65rem 0.65rem;
    }

    .custom-switcher-menu {
        left: 0.5rem;
        right: 0.5rem;
        max-width: calc(100vw - 1rem);
        bottom: 5rem;
    }

    .custom-switcher-list {
        max-height: 160px;
    }

    .btn-switcher-go {
        padding: 0.65rem 1rem;
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   4. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .state-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
        text-align: left;
    }

    .state-hero-content {
        max-width: 100%;
    }

    .state-hero-visual-col {
        justify-content: center;
        width: 100%;
        order: 2; /* Visual appears below description */
    }

    .state-mockup-stage {
        max-width: 540px;
    }
}

/* Mobile Screens (<= 768px matching mobile screenshot) */
@media (max-width: 768px) {
    .state-page-hero {
        padding: 1.25rem 0 2rem;
    }

    .state-hero-container,
    .whats-inside-container,
    .all-sheets-container,
    .state-faq-container,
    .state-switcher-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .state-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Flatten content wrapper so title/description can sit above the cover,
       and tabs/CTA/trust sit below the cover */
    .state-hero-content {
        display: contents;
    }

    /* 1. State pill badge on mobile */
    .state-badge-pill {
        order: 1;
        display: inline-flex !important;
        align-self: flex-start;
        margin-left: 0;
        margin-right: auto;
        margin-bottom: 0.85rem;
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
    }

    /* 2. Top Title */
    .state-hero-h1 {
        order: 2;
        font-size: 1.875rem;
        line-height: 1.18;
        font-weight: 700;
        letter-spacing: -0.025em;
        color: #202232;
        margin: 0 0 0.85rem 0;
    }

    /* 3. Subtitle */
    .state-hero-description {
        order: 3;
        font-size: 0.9375rem;
        line-height: 1.55;
        color: #55576D;
        margin: 0 0 1.5rem 0;
        max-width: 100%;
    }

    /* 4. Visual Stage (Cheat sheet covers positioned below description, above buttons) */
    .state-hero-visual-col {
        order: 4;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .state-mockup-stage {
        padding: 2.25rem 1rem 2.5rem;
        max-width: 100%;
        background-color: #F4F5F7;
        border-radius: 28px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }

    /* Subtle curved road line through the stage matching mobile screenshot */
    .state-mockup-stage::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.8) 0%, rgba(244, 245, 247, 0) 70%);
        display: block;
        z-index: 0;
        pointer-events: none;
    }

    .state-mockup-stage::after {
        content: '';
        position: absolute;
        bottom: 18%;
        left: -10%;
        width: 120%;
        height: 60px;
        border-bottom: 2px dashed #D6D8E1;
        border-radius: 50%;
        transform: rotate(-12deg);
        opacity: 0.7;
        pointer-events: none;
        z-index: 0;
    }

    .cheat-sheets-fanned-stack {
        width: 255px;
        height: 315px;
        margin: 0 auto;
        position: relative;
        z-index: 10 !important;
    }

    .cheat-sheet-card {
        width: 195px;
        height: 275px;
        border-radius: 14px;
        box-shadow: 0 12px 28px rgba(20, 21, 33, 0.22), 0 3px 8px rgba(20, 21, 33, 0.1);
    }

    .cheat-sheet-card.card-cdl {
        transform: translate(-30px, 18px) rotate(-8deg) scale(0.92);
        z-index: 1;
        opacity: 0.95;
    }

    .cheat-sheet-card.card-motorcycle {
        transform: translate(52px, 10px) rotate(8deg) scale(0.92);
        z-index: 2;
        opacity: 0.95;
    }

    .cheat-sheet-card.card-car {
        transform: translate(12px, 0) rotate(0deg) scale(1);
        z-index: 4;
        opacity: 1;
        box-shadow: 0 18px 36px rgba(20, 21, 33, 0.26);
    }

    /* Active Highlight on mobile */
    .cheat-sheets-fanned-stack[data-active-veh="cdl"] .card-cdl {
        transform: translate(12px, 0) rotate(0deg) scale(1);
        z-index: 5;
        opacity: 1;
    }
    .cheat-sheets-fanned-stack[data-active-veh="cdl"] .card-car {
        transform: translate(-30px, 18px) rotate(-8deg) scale(0.92);
        z-index: 2;
        opacity: 0.85;
    }

    .cheat-sheets-fanned-stack[data-active-veh="motorcycle"] .card-motorcycle {
        transform: translate(12px, 0) rotate(0deg) scale(1);
        z-index: 5;
        opacity: 1;
    }
    .cheat-sheets-fanned-stack[data-active-veh="motorcycle"] .card-car {
        transform: translate(52px, 10px) rotate(8deg) scale(0.92);
        z-index: 2;
        opacity: 0.85;
    }

    /* Compact Sheet Interior on Mobile with accurate padding */
    .sheet-inner.client-cover-style {
        padding-top: 0.75rem;
        padding-bottom: 0.55rem;
        padding-left: 0;
        padding-right: 0;
    }

    .sheet-inner.client-cover-style .sheet-header,
    .sheet-inner.client-cover-style .sheet-title-area {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .sheet-header {
        margin-bottom: 0.45rem;
        gap: 0.35rem;
        min-width: 0;
    }

    .sheet-brand {
        gap: 0.35rem;
        min-width: 0;
        flex: 0 1 auto;
    }

    .sheet-brand-logo-icon img {
        width: 15px;
        height: 15px;
    }

    .sheet-brand-text {
        font-size: 0.42rem;
        line-height: 1.05;
        white-space: nowrap;
    }

    .sheet-pill-tag {
        font-size: 0.36rem;
        padding: 0.08rem 0.32rem;
        white-space: nowrap;
        flex-shrink: 0;
        letter-spacing: 0.015em;
        max-width: 55%;
        text-align: center;
    }

    .sheet-pill-tag.moto-tag,
    .sheet-pill-tag.cdl-tag {
        font-size: 0.32rem;
        padding: 0.07rem 0.3rem;
        letter-spacing: 0.01em;
    }

    .sheet-title-area {
        margin-bottom: 0.35rem;
    }

    .sheet-state-name.state-teal-title {
        font-size: 0.625rem;
        letter-spacing: 0.12em;
        margin-bottom: 0.08rem;
    }

    .sheet-title-area .sheet-big-num.orange-accent {
        font-size: 1.85rem;
        line-height: 0.95;
        margin: 0.05rem 0 0.15rem;
    }

    .sheet-title-area .sheet-main-title {
        font-size: 0.72rem;
        line-height: 1.15;
        max-width: 155px;
        margin-bottom: 0.25rem;
    }

    .title-orange-underline {
        width: 32px;
        height: 2.5px;
    }

    .sheet-graphic-preview.has-photo {
        margin: 0.45rem 0 0.35rem 0;
    }

    .sheet-footer-bar.client-cover-footer {
        padding: 0.2rem 0.85rem 0;
        font-size: 0.38rem;
        gap: 0.35rem;
    }

    .client-cover-footer .footer-domain {
        font-size: 0.46rem;
    }

    .client-cover-footer .footer-meta {
        font-size: 0.36rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* Floating PDF Badge on Mobile */
    .floating-pdf-badge {
        bottom: 12px;
        right: 12px;
        font-size: 0.75rem;
        padding: 0.45rem 0.85rem;
        gap: 0.35rem;
        border-radius: 999px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
        z-index: 10;
    }

    .floating-pdf-badge svg {
        width: 15px;
        height: 15px;
    }

    /* 5. Mobile Vehicle Segmented Control (Gray Pill Bar with 3 items, below cover) */
    .state-vehicle-tabs {
        order: 5;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        background-color: #F4F5F7;
        border-radius: 14px;
        padding: 6px;
        gap: 6px;
        margin-bottom: 1.15rem;
    }

    .state-veh-tab {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 8px 4px;
        border-radius: 10px;
        background: transparent;
        color: #55576D;
        border: none;
        box-shadow: none;
        transition: all 0.2s ease;
    }

    .state-veh-tab.is-active {
        background-color: #202232;
        color: #FFFFFF;
        box-shadow: 0 2px 8px rgba(32, 34, 50, 0.15);
    }

    .state-veh-tab .veh-icon svg {
        width: 18px;
        height: 18px;
    }

    .state-veh-tab .veh-name {
        font-size: 0.75rem;
        font-weight: 700;
        line-height: 1.1;
    }

    /* 6. Mobile Orange CTA Button (below vehicle switcher) */
    .state-hero-cta-wrap {
        order: 6;
        width: 100%;
        margin-bottom: 1.15rem;
    }

    .btn-primary-orange.state-hero-cta-btn {
        width: 100%;
        font-size: 1.0625rem;
        font-weight: 800;
        padding: 1rem 1.25rem;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(242, 100, 25, 0.25);
    }

    /* 7. Trust Bar Centered Multi-line on Mobile (below CTA) */
    .state-hero-trust-bar {
        order: 7;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 0.35rem 0.5rem;
        font-size: 0.775rem;
        line-height: 1.4;
    }

    .trust-item .trust-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* Extra small mobile screens (<= 360px) */
@media (max-width: 360px) {
    .state-hero-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .state-hero-h1 {
        font-size: 1.625rem;
    }

    .cheat-sheets-fanned-stack {
        width: 220px;
        height: 280px;
    }

    .cheat-sheet-card {
        width: 175px;
        height: 250px;
    }

    .state-veh-tab .veh-name {
        font-size: 0.7rem;
    }

    /* Prevent header elements collision on very narrow screens (<= 360px) */
    .sheet-inner.client-cover-style .sheet-header {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
        gap: 0.25rem;
    }

    .sheet-brand {
        gap: 0.25rem;
    }

    .sheet-brand-logo-icon img {
        width: 13px;
        height: 13px;
    }

    .sheet-brand-text {
        font-size: 0.38rem;
    }

    .sheet-pill-tag {
        font-size: 0.32rem;
        padding: 0.06rem 0.26rem;
    }

    .sheet-pill-tag.moto-tag,
    .sheet-pill-tag.cdl-tag {
        font-size: 0.29rem;
        padding: 0.05rem 0.24rem;
    }
}
