/* CSS Variables for Consistency */
:root {
    /* Colors */
    --primary-blue: #0ea5e9;
    --primary-green: #10b981;
    --primary-gold: #fbbf24;
    --primary-gold-dark: #f59e0b;
    --dark-bg: #0f172a;
    --dark-secondary: #1e293b;
    --dark-tertiary: #334155;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    --gradient-gold: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    --gradient-text: linear-gradient(135deg, var(--text-primary), var(--primary-blue), var(--primary-green));
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    --border-radius: 16px;
    --border-radius-small: 8px;
    
    /* Shadows */
    --shadow-card: 0 20px 40px rgba(14, 165, 233, 0.2);
    --shadow-button: 0 15px 35px rgba(14, 165, 233, 0.4);
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 50%, var(--dark-bg) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Progress Line */
.progress-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 2000;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.7);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-base);
    padding-top: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p {
    font-size: 12px;
    color: #94a3b8;
    margin-top: -2px;
}

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

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #0ea5e9;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* CTA Button Styles */
.cta-btn {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-btn::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;
}

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

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-button),
                0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 12px 24px;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

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

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

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px rgba(14, 165, 233, 0.3), 0 0 40px rgba(14, 165, 233, 0.1);
    }
    100% {
        text-shadow: 0 0 30px rgba(14, 165, 233, 0.5), 0 0 60px rgba(16, 185, 129, 0.2);
    }
}

@keyframes numberGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(14, 165, 233, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.5));
    }
}

/* Footer Styles */
footer {
    padding: 60px 0 30px;
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(14, 165, 233, 0.2);
}

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

.footer-brand h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #0ea5e9;
}

.footer-link-btn {
    background: none;
    border: none;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
    text-align: left;
    width: 100%;
}

.footer-link-btn:hover {
    color: #0ea5e9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    header {
        padding: 8px 0;
    }

    .logo-text h1 {
        font-size: 20px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}