/* CSS Variables for Black & White Theme */
:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --secondary-gray: #f5f5f5;
    --acc-gray: #333333;
    --text-main: #000000;
    --text-muted: #666666;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Box Sizing */
.mx-body-reset,
.mx-body-reset *,
.mx-body-reset *::before,
.mx-body-reset *::after {
    box-sizing: border-box;
}

.mx-body-reset {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--primary-white);
    color: var(--text-main);
    overflow-x: hidden;
}

.mx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ad Banner Styles */
.mx-ad-banner {
    background-color: var(--secondary-gray);
    color: var(--text-muted);
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.mx-ad-banner-text {
    margin: 0;
}

/* Page Loader */
.mx-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.mx-loader-content {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: mx-flicker 2s infinite;
}

@keyframes mx-flicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Header & Navigation */
.mx-header {
    background-color: var(--primary-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.mx-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mx-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary-black);
}

.mx-nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mx-nav-item {}

.mx-nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.mx-nav-link:hover {
    color: var(--text-muted);
}

.mx-cta-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.mx-cta-btn:hover {
    background-color: var(--acc-gray);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mx-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2100;
}

.mx-hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #000;
    transition: var(--transition-smooth);
}

/* Hamburger Animation */
.mx-menu-toggle.is-active .mx-hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mx-menu-toggle.is-active .mx-hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mx-menu-toggle.is-active .mx-hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Sections */
.mx-section {
    padding: 80px 0;
}

.mx-section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
}

/* Hero Section */
.mx-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.mx-hero-content {
    margin-bottom: 20px;
}

.mx-hero-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.mx-hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.mx-hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.mx-hero-image-wrapper {
    position: relative;
    border: 2px solid #000;
    padding: 10px;
}

.mx-hero-img {
    width: 100%;
    height: auto;

}

/* Why Us / Features Grid */
.mx-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mx-feature-card {
    padding: 30px;
    border: 1px solid #eee;
    transition: var(--transition-smooth);
}

.mx-feature-card:hover {
    border-color: var(--primary-black);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.05);
}

.mx-feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mx-feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Footer */
.mx-footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 80px 0 40px 0;
}

.mx-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.mx-footer-col {
    display: flex;
    flex-direction: column;
}

.mx-footer-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.mx-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mx-footer-link-item {
    margin-bottom: 12px;
}

.mx-footer-link {
    color: #999;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.mx-footer-link:hover {
    color: var(--primary-white);
}

.mx-footer-disclaimer {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 40px;
    color: #666;
    font-size: 13px;
}

.mx-copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #444;
}

/* Cookie Popup */
.mx-cookie-overlay {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: #fff;
    border: 3px solid #000;
    padding: 30px;
    z-index: 2000;
    display: none;
    box-shadow: 20px 20px 0px rgba(0, 0, 0, 0.1);
}

.mx-cookie-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.mx-cookie-btn-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.mx-cookie-btn {
    padding: 10px 20px;
    border: 2px solid #000;
    cursor: pointer;
    font-weight: 600;
}

.mx-cookie-btn-primary {
    background: #000;
    color: #fff;
}

.mx-cookie-btn-secondary {
    background: #fff;
    color: #000;
}

/* Modal Styles */
.mx-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: 3000;
}

.mx-modal-container {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    border: 4px solid #000;
}

.mx-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    border: none;
    background: none;
}

/* Mobile Hamburger Menu */
.mx-mobile-nav {
    position: fixed;
    top: 0;
    right: -75%;
    width: 75%;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mx-mobile-nav.is-open {
    right: 0;
}

.mx-mobile-links {
    list-style: none;
    padding: 0;
    margin: 60px 0 0 0;
}

.mx-mobile-link-item {
    margin-bottom: 25px;
}

.mx-mobile-link {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #000;
}

.mx-mobile-close {
    align-self: flex-end;
    font-size: 40px;
    cursor: pointer;
}

/* Responsive Queries */
@media (max-width: 992px) {
    .mx-hero {
        grid-template-columns: 1fr;
    }

    .mx-features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mx-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .mx-nav-links,
    .mx-header .mx-cta-btn {
        display: none;
    }

    .mx-menu-toggle {
        display: block;
    }

    .mx-features-grid {
        grid-template-columns: 1fr;
    }

    .mx-hero-title {
        font-size: 2.2rem;
    }

    .mx-section {
        padding: 40px 0;
    }

    .mx-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mx-hero {
        gap: 20px;
    }

    .mx-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .mx-hero-title {
        font-size: 1.8rem;
    }

    .mx-hero-desc {
        font-size: 1rem;
    }

    .mx-cta-btn {
        width: 100%;
        text-align: center;
    }
}