/* Hearqon Stylesheet - Premium White & Black Theme */

:root {
    --primary-black: #000000;
    --pure-white: #ffffff;
    --off-white: #f8f8f8;
    --grey-100: #f0f0f0;
    --grey-300: #d1d1d1;
    --grey-600: #666666;
    --grey-800: #333333;
    --accent: #222222;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, oxygen, ubuntu, cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--primary-black);
    background-color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

.w-full {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-black);
    color: var(--pure-white);
}

.btn-primary:hover {
    background-color: var(--grey-800);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-black);
    color: var(--primary-black);
}

.btn-outline:hover {
    background-color: var(--primary-black);
    color: var(--pure-white);
}

/* Page Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--pure-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loader-brand {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--grey-100);
    border-top: 2px solid var(--primary-black);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Ad Banner */
.ad-banner {
    background: var(--off-white);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--grey-100);
}

.ad-text {
    margin: 0;
    font-size: 0.75rem;
    color: var(--grey-600);
    font-weight: 500;
    text-align: center;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--grey-100);
}

.h-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-black);
    text-decoration: none;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--grey-600);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-black);
    margin: 5px 0;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100dvh;
    background: var(--pure-white);
    z-index: 2000;
    transition: right 0.5s ease;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.close-menu {
    font-size: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.mobile-nav-list li {
    margin-bottom: 2rem;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary-black);
}

.mobile-nav-footer {
    margin-top: 0;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: var(--pure-white);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--grey-600);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-promo-text {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.hero-image-box {
    position: relative;
    padding-right: 2rem;
}

.hero-image {
    width: 100%;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

.image-overlay {
    position: absolute;
    inset: -1rem 1rem 1rem -1rem;
    border: 1px solid var(--primary-black);
    z-index: -1;
}

/* Sections */
.about-section,
.features-section,
.testimonials-section,
.faq-section {
    padding: 8rem 0;
}

.container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.section-text {
    font-size: 1.1rem;
    color: var(--grey-600);
    margin-bottom: 1.5rem;
}

.section-img {
    width: 100%;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

/* Features */
.features-section {
    background: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card {
    background: var(--pure-white);
    padding: 3rem 2rem;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--grey-100);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1rem;
}

.card p {
    color: var(--grey-600);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial-card {
    text-align: left;
}

.rating {
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* FAQ */
.faq-list {
    margin-top: 4rem;
}

.faq-item {
    border-bottom: 1px solid var(--grey-100);
}

.faq-question {
    width: 100%;
    padding: 2rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--pure-white);
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-info {
    opacity: 0.6;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-item {
    color: var(--pure-white);
    text-decoration: none;
    opacity: 0.6;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-item:hover {
    opacity: 1;
}

.contact-info {
    opacity: 0.6;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 4rem;
    text-align: center;
}

.footer-ad-notice {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 900px;
    margin-inline: auto;
}

.copyright {
    opacity: 0.3;
    font-size: 0.75rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 4000;
    padding: 2rem;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--pure-white);
    padding: 4rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 2rem;
    max-width: 400px;
    background: var(--pure-white);
    padding: 2.5rem;
    z-index: 3000;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--grey-100);
    transition: bottom 0.6s ease;
}

.cookie-popup.active {
    bottom: 2rem;
}

.cookie-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 992px) {

    .nav-menu,
    .header-cta-box {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-container,
    .container-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .hero-image-box {
        order: -1;
        padding-right: 0;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-description {
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .modal-content {
        padding: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}