* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.hero-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 80vh;
}

/* Background Stars */
.background-stars {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    opacity: 0.2;
    color: #60a5fa;
}

.floating-icon-1 {
    top: 80px;
    left: 40px;
    animation: float 3s ease-in-out infinite;
}

.floating-icon-2 {
    top: 160px;
    right: 80px;
    color: #fbbf24;
    animation: bounce 2s infinite;
    animation-delay: 1s;
}

.floating-icon-3 {
    bottom: 160px;
    left: 80px;
    color: #34d399;
    animation: pulse 2s infinite;
    animation-delay: 2s;
}

/* Left Content Styles */
.hero-content {
    opacity: 0;
    transform: translateX(-32px);
    animation: slideInLeft 1s ease-out 0.3s forwards;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: #93c5fd;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(8px);
    margin-bottom: 32px;
}

.heading-section {
    margin-bottom: 32px;
}

.main-heading {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #a855f7, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: #d1d5db;
    line-height: 1.6;
    max-width: 600px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
    font-size: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    color: white;
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #60a5fa, #06b6d4);
    border-radius: 50%;
    flex-shrink: 0;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #6d28d9);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

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

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary svg {
    transition: transform 0.3s ease;
}

.btn-secondary:hover svg {
    transform: scale(1.1);
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    color: #60a5fa;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-icon {
    color: #93c5fd;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-value {
    color: #93c5fd;
}

.stat-label {
    font-size: 14px;
    color: #9ca3af;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: #d1d5db;
}

/* Right Content - Code Section */
.code-section {
    opacity: 0;
    transform: translateX(32px);
    animation: slideInRight 1s ease-out 0.6s forwards;
    position: relative;
}

.code-editor {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(75, 85, 99, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(31, 41, 55, 0.5);
    border-bottom: 1px solid rgba(75, 85, 99, 0.5);
}

.editor-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-btn.red { background: #ef4444; }
.control-btn.yellow { background: #eab308; }
.control-btn.green { background: #22c55e; }

.language-label {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
}

.editor-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 12px;
}

.code-content {
    display: flex;
    padding: 24px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.line-numbers {
    color: #6b7280;
    margin-right: 16px;
    user-select: none;
}

.code-text {
    flex: 1;
    color: #fbbf24;
    transition: all 0.5s ease;
}

.language-indicators {
    padding: 0 24px 16px;
    display: flex;
    gap: 8px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4b5563;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #60a5fa;
}

/* Floating Labels */
.floating-label {
    position: absolute;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.floating-label-1 {
    top: -16px;
    right: -16px;
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    animation: bounce 2s infinite;
}

.floating-label-2 {
    bottom: -16px;
    left: -16px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(32px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-10px);
    }
    70% {
        transform: translateY(-5px);
    }
    90% {
        transform: translateY(-2px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .code-section {
        order: -1;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .floating-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .code-content {
        padding: 16px;
        font-size: 12px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}