/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0B0B0E;
    --bg-card: #16171B;
    --primary-red: #C1121F;
    --primary-red-glow: rgba(193, 18, 31, 0.4);
    --text-white: #F5F5F5;
    --text-grey: #9CA3AF;
    --border-grey: #2A2B30;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grain Effect Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    z-index: 9999;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-highlight {
    /* Reset gradient from parent */
    background: none;
    -webkit-text-fill-color: var(--primary-red);
    color: var(--primary-red);

    /* Glow Effect */
    border-bottom: 2px solid var(--primary-red);
    text-shadow: 0 0 15px rgba(193, 18, 31, 0.6);
}

.text-highlight-red {
    color: var(--primary-red);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.section-title-sm {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* Header */
.site-header {
    background: rgba(11, 11, 14, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-grey);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 2px;
}

.header-cta {
    font-size: 0.9rem !important;
    padding: 8px 20px !important;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-align: center;
    box-shadow: 0 0 15px var(--primary-red-glow);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.cta-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px var(--primary-red-glow);
}

.cta-button.secondary {
    background: transparent;
    border: 1px solid var(--text-white);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Button Shine Effect */
.cta-button.pulse {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, var(--primary-red), #e01b2b, var(--primary-red));
    background-size: 200% auto;
    animation: btn-shine 3s linear infinite, pulse 2s infinite;
}

@keyframes btn-shine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Hero Section */
.hero-section {
    padding-top: 100px;
    /* Header height */
    padding-bottom: 60px;
    background: linear-gradient(to bottom, rgba(11, 11, 14, 0.7), var(--bg-dark)), url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-grey);
    margin-bottom: 20px;
    border: 1px solid var(--border-grey);
    letter-spacing: 2px;
}

.hero-headline {
    font-size: 2.2rem;
    margin-bottom: 20px;

    /* Premium Shimmer Effect */
    background: linear-gradient(to right, #ffffff 0%, #a0a0a0 40%, #ffffff 50%, #a0a0a0 60%, #ffffff 100%);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-subheadline {
    color: var(--text-grey);
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.benefit-tag {
    font-size: 0.85rem;
    color: #CCC;
    background: #1A1A1A;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid var(--border-grey);
}

.micro-copy {
    font-size: 0.8rem;
    color: var(--text-grey);
    margin-top: 10px;
}

/* Nightmare Section */
.nightmare-section {
    background: #0E0F12;
    padding: 60px 0;
    border-top: 1px solid var(--border-grey);
}

.nightmare-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nightmare-text p {
    margin-bottom: 20px;
    color: #CCC;
}

.pain-points li {
    margin-bottom: 10px;
    font-size: 1rem;
    padding-left: 10px;
    border-left: 2px solid var(--primary-red);
}

/* Dream Section */
.dream-section {
    padding: 60px 0;
}

.dream-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.dream-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-grey);
    text-align: center;
}

.dream-card h3 {
    color: var(--primary-red);
    margin-bottom: 10px;
}

/* Product Section */
.product-section {
    padding: 60px 0;
    background: #0E0F12;
}

.mockup-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(193, 18, 31, 0.1));
    border-radius: 5px;
    display: block;
    margin: 0 auto 40px;
}

.timeline {
    margin: 30px 0;
}

.timeline-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.step-num {
    background: var(--primary-red);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-grey);
}

.delivery-badge {
    background: #1A1A1A;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px dashed var(--border-grey);
    margin-top: 20px;
}

/* Secret Section */
.secret-section {
    padding: 60px 0;
}

.comparison-table {
    border: 1px solid var(--border-grey);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.table-header {
    background: #1A1A1A;
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
}

.table-header div {
    padding: 15px;
}

.col-b {
    color: var(--primary-red);
}

.table-row {
    border-top: 1px solid var(--border-grey);
}

.table-row div {
    padding: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.table-row .col-b {
    background: rgba(193, 18, 31, 0.05);
}

.check {
    color: var(--primary-red);
    margin-right: 5px;
    font-weight: bold;
}

/* Benefits */
.benefits-section {
    padding: 60px 0;
    background: #0E0F12;
}

.fab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.fab-item {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-red);
    font-size: 0.95rem;
}

/* Proof */
.proof-section {
    padding: 60px 0;
}

.proof-warning {
    text-align: center;
    color: var(--text-grey);
    font-size: 0.8rem;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-grey);
}

.stars {
    color: #FFD700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.author {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-grey);
    font-weight: 600;
}

.proof-counter {
    text-align: center;
    margin-top: 40px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #888;
}

.counter-number {
    color: var(--primary-red);
    font-weight: 700;
}

/* Offer */
.offer-section {
    padding: 60px 0;
}

