/* ==========================================================================
   HOZINA EXPLORER PAGE REDESIGN
   100% Match to Windows 11 Fluent Clean Aesthetics Reference
   ========================================================================== */

/* Main Page Container & Variables */
.explorer-redesign-main {
    background-color: #ffffff;
    color: #1e293b;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

.ex-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Typography Helpers */
.text-blue {
    color: #0066f5 !important;
}

.ex-section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.08em;
    color: #0066f5;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.ex-hero-section {
    position: relative;
    padding: 24px 0 70px;
    background: radial-gradient(ellipse 90% 80% at 20% 0%, #ebf5ff 0%, #f7faff 60%, #ffffff 100%);
    overflow: hidden;
}

.ex-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
}

.ex-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.16s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ex-breadcrumbs a:hover {
    color: #0066f5;
}

.ex-breadcrumbs .separator {
    color: #94a3b8;
    font-size: 11px;
}

.ex-breadcrumbs .current {
    color: #0f172a;
    font-weight: 600;
}

.ex-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: center;
}

.ex-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ex-hero-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 102, 245, 0.2);
}

.ex-hero-badge-tag {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #0066f5;
    text-transform: uppercase;
}

.ex-hero-subhead {
    font-size: 21px;
    font-weight: 750;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.ex-hero-h1 {
    font-size: clamp(34px, 3.8vw, 45px);
    font-weight: 850;
    color: #0f172a;
    line-height: 1.18;
    letter-spacing: -0.035em;
    margin: 0 0 20px;
}

.ex-hero-p {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 32px;
    max-width: 500px;
}

.ex-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.btn-ex-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0066f5;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 650;
    padding: 13px 26px;
    border-radius: 9999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 102, 245, 0.28);
    transition: background 0.2s ease, transform 0.16s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn-ex-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 245, 0.36);
}

.btn-ex-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0066f5 !important;
    font-size: 14.5px;
    font-weight: 650;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none;
    border: 1.5px solid #bfdbfe;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.16s ease;
    white-space: nowrap;
}

.btn-ex-secondary:hover {
    background: #f0f7ff;
    border-color: #93c5fd;
    transform: translateY(-2px);
}

.btn-ex-secondary i {
    font-size: 18px;
}

/* 4 Trust Highlights */
.ex-hero-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.ex-hl-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ex-hl-item i {
    font-size: 20px;
    color: #0066f5;
    flex-shrink: 0;
}

.ex-hl-item span {
    font-size: 13px;
    font-weight: 650;
    color: #1e293b;
    line-height: 1.25;
}

/* Hero Media Column */
.ex-hero-media-wrap {
    position: relative;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ex-hero-img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 34, 64, 0.14);
    display: block;
    transition: transform 0.3s ease;
}

.ex-hero-img:hover {
    transform: scale(1.01);
}

/* ==========================================================================
   2. Key Benefits Section (4 Cards in a row)
   ========================================================================== */
.ex-benefits-section {
    padding: 40px 0 65px;
    background: #ffffff;
}

.ex-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ex-benefit-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(15, 34, 64, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.ex-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 34, 64, 0.08);
    border-color: #dbeafe;
}

.ex-b-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.ex-b-icon-box.box-blue { background: #e0f2fe; color: #0066f5; }
.ex-b-icon-box.box-green { background: #e6fbf3; color: #00c48c; }
.ex-b-icon-box.box-orange { background: #fef3c7; color: #f59e0b; }
.ex-b-icon-box.box-purple { background: #f3e8ff; color: #8b5cf6; }

.ex-benefit-card h3 {
    font-size: 17.5px;
    font-weight: 750;
    color: #0f172a;
    margin: 0 0 8px;
    letter-spacing: -0.015em;
}

.ex-benefit-card p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   3. Search Experience Section (Find Anything, Instantly)
   ========================================================================== */
.ex-search-section {
    padding: 70px 0 80px;
    background: #fbfdff;
    border-top: 1px solid #f1f5f9;
}

.ex-search-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 55px;
    align-items: center;
}

.ex-search-preview-frame {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 14px 40px rgba(15, 34, 64, 0.08);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ex-search-preview-frame:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(15, 34, 64, 0.12);
}

.ex-search-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.ex-search-content h2 {
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 850;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.22;
    margin: 0 0 16px;
}

.ex-section-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
}

/* Checklists */
.ex-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.ex-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    color: #334155;
    font-weight: 550;
}

.ex-checklist li i.check-blue {
    color: #0066f5;
    font-size: 17px;
    flex-shrink: 0;
}

/* ==========================================================================
   4. Key Features Section (Everything You Need in One Explorer)
   ========================================================================== */
.ex-features-section {
    padding: 85px 0 90px;
    background: linear-gradient(180deg, #f7faff 0%, #edf5fe 60%, #f7faff 100%);
    border-top: 1px solid #edf4fc;
}

.ex-features-head h2 {
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 850;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin: 0 0 8px;
}

.ex-features-head p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.ex-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 36px 0 26px;
}

.ex-feature-card {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 8px 24px rgba(15, 34, 64, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ex-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 34, 64, 0.08);
    border-color: #dbeafe;
}

.ex-f-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: #eff6ff;
    color: #0066f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ex-feature-card h4 {
    font-size: 15.5px;
    font-weight: 750;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.3;
}

