/* Estilos inspirados en Fianly.com */

:root {
    --primary-color: #2B4FFF; /* Azul vibrante como Fianly */
    --secondary-color: #00D4AA; /* Verde aguamarina */
    --accent-color: #FF6B6B; /* Coral para acentos */
    --text-dark: #1a1a1a;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --bg-light: #F8FAFC;
    --bg-gray: #F1F5F9;
    --white: #ffffff;
    --border-light: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #1E40AF 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #059669 100%);
}

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

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Tipografía mejorada */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Hero Section inspirado en Fianly */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(255,255,255,0.03) 50%, transparent 51%);
    background-size: 30px 30px;
    animation: heroPattern 20s linear infinite;
}

@keyframes heroPattern {
    0% { transform: translateX(-30px); }
    100% { transform: translateX(0); }
}

.hero-content {
    position: relative;
    z-index: 2; 
}

/* Botones estilo Fianly */
.btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 14px;
}

/* Cards estilo Fianly */
.card {
    background: white;
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 2.5rem;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color)20, var(--primary-color)40);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
}

/* Navbar estilo moderno */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(43, 79, 255, 0.1);
}

/* Secciones */
section {
    padding: 5rem 0;
}

/* Secciones alternadas con colores */
.section-alt {
    background-color: var(--bg-light);
}

.section-white {
    background: #ffffff;
    color: var(--text-dark);
}

.section-gray {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-dark);
}

.section-blue-light {
    background: linear-gradient(180deg, #f0f4ff 0%, #e6f0ff 100%);
    color: var(--text-dark);
}

.section-primary-light {
    background: linear-gradient(180deg, rgba(43, 79, 255, 0.03) 0%, rgba(43, 79, 255, 0.08) 100%);
    color: var(--text-dark);
}

/* Stats como en Fianly */
.stats-item {
    text-align: center;
    padding: 1.5rem;
}

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.stats-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Testimonios */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-light);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 2rem;
    font-size: 4rem;
    color: var(--primary-color);
    font-weight: bold;
}

.stars {
    color: #FCD34D;
    margin-bottom: 1rem;
}

/* Formularios */
.form-control {
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(43, 79, 255, 0.1);
    background-color: var(--white);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5, .footer h6 {
    color: white;
    font-weight: 600;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 4px 0;
}

.footer-links a:hover {
    color: white;
}

.social-links a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: 0 8px 8px 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    color: white;
}

/* Utilidades */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
}