.offer-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.offer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-grey);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.offer-card.popular {
    /* Glassmorphism & Premium Glow */
    background: linear-gradient(145deg, rgba(22, 23, 27, 0.9), rgba(11, 11, 14, 0.95));
    border: 1px solid var(--primary-red);
    box-shadow: 0 0 30px rgba(193, 18, 31, 0.15), inset 0 0 20px rgba(193, 18, 31, 0.05);
    z-index: 2;
}

.offer-card.popular:hover {
    transform: scale(1.03);
    box-shadow: 0 0 50px rgba(193, 18, 31, 0.3), inset 0 0 30px rgba(193, 18, 31, 0.1);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-red), #8a0b14);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.rec-text {
    font-size: 0.9rem;
    color: var(--text-grey);
    margin-bottom: 15px;
}

.price {
    font-family: var(--font-heading);
    font-size: 4rem;
    /* Increased size */
    font-weight: 800;
    margin: 15px 0 25px;
    color: var(--text-white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    letter-spacing: -1px;
}

.offer-list {
    text-align: left;
    margin-bottom: 30px;
}

.offer-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    color: #ffd700;
    /* Gold */
    font-weight: 800;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* Mystery Bonus Item */
.mystery-item {
    background: rgba(255, 215, 0, 0.05);
    /* Slight Gold Tint */
    border: 1px dashed rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    padding: 10px !important;
    margin-top: 10px;
}

.security-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    font-size: 0.85rem;
    color: var(--text-grey);
}

/* FAQ */
.faq-section {
    padding: 60px 0;
    background: #0E0F12;
}

.accordion-item {
    background: var(--bg-card);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-white);
    padding: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}

.accordion-body {
    padding: 0 20px 20px;
    color: var(--text-grey);
    display: none;
}

.accordion-item.active .accordion-body {
    display: block;
}

.accordion-item.active .arr {
    transform: rotate(45deg);
}

.arr {
    transition: transform 0.3s;
    font-size: 1.5rem;
    line-height: 1;
}

/* Urgency */
.urgency-section {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-dark), #150000);
}

.countdown {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-red);
    margin: 20px 0;
}

/* Footer */
.site-footer {
    padding: 60px 0 100px;
    /* Padding for sticky bar */
    border-top: 1px solid var(--border-grey);
    text-align: center;
    font-size: 0.9rem;
}

.authority-box {
    margin-bottom: 40px;
}

.authority-box h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.badges {
    margin-top: 15px;
    color: var(--text-grey);
    font-size: 0.8rem;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-grey);
    margin: 0 10px;
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.75rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 15px;
    border-top: 1px solid var(--primary-red);
    z-index: 999;
}

