/* === PLACA QUENTE PREMIUM THEME (MOBILE FIRST) === */
:root {
    /* Premium Dark "Fire" Palette */
    --bg-body: #050505;
    /* Deepest Black */
    --bg-surface: #121212;
    --bg-surface-hover: #1e1e1e;

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #52525b;

    --brand-primary: #ef4444;
    /* Fire Red */
    --brand-glow: rgba(239, 68, 68, 0.6);
    --brand-dark: #b91c1c;

    --border-subtle: #27272a;
    --border-active: #3f3f46;

    /* Plate Colors */
    --plate-bg: #ffffff;
    --plate-border: #000000;
    --plate-blue: #003399;

    /* Spacing & Layout */
    --container-width: 1100px;
    --header-height: 72px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    /* Fire Glow Background Effect */
    background-image:
        radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.12) 0%, transparent 45%);
}

/* === UTILITIES === */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    /* Fire gradient text */
    background: linear-gradient(135deg, #fff 30%, #fca5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === HEADER (Centered Logo) === */
header {
    height: var(--header-height);
    display: flex;
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(16px);
    background: rgba(5, 5, 5, 0.85);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: center;
    /* Center Content */
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logo i {
    color: var(--brand-primary);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 12px var(--brand-glow));
    animation: flicker 3s infinite alternate;
}

@keyframes flicker {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(0.95);
    }
}

/* === HERO SECTION === */
.hero {
    padding: 60px 0 60px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
}

/* === MOBILE PWA HERO OVERRIDE === */
@media (max-width: 768px) {

    /* Full Height Centering */
    .hero {
        min-height: 85vh;
        /* Take up mostly full screen */
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        margin-top: -60px;
        /* Offset fixed header */
    }

    /* Larger, Cleaner Typography */
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .hero p.lead {
        font-size: 1.1rem;
        margin-bottom: 30px;
        opacity: 0.8;
    }

    /* Plate Container Focus */
    .plate-container {
        transform: scale(0.9);
        /* Slightly smaller to fit */
        margin-bottom: 30px;
    }

    /* Input & Button Stack */
    .search-box {
        flex-direction: column;
        /* Stack input and button */
        gap: 15px;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .input-group {
        width: 100%;
    }

    /* Floating Input Look */
    .search-input {
        width: 100%;
        height: 60px;
        /* Taller */
        border-radius: 16px;
        background: #fff;
        border: 2px solid #e2e8f0;
        font-size: 1.2rem;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .search-input:focus {
        border-color: var(--brand-primary);
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
    }

    /* Massive Action Button */
    .search-btn {
        width: 100%;
        height: 55px;
        border-radius: 16px;
        font-size: 1.1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
    }
}

.hero p.lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
    font-weight: 300;
}

/* === MERCOSUL PLATE COMPONENT === */
.plate-container {
    perspective: 1000px;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.mercosul-plate {
    width: 100%;
    max-width: 360px;
    /* Good for mobile and desktop */
    background: var(--plate-bg);
    border: 4px solid var(--plate-border);
    border-radius: 12px;
    position: relative;
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mercosul-plate:hover,
.mercosul-plate:focus-within {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 30px 60px -12px rgba(239, 68, 68, 0.15),
        0 0 0 1px rgba(239, 68, 68, 0.4);
    border-color: var(--plate-border);
}

.plate-blue-bar {
    background: var(--plate-blue);
    height: 40px;
    width: 100%;
    border-radius: 7px 7px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    border-bottom: 2px solid white;
}

.plate-blue-bar img.flag {
    height: 18px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.plate-blue-bar span {
    color: white;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.plate-input-wrapper {
    position: relative;
    padding: 10px 0;
}

.plate-input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: 'Bahnschrift', 'Din Alternate', sans-serif;
    font-size: 4.5rem;
    text-align: center;
    color: black;
    text-transform: uppercase;
    font-weight: 700;
    outline: none;
    line-height: 1;
    letter-spacing: 4px;
}

.plate-input::placeholder {
    color: #e5e5e5;
}

/* === ACTION BUTTON (Green Update) === */
.btn-cta {
    background: #10b981;
    /* Green Success */
    color: white;
    border: none;
    padding: 0 48px;
    height: 64px;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    letter-spacing: 0.5px;
    margin-top: 10px;
    animation: pulse-green 2s infinite;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.6);
    background: #059669;
    /* Darker Green */
}

.trust-label {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    opacity: 0.8;
}

/* === FEATURES GRID (Mobile Optimized) === */
.features {
    padding: 80px 0;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-body);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

/* Responsive Grid using auto-fit */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.feature-card:hover {
    border-color: var(--brand-primary);
    background: var(--bg-surface-hover);
    transform: translateY(-4px);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    background: rgba(239, 68, 68, 0.1);
    /* Red Tint */
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--brand-primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* === STEPS SECTION (Vertical on Mobile) === */
.steps {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-body) 0%, #1a0505 100%);
    /* Subtle Red Dark */
    border-top: 1px solid var(--border-subtle);
}

.steps-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    gap: 20px;
}

/* Connecting Line (Desktop Only) */
.steps-wrapper::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-subtle);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    background: var(--bg-body);
    /* Mask line */
    padding: 0 10px;
}

