/**
 * Lazyor.ai Homepage Styles
 * Modern, polished design with animations
 */

/* ==================== CSS Variables - Premium Tech Theme ==================== */
:root {
    /* Primary - Electric Violet to Cyan */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-glow: rgba(99, 102, 241, 0.5);
    
    /* Secondary - Neon Cyan */
    --secondary-color: #22d3ee;
    --secondary-glow: rgba(34, 211, 238, 0.5);
    
    /* Accent - Hot Pink for energy */
    --accent-color: #f472b6;
    --accent-glow: rgba(244, 114, 182, 0.5);
    
    /* Success - Electric Green */
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --danger-color: #f87171;
    
    /* Dark Theme - Deep Space */
    --dark-color: #030712;
    --dark-surface: #0f172a;
    --dark-elevated: #1e293b;
    
    /* Glass morphism backgrounds */
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    
    /* Text colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(34, 211, 238, 0.3) 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    --gradient-mesh: linear-gradient(135deg, #1e1b4b 0%, #0f172a 50%, #1e293b 100%);
    
    /* Shadows with glow */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3), 0 0 80px rgba(34, 211, 238, 0.2);
    --shadow-glow-sm: 0 0 20px rgba(99, 102, 241, 0.2);
}

/* ==================== Global Styles ==================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes moveLight {
    0% {
        transform: translateX(-100%) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(200%) rotate(45deg);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

@keyframes glow {
    0%, 100% {
        filter: blur(60px) brightness(1);
    }
    50% {
        filter: blur(80px) brightness(1.3);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-in:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-in:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-in:nth-child(4) { animation-delay: 0.4s; }
.animate-fade-in:nth-child(5) { animation-delay: 0.5s; }

/* ==================== Navigation ==================== */
.lazyor-navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.lazyor-navbar.scrolled {
    background: rgba(3, 7, 18, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lazyor-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary) !important;
    padding: 0;
}

.lazyor-navbar .brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lazyor-navbar .brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lazyor-navbar .navbar-nav > li > a {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin: 0 1px;
}

.lazyor-navbar .navbar-nav > li > a:hover {
    color: var(--text-primary) !important;
    background: var(--glass-highlight);
}

