/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --bg-dark: #0f0f14;
    --bg-card: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --border: #2a2a3a;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
header {
    position: relative;
    z-index: 100;
}

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

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-light);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-visual {
    width: 55px;
    height: 55px;
    background-image: url('/img/fileo-logo-visual.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-text {
    width: 400px;
    height: 120px;
    margin: -10px 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 2.7rem;
}

/* Button Styles */
.btn-primary {
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--primary);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.footer-provider-links,
.footer-general-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    padding: 0.375rem 0;
    line-height: 1.4;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .logo-visual {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        width: 100px;
        height: 100px;
        font-size: 2rem;
        margin-top: -5px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .nav-cta {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        white-space: nowrap;
        min-width: auto;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        min-width: 200px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        width: 100%;
    }

    .footer-provider-links,
    .footer-general-links {
        align-items: center;
        width: 100%;
    }

    .footer-links a {
        padding: 0.75rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        min-width: 200px;
    }

    .copyright {
        text-align: center;
        order: -1;
    }
}