.step-circle {
    width: 48px;
    height: 48px;
    background: var(--bg-surface);
    border: 2px solid var(--border-subtle);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    font-size: 1.2rem;
}

.step-item:hover .step-circle {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    box-shadow: 0 0 20px var(--brand-glow);
    transform: scale(1.1);
}

.step-item h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.step-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* === FAQ === */
.faq {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

details.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

details.faq-item[open] {
    border-color: var(--border-active);
}

details.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
    color: var(--text-primary);
}

details.faq-item summary:hover {
    color: var(--brand-primary);
}

details.faq-item p {
    color: var(--text-secondary);
    padding: 0 20px 24px;
    line-height: 1.6;
    border-top: 1px solid var(--border-subtle);
    margin-top: 10px;
    padding-top: 20px;
}

/* === FOOTER === */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    background: transparent;
    /* Fix Black Box */
}

.footer-logo {
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* === MODAL STYLES (Restored) === */
.modal-overlay,
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content,
.alert-content {
    background: #111;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 30px;
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 8px;
    background: #222;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--border-subtle);
}

.progress-bar {
    height: 100%;
    background: var(--brand-primary);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--brand-glow);
}

.status-text {
    font-size: 0.9rem;
    color: var(--brand-primary);
    font-weight: 500;
}

/* Alert Button */
.btn-alert {
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    width: 100%;
    transition: 0.2s;
}

.btn-alert:hover {
    filter: brightness(1.1);
}

/* === RESULTS PAGE OVERRIDES === */
.results-page {
    background-color: var(--bg-body);
    padding-bottom: 80px;
}

.report-container {
    max-width: 900px;
    margin: 40px auto;
}

/* Header Report */
.report-header {
    background: linear-gradient(135deg, var(--bg-surface) 0%, #111 100%);
    border: 1px solid var(--border-subtle);
    padding: 32px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.report-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-primary), transparent);
}

.confidential-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.report-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.report-header p {
    color: var(--text-secondary);
    margin-top: 4px;
}

.header-aside {
    text-align: right;
    color: var(--brand-primary);
}

.qr-code-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
}

.qr-code-box i {
    font-size: 3rem;
}

.qr-code-box span {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Content Grid */
.report-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.card-result {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px;
}

/* Technical Details Table */
.data-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border-subtle);
}

.data-row:last-child {
    border-bottom: none;
}

.data-row span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.data-row strong {
    color: var(--text-primary);
    font-weight: 600;
}

.card-header-flex {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--brand-primary);
}

.card-header-flex h4 {
    color: var(--text-primary);
    font-weight: 600;
}

/* Market Value Box */
.market-box {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    margin-top: 10px;
}

.market-box.blur-pro {
    position: relative;
    overflow: hidden;
}

.blur-overlay {
    filter: blur(8px);
    user-select: none;
    opacity: 0.5;
}