/* Dropdown Menu Base Styles - Dark Glass Enhanced */
.lazyor-navbar .dropdown-menu {
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    box-shadow: 
        0 0 0 1px rgba(99, 102, 241, 0.1),
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(99, 102, 241, 0.15);
    padding: 16px;
    min-width: 240px;
    margin-top: 16px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* Animated Dropdown Menu */
.dropdown-menu-animated {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transform-origin: top center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown:hover > .dropdown-menu-animated,
.dropdown.open > .dropdown-menu-animated {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Dropdown Items */
.lazyor-navbar .dropdown-menu > li > a {
    color: var(--text-secondary) !important;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.lazyor-navbar .dropdown-menu > li > a:last-child {
    margin-bottom: 0;
}

.lazyor-navbar .dropdown-menu > li > a:hover {
    background: rgba(99, 102, 241, 0.15);
    color: var(--text-primary) !important;
    transform: translateX(6px);
}

.lazyor-navbar .dropdown-menu > li > a i {
    width: 20px;
    text-align: center;
    color: var(--primary-light);
    font-size: 15px;
    transition: all 0.2s;
}

.lazyor-navbar .dropdown-menu > li > a:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Dropdown Header */
.lazyor-navbar .dropdown-header {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 14px;
    margin-bottom: 4px;
}

/* Dropdown Divider */
.lazyor-navbar .dropdown-menu .divider {
    margin: 8px 0;
    background: var(--glass-border);
}

/* Mega Menu */
.mega-dropdown {
    position: static !important;
}

.mega-dropdown .mega-menu {
    width: 640px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px) scale(0.95);
    padding: 32px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 
        0 0 0 1px rgba(99, 102, 241, 0.1),
        0 25px 80px -12px rgba(0, 0, 0, 0.9),
        0 0 80px rgba(99, 102, 241, 0.2);
}

.mega-dropdown:hover .mega-menu,
.mega-dropdown.open .mega-menu {
    transform: translateX(-50%) translateY(0) scale(1);
}

.mega-menu-content {
    padding: 0;
}

.mega-menu-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-light);
    margin: 0 0 16px 0;
    padding-left: 12px;
    border-left: 3px solid var(--primary-color);
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 6px;
}

.mega-menu-list li a {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 12px;
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.mega-menu-list li a:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
    color: var(--text-primary) !important;
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.mega-menu-list li a i {
    font-size: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.menu-desc {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
    line-height: 1.4;
}

.mega-menu-list li a:hover .menu-desc {
    color: var(--primary-light);
}

/* Badge in menu */
.badge-hot {
    background: linear-gradient(135deg, #f472b6, #fb7185);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: auto;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(244, 114, 182, 0.4);
}

/* Nav Divider */
.nav-divider {
    width: 1px;
    height: 24px;
    background: var(--glass-border);
    margin: 12px 8px;
}

/* Login Button */
.lazyor-navbar .btn-login {
    color: var(--text-secondary) !important;
    transition: all 0.2s ease;
}

.lazyor-navbar .btn-login:hover {
    color: var(--text-primary) !important;
    background: var(--glass-highlight);
}

/* Register Button - Neon Glow */
.lazyor-navbar .btn-register {
    background: var(--gradient-primary);
    color: white !important;
    border-radius: 8px;
    padding: 10px 22px !important;
    margin-left: 8px;
    font-weight: 600;
    box-shadow: var(--shadow-glow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lazyor-navbar .btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.lazyor-navbar .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.lazyor-navbar .btn-register:hover::before {
    left: 100%;
}

/* User Dropdown */
.user-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-dropdown .avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    box-shadow: var(--shadow-glow-sm);
}

.user-dropdown .avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Caret Animation */
.dropdown .caret {
    transition: transform 0.3s ease;
    border-top-color: var(--text-muted);
}

/* Mobile Menu Adjustments */
@media (max-width: 767px) {
    .mega-dropdown .mega-menu {
        width: 100%;
        left: 0;
        transform: translateX(0) translateY(-10px) scale(0.95);
    }
    
    .mega-dropdown:hover .mega-menu,
    .mega-dropdown.open .mega-menu {
        transform: translateX(0) translateY(0) scale(1);
    }
    
    .dropdown-menu-animated {
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .dropdown.open .dropdown-menu-animated {
        display: block;
    }
    
    .nav-divider {
        display: none;
    }
}

/* ==================== Hero Section ==================== */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background: var(--gradient-mesh);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}

.gradient-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.gradient-orb.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #22d3ee, #0ea5e9);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

.gradient-orb.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #a78bfa, #f472b6);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -2.5s;
}

.gradient-orb.orb-4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #f472b6, #fb7185);
    top: 20%;
    left: 10%;
    animation: float 12s ease-in-out infinite, glow 4s ease-in-out infinite;
    animation-delay: -3s;
}

.gradient-orb.orb-5 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    bottom: 10%;
    right: 20%;
    animation: float 14s ease-in-out infinite, glow 5s ease-in-out infinite;
    animation-delay: -6s;
}

/* Light Beams */
.light-beam {
    position: absolute;
    width: 200px;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(99, 102, 241, 0.03),
        rgba(139, 92, 246, 0.05),
        rgba(34, 211, 238, 0.05),
        rgba(99, 102, 241, 0.03),
        transparent
    );
    transform: rotate(45deg);
    pointer-events: none;
    animation: moveLight 8s linear infinite;
}

.light-beam.beam-1 {
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.light-beam.beam-2 {
    top: 0%;
    left: 30%;
    animation-delay: -3s;
    width: 150px;
}

.light-beam.beam-3 {
    top: -30%;
    left: 60%;
    animation-delay: -5s;
    width: 180px;
}

/* Particle Canvas */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Floating Particles (CSS based backup) */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.8), 0 0 20px rgba(34, 211, 238, 0.4);
}

