/* Home/Landing Page Styles */

/* Override base.css body overflow for scrollable marketing page */
body.home-page {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    min-height: 100vh;
}

body.home-page .container {
    overflow: visible;
    height: auto;
}

/* ============ Header ============ */
.home-header {
    background: #fff;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.home-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.home-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.home-nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.home-nav-link:hover {
    color: #3C4BFB;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
    color: #333;
}

/* ============ Sections shared ============ */
.home-section {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.home-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 0.75rem;
}

.home-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ============ Hero ============ */
.home-hero {
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    background-color: #ffffff;
    background-image:
        radial-gradient(circle at top left, #C5E67380 0%, transparent 40%),
        radial-gradient(circle at top right, #3C4BFB4D 0%, transparent 50%),
        radial-gradient(circle at bottom center, #D4B9FB80 0%, transparent 50%);
}

.home-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.home-hero .subtitle {
    font-size: 1.25rem;
    color: #555;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.home-store-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-store-link {
    display: inline-block;
    transition: transform 0.2s;
}

.home-store-link:hover {
    transform: scale(1.05);
}

.home-store-badge {
    height: 50px;
    width: auto;
}

/* ============ Features ============ */
.home-features {
    background: #f8f9fc;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.home-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.home-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.home-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.home-feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* ============ Reviews ============ */
.home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.home-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.home-review-stars {
    color: #f5a623;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.home-review-text {
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.home-review-author {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.home-review-source {
    color: #999;
    font-size: 0.85rem;
}

/* ============ Audio Samples ============ */
.home-samples {
    background: #f8f9fc;
}

.home-samples-row {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
}

.home-samples-row::-webkit-scrollbar {
    display: none;
}

.home-sample-item {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    cursor: pointer;
    transition: transform 0.2s;
}

.home-sample-item:hover {
    transform: scale(1.05);
}

.home-sample-item img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.home-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.2s;
}

.home-sample-item:hover .home-play-overlay {
    opacity: 1;
}

.home-play-overlay svg {
    width: 48px;
    height: 48px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ============ Benefits ============ */
.home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.home-benefit-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.home-benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.home-benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.home-benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* ============ CTA ============ */
.home-cta {
    text-align: center;
    padding: 5rem 1.5rem;
    background-color: #ffffff;
    background-image:
        radial-gradient(circle at center left, #C5E67380 0%, transparent 40%),
        radial-gradient(circle at center right, #D4B9FB80 0%, transparent 40%);
}

.home-cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.home-cta .subtitle {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 2.5rem;
}

/* ============ Footer ============ */
.home-footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 2rem;
}

.home-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.home-footer h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.home-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.home-footer a:hover {
    color: #fff;
}

.home-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-footer-links li {
    margin-bottom: 0.5rem;
}

.home-footer-links a {
    font-size: 0.95rem;
}

.home-footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.home-footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.home-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.home-footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.home-footer-social svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.85);
}

.home-footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============ Responsive ============ */
@media (max-width: 767px) {
    .home-header {
        padding: 0.75rem 1rem;
    }

    .home-logo {
        width: 44px;
        height: 44px;
    }

    .home-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .home-nav.open {
        display: flex;
    }

    .home-nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .home-hero {
        padding: 3rem 1rem 2.5rem;
    }

    .home-hero h1 {
        font-size: 2.25rem;
    }

    .home-hero .subtitle {
        font-size: 1.05rem;
    }

    .home-section {
        padding: 3rem 1rem;
    }

    .home-section-title {
        font-size: 1.5rem;
    }

    .home-section-subtitle {
        font-size: 1rem;
    }

    .home-sample-item {
        width: 160px;
    }

    .home-samples-row {
        justify-content: flex-start;
        padding-left: 1rem;
    }

    .home-cta h2 {
        font-size: 1.75rem;
    }

    .home-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-footer-social {
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .home-hero h1 {
        font-size: 3.5rem;
    }

    .home-sample-item {
        width: 200px;
    }
}
