@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ffd700;
    --primary-dark: #ccac00;
    --secondary-color: #0f172a;
    --text-color: #334155;
    --bg-light: #f8fafc;
    --bg-dark: #1e293b;
    --white: #ffffff;
    --gray-light: #f1f5f9;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --section-padding: 80px 0;
    --section-padding-mobile: 40px 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
    padding-top: 80px;
    /* Compensate for fixed header */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.loader-logo {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Advertisement Top */
.top-advertisement {
    background: var(--gray-light);
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.advertisement-text {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    box-shadow: var(--shadow);
    padding: 0 0 15px 0;
    width: 100%;
    margin: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-mobile {
    display: none;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
    padding: 12px;
    margin-right: -12px;
    z-index: 2002;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 4px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1500;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Main Content */
.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: clamp(30px, 8vw, 50px);
    color: var(--secondary-color);
    padding: 0 15px;
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

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

.hero-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.hero-title {
    font-size: clamp(1.5rem, 6vw, 3rem);
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    margin-bottom: 30px;
    color: #64748b;
    max-width: 500px;
}

.price-tag {
    margin-bottom: 30px;
}

.price-value {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

.price-note {
    font-size: 0.9rem;
    color: #64748b;
}

.btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #334155;
    transform: translateY(-3px);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-name {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-dark);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.testimonial-author {
    display: block;
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.faq-question {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: clamp(1.1rem, 4vw, 1.25rem);
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 50px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-heading {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-item {
    margin-bottom: 8px;
    color: #cbd5e1;
}

.advertisement-footer {
    border-top: 1px solid #334155;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #64748b;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    padding: 2.5vh 5%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    display: none;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 800px;
    margin: 0 auto;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-cookie.accept {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-cookie.reject {
    background: var(--gray-light);
    color: var(--text-color);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    padding: 15px;
    padding: 15px;
}

.modal-container {
    background: var(--white);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: 15px;
    overflow-y: auto;
    position: relative;
    padding: clamp(1.2rem, 5vw, 2.5rem);
    margin: 0 5%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

@media (max-width: 480px) {
    .modal-container {
        padding: 1.2rem;
        border-radius: 12px;
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 15px;
}

.modal-close {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-color);
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-dark);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 75%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: flex-start;
        padding: min(120px, 20vh) 40px;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2001;
        box-shadow: -15px 0 30px rgba(0, 0, 0, 0.2);
        gap: 35px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links .nav-link {
        color: var(--white);
        font-size: 1.25rem;
        width: 100%;
    }

    .nav-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
        color: var(--white);
        cursor: pointer;
        padding: 10px;
        line-height: 1;
        transition: var(--transition);
        display: block;
    }

    .nav-close-btn:hover {
        color: var(--primary-color);
        transform: rotate(90deg);
    }

    .hamburger {
        display: flex;
        z-index: 2002;
    }

    .close-menu {
        display: none;
    }

    .cta-mobile {
        display: block;
        margin-top: 20px;
        width: 100%;
    }

    .cta-mobile .nav-cta {
        display: block;
        text-align: center;
    }

    .desktop-only {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-wrapper {
        order: -1;
    }

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