/* Additional custom styles */
* {
    transition: all 0.3s ease;
}

.hero-content,
.hero-image,
.feature-card,
.portfolio-item,
.pricing-card,
.faq-item {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphism effect */
.backdrop-blur-lg {
    backdrop-filter: blur(16px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1A1F2E;
}

::-webkit-scrollbar-thumb {
    background: #3B82F6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

/* Smooth focus transitions */
button:focus,
a:focus {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* Gradient text animation */
@keyframes gradient-x {
    0%, 100% {
        background-size: 200% 200%;
        background-position: left center;
    }
    50% {
        background-size: 200% 200%;
        background-position: right center;
    }
}

.gradient-animate {
    animation: gradient-x 3s ease infinite;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Loading animation for images */
.portfolio-item img {
    transition: opacity 0.3s ease;
}

.portfolio-item:hover img {
    opacity: 0.8;
}

/* Button animations */
button {
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}

/* FAQ animation improvements */
.faq-item div:last-child {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item div:last-child:not(.hidden) {
    max-height: 200px;
}

/* Card hover effects */
.feature-card:hover,
.portfolio-item:hover,
.pricing-card:hover {
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.1), 0 10px 10px -5px rgba(59, 130, 246, 0.04);
}

/* Hero section enhancements */
.hero-content {
    z-index: 2;
    position: relative;
}

.hero-image {
    z-index: 1;
    position: relative;
}

/* Responsive typography */
@media (max-width: 640px) {
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .text-4xl {
        font-size: 2rem;
    }
}

/* Performance optimizations */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Dark mode enhancements */
.bg-dark-bg {
    background-color: #0F1419;
}

.bg-dark-card {
    background-color: #1A1F2E;
}

.border-dark-border {
    border-color: #2D3748;
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(55, 65, 81, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid #4b5563;
    border-radius: 0.5rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #3b82f6;
    outline: none;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(to right, #60a5fa, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(to right, #2563eb, #06b6d4);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(to right, #1d4ed8, #0891b2);
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}


