:root {
    --primary-color: #8D6E63;
    /* Warm Brown */
    --primary-dark: #5D4037;
    --secondary-color: #3E2723;
    /* Dark Coffee */
    --text-color: #4E342E;
    --light-bg: #EFEBE9;
    /* Light Beige */
    --card-bg: #ffffff;
    --white: #ffffff;
    --dark-bg: #212121;
    --accent-gray: #D7CCC8;
    --shadow-sm: 0 4px 6px rgba(62, 39, 35, 0.1);
    --shadow-md: 0 10px 20px rgba(62, 39, 35, 0.15);
    --radius: 16px;
    /* Dofter corners */
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Ad Banner */
.ad-banner {
    background-color: #e0e0e0;
    /* Grey */
    color: #000000;
    /* Black */
    font-size: 13px;
    padding: 10px 20px;
    text-align: center;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Page Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    /* Elegant black */
    animation: fadeInPulse 2s infinite;
    letter-spacing: -1px;
}

@keyframes fadeInPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.98);
    }
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    /* Pill shape for premium feel */
    font-weight: 600;
    cursor: pointer;
    transition: result 0.3s, transform 0.2s, box-shadow 0.3s;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 185, 19, 0.4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Menu */
.desktop-nav {
    display: flex;
    align-items: center;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background-color: var(--white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    align-self: flex-end;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 1.25rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.mobile-cta {
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #EFEBE9 0%, #D7CCC8 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: row-reverse;
    /* Image Left (visually rights due to reverse) -> Wait, user asked for layout change. Image Left, Text Right means standard is usually Text Left. So row-reverse puts text on right. */
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 36px;
    color: #666;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-container:hover .hero-image {
    transform: perspective(1000px) rotateY(0deg);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--secondary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

/* About */
.about-section {
    background-color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

.about-content p {
    margin-bottom: 20px;
}

/* Why Us */
.why-us-section {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-title {
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-size: 1.35rem;
    font-weight: 700;
}

/* Specs Table Override */
.specs-container {
    margin-top: 60px !important;
    background: var(--white) !important;
    padding: 40px !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-md) !important;
    border: none !important;
}

.specs-container h3 {
    font-size: 1.8rem;
    margin-bottom: 30px !important;
    color: var(--secondary-color);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--radius);
    position: relative;
    border: 1px solid #eee;
}

.testimonial-text {
    font-size: 1.05rem;
    color: #333;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: block;
    margin-top: 20px;
    font-weight: 600;
    text-align: right;
    color: var(--primary-dark);
    font-style: normal;
}

/* FAQ */
.faq-section {
    background-color: var(--light-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: #999;
    padding: 80px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-heading {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.modal-trigger {
    color: #aaa;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.footer-links a:hover,
.modal-trigger:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 30px;
    font-size: 0.85rem;
}

.ad-note {
    font-size: 0.75rem;
    color: #555;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    color: var(--text-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--secondary-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius);
}

.cookie-banner p {
    margin: 0;
    padding-right: 20px;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-accept {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.btn-reject {
    background-color: transparent;
    border: 1px solid #444;
    color: #ccc;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-reject:hover {
    border-color: #fff;
    color: #fff;
}

.cookie-banner.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .desktop-nav,
    .cta-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .cookie-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 20px 20px 0 0;
    }

    .section {
        padding: 60px 0;
    }

    .feature-card:hover {
        transform: none;
    }

    .specs-container {
        padding: 24px !important;
    }
}