﻿.hero {
    padding: clamp(24px, 4vw, 56px);
}
.hero-title {
    letter-spacing: -0.04em;
}
.hero-subtitle {
    max-width: 700px;
}
/* Modern Hero - Glassmorphism effects */
.hero-modern {
    padding: 120px 0 80px;
    background: radial-gradient(circle at top right, #e0e0e0, #f5f5f7);
}

.hero__container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(20px, 4vw, 56px);
    align-items: center;
}

.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .75rem;
    opacity: .7;
}

.hero__title {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
    margin: 0 0 12px;
}

.hero__subtitle {
    max-width: 52ch;
    opacity: .85;
}

.hero__actions {
    display: flex;
    gap: 12px;
}

.button {
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,.12);
}

.button--primary {
    background: #111;
    color: #fff;
}

.button--ghost {
    background: transparent;
}

/* ===== Device Inspector ===== */

.device-inspector {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-box:hover,
.device-inspector:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.device-inspector__image {
    width: 100%;
    display: block;
}

.device-inspector__hotspot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0,0,0,.7);
    border: 2px solid #fff;
    cursor: pointer;
}

    .device-inspector__hotspot::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 2px solid var(--accent-color);
        animation: inspector-pulse 2s infinite;
    }

    .device-inspector__hotspot.is-active {
        background: #000;
    }

@keyframes inspector-pulse {
    0%,100% {
        opacity: .5;
        transform: scale(1);
    }

    50% {
        opacity: .1;
        transform: scale(1.4);
    }
}

.device-inspector__callout {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px;
}

    .device-inspector__callout.is-hidden {
        display: none;
    }

.device-inspector__callout-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.device-inspector__callout-title {
    font-weight: 700;
}

.device-inspector__callout-close {
    background: none;
    border: 0;
    cursor: pointer;
}

.device-inspector__hint {
    opacity: .7;
    font-size: .9rem;
}

@media (max-width: 900px) {
    .hero__container {
        grid-template-columns: 1fr;
    }
}

