/* X-Digate Hero Section Styles */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #edf3ff 100%);
    overflow: hidden;
    padding-top: 80px;
}

/* Background Effects */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 124, 186, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 0, 223, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.8;
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.hero-glow-1 {
    top: -200px;
    right: -200px;
    background: var(--secondary-color);
}

.hero-glow-2 {
    bottom: -300px;
    left: -200px;
    background: var(--accent-purple);
}

/* Floating Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: var(--radius-lg);
    opacity: 0.1;
}

.hero-shape-1 {
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    transform: rotate(15deg);
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    bottom: 15%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: var(--accent-purple);
    transform: rotate(-10deg);
    animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    top: 40%;
    left: 15%;
    width: 100px;
    height: 100px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-full);
    color: var(--secondary-light);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-6);
    margin-top: var(--space-4);
}

.hero-badge-icon {
    width: 18px;
    height: 18px;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-extrabold);
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    letter-spacing: -1px;
}

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

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat-value {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-dashboard {
    position: relative;
    background: rgba(15, 29, 50, 0.8);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-6);
    box-shadow: var(--shadow-2xl);
}

.hero-dashboard-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-4);
}

.hero-dashboard-dots {
    display: flex;
    gap: var(--space-2);
}

.hero-dashboard-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-dashboard-dot:nth-child(1) {
    background: #EF4444;
}

.hero-dashboard-dot:nth-child(2) {
    background: #F59E0B;
}

.hero-dashboard-dot:nth-child(3) {
    background: #10B981;
}

.hero-dashboard-title {
    font-size: var(--text-sm);
    color: var(--gray-400);
}

.hero-dashboard-content {
    display: grid;
    gap: var(--space-4);
}

.hero-dashboard-card {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
}

.hero-dashboard-card-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.hero-dashboard-card-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-light);
    fill: none;
}

.hero-dashboard-card-label {
    font-size: var(--text-xs);
    color: var(--gray-400);
    margin-bottom: var(--space-1);
}

.hero-dashboard-card-value {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--text-light);
}

.hero-dashboard-chart {
    height: 120px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: var(--space-3);
}

.hero-chart-bar {
    width: 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    animation: chartGrow 2s ease-out forwards;
    transform-origin: bottom;
}

@keyframes chartGrow {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-stat {
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-visual-wrapper {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--space-24) 0 var(--space-16);
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-description {
        font-size: var(--text-base);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero-visual-wrapper {
        max-width: 100%;
    }
    
    .hero-dashboard {
        padding: var(--space-4);
    }
}