.particle.p1 { left: 5%; animation-delay: 0s; animation-duration: 12s; }
.particle.p2 { left: 15%; animation-delay: -2s; animation-duration: 15s; width: 6px; height: 6px; }
.particle.p3 { left: 25%; animation-delay: -4s; animation-duration: 18s; }
.particle.p4 { left: 35%; animation-delay: -1s; animation-duration: 14s; width: 3px; height: 3px; }
.particle.p5 { left: 45%; animation-delay: -6s; animation-duration: 16s; width: 5px; height: 5px; }
.particle.p6 { left: 55%; animation-delay: -3s; animation-duration: 13s; }
.particle.p7 { left: 65%; animation-delay: -8s; animation-duration: 17s; width: 4px; height: 4px; }
.particle.p8 { left: 75%; animation-delay: -5s; animation-duration: 15s; }
.particle.p9 { left: 85%; animation-delay: -7s; animation-duration: 14s; width: 6px; height: 6px; }
.particle.p10 { left: 95%; animation-delay: -9s; animation-duration: 19s; }
.particle.p11 { left: 10%; animation-delay: -11s; animation-duration: 16s; width: 3px; height: 3px; }
.particle.p12 { left: 30%; animation-delay: -13s; animation-duration: 14s; }
.particle.p13 { left: 50%; animation-delay: -10s; animation-duration: 18s; width: 5px; height: 5px; }
.particle.p14 { left: 70%; animation-delay: -14s; animation-duration: 15s; }
.particle.p15 { left: 90%; animation-delay: -12s; animation-duration: 17s; width: 4px; height: 4px; }

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-badge {
    margin-bottom: 32px;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-actions .btn-start {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-glow-sm);
    position: relative;
    overflow: hidden;
}

.hero-actions .btn-start::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.hero-actions .btn-start:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.hero-actions .btn-start:hover::before {
    left: 100%;
}

