/* Tipografía base */
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f9fafb;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
}

/* Navbar */
/*.barra {
    background-color: transparent;
    padding: 1rem 0;
    position: absolute;
    width: 100%;
    z-index: 1000;
}*/

.navbar {
    background-color: #446E9B;

}

.link-registro {
    cursor: pointer;
}

.link-login {
    cursor: pointer;
}

.nav-item {
    background-color: transparent;
}

.navbar-toggler-icon {
    filter: invert(100%);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .navbar-brand {
    color: white;
}

/* Encabezado principal con imagen de fondo */
.hero {

    background-image: url(../img/fondo.webp);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 90px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(135deg, rgba(13, 110, 253, 0.85) 0%, rgba(10, 88, 202, 0.75) 100%);*/
}

.hero-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
    max-width: 550px;
    text-align: left;
    margin-left: 5%;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #4b5563;
}

.subtitle {
    color: #4b5563 !important;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.grid-2col h2 {
    color: #446E9B;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 300px;
    flex: 1 1 250px;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #446E9B;
    margin-bottom: 1rem;
}

.card i {
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

.section-dark {
    background: #1f2937;
    color: white;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.section-dark h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0d6efd;
}

.benefit-item i {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.section-pricing {
    text-align: center;
    margin-bottom: 3rem;
}

.section-pricing h2 {
    color: #0d6efd;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.pricing-card.featured {
    border: 3px solid #0d6efd;
    transform: scale(1.05);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0d6efd;
    margin: 1rem 0;
}

.pricing-card ul li::before {
    content: "✓";
    color: #0d6efd;
    margin-right: 0.5rem;
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #446E9B 0%, #446E9B 100%);
    border-radius: 20px;
    color: white;
    margin-bottom: 3rem;
}

.cta-section .btn.primary-cta {
    background: white;
    color: #0d6efd;
}

.cta-section .btn.primary-cta:hover {
    background: #f9fafb;
    color: #0a58ca;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-section .btn.primary-cta {
    background: white;
    color: #0d6efd;
}

.cta-section .btn.primary-cta:hover {
    background: #f9fafb;
    color: #0a58ca;
}

footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-section h4 {
    color: #0d6efd;
    margin-bottom: 1rem;
}

.footer-section a:hover {
    color: #0d6efd;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
}

.footer-section a:hover {
    color: #0d6efd;
}

footer p {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.highlight {
    color: #0d6efd;
    position: relative;
    display: inline-block;
}

svg {
    animation: shieldGlow 2s ease-in-out infinite alternate;
}

@keyframes shieldGlow {
    from {
        filter: drop-shadow(0 0 5px #0d6efd);
    }

    to {
        filter: drop-shadow(0 0 15px #0d6efd);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

.primary-cta {
    background: linear-gradient(90deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(13, 110, 253, 0.4);
    color: white;
}

.secondary-cta {
    background: transparent;
    color: #0d6efd;
    padding: 1.2rem 2.5rem;
    border: 2px solid #0d6efd;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.secondary-cta:hover {
    background: #0d6efd;
    color: white;
}

.cta-buttons {
    margin-top: 1rem;
}

@media (max-width: 1400px) {
    .hero-content {
        max-width: 500px;
    }
}

@media (max-width: 1200px) {
    .hero-content {
        max-width: 450px;
    }
}

@media (max-width: 1000px) {
    .hero-content {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .grid-2col {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 90%;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 500px) {
    .hero-content {
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content svg {
        width: 80%;
        height: 80%;
    }

    .nav-item {
        font-size: 1.2rem;
    }
}

@media (max-width: 350px) {
    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content svg {
        width: 60%;
        height: 60%;
    }

    .nav-item {
        font-size: 1.8rem;
    }
}