/* =========================================
   LANDING PAGE - PREMIUM GLASSMORPHISM
   StreamPulse Extension
   ========================================= */

/* --- BACKGROUND AMÉLI OUVÉ --- */
body {
    position: relative;
    background: linear-gradient(135deg, #000000, #0a0a0f, #1a0a2e, #0a0a0f, #000000);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Subtle glow overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(145, 70, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 122, 255, 0.06) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}


/* --- HERO PREMIUM --- */
.hero {
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a8a8a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(145, 70, 255, 0.3);
    box-shadow: 
        var(--shadow-lg), 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(145, 70, 255, 0.2);
}

.primary-card {
    padding: 2.5rem;
}

.card-label {
    display: inline-block;
    background: rgba(145, 70, 255, 0.2);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(145, 70, 255, 0.3);
}

.primary-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.primary-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.card-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.card-list li span:first-child {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.secondary-card {
    padding: 1.5rem;
    background: var(--glass-bg-light);
}

.secondary-card h3 {
    margin-bottom: 0.5rem;
}

.secondary-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- FEATURES PREMIUM --- */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(180%);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 122, 255, 0.4);
    box-shadow: 
        var(--shadow-lg),
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 122, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card:hover .feature-icon {
    animation-play-state: paused;
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- HOW IT WORKS --- */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tutorial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(180%);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tutorial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.tutorial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(145, 70, 255, 0.4);
    box-shadow: 
        var(--shadow-lg),
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(145, 70, 255, 0.2);
}

.tutorial-number {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, #7C3AED 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.4);
    margin-bottom: 1.5rem;
}

.tutorial-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
}

.tutorial-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tutorial-tip {
    background: rgba(145, 70, 255, 0.1);
    border-left: 3px solid var(--accent);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

/* --- CTA BANNER --- */
.cta-banner {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.1) 0%, rgba(0, 122, 255, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(145, 70, 255, 0.15), transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* ---  FAQ PREMIUM --- */
.faq {
    padding: 80px 0;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(180%);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 
        var(--shadow-md),
        0 15px 40px rgba(0, 0, 0, 0.3);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- FOOTER --- */
.site-footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--accent);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