.hero-actions .btn-docs {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.hero-actions .btn-docs:hover {
    background: var(--glass-highlight);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-sm);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Code Block */
.hero-code {
    max-width: 720px;
    margin: 0 auto;
    background: var(--dark-surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-glow), 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.code-header {
    background: #161b22;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dots {
    display: flex;
    gap: 8px;
}

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

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-tabs {
    display: flex;
    gap: 4px;
}

.code-tabs .tab {
    padding: 6px 16px;
    font-size: 13px;
    color: var(--gray-400);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

.code-tabs .tab:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.code-tabs .tab.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
}

.copy-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.code-content pre {
    background: var(--dark-surface);
    border: none;
    margin: 0;
    padding: 24px;
    color: #e6edf3;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    overflow-x: auto;
}

.code-keyword { color: #ff7b72; }
.code-flag { color: #79c0ff; }
.code-string { color: #a5d6ff; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

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

/* ==================== Partners Section ==================== */
.partners-section {
    padding: 60px 0;
    background: var(--dark-surface);
    border-bottom: 1px solid var(--glass-border);
}

.partners-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 48px;
}

.partner-logo {
    opacity: 0.5;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.logo-svg {
    height: 28px;
    width: auto;
}

/* ==================== Section Common Styles ==================== */
.section-header {
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== Features Section ==================== */
.features-section {
    padding: 120px 0;
    background: var(--dark-color);
}

.features-grid {
    margin-top: 20px;
}

.feature-card {
    padding: 40px 32px;
    text-align: left;
    border-radius: 20px;
    transition: all 0.4s ease;
    margin-bottom: 24px;
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: var(--shadow-glow-sm);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}

.feature-link:hover {
    gap: 10px;
    text-decoration: none;
    color: var(--secondary-color);
}

/* ==================== Models Preview Section ==================== */
.models-preview-section {
    padding: 120px 0;
    background: var(--dark-surface);
}

.models-grid {
    margin-top: 20px;
}

.model-card {
    background: var(--dark-elevated);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    margin-bottom: 24px;
    position: relative;
    border: 1px solid var(--glass-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.model-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.model-badge-popular {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #f472b6, #fb7185);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(244, 114, 182, 0.4);
}

.model-header {
    padding: 32px 28px 20px;
    border-bottom: 1px solid var(--glass-border);
}

.model-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.model-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.model-badge.text {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.model-badge.image {
    background: rgba(244, 114, 182, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(244, 114, 182, 0.3);
}

.model-badge.open-source {
    background: rgba(52, 211, 153, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.model-badge.reasoning {
    background: rgba(251, 191, 36, 0.2);
    color: var(--warning-color);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.model-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.model-provider {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.model-body {
    padding: 24px 28px;
    flex: 1;
}

.model-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.model-specs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.model-specs .spec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 6px 12px;
    border-radius: 8px;
}

.model-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.model-price .price {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.model-price .unit {
    font-size: 14px;
    color: var(--text-muted);
}

.model-footer {
    padding: 0 28px 28px;
}

.model-footer .btn {
    border-radius: 10px;
    padding: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.model-footer .btn-outline {
    border: 2px solid var(--glass-border);
    color: var(--text-secondary);
    background: transparent;
}

.model-footer .btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
    background: var(--glass-highlight);
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 28px;
    border-radius: 10px;
    border: 2px solid var(--glass-border);
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view-all:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
    text-decoration: none;
    box-shadow: var(--shadow-glow-sm);
}

.mt-4 {
    margin-top: 40px;
}

/* ==================== Pricing Section ==================== */
.pricing-preview-section {
    padding: 120px 0;
    background: var(--dark-color);
}

.pricing-grid {
    margin-top: 20px;
}

.pricing-card {
    background: var(--dark-surface);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    margin-bottom: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-glow-sm);
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-price .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-price .amount {
    font-size: 52px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-price .period {
    font-size: 16px;
    color: var(--text-muted);
}

.pricing-price .custom {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-features {
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 14px 0;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--success-color);
    font-size: 14px;
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-features li.disabled i {
    color: var(--glass-border);
}

.pricing-footer .btn {
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.pricing-footer .btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-light);
    background: transparent;
}

.pricing-footer .btn-outline:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ==================== Testimonials Section ==================== */
.testimonials-section {
    padding: 120px 0;
    background: var(--dark-surface);
}

.testimonial-card {
    background: var(--dark-elevated);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.author-title {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== CTA Section ==================== */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-mesh);
    position: relative;
    overflow: hidden;
}

.cta-section .animated-bg {
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cta-actions .btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-actions .btn-default {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ==================== Newsletter Section ==================== */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.newsletter-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.newsletter-form {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .input-group {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.newsletter-input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 15px;
    outline: none;
    box-shadow: none;
}

.newsletter-input:focus {
    box-shadow: none;
    border: none;
    outline: none;
}

.newsletter-btn {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    border: none;
    padding: 16px 28px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #1e293b, #334155);
    transform: translateX(2px);
}

.newsletter-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

/* ==================== Footer ==================== */
.footer-section {
    background: var(--dark-color);
    color: white;
}

/* Footer Top - Stats */
.footer-top {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.footer-stat:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* Footer Main */
.footer-main {
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 320px;
}

/* Trust Badges */
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.15);
}

.trust-badge i {
    font-size: 11px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links a i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
    transform: translateX(4px);
}

.footer-links a:hover i {
    color: var(--primary-light);
}

/* Status Dot */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 6px;
}

.status-dot.online {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 2s infinite;
}

/* Badge New */
.badge-new {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 6px;
    font-weight: 700;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom .copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
    white-space: nowrap;
}

.footer-legal li {
    display: inline-block;
}

.footer-legal li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-legal li a:hover {
    color: white;
    text-decoration: none;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 44px;
    }
    
    .section-title {
        font-size: 34px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-stats {
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 140px 0 80px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .features-section,
    .models-preview-section,
    .pricing-preview-section,
    .testimonials-section,
    .cta-section {
        padding: 80px 0;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-code {
        margin: 0 15px;
    }
    
    .code-content pre {
        font-size: 12px;
        padding: 16px;
    }
    
    .partners-logos {
        gap: 24px;
    }
    
    .feature-card,
    .model-card,
    .pricing-card,
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    /* Footer Responsive */
    .footer-stat {
        margin-bottom: 16px;
    }
    
    .footer-main .col-lg-2,
    .footer-main .col-md-6 {
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

/* ==================== Utility Classes ==================== */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
    left: 100%;
}