.sticky-cta {
    display: block;
    background: var(--primary-red);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(193, 18, 31, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(193, 18, 31, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(193, 18, 31, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Desktop */
@media (min-width: 768px) {
    .hero-headline {
        font-size: 3.5rem;
    }

    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }

    .dream-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-showcase {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 60px;
        text-align: left;
    }

    .product-details {
        max-width: 500px;
    }

    .section-title-left {
        text-align: left;
        font-size: 2rem;
        margin-bottom: 20px;
        font-family: var(--font-heading);
        font-weight: 700;
        text-transform: uppercase;
    }

    .fab-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .offer-container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .offer-card {
        width: 350px;
    }

    .offer-card.popular {
        transform: scale(1.05);
        z-index: 2;
    }

    .mobile-sticky-bar {
        display: none;
    }

    .site-footer {
        padding-bottom: 40px;
    }

    .cta-button {
        width: auto;
        min-width: 300px;
    }
}

/* Upgrade Modal (Mobile Bottom Sheet) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Slightly lighter for focus on sheet */
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Align bottom for mobile */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.modal-show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #0E0F12;
    border-top: 1px solid #333;
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-height: 85vh;
    /* Max height for bottom sheet */
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.modal-show .modal-content {
    transform: translateY(0);
}

/* Handle for Mobile */
.modal-handle {
    width: 40px;
    height: 5px;
    background: #333;
    border-radius: 5px;
    margin: 12px auto 5px;
    flex-shrink: 0;
}

/* Close Button */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
}

/* Scrollable Body */
.modal-body {
    padding: 10px 24px 20px;
    overflow-y: auto;
    flex: 1;
    /* Takes available space */
}

/* Badge */
.modal-badge-top {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

/* Typography */
.modal-title {
    font-size: 1.4rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
    font-weight: 700;
}

.modal-subtitle {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Price Block */
.modal-price-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-current-price {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.modal-savings {
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
}

.modal-urgent-text {
    font-size: 0.75rem;
    color: #666;
    margin-top: 3px;
    font-style: italic;
}

/* Bullets */
.modal-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ddd;
    font-size: 0.9rem;
}

.check-svg {
    width: 20px;
    height: 20px;
    color: var(--primary-red);
    flex-shrink: 0;
}

.modal-disclaimer {
    font-size: 0.7rem;
    color: #444;
    margin-top: 10px;
    text-align: center;
    line-height: 1.4;
}

/* Sticky Footer */
.modal-footer {
    padding: 20px 24px 30px;
    /* Extra padding bottom for safe area */
    background: #0E0F12;
    border-top: 1px solid #1a1a1a;
    flex-shrink: 0;
    /* Ensures it stays at bottom */
    text-align: center;
    z-index: 5;
}

.modal-micro-copy {
    font-size: 0.75rem;
    color: #666;
    margin-top: 8px;
    margin-bottom: 15px;
}

.modal-reject-link {
    color: #555;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
}

/* DESKTOP ADAPTATION (Centered Modal) */
@media (min-width: 768px) {
    .modal-overlay {
        align-items: center;
        /* Center vertically */
    }

    .modal-content {
        max-width: 480px;
        border-radius: 16px;
        /* All corners */
        max-height: 90vh;
        transform: scale(0.95);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .modal-overlay.modal-show .modal-content {
        transform: scale(1);
        opacity: 1;
    }

    .modal-handle {
        display: none;
        /* No handle on desktop */
    }

    .modal-body {
        padding: 30px 40px 10px;
        /* More padding */
    }

    .modal-footer {
        padding: 20px 40px 30px;
    }
}

/* Privacy Note - Premium Style */
.privacy-note-container {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid #222;
    border-left: 3px solid var(--primary-red);
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    margin: 25px auto 40px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.privacy-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.privacy-icon {
    color: #666;
    width: 16px;
    height: 16px;
}

.privacy-badge {
    color: #888;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.privacy-text {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

.privacy-highlight {
    color: #fff;
    font-weight: 500;
}

/* =========================================
   CONFIDENTIAL PRELOADER
   ========================================= */
body.loading-state {
    overflow: hidden;
    /* Lock scroll during load */
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0B0B0E;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Scanner Line Effect */
.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red);
    opacity: 0.5;
    animation: scan 2s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes scan {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Preloader Elements */
.preloader-header {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.preloader-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.preloader-logs {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #9CA3AF;
    text-align: left;
    margin-bottom: 25px;
    min-height: 60px;
    /* Reserve space */
    padding-left: 10px;
    border-left: 2px solid #333;
}

.log-item {
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.log-item.show-log {
    opacity: 1;
    transform: translateY(0);
}

.log-ok {
    color: var(--primary-red);
    font-weight: bold;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: #222;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red);
    transition: width 0.1s linear;
}

.preloader-footer {
    font-size: 0.7rem;
    color: #555;
    font-style: italic;
    margin-bottom: 30px;
}

.confidential-badge-preloader {
    display: inline-block;
    border: 1px solid #333;
    padding: 5px 12px;
    font-size: 0.65rem;
    color: #444;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* =========================================
   HERO TITLE GLITCH EFFECT (Subtle/Premium)
   ========================================= */

#heroTitle {
    position: relative;
}

/* Glitch Class - Activated by JS */
#heroTitle.glitch-on::before,
#heroTitle.glitch-on::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    overflow: hidden;
}

#heroTitle.glitch-on::before {
    left: 1px;
    text-shadow: -1px 0 var(--primary-red);
    animation: glitch-anim 0.3s infinite linear alternate-reverse;
}

#heroTitle.glitch-on::after {
    left: -1px;
    text-shadow: -1px 0 #9CA3AF;
    animation: glitch-anim 0.2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0%   { clip-path: inset(10% 0 8% 0);  transform: translate(0); }
    10%  { clip-path: inset(55% 0 12% 0); transform: translate(-1px, 1px); }
    20%  { clip-path: inset(30% 0 45% 0); transform: translate(1px, -1px); }
    30%  { clip-path: inset(10% 0 68% 0); transform: translate(-1px, 0); }
    40%  { clip-path: inset(80% 0 4% 0);  transform: translate(1px, 0); }
    50%  { clip-path: inset(35% 0 25% 0); transform: translate(0, 1px); }
    60%  { clip-path: inset(5% 0 55% 0);  transform: translate(0, -1px); }
    70%  { clip-path: inset(60% 0 15% 0); transform: translate(-1px, 1px); }
    80%  { clip-path: inset(15% 0 70% 0); transform: translate(1px, -1px); }
    90%  { clip-path: inset(45% 0 8% 0);  transform: translate(-1px, 0); }
    100% { clip-path: inset(2% 0 92% 0);  transform: translate(0); }
}
