/* ========== RESET Y BASE ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent: #0d6efd;
    --accent-hover: #0b5ed7;
    --success: #059669;
    --success-light: #ecfdf5;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --radius: 16px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ========== CABECERA ========== */
header {
    text-align: center;
    padding: 4rem 1rem 2.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border);
}
.logo {
    max-width: 110px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.04));
}
.tagline {
    font-size: 1.25rem;
    color: var(--success);
    font-weight: 600;
    letter-spacing: -0.01em;
    background: var(--success-light);
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
}

/* ========== SECCIONES ========== */
section {
    padding: 4rem 1.5rem;
    max-width: 1050px;
    margin: 0 auto;
}
section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ========== TARJETAS DE PRODUCTO ========== */
.product-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, #7c3aed 100%);
    opacity: 0;
    transition: opacity var(--transition);
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-2px);
}
.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    font-size: 2.5rem;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 18px;
    flex-shrink: 0;
    transition: background var(--transition);
}
.product-card:hover .product-icon {
    background: #e8f0fe;
}

.product-info {
    flex: 1;
    min-width: 260px;
}
.product-info h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}
.product-tagline {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}
.product-desc {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}
.product-features li {
    padding: 0.4rem 0 0.4rem 1.6rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-primary);
}
.product-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

.product-testimonial {
    background: #f9fafb;
    border-left: 3px solid var(--accent);
    padding: 1rem 1.2rem;
    margin: 1.2rem 0;
    font-style: italic;
    color: var(--text-secondary);
    border-radius: 0 10px 10px 0;
    font-size: 0.9rem;
}
.product-testimonial .autor {
    font-style: normal;
    font-weight: 600;
    display: block;
    margin-top: 0.5rem;
    color: var(--text-primary);
}

.price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0.8rem 0 0;
    letter-spacing: -0.03em;
}
.price .currency {
    font-size: 1.4rem;
    font-weight: 600;
}
.price-type {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.buy-btn {
    display: inline-block;
    background: var(--text-primary);
    color: white;
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all var(--transition);
    margin-top: 0.3rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}
.buy-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
}

.etiquetas {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tag {
    background: #f1f5f9;
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* ========== SECCIÓN ¿POR QUÉ? ========== */
#why {
    background: var(--surface);
    max-width: 100%;
    padding: 5rem 1.5rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 950px;
    margin: 0 auto;
}
.feature {
    text-align: center;
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
}
.feature .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #f1f5f9;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}
.feature h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}
.feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========== FOOTER ========== */
footer {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #94a3b8;
    font-size: 0.85rem;
    background: #0f172a;
    border-top: none;
}
footer a {
    color: #cbd5e1;
    margin: 0 0.6rem;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}
footer a:hover {
    color: white;
    text-decoration: none;
}
footer p {
    margin-top: 0.6rem;
    color: #64748b;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 650px) {
    .product-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .product-features li {
        text-align: left;
    }
    .features {
        flex-direction: column;
        align-items: center;
    }
    section h2 {
        font-size: 1.5rem;
    }
}