.lock-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-surface);
    border: 1px solid var(--border-active);
    padding: 8px 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.lock-cta i {
    color: #ef4444;
    /* Alert Red */
}

.lock-cta span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Freemium Insights */
.freemium-section {
    margin-top: 24px;
    display: grid;
    gap: 24px;
}

.insight-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
}

/* Risk Meter High Impact */
.risk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.risk-level {
    font-size: 2rem;
    font-weight: 800;
    color: #ef4444;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.meter-track {
    width: 100%;
    height: 12px;
    background: #333;
    border-radius: 6px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

/* Teaser Tables (Conversion Boosting) */
.teaser-section {
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.teaser-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.teaser-row:last-child {
    border-bottom: none;
}

.teaser-row:hover {
    background: rgba(239, 68, 68, 0.1);
}

.t-label {
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.t-value {
    font-family: monospace;
    color: #ef4444;
    font-weight: 700;
    filter: blur(5px);
    /* Strong blur */
    user-select: none;
    position: relative;
    padding: 0 8px;
}

.t-value::after {
    content: '\f023';
    /* Lock icon code (FontAwesome fallback or PH) - using raw content for simplicity or just icon tag */
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
}

.lock-badge {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 8px;
    text-transform: uppercase;
}


/* CTA Pulse Toned Down */
.unlock-btn-pulse {
    width: 100%;
    background: #10b981;
    color: white;
    border: none;
    padding: 16px 20px;
    /* Reduced padding */
    font-size: 1.1rem;
    /* Smaller font */
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    animation: gentle-pulse 3s infinite;
    /* Slower animation */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    transition: transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.unlock-btn-pulse:hover {
    transform: translateY(-2px);
    background: #059669;
}

@keyframes gentle-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Scarcity Timer */
.scarcity-bar {
    background: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 16px;
    border: 1px solid rgba(245, 158, 11, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.social-proof-badge {
    background: #111;
    border: 1px solid var(--border-subtle);
    padding: 8px 16px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.social-proof-badge i {
    color: #10b981;
    /* Green */
}

/* === MOBILE RESPONSIVE TWEAKS === */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding: 0 16px;
    }

    /* Hero Mobile */
    .hero {
        padding: 40px 0 60px;
    }

    .hero h1 {
        font-size: 2.25rem;
        /* Smaller for mobile */
    }

    .mercosul-plate {
        width: 100%;
        max-width: 300px;
        /* Fit small screens */
    }

    .plate-input {
        font-size: 3.5rem;
        /* prevent overflow */
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    /* Steps Mobile - Vertical Stack */
    .steps-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .steps-wrapper::before {
        width: 2px;
        height: 100%;
        left: 24px;
        top: 0;
    }

    .step-item {
        display: flex;
        text-align: left;
        gap: 20px;
        background: transparent;
        padding: 0;
    }

    .step-circle {
        margin: 0;
        flex-shrink: 0;
        background: var(--bg-surface);
    }

    /* Results Mobile */
    .report-grid {
        grid-template-columns: 1fr;
    }

    .report-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }

    .header-aside {
        text-align: center;
        order: -1;
    }

    .qr-code-box {
        display: none;
    }

    .report-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .freemium-section {
        gap: 32px;
    }

    .card-result,
    .insight-card {
        padding: 24px;
    }

    .risk-header {
        flex-direction: row;
        margin-bottom: 24px;
    }

    .data-row {
        padding: 14px 0;
    }

    .blurred-rows {
        gap: 16px;
    }

    .sticky-cta-mobile {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        z-index: 900;
        animation: slideUp 0.5s ease;
    }

    .sticky-btn {
        width: 100%;
        background: #10b981;
        color: white;
        padding: 18px;
        border-radius: 16px;
        font-weight: 700;
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
        border: none;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        text-transform: uppercase;
    }

    .sticky-btn i {
        font-size: 1.2rem;
    }
}

/* === MODAL & GLOBAL ELEMENTS (Out of media query) === */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.refined-modal {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 32px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.modal-overlay.active .refined-modal {
    transform: scale(1);
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.refined-modal h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 12px;
    font-weight: 600;
}

.refined-modal p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.btn-modal {
    width: 100%;
    padding: 16px;
    background: white;
    color: black;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

/* SCANNING OVERLAY */
.scanning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ef4444;
    font-family: 'Outfit', sans-serif;
}

.scan-radar {
    width: 120px;
    height: 120px;
    border: 2px solid #ef4444;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
}

.scan-radar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    border-top: 2px solid #ef4444;
    border-right: 2px solid #ef4444;
    border-radius: 0 100% 0 0;
    transform-origin: top left;
    animation: radar-spin 1.5s linear infinite;
    background: linear-gradient(45deg, rgba(239, 68, 68, 0.5), transparent);
}

.scan-text {
    margin-top: 30px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

.scan-log {
    margin-top: 10px;
    font-family: monospace;
    color: #ef4444;
    opacity: 0.7;
    font-size: 0.9rem;
    height: 20px;
}

@keyframes radar-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* GLOBAL PAGE ENTRANCE ANIMATION */
body {
    animation: fadePageIn 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadePageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* === PREMIUM RESULTS UI === */
.full-data-section {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0 10px;
}

.section-divider span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.section-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.3), transparent);
}

.data-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.data-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.data-item:hover {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.data-item.highlight {
    border-left: 4px solid var(--brand-primary);
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%);
}

.data-item label {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-item strong {
    font-size: 1.1rem;
    color: #fff;
    word-break: break-word;
    font-weight: 600;
}

/* Status Section */
.status-main {
    padding: 28px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.status-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent);
}

.status-main.ok {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.status-main.alert {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.1);
}

.status-main i {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px currentColor);
}

.status-main div strong {
    font-size: 1.25rem;
    display: block;
    margin-bottom: 6px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.status-main div p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.restrictions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* FIPE Section Enhancement */
.fipe-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.fipe-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
}

.fipe-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(239, 68, 68, 0.2);
    transform: translateY(-5px);
}

.fipe-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    align-items: center;
}

.fipe-code {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
}

.fipe-score {
    color: #10b981;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.fipe-model {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.3;
}

.fipe-details {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.fipe-price {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--brand-primary);
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.fipe-ref {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

/* Report Status Box Enhancement */
.report-status-box {
    padding: 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, transparent 100%);
    border: 1px solid rgba(16, 185, 129, 0.15);
    margin-top: 20px;
}

.report-status-box i {
    font-size: 2.5rem;
    color: #10b981;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.report-status-box strong {
    color: #10b981;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .data-grid-full {
        grid-template-columns: 1fr;
    }

    .restrictions-grid {
        grid-template-columns: 1fr;
    }

    .fipe-section {
        grid-template-columns: 1fr;
    }
}

/* REFINED MINIMALIST MODAL SYSTEM (GLOBAL) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex !important;
    opacity: 1;
}

.refined-modal-card {
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.modal-overlay.active .refined-modal-card {
    transform: scale(1);
}

.modal-icon-top {
    width: 64px;
    height: 64px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--brand-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
}

.modal-title-alt {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: white;
    display: block;
}

.modal-desc-alt {
    color: #a1a1aa;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
    display: block;
}

.tip-box-alt {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 16px;
    border-radius: 16px;
    text-align: left;
    margin-bottom: 24px;
}

.tip-box-alt strong {
    color: var(--brand-primary);
    display: block;
    margin-bottom: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tip-box-alt p {
    font-size: 0.9rem;
    color: #d4d4d8;
    margin: 0;
    line-height: 1.4;
}

.btn-refined-modal {
    width: 100%;
    padding: 16px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-refined-modal:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(239, 68, 68, 0.5);
}

/* Progress Bar (Global) */
.progress-container {
    width: 100%;
    height: 6px;
    background: #27272a;
    border-radius: 10px;
    margin: 24px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--brand-primary);
    width: 0%;
    transition: width 0.3s;
    box-shadow: 0 0 15px var(--brand-glow);
}

.status-text {
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}