.ex-feature-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

.ex-features-notice {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #1e40af;
}

.ex-features-notice i {
    font-size: 18px;
    color: #0066f5;
}

/* ==========================================================================
   5. Beautiful File Icons Section
   ========================================================================== */
.ex-icons-section {
    padding: 85px 0 90px;
    background: #ffffff;
}

.ex-icons-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 55px;
    align-items: center;
}

.ex-icons-preview-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.16);
    background: #000000;
}

.ex-icons-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.ex-icons-content h2 {
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 850;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.22;
    margin: 0 0 16px;
}

/* ==========================================================================
   6. Pre-Footer CTA Card
   ========================================================================== */
.ex-cta-section {
    padding: 10px 0 25px;
    background: #ffffff;
}

.ex-cta-card {
    background: linear-gradient(135deg, #eff6ff 0%, #e0f0fe 100%);
    border: 1.5px solid #bfdbfe;
    border-radius: 22px;
    padding: 34px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0, 102, 245, 0.08);
}

.ex-cta-left {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
}

.ex-cta-win-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #0066f5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0, 102, 245, 0.35);
}

.ex-cta-text h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    line-height: 1.3;
}

.ex-cta-text p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
    max-width: 620px;
}

.ex-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ex-cta-sublink {
    font-size: 13.5px;
    font-weight: 650;
    color: #0066f5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.16s ease, transform 0.16s ease;
}

.ex-cta-sublink:hover {
    color: #004ecc;
    transform: translateX(2px);
}

/* ==========================================================================
   7. Release Details & System Requirements Card
   ========================================================================== */
.ex-release-section {
    padding: 20px 0 85px;
    background: #ffffff;
}

.ex-release-details-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px 36px;
    box-shadow: 0 8px 30px rgba(15, 34, 64, 0.04);
}

.ex-release-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 18px;
    font-weight: 750;
    color: #0f172a;
    user-select: none;
}

.ex-release-summary::-webkit-details-marker {
    display: none;
}

.ex-summary-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 750;
    color: #0f172a;
}

.ex-summary-title i {
    font-size: 20px;
    color: #0066f5;
}

.ex-summary-chevron {
    font-size: 18px;
    color: #0066f5;
    transition: transform 0.25s ease;
}

.ex-release-details-card[open] .ex-summary-chevron {
    transform: rotate(0deg);
}

.ex-release-details-card:not([open]) .ex-summary-chevron {
    transform: rotate(180deg);
}

.ex-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 30px 0 26px;
}

.ex-fact-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ex-fact-col .fact-icon {
    font-size: 20px;
    color: #0066f5;
    margin-bottom: 8px;
}

.ex-fact-col small {
    font-size: 12px;
    font-weight: 650;
    color: #64748b;
    text-transform: capitalize;
}

.ex-fact-col strong {
    font-size: 15.5px;
    font-weight: 750;
    color: #0f172a;
    line-height: 1.3;
}

.ex-fact-col span {
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
    margin-top: 2px;
}

.ex-facts-divider {
    border: none;
    border-top: 1px solid #edf2f7;
    margin: 22px 0 20px;
}

.ex-facts-note {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 24px;
}

.ex-release-actions-row {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}

.ex-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 650;
    color: #0066f5;
    text-decoration: none;
    transition: color 0.16s ease, transform 0.16s ease;
}

.ex-action-link:hover {
    color: #004ecc;
    transform: translateX(3px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .ex-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ex-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ex-search-grid,
    .ex-icons-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ex-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ex-facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ex-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 28px;
    }

    .ex-cta-actions {
        width: 100%;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .ex-hero-h1 {
        font-size: 32px;
    }

    .ex-hero-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ex-benefits-grid {
        grid-template-columns: 1fr;
    }

    .ex-features-grid {
        grid-template-columns: 1fr;
    }

    .ex-facts-grid {
        grid-template-columns: 1fr;
    }

    .ex-release-actions-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ex-cta-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

/* ==========================================================================
   8. Interactive Preview Modal Dialog
   ========================================================================== */
.ex-preview-dialog {
    width: min(1040px, calc(100vw - 40px));
    max-width: none;
    max-height: calc(100dvh - 40px);
    padding: 24px 28px;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 25px 80px rgba(15, 34, 64, 0.28);
    overflow: auto;
}

.ex-preview-dialog::backdrop {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
}

.ex-preview-dialog:not([open]) {
    display: none;
}

.ex-preview-dialog[open] {
    display: block;
}

.ex-dialog-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.ex-dialog-heading h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}

.ex-dialog-heading p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.ex-dialog-heading button {
    width: 38px;
    height: 38px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.16s, color 0.16s;
}

.ex-dialog-heading button:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
}

.ex-preview-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.ex-preview-tabs button {
    font-size: 13.5px;
    font-weight: 650;
    padding: 9px 18px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.16s, color 0.16s, border-color 0.16s;
}

.ex-preview-tabs button:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.ex-preview-tabs button[aria-pressed="true"] {
    background: #0066f5;
    color: #ffffff;
    border-color: #0066f5;
    box-shadow: 0 4px 12px rgba(0, 102, 245, 0.25);
}

.ex-dialog-image {
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: contain;
    display: block;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ex-dialog-caption {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-top: 14px;
}

