/* =========================================
   6. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite alternate;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
}

.shape-2 {
    bottom: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    animation-delay: -10s;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.badge:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.05);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

.badge-text i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform var(--transition-fast);
}

.badge:hover .badge-text i {
    transform: translateX(3px);
}

/* Typography Overrides */
.hero-title {
    font-size: 4.5rem;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

/* Email Capture */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-capture {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 15px rgba(99, 102, 241, 0.05);
    transition: border-color var(--transition-normal);
}

.email-capture:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    padding: 0 1.5rem;
    font-size: 1rem;
    font-family: var(--font-sans);
}

.input-field::placeholder {
    color: var(--text-muted);
}

.hero-guarantee {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-guarantee i {
    color: var(--accent-secondary);
}

/* Hero Visual & Mockup */
.hero-visual {
    position: relative;
}

.dashboard-mockup {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transform-style: preserve-3d;
    transition: transform var(--transition-slow);
}

.hero-visual:hover .dashboard-mockup {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) translateY(-10px);
}

.dashboard-mockup img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Floating Cards overlay */
.floating-card {
    position: absolute;
    background: rgba(18, 18, 26, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    animation: float 6s infinite ease-in-out;
    z-index: 10;
}

.delay-1 {
    animation-delay: -1s;
}

.delay-2 {
    animation-delay: -4s;
}

.metric-card {
    top: -20px;
    right: -20px;
}

.user-card {
    bottom: -20px;
    left: -20px;
}

.card-icon,
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
}

.card-icon {
    font-size: 1.2rem;
}

.avatar {
    background: var(--bg-tertiary);
    border: 2px solid var(--accent-secondary);
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-subtitle {
        margin: 0 auto 2rem auto;
    }

    .badge {
        margin: 0 auto 2rem auto;
    }

    .hero-cta-group {
        align-items: center;
    }

    .email-capture {
        width: 100%;
        max-width: 500px;
    }

    .dashboard-mockup {
        transform: none;
    }

    .hero-visual:hover .dashboard-mockup {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 140px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .email-capture {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 1rem;
    }

    .input-field {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-color);
        padding: 1rem;
        border-radius: 8px;
        width: 100%;
    }

    .btn-large {
        width: 100%;
    }

    .floating-card {
        display: none;
    }
}