body {
    font-family: 'Inter', sans-serif;
}

.light-mode-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.light-card-gradient {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.light-nav-blur {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

.light-shadow-soft {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.light-shadow-medium {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.light-shadow-large {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.dark .light-mode-gradient {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.dark .light-card-gradient {
    background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
    border: 1px solid rgba(75, 85, 99, 0.3);
}

.dark .light-nav-blur {
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.dark .light-shadow-soft {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.dark .light-shadow-medium {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

.dark .light-shadow-large {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
}

/* Modern color palette - using color theory */
.light-accent-blue {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.light-accent-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.light-accent-teal {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.light-button-primary {
    background: linear-gradient(135deg, #d35400 0%, #ea580c 100%);
    box-shadow: 0 4px 14px 0 rgba(211, 84, 0, 0.25);
    transition: all 0.3s ease;
}

.light-button-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    box-shadow: 0 6px 20px 0 rgba(211, 84, 0, 0.35);
    transform: translateY(-2px);
}

.light-button-secondary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #d35400;
    color: #d35400;
    box-shadow: 0 2px 8px 0 rgba(211, 84, 0, 0.15);
    transition: all 0.3s ease;
}

.light-button-secondary:hover {
    background: linear-gradient(135deg, #d35400 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(211, 84, 0, 0.25);
    transform: translateY(-1px);
}

.dark .light-button-primary {
    background: linear-gradient(135deg, #ea580c 0%, #d35400 100%);
    box-shadow: 0 4px 14px 0 rgba(234, 88, 12, 0.3);
}

.dark .light-button-primary:hover {
    background: linear-gradient(135deg, #d35400 0%, #b84a00 100%);
    box-shadow: 0 6px 20px 0 rgba(234, 88, 12, 0.4);
}

.dark .light-button-secondary {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    border: 2px solid #ea580c;
    color: #ea580c;
    box-shadow: 0 2px 8px 0 rgba(234, 88, 12, 0.2);
}

.dark .light-button-secondary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #d35400 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(234, 88, 12, 0.3);
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #d35400;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b84a00;
}

/* Dark mode scrollbar */
.dark ::-webkit-scrollbar-track {
    background: #374151;
}

.dark ::-webkit-scrollbar-thumb {
    background: #d35400;
}

/* Smooth transitions for theme changes */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Custom button hover effects */
.transform:hover {
    transform: translateY(-2px);
}

/* Loading animation for buttons */
.loader {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #d35400;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom focus styles */
button:focus,
a:focus {
    outline: 2px solid #d35400;
    outline-offset: 2px;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #d35400, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Hero section background animation */
.hero-bg {
    background: linear-gradient(135deg, #d35400, #b84a00);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

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

/* Stats counter animation */
.stat-number {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Feature card stagger animation */
.feature-card {
    animation: slideInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-lockitin-orange {
        background-color: #000;
    }
    
    .text-lockitin-orange {
        color: #000;
    }
    
    .border-lockitin-orange {
        border-color: #000;
    }
}
