/* Custom Tailwind Config */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #ff0000 0%, #ff6b6b 50%, #ff0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Grid Background */
.grid-bg {
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 0, 0, 0.5);
    background: linear-gradient(135deg, #cc0000, #ff0000);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #ff0000;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 0, 0, 0.3);
}
/* Navigation */
nav {
    position: relative;
    z-index: 100;
}

.nav-link {
    color: #9ca3af;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-link:hover {
    color: #ff0000;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff0000;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.nav-link-mobile {
    color: #9ca3af;
    transition: all 0.3s ease;
    padding: 12px 16px;
    border-radius: 8px;
    display: block;
    text-align: center;
}

.nav-link-mobile:hover {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stat Card */
.stat-card {
    padding: 20px;
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

/* Feature Card */
.feature-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(31, 41, 55, 0.8));
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}
/* Premium Card */
.premium-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(31, 41, 55, 0.9));
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    z-index: 1;
}

.premium-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

/* Pricing Card */
.pricing-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(31, 41, 55, 0.9));
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.3);
}

.pricing-card.popular {
    border: 2px solid #ff0000;
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.08) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff0000, #cc0000);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(31, 41, 55, 0.9));
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.2);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #111827;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #cc0000, #ff0000);
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #111827 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    padding: 20px;
}

.loading-robot {
    font-size: 80px;
    margin-bottom: 20px;
    animation: float 2s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

.loading-robot i {
    background: linear-gradient(135deg, #ff0000 0%, #ff6b6b 50%, #ff0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.loading-bar-container {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 20px;
    position: relative;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #ff6b6b, #ff0000);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: loading-progress 2s ease-in-out forwards, gradient-move 1s linear infinite;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

@keyframes loading-progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes gradient-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.loading-text {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .loading-robot {
        font-size: 60px;
    }
    
    .loading-title {
        font-size: 28px;
    }
    
    .loading-bar-container {
        width: 250px;
    }
}
