/* Common CSS - Shared styles for header, footer, and components */

/* Reset and Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; 

    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

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

/* Common Animations */
@keyframes gradient-shift { 
    0% { background-position: 0% 50%; } 
    50% { background-position: 100% 50%; } 
    100% { background-position: 0% 50%; } 
}

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

@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* Container */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

/* Navbar Styles */
.navbar { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 1000; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(20px); 
    border-bottom: 1px solid rgba(0,0,0,0.05); 
    transition: all 0.3s ease; 
}

.navbar .container { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 72px; 
}

.navbar .logo { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
}

.navbar .logo img { 
    height: 32px; 
    width: auto; 
}

.nav-links { 
    display: flex; 
    gap: 32px; 
    list-style: none; 
}

.nav-links a { 
    font-size: 0.9rem; 
    font-weight: 500; 
    color: #4b5563; 
    text-decoration: none; 
    transition: color 0.2s; 
    padding: 8px 0; 
}

.nav-links a:hover { 
    color: #6366f1; 
}

.nav-actions { 
    display: flex; 
    gap: 12px; 
}

/* Mobile Menu Toggle */
.mobile-menu-toggle { 
    display: none; 
    flex-direction: column; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 8px; 
    z-index: 1001; 
}

.mobile-menu-toggle span { 
    width: 25px; 
    height: 3px; 
    background: #4b5563; 
    margin: 3px 0; 
    transition: 0.3s; 
    border-radius: 2px; 
}

.mobile-menu-toggle.active span:nth-child(1) { 
    transform: rotate(-45deg) translate(-5px, 6px); 
}

.mobile-menu-toggle.active span:nth-child(2) { 
    opacity: 0; 
}

.mobile-menu-toggle.active span:nth-child(3) { 
    transform: rotate(45deg) translate(-5px, -6px); 
}

/* Mobile Menu */
.mobile-menu { 
    position: fixed; 
    top: 72px; 
    left: 0; 
    right: 0; 
    background: white; 
    border-top: 1px solid rgba(0,0,0,0.05); 
    transform: translateX(-100%); 
    transition: transform 0.3s ease; 
    z-index: 999; 
    padding: 20px 24px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
}

.mobile-menu.active { 
    transform: translateX(0); 
}

.mobile-menu a { 
    display: block; 
    padding: 12px 0; 
    color: #4b5563; 
    text-decoration: none; 
    font-weight: 500; 
    border-bottom: 1px solid #f3f4f6; 
}

.mobile-menu a:hover { 
    color: #6366f1; 
}

.mobile-menu-cta { 
    margin-top: 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

/* Button Styles */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    padding: 10px 20px; 
    font-size: 0.9rem; 
    font-weight: 600; 
    border-radius: 8px; 
    text-decoration: none; 
    transition: all 0.2s ease; 
    cursor: pointer; 
    border: none; 
    text-align: center; 
}

.btn-primary { 
    background: linear-gradient(135deg, #6366f1, #8b5cf6); 
    color: white; 
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); 
}

.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5); 
}

.btn-outline { 
    background: transparent; 
    color: #374151; 
    border: 2px solid #e5e7eb; 
}

.btn-outline:hover { 
    border-color: #6366f1; 
    color: #6366f1; 
    background: rgba(99, 102, 241, 0.05); 
}

.btn-lg { 
    padding: 14px 28px; 
    font-size: 1rem; 
}

.btn-block { 
    width: 100%; 
}

/* Footer Styles */
.footer { 
    background: #1f2937; 
    color: white; 
    padding: 60px 0 24px; 
    margin-top: auto; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 48px; 
    margin-bottom: 48px; 
}

.footer-brand img { 
    margin-bottom: 16px; 
    height: 50px; 
    width: auto; 
}

.footer-brand p { 
    font-size: 0.95rem; 
    color: #d1d5db; 
    line-height: 1.6; 
    max-width: 300px; 
}

.footer-links h4 { 
    font-size: 1rem; 
    font-weight: 600; 
    margin-bottom: 16px; 
    color: white; 
}

.footer-links a { 
    display: block; 
    font-size: 0.9rem; 
    color: #d1d5db; 
    text-decoration: none; 
    margin-bottom: 8px; 
    transition: color 0.2s; 
}

.footer-links a:hover { 
    color: #6366f1; 
}

.footer-bottom { 
    text-align: center; 
    padding-top: 24px; 
    border-top: 1px solid #374151; 
    font-size: 0.9rem; 
    color: #9ca3af; 
}

.footer-bottom a { 
    color: #9ca3af; 
    text-decoration: none; 
}

.footer-bottom a:hover { 
    color: #6366f1; 
}

/* Page Layout */
.page-hero { 
    padding: 140px 0 80px; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6366f1 100%); 
    background-size: 200% 200%; 
    animation: gradient-shift 15s ease infinite; 
    position: relative; 
    overflow: hidden; 
    color: white; 
    text-align: center; 
}

.page-hero::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); 
}

.page-hero .container { 
    position: relative; 
    z-index: 1; 
}

.page-hero h1 { 
    font-size: 3rem; 
    font-weight: 800; 
    margin-bottom: 16px; 
    animation: slide-up 0.8s ease-out; 
}

.page-hero p { 
    font-size: 1.15rem; 
    color: rgba(255, 255, 255, 0.9); 
    max-width: 600px; 
    margin: 0 auto 24px; 
    animation: slide-up 0.8s ease-out 0.2s both; 
}

/* Section Styles */
.section { 
    padding: 80px 0; 
}

.section-header { 
    text-align: center; 
    margin-bottom: 48px; 
}

.section-header h2 { 
    font-size: 2.25rem; 
    font-weight: 700; 
    color: #1f2937; 
    margin-bottom: 12px; 
}

.section-header p { 
    font-size: 1.1rem; 
    color: #6b7280; 
}

.section-light { 
    background: #f9fafb; 
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .nav-links, .nav-actions { 
        display: none !important; 
    }
    .mobile-menu-toggle {
        display: flex !important;
        position: absolute !important;
        top: 18px !important;
        right: 24px !important;
        z-index: 1002 !important;
        /* background: white !important; */
        /* border-radius: 50%; */
        /* box-shadow: 0 2px 8px rgba(0,0,0,0.04); */
        width: 40px !important;
        height: 40px !important;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
    }
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 32px; 
    }
}

@media (max-width: 768px) {
    .container { 
        padding: 0 16px; 
    }
    
    .navbar .container { 
        padding: 0 16px; 
    }
    
    .page-hero { 
        padding: 100px 0 60px; 
    }
    
    .page-hero h1 { 
        font-size: 2.25rem; 
    }
    
    .section { 
        padding: 60px 0; 
    }
    
    .footer { 
        padding: 40px 0 20px; 
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 24px; 
        margin-bottom: 32px; 
    }
}

@media (max-width: 480px) {
    .page-hero h1 { 
        font-size: 1.8rem; 
    }
    
    .btn { 
        padding: 12px 20px; 
        font-size: 0.85rem; 
    }
}

/* Dark theme support */
[data-theme="dark"] .navbar {
    background: rgba(31, 41, 55, 0.95);
}

[data-theme="dark"] .navbar .logo,
[data-theme="dark"] .nav-links a {
    color: #d1d5db;
}

[data-theme="dark"] .mobile-menu {
    background: #1f2937;
    border-top-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .mobile-menu a {
    color: #d1d5db;
    border-bottom-color: #374151;
}