/* Landing Page Styles - Conecta360-PRO */
:root {
    --landing-bg: #0f172a;
    --hero-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --accent-blue: #3b82f6;
    --accent-indigo: #6366f1;
    --accent-violet: #8b5cf6;
}

/* PWA Status Bar Spacer - Pushes content below the notch/status bar */
.pwa-status-bar-spacer {
    display: none;
    height: 0;
}

@media (display-mode: standalone) {
    .pwa-status-bar-spacer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 44px;
        background: transparent;
        z-index: 9999;
        pointer-events: none;
    }

    .landing-nav {
        top: 44px !important;
    }
}

.landing-section {
    background-color: var(--landing-bg);
    color: white;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    display: none;
    /* Hidden by default */
}

.landing-section.active {
    display: block;
}

/* Navbar */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-cta {
    display: flex;
    gap: 1rem;
}

/* Hero Section */
.hero {
    padding: 200px 5% 100px;
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    color: var(--accent-indigo);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease;
}

.hero-description {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease;
}

/* Floating Mockup */
.hero-mockup {
    margin-top: 4rem;
    perspective: 1000px;
    animation: fadeInUp 1.2s ease;
}

.mockup-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px;
    transform: rotateX(10deg) translateY(0);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
    max-width: 600px;
    margin: 0 auto;
}

.mockup-container img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Features Section */
.features {
    padding: 100px 5%;
    background: #0f172a;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-indigo);
    transform: translateY(-10px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.5);
}

/* Simulation Section (Stats/Charts) */
.simulation {
    padding: 100px 5%;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.sim-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.sim-image {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .sim-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .landing-nav {
        padding: 1rem 5%;
    }

    .nav-logo span {
        display: none;
    }
}