/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
}

/* Hero background decorations */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.04) 30%, rgba(16, 185, 129, 0.01) 50%, transparent 70%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
    filter: blur(40px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0.02) 35%, transparent 65%);
    pointer-events: none;
    animation: float 25s ease-in-out infinite reverse;
    z-index: 0;
    filter: blur(30px);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    font-size: 3.75rem;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--text);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.app-badges {
    display: flex;
    gap: 16px;
    align-items: center;
}

.app-badge-link {
    display: block;
    transition: var(--transition);
    opacity: 0.85;
}

.app-badge-link:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.app-badge {
    height: 48px;
}

/* Hero Visual/Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 100px -20px rgba(16, 185, 129, 0.2);
    width: 100%;
    max-width: 520px;
    position: relative;
}

.hero-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.mockup-header {
    background: var(--bg-darker);
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.mockup-dots span:first-child { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:last-child { background: #22c55e; }

.mockup-content {
    display: flex;
    min-height: 320px;
}

.mockup-sidebar {
    width: 64px;
    background: var(--bg-darker);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-right: 1px solid var(--border);
}

.mockup-nav-item {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.mockup-nav-item.active {
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.mockup-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-card {
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 12px;
    height: 80px;
    position: relative;
    overflow: hidden;
}

.mockup-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0.5;
}

.mockup-card.small {
    height: 50px;
}

/* Features Preview */
.features-preview {
    background: var(--bg-dark);
    padding: 120px 0;
    position: relative;
}

.features-preview::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 30%, rgba(16, 185, 129, 0.01) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.features-cta {
    text-align: center;
    margin-top: 48px;
}

/* Stats Section Override */
.stats {
    background: var(--bg-darker);
    padding: 80px 0;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.stats::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* CTA Section Override */
.cta {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.04) 30%, rgba(16, 185, 129, 0.01) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    margin-bottom: 16px;
    font-size: 2.75rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
        padding-top: 140px;
    }

    .hero-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .app-badges {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-mockup {
        max-width: 420px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 24px 60px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .app-badges {
        flex-direction: column;
    }

    .mockup-content {
        min-height: 220px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}