.feature-box {
    background: #f5f5f7;
    border-radius: 30px;
    padding: 60px;
    overflow: hidden;
    transition: box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-modern {
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 12px; /* Matches the search container's vibe */
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-primary-modern:hover {
        filter: brightness(1.1);
        transform: translateX(2px); /* Subtle nudge to the right */
    }

.search-container {
    background: white;
    border-radius: 18px; /* Slightly rounder for the "pill" feel */
    padding: 6px; /* Creates a consistent "track" around the button */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #efeff2;
}
    .search-container:focus-within {
        box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.1);
        border-color: var(--accent-color);
    }

    .search-container input {
        border: none;
        box-shadow: none;
        font-weight: 500;
    }

.bento-card {
    background: white;
    border: none;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

    .bento-card:focus-visible {
        outline: 2px solid #0052FF;
        outline-offset: 3px;
    }

    .bento-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .bento-card .img-container {
        background: #f5f5f7;
        border-radius: 20px;
        margin: 12px;
        overflow: hidden;
        aspect-ratio: 4/3;
    }

    .bento-card img {
        transition: transform 0.3s ease;
    }

    .bento-card:hover img {
        transform: scale(1.08);
    }

/* --- Floating UI Elements --- */
.floating-badge {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #1d1d1f;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* --- Filter Pills --- */
.filter-pill {
    background: white;
    border: 1px solid #e5e5e7;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    color: #515154;
}

    .filter-pill:hover, .filter-pill.active {
        background: #1d1d1f;
        color: white;
        border-color: #1d1d1f;
    }


/* --- Device Inspect PDP --- */

/* --- Navigation --- */
.navbar-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
}

/* --- Hero Gallery --- */
.media-container {
    background: white;
    border-radius: 32px;
    padding: 24px;
    border: 1px solid var(--border-light);
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.hero-wrapper {
    background-color: #f5f5f7;
    border-radius: 20px;
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    display: block;
    padding: 0;
}

    .hero-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transform: scale(1.02);
    }

/* --- Gallery Controls --- */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    z-index: 10;
    transition: 0.2s;
}

    .nav-btn:hover {
        color: var(--accent-blue);
        transform: translateY(-50%) scale(1.1);
    }

    .nav-btn.prev {
        left: 45px;
    }

    .nav-btn.next {
        right: 45px;
    }

.expand-trigger {
    position: absolute;
    bottom: 45px;
    right: 45px;
    background: rgba(29, 29, 31, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 5;
}

    .expand-trigger:hover {
        background: #000;
        transform: scale(1.1);
    }

/* --- Thumbnails --- */
.thumb-item {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #f5f5f7;
    aspect-ratio: 1/1;
    transition: 0.3s;
}

    .thumb-item.active {
        border-color: var(--accent-blue);
    }

    .thumb-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.6;
    }

    .thumb-item.active img {
        opacity: 1;
    }

/* --- Info Sections --- */
.insight-card {
    background: linear-gradient(145deg, #fffcf5 0%, #fff9e6 100%);
    border: 1px solid #f9ebc8;
    border-radius: 24px;
    padding: 28px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 14px;
}

.data-label {
    color: #86868b;
    font-weight: 500;
}

.data-value {
    font-weight: 700;
    font-family: monospace;
    font-size: 13px;
}

.inclusion-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 15px;
}

    .inclusion-item:hover {
        border-color: var(--accent-blue);
        transform: translateY(-2px);
    }

.icon-circle {
    width: 40px;
    height: 40px;
    background: #f5f5f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86868b;
    font-size: 1.2rem;
}

.tag-dna {
    background: #f5f5f7;
    color: #515154;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

/* ========================================= */
/* FULLSCREEN MODAL / LIGHTBOX FIX */
/* ========================================= */

/* Overlay */
.modal {
    background: rgba(20, 20, 22, 0.65);
    backdrop-filter: blur(8px);
}

/* Remove default modal box */
.modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Center content */
.modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Image */
.full-res-view {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 20px;
}

/* Close button (fixed, always visible) */
.custom-close {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1056;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 18px;
    transition: 0.2s;
}

    .custom-close:hover {
        background: rgba(255,255,255,0.3);
        transform: scale(1.1);
    }


/* ========================================= */
/* 404 PAGE */
/* ========================================= */
.error-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    margin: 40px 0;
}

.error-container h1 {
    font-weight: 800;
    font-size: 80px;
    letter-spacing: -0.05em;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #1d1d1f 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.studio-stage {
    background: white;
    border-radius: 40px;
    padding: 60px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px rgba(0,0,0,0.04);
    max-width: 600px;
    width: 100%;
    position: relative;
}

/* Empty Box Icon Styling */
.box-icon-wrapper {
    font-size: 80px;
    color: #e5e5e7;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.bi-question-circle-fill {
    position: absolute;
    font-size: 24px;
    bottom: 5px;
    right: -5px;
    color: var(--accent-blue);
    background: white;
    border-radius: 50%;
}


.error-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.error-desc {
    color: #86868b;
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-outline-modern {
    background: transparent;
    border: 1px solid var(--border-light);
    color: #1d1d1f;
}

    .btn-outline-modern:hover {
        background: #f5f5f7;
        border-color: #d2d2d7;
    }

/* --- Footer Badge --- */
.status-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 12px;
    background: #fff1f1;
    color: #ff3b30;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 20px;
}
/* --- Studio Form Card --- */
.contact-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.form-label {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #86868b;
    margin-bottom: 10px;
}

.form-control, .form-select {
    border-radius: 14px;
    padding: 14px 18px;
    border: 1px solid #e5e5e7;
    background-color: #f5f5f7;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .form-control:focus, .form-select:focus {
        background-color: white;
        border-color: var(--accent-blue);
        box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.1);
    }

/* ========================================= */
/* UPLOAD AREA */
/* ========================================= */
#uploadSection {
    display: none; /* Hidden by default */
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upload-dropzone {
    border: 2px dashed #d2d2d7;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    background: #fbfbfd;
    transition: 0.2s;
    cursor: pointer;
    position: relative;
}

    .upload-dropzone:hover {
        border-color: var(--accent-blue);
        background: #f5f9ff;
    }

    .upload-dropzone i {
        font-size: 2rem;
        color: var(--accent-blue);
        margin-bottom: 10px;
        display: block;
    }
.upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.upload-thumb {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.12);
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
}

    .upload-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.upload-thumb-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.upload-thumb-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5px 7px;
    font-size: 11px;
    color: #fff;
    background: rgba(0,0,0,.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* --- Button --- */
.contact-card .btn-pill {
    width: 100%;
    padding: 16px 32px;
}
.file-counter {
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    color: #86868b;
}
/* ========================================= */
/* AUTHENTICITY MANUAL */
/* ========================================= */
/* --- Header --- */
.hero-manual {
    padding: 120px 0 80px;
    background: white;
    border-bottom: 1px solid var(--border-light);
}

.badge-tech {
    background: #f5f5f7;
    color: #86868b;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Section Styling --- */
.manual-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-light);
}

.section-title {
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

/* --- Universal Red Flags Grid --- */
.flag-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    height: 100%;
    border: 1px solid var(--border-light);
    transition: 0.3s;
}

    .flag-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    }

.flag-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
    display: block;
}

/* --- Comparison Loupe --- */
.loupe-container {
    background: white;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid var(--border-light);
}

.comp-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.tag-genuine {
    background: #e8f5e9;
    color: #2e7d32;
}

.tag-fake {
    background: #ffebee;
    color: #c62828;
}

/* --- Checklist --- */
.checklist-v2 {
    background: #f5f5f7;
    border-radius: 24px;
    padding: 30px;
}

.check-row {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid transparent;
}

    .check-row:hover {
        border-color: var(--accent-blue);
    }

    .check-row.verified {
        background: #f0f7ff;
        border-color: var(--accent-blue);
    }

.indicator {
    width: 22px;
    height: 22px;
    border: 2px solid #d2d2d7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: transparent;
}

.verified .indicator {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.sticky-toc {
    position: sticky;
    top: 100px;
}

.toc-link {
    display: block;
    padding: 8px 0;
    color: #86868b;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}

    .toc-link:hover, .toc-link.active {
        color: var(--accent-blue);
    }
/* UX additions */
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.audit-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 40px;
}

.audit-step {
    background: #f5f5f7;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 18px;
    text-align: center;
}

    .audit-step i {
        font-size: 1.5rem;
        color: var(--accent-blue);
        display: block;
        margin-bottom: 8px;
    }

.quick-test {
    background: linear-gradient(135deg, #ffffff, #f5f7ff);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 32px;
    margin-top: -40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.severity {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 10px;
    display: inline-block;
    margin-bottom: 14px;
    letter-spacing: .04em;
}

.severity-low {
    background: #e8f5e9;
    color: #2e7d32;
}

.severity-medium {
    background: #fff4e5;
    color: #b26a00;
}

.severity-high {
    background: #ffebee;
    color: #c62828;
}

.warning-callout {
    background: #fff8e1;
    border: 1px solid #ffe0a3;
    border-radius: 22px;
    padding: 24px;
}

.matrix-table {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

    .matrix-table table {
        margin-bottom: 0;
    }

    .matrix-table th {
        font-size: 12px;
        text-transform: uppercase;
        color: #86868b;
        letter-spacing: .05em;
    }

.score-panel {
    background: #111827;
    color: white;
    border-radius: 28px;
    padding: 32px;
}

.score-value {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hotspot-card {
    position: relative;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 28px;
    overflow: hidden;
}

    .hotspot-card img {
        width: 100%;
        display: block;
        transition: transform .35s ease;
    }

    .hotspot-card:hover img {
        transform: scale(1.05);
    }

.hotspot-dot {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 0 0 8px rgba(0,82,255,.15);
}

.toc-progress {
    height: 4px;
    background: #e5e5ea;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 22px;
}

.toc-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-blue);
    transition: width .2s ease;
}

@media (max-width: 991px) {
    .audit-flow {
        grid-template-columns: 1fr 1fr;
    }

    .quick-test {
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 2.6rem;
    }

    .audit-flow {
        grid-template-columns: 1fr;
    }
}