/**
 * CREALIVE EVENT - Web CSS (Desktop-first responsive)
 * © 2025 Crealive Event - Maurice 🌴 développé par Shahil AppDev
 */

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors - Tropical Palette */
    --blue-ocean: #1ea7dd;
    --blue-ocean-dark: #1890c0;
    --green-lime: #00e096;
    --green-lime-dark: #00c080;
    --sunset-pink: #ff4d94;
    --sunset-orange: #ff6b35;
    --purple-tropical: #8b5cf6;
    
    /* Neutrals */
    --white-pure: #ffffff;
    --white-soft: #f8fafc;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Dark theme */
    --dark-deep: #0d1020;
    --dark-card: #1a1d2e;
    --dark-surface: #252836;
    
    /* Gradients */
    --gradient-tropical: linear-gradient(135deg, var(--blue-ocean) 0%, var(--green-lime) 100%);
    --gradient-sunset: linear-gradient(135deg, var(--sunset-pink) 0%, var(--sunset-orange) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(30,167,221,0.95) 0%, rgba(0,224,150,0.85) 50%, var(--dark-deep) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    
    /* Container */
    --container-max: 1200px;
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white-soft);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-tropical);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-tropical);
    color: var(--white-pure);
    box-shadow: 0 4px 14px rgba(30, 167, 221, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 167, 221, 0.5);
}

.btn-secondary {
    background: var(--white-pure);
    color: var(--gray-800);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--blue-ocean);
    color: var(--blue-ocean);
}

.btn-outline {
    background: transparent;
    color: var(--white-pure);
    border: 2px solid var(--white-pure);
}

.btn-outline:hover {
    background: var(--white-pure);
    color: var(--blue-ocean);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-nav a {
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-fast);
}

.navbar-nav a:hover {
    color: var(--blue-ocean);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-700);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    padding: 4px;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: var(--gray-700);
}

.lang-btn.active {
    background: var(--white-pure);
    color: var(--blue-ocean);
    box-shadow: var(--shadow-sm);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white-pure);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .highlight {
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

/* Download Section */
.download-section {
    margin-bottom: 32px;
}

.download-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 16px;
    border-radius: var(--radius-lg);
    color: var(--white-pure);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.download-btn i {
    font-size: 24px;
}

.download-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-btn-small {
    font-size: 10px;
    opacity: 0.8;
    line-height: 1.2;
}

.download-btn-large {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.download-btn-apk {
    background: linear-gradient(135deg, #3ddc84 0%, #00a86b 100%);
    border-color: transparent;
}

.download-btn-apk:hover {
    background: linear-gradient(135deg, #4de894 0%, #00b87b 100%);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 36px;
    font-weight: 800;
}

.hero-stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.hero-visual {
    position: relative;
}

.hero-mockup {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.hero-mockup img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.hero-floating {
    position: absolute;
    background: var(--white-pure);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-xl);
    animation: float 3s ease-in-out infinite;
}

.hero-floating-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.hero-floating-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 1s;
}

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

/* ===== FEATURES SECTION ===== */
.features {
    padding: 100px 0;
    background: var(--white-pure);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    background: var(--gradient-tropical);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--gray-500);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white-soft);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-tropical);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--white-pure);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--dark-deep);
    color: var(--white-pure);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -16px;
    width: calc(100% - 80px);
    height: 2px;
    background: var(--gradient-tropical);
    opacity: 0.3;
}

.step-card:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-tropical);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 24px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-description {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ===== LIVE PREVIEW ===== */
.live-preview {
    padding: 100px 0;
    background: var(--white-pure);
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.live-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 9/16;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.live-card:hover {
    transform: scale(1.02);
}

.live-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 40%, rgba(0,0,0,0.8) 100%);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ff4444;
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

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

.live-viewers {
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 12px;
}

.live-info {
    color: white;
}

.live-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.live-info span {
    font-size: 13px;
    opacity: 0.8;
}

/* ===== INFLUENCERS ===== */
.influencers {
    padding: 100px 0;
    background: var(--gray-50);
}

.influencers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.influencer-card {
    background: var(--white-pure);
    border-radius: var(--radius-xl);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.influencer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.influencer-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid var(--blue-ocean);
}

.influencer-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.influencer-category {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.influencer-followers {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-ocean);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
    background: var(--dark-deep);
    color: var(--white-pure);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--dark-card);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-300);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-author-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.testimonial-author-role {
    font-size: 13px;
    color: var(--gray-500);
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 100px 0;
    background: var(--gradient-tropical);
    text-align: center;
    color: var(--white-pure);
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-deep);
    color: var(--gray-400);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.footer-brand span {
    font-size: 20px;
    font-weight: 700;
    color: var(--white-pure);
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--dark-card);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--blue-ocean);
    color: var(--white-pure);
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white-pure);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--blue-ocean);
}

.footer-bottom {
    border-top: 1px solid var(--dark-card);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--blue-ocean);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-description {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-card::after {
        display: none;
    }
    
    .live-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .influencers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .live-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .influencers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
