/**
 * Advanced Hero Section Styles
 * 
 * This file contains styles for the enhanced hero section with advanced UI elements
 */

/* Hero Section Base */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 100vh;
    padding: 0;
}

/* Content Styles */
.hero-content-wrapper {
    width: 50%;
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: 600px;
    margin-left: auto;
    margin-right: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.2);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(79, 70, 229, 0.3);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(90deg, #4f46e5, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 90%;
}

/* Button Styles */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.pulse-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #4f46e5, #a855f7);
    border: none;
    transition: transform 0.3s ease;
}

.pulse-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.pulse-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.pulse-btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.video-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #fff;
    transition: all 0.3s ease;
}

.video-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(90deg, #4f46e5, #a855f7);
    border-radius: 50%;
}

/* Stats Section */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -1rem;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Trusted By Section */
.trusted-by {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trusted-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.trusted-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.logo-item {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    max-width: 100px;
}

.logo-item:hover {
    opacity: 1;
}

/* Hero Image Section */
.hero-image-wrapper {
    width: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-main {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.main-dashboard {
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Floating Animation */
.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-slow {
    animation: float 8s ease-in-out infinite;
}

.floating-medium {
    animation: float 5s ease-in-out infinite;
}

.floating-fast {
    animation: float 4s ease-in-out infinite;
}

.floating-reverse {
    animation: float-reverse 6s ease-in-out infinite;
}

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

@keyframes float-reverse {
    0% {
        transform: translateY(0px) rotate(2deg);
    }
    50% {
        transform: translateY(-15px) rotate(-2deg);
    }
    100% {
        transform: translateY(0px) rotate(2deg);
    }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    color: #1e293b;
    max-width: 280px;
}

.card-1 {
    top: 15%;
    left: 0;
    transform: translateX(-30%);
}

.card-2 {
    bottom: 25%;
    right: 5%;
}

.card-3 {
    top: 65%;
    left: 10%;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5 0%, #818cf8 100%);
    color: white;
    font-size: 1.2rem;
}

.card-icon.success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.card-icon.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.card-content {
    flex: 1;
}

.card-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.card-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Mini Chart */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 35px;
    margin: 0.5rem 0;
}

.chart-bar {
    width: 6px;
    background: #e2e8f0;
    border-radius: 3px;
}

.chart-bar.active {
    background: linear-gradient(to top, #4f46e5, #818cf8);
}

.card-stat {
    font-size: 0.9rem;
    font-weight: 600;
    color: #10b981;
}

.card-stat span {
    font-size: 0.75rem;
    font-weight: normal;
    color: #64748b;
}

/* Progress Bar */
.progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #f59e0b, #fbbf24);
}

/* User Avatar */
.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.5rem;
}

.notification-content {
    display: flex;
    flex-direction: column;
}

/* Mobile Preview */
.mobile-preview {
    position: absolute;
    bottom: 10%;
    right: 0;
    transform: translateX(40%);
    z-index: 1;
    max-height: 60%;
}

/* Background Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(129, 140, 248, 0.1) 100%);
    top: -50px;
    right: -100px;
    filter: blur(30px);
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(52, 211, 153, 0.1) 100%);
    bottom: 10%;
    right: 20%;
    filter: blur(40px);
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
    top: 30%;
    left: -50px;
    filter: blur(30px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.scroll-indicator a:hover {
    color: #fff;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Demo Video Modal */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, #f8fafc, #f1f5f9);
}

.modal-title {
    font-weight: 600;
    color: #1e293b;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-content-wrapper {
        padding: 4rem 2rem;
    }
    
    .card-1 {
        transform: translateX(-20%);
    }
    
    .mobile-preview {
        transform: translateX(30%);
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
    }
    
    .hero-content-wrapper,
    .hero-image-wrapper {
        width: 100%;
    }
    
    .hero-content {
        margin: 0 auto;
        text-align: center;
        padding: 4rem 1rem 2rem;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .trusted-by {
        margin-bottom: 3rem;
    }
    
    .trusted-logos {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        min-height: 500px;
    }
    
    .floating-card {
        position: absolute;
        max-width: 220px;
    }
    
    .card-1 {
        top: 10%;
        left: 10%;
        transform: none;
    }
    
    .card-2 {
        bottom: 10%;
        right: 10%;
    }
    
    .card-3 {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .mobile-preview {
        bottom: 5%;
        right: 5%;
        transform: none;
        max-height: 40%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .trusted-logos {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo-item {
        max-width: 80px;
    }
    
    .card-1, .card-3 {
        display: none;
    }
    
    .card-2 {
        bottom: 50%;
        right: 50%;
        transform: translate(50%, 50%);
    }
    
    .mobile-preview {
        display: none;
    }
}
