/* Mixwerkde - Custom CSS (Class-Only Selectors) */

:root {
    --primary-color: #0076CE;
    --primary-dark: #005A9E;
    --accent-color: #00CED1;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #121212;
    --transition-speed: 0.3s;
    --container-width: 1200px;
    --header-height: 80px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

/* Global Reset Classes */
.mx-html,
.mx-body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    touch-action: manipulation;
    margin: 0;
    padding: 0;
}

.mx-body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

.mx-div,
.mx-section,
.mx-header,
.mx-footer,
.mx-nav,
.mx-h1,
.mx-h2,
.mx-h3,
.mx-h4,
.mx-p,
.mx-ul,
.mx-li,
.mx-a,
.mx-img,
.mx-span,
.mx-strong,
.mx-btn,
.mx-svg {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.mx-h1,
.mx-h2,
.mx-h3,
.mx-h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.mx-a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

.mx-ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.container-sm {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-rounded {
    border-radius: var(--radius);
}

/* Page Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: 0.5s;
}

.loader-logo {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        left: -100%;
        width: 100%;
    }

    50% {
        left: 0%;
        width: 100%;
    }

    100% {
        left: 100%;
        width: 100%;
    }
}

/* Ad Banner */
.ad-banner-top {
    background: #FFD700;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Header */
.header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-flex {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-color);
}

.header-cta-btn {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
}

.header-cta-btn:hover {
    background: var(--primary-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8f1f8 100%);
}

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

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-outline {
    border-width: 2px;
    border-style: solid;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.floating {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* About Section */
.about {
    padding-top: 100px;
    padding-bottom: 100px;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-content {
    flex: 1;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Features */
.features {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-icon-img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Testimonials */
.testimonials {
    padding-top: 100px;
    padding-bottom: 100px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.05);
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.user-info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

/* FAQ */
.faq {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--bg-light);
}

.faq-accordion {
    margin-top: 40px;
}

.faq-item {
    background: var(--bg-white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding-left: 20px;
    padding-right: 20px;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease-out;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
    max-height: 300px;
}

.arrow::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-item.active .arrow::after {
    content: '−';
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--bg-white);
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-notice {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}

.important-notice {
    margin-top: 15px;
    line-height: 1.4;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgba(255, 255, 255, 0.1);
    color: #666;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    color: var(--text-main);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    display: none;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-btns {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 5000;
    padding: 40px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: all;
}

.mobile-menu-close {
    align-self: flex-end;
    cursor: pointer;
    margin-bottom: 40px;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-cta-btn {
    background: var(--primary-color);
    color: var(--bg-white);
    padding-top: 16px;
    padding-bottom: 16px;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-flex {
        flex-direction: column;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }
}