﻿/* styles.css - TurnosApp Landing Page */

/* === RESET Y VARIABLES GLOBALES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #f9fafc;
    color: #1e293b;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === UTILIDADES === */
.badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    margin: 4rem 0 1.5rem;
    color: #0b2b5c;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, #0b2b5c 0%, #143b6e 100%);
    color: white;
    padding: 3.5rem 0 5rem;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
    box-shadow: 0 15px 30px -10px rgba(0, 20, 50, 0.2);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero .subhead {
    font-size: 1.4rem;
    opacity: 0.85;
    font-weight: 400;
    max-width: 700px;
    border-left: 4px solid #ffb347;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

/* === FEATURES GRID === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eef2f6;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(11, 43, 92, 0.15);
    border-color: #cbd5e1;
}

.feature-icon {
    font-size: 2.5rem;
    color: #ffb347;
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-card p {
    color: #475569;
}

/* === PRICING CARDS === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.pricing-card {
    background: white;
    border-radius: 2rem;
    padding: 2rem 1.8rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    position: relative;
}

.pricing-card.popular {
    border-color: #ffb347;
    box-shadow: 0 15px 35px -12px rgba(255, 180, 71, 0.25);
    transform: scale(1.02);
}

.popular-badge {
    background: #ffb347;
    color: #0b2b5c;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    display: inline-block;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0b2b5c;
    margin: 1rem 0 0.5rem;
}

.price small {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}

.pricing-card ul {
    list-style: none;
    margin: 1.8rem 0;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card li i {
    color: #ffb347;
    font-size: 0.9rem;
}

/* === BOTONES === */
.btn {
    display: inline-block;
    background: white;
    border: 2px solid #0b2b5c;
    color: #0b2b5c;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: #0b2b5c;
    color: white;
    border: 2px solid #0b2b5c;
}

.btn-primary:hover {
    background: #143b6e;
    border-color: #143b6e;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 43, 92, 0.2);
}

/* === SECCIÓN DE SOCIOS / DISTRIBUIDORES === */
.partners-section {
    background: #eef2f6;
    border-radius: 3rem;
    padding: 3.5rem 2.5rem;
    margin: 5rem 0;
}

.commission-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
}

.commission-item {
    background: white;
    border-radius: 1.5rem;
    padding: 1.8rem 2.5rem;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.commission-item i {
    font-size: 2rem;
    color: #ffb347;
}

.commission-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b2b5c;
    margin: 0.5rem 0;
}

/* === FORMULARIO DE CONTACTO === */
.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 4rem 0;
    background: white;
    border-radius: 2.5rem;
    padding: 3rem;
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.05);
}

.contact-info {
    flex: 1 1 300px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #0b2b5c;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.contact-detail i {
    width: 2rem;
    color: #ffb347;
    font-size: 1.4rem;
}

.contact-form {
    flex: 2 1 400px;
}

.form-group {
    margin-bottom: 1.2rem;
}

input, textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #cbd5e1;
    border-radius: 1rem;
    font-size: 1rem;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #ffb347;
    box-shadow: 0 0 0 3px rgba(255, 180, 71, 0.2);
}

button {
    background: #0b2b5c;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
}

button:hover {
    background: #1f3a6b;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 2.5rem 0;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    margin-top: 3rem;
}

footer a {
    color: #0b2b5c;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

/* === ANIMACIONES === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .pricing-card, .commission-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* === MEDIA QUERIES === */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero .subhead {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .pricing-grid {
        gap: 1.5rem;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .partners-section {
        padding: 2rem 1.5rem;
    }
    
    .commission-grid {
        gap: 1.5rem;
    }
    
    .commission-item {
        padding: 1.5rem;
        min-width: 160px;
    }
    
    .contact-row {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
    }
    
    .commission-item {
        min-width: 100%;
    }
    
    .contact-detail {
        flex-wrap: wrap;
    }
}

/* === CLASES DE UTILIDAD ADICIONALES === */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }
/* WHATSAPP FLOTANTE */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}
