/* Global Defaults */
:root {
    --primary-color: #fdb913;
    /* Solakon-ish Yellow/Orange */
    --secondary-color: #333;
    --text-color: #333;
    --bg-color: #fff;
    --font-family: 'Inter', sans-serif;
}

/* Reset - Class based only */
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: #000;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e0a800;
}

.section {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

/* Page Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-text {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
}

/* Hero Section */
.hero {
    background: #f9f9f9;
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 20px 0;
}

/* About Section */
.about {
    background: #fff;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Testimonials */
.testimonials {
    background: #f4f4f4;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* FAQ */
.faq-details {
    max-width: 800px;
    margin: 0 auto;
}

.faq-details summary {
    padding: 15px;
    background: #f9f9f9;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    /* Hide default marker */
}

.faq-details summary::-webkit-details-marker {
    display: none;
}

.faq-details summary::after {
    content: '+';
    float: right;
    font-weight: bold;
}

.faq-details[open] summary::after {
    content: '-';
}

.faq-content {
    padding: 15px;
    border: 1px solid #f9f9f9;
    border-top: none;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-ad-note {
    background: #333;
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #999;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    max-width: 350px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s;
}

.cookie-popup.hidden {
    transform: translateY(150%);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid #333;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .header-container {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary-color);
}

.mobile-nav {
    display: none;
    /* Hidden by default */
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.mobile-nav.active {
    display: flex;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    color: var(--primary-color);
    margin-top: 0;
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
    text-align: left;
    margin-top: 15px;
    font-size: 0.95rem;
}

/* Media Query Updates */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        /* Align Logo and Hamburger row-wise */
        flex-wrap: wrap;
        /* Allow nav to wrap */
        height: auto;
        padding: 15px 20px;
    }

    .hamburger {
        display: block;
    }

    .header-container .btn {
        display: none;
        /* Hide default CTA on mobile header, show in menu */
    }

    .mobile-nav .btn {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .logo {
        flex-grow: 1;
    }
}