/* Base Styles and Variables */
:root {
    --color-bg: #ffffff;
    --color-text: #222222;
    --color-bg-alt: #f8f9fa;
    --color-primary: #000000;
    --color-primary-hover: #333333;
    --color-accent: #e9ecef;
    /* Light gray for shapes */
    --color-border: #e0e0e0;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --container-width: 1200px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-primary);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    /* Pill shape */
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
}

.highlight {
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

/* Loader */
.loading {
    overflow: hidden;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
}

.loader-subtext {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #666;
}

/* Advertisement Bar */
.ad-bar {
    background-color: #000;
    color: #fff;
    padding: 8px 0;
    font-size: 0.7rem;
    text-align: center;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Header */
.header {
    padding: 1.5rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #000;
    text-decoration: none;
    /* link-base */
    transition: all 0.3s ease;
}

.desktop-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
    position: relative;
    text-decoration: none;
    /* link-base */
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #000;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 75%;
    background-color: #fff;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 3rem;
}

.close-menu {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #000;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.mobile-cta {
    margin-top: 1rem;
    align-self: flex-start;
}

/* Hero Section - Unique Design */
.hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background-color: var(--color-bg-alt);
    border-radius: 50%;
    transform: rotate(-10deg);
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-family: var(--font-heading);
    /* heading-base */
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0;

    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    margin-bottom: 1rem;
    /* text-base default */

    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2.5rem;
    /* Override */
    max-width: 500px;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    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-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-heading);
    /* heading-base */
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0;

    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 40px;
    height: 4px;
    background-color: #000;
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image-wrapper {
    flex: 1;
}

.about-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.about-content {
    flex: 1;
}

.about-text {
    margin-bottom: 1rem;
    /* text-base */
    font-size: 1.1rem;
    color: #444;
}

/* Why Us - Card Design */
.why-us-section {
    background-color: var(--color-bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: #fff;
    padding: 3rem 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-bottom-color: #000;
}

.feature-title {
    font-family: var(--font-heading);
    /* heading-base */
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0;

    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-section {
    background-color: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-title {
    color: #fff;
}

.testimonials-section .section-title::before {
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: var(--font-heading);
    /* heading-base sort of */
    color: #fff;
    /* Override heading-base color */

    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    color: #000;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-heading {
    font-family: var(--font-heading);
    /* heading-base */
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0;

    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-link {
    display: block;
    margin-bottom: 0.8rem;
    color: #555;
    font-weight: 500;
}

.footer-link:hover {
    color: #000;
    padding-left: 5px;
}

.footer-disclaimer {
    border-top: 1px solid #ddd;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 2rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    z-index: 1500;
    display: none;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 3rem;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    position: relative;
    border: 1px solid #eee;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    font-family: var(--font-heading);
    /* heading-base */
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.modal-text {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #444;
}

.disclaimer-text {
    margin: 0;
    line-height: 1.5;
    font-size: 0.75rem;
}

/* Media Queries */
@media (max-width: 900px) {

    .hero-container,
    .about-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .hero-bg-accent {
        right: -50%;
        width: 200%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .testimonials-grid,
    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }
}