:root {
    --primary-color: #1d83c1;
    --secondary-color: #186B9E;
    --accent-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #4cc9f0;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hero-section {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/img/background_pos.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
}

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

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card {
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.price-card {
    border-radius: 20px;
    padding: 40px 30px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.price-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.2);
}

.price-card.popular::before {
    content: '¡Más Popular!';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: bold;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-amount span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--dark-color);
}

.comparison-table {
    border-collapse: separate;
    border-spacing: 0 15px;
}

.comparison-table th,
.comparison-table td {
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}

.comparison-table thead th {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px 10px 0 0;
}

.comparison-table tbody tr {
    background: white;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
}

.comparison-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.check-icon {
    color: #28a745;
    font-size: 1.5rem;
}

.cross-icon {
    color: #dc3545;
    font-size: 1.5rem;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: #e9ecef;
    font-family: Georgia, serif;
    line-height: 1;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 15px;
}

.faq-item .btn {
    width: 100%;
    text-align: left;
    padding: 20px;
    font-weight: 600;
    color: var(--dark-color);
    border: none;
    border-radius: 10px;
    background: #f8f9fa;
}

.faq-item .btn:focus {
    box-shadow: none;
}

.faq-item .btn:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0;
}

.faq-item .collapse {
    padding: 20px;
    background: white;
    border-radius: 0 0 10px 10px;
}

footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.btn-social {
    border-radius: 100%;
    display: inline-flex;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.25rem;
    justify-content: center;
    align-items: center;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #adb5bd;
    background-color: #1a252f;
    ;
}

.badge-pro {
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.animated-number {
    font-weight: 700;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .price-card.popular {
        transform: scale(1);
    }

    .price-card.popular:hover {
        transform: translateY(-10px);
    }

    .comparison-table thead th:nth-child(1) {
        position: sticky;
        left: 0;
        z-index: 1;
        background: var(--primary-color);
    }
}