/* ============================================
   Powerlifting AI Coach Landing Page Styles
   ============================================ */

/* App Landing Page Base */
.app-landing-page {
    background: var(--background);
}

/* App Hero Section */
.app-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 24px 60px;
}

.app-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.app-hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.app-icon-large {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.app-icon-large img {
    width: 140px;
    height: 140px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.app-icon-large img:hover {
    transform: scale(1.05) rotate(2deg);
}

.app-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.app-hero-tagline {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 24px;
    font-weight: 600;
    opacity: 0.95;
}

.app-hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 48px;
    opacity: 0.9;
    line-height: 1.7;
}

/* App Store Badges */
.app-store-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.badge-link {
    transition: transform 0.3s ease;
    display: block;
}

.badge-link:hover {
    transform: translateY(-4px);
}

.store-badge {
    height: 56px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.app-features {
    padding: 100px 0;
    background: var(--surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: var(--background);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Benefits Section */
.app-benefits {
    padding: 100px 0;
    background: var(--background);
}

.benefits-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.benefit-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    padding: 32px;
    background: var(--surface);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px var(--shadow);
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--success);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    stroke-width: 3;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.benefit-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* CTA Section */
.app-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    position: relative;
    overflow: hidden;
}

.app-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-note {
    margin-top: 24px;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Scroll Down Button */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    color: white;
}

.scroll-down:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) translateY(5px);
}

.scroll-down svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-hero {
        padding: 100px 24px 40px;
        min-height: 90vh;
    }

    .app-icon-large img {
        width: 100px;
        height: 100px;
        border-radius: 24px;
    }

    .store-badge {
        height: 48px;
    }

    .app-features,
    .app-benefits,
    .app-cta {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .benefit-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .benefit-item:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 480px) {
    .app-store-badges {
        flex-direction: column;
        gap: 12px;
    }

    .badge-link {
        width: 100%;
        max-width: 200px;
    }

    .store-badge {
        width: 100%;
        height: auto;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }
}

