/* Enhanced Hero Section Styling */

/* Hero badge at top */
.hero-badge {
    display: inline-block;
}

.hero-badge-text {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(249, 115, 22, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-block;
}

/* Hero stats section */
.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.stat-item {
    flex: 1;
    min-width: 100px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Code window styling */
.hero-visual {
    position: relative;
    padding: 40px 20px;
}

.code-window {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

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

.code-window-header {
    background: #0f172a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #64748b;
}

.code-dot:nth-child(1) {
    background: #ef4444;
}

.code-dot:nth-child(2) {
    background: #f59e0b;
}

.code-dot:nth-child(3) {
    background: #10b981;
}

.code-title {
    margin-left: auto;
    color: #94a3b8;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.code-window-body {
    padding: 24px;
    overflow-x: auto;
}

.code-window-body pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-window-body code {
    color: #e2e8f0;
}

.code-comment {
    color: #64748b;
}

.code-keyword {
    color: #c084fc;
    font-weight: 600;
}

.code-function {
    color: #60a5fa;
}

.code-string {
    color: #34d399;
}

/* Floating cards */
.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--border);
    z-index: 2;
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.floating-card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 30%;
    right: -5%;
    animation-delay: 1s;
}

.floating-card-3 {
    bottom: 10%;
    left: -5%;
    animation-delay: 2s;
}

.card-icon {
    font-size: 2rem;
    line-height: 1;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-text strong {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 700;
}

.card-text small {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Button icon animation */
.btn-primary-large i {
    transition: transform 0.3s ease;
}

.btn-primary-large:hover i {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-visual {
        margin-top: 40px;
    }
    
    .floating-card {
        display: none;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .code-window-body {
        padding: 16px;
    }
    
    .code-window-body pre {
        font-size: 0.75rem;
    }
    
    .stat-item {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}
