/* ============================= */
/* RESET & BASE */
/* ============================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #1f2937;
    background: #f9fafb;
}

/* VARIABLES */
:root{
    --primary:#2563eb;
    --secondary:#00c6a9;
    --dark:#1f2937;
}

/* ============================= */
/* NAVBAR */
/* ============================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.75);
    border-bottom: 1px solid #eee;
    z-index: 100;
    transition: .3s;
}

.navbar.scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.logo {
    width: 95px;
}

.navbar a {
    margin-left: 20px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    position: relative;
}

/* underline animado */
.navbar a::after{
    content:"";
    position:absolute;
    width:0%;
    height:2px;
    bottom:-5px;
    left:0;
    background: var(--primary);
    transition:.3s;
}

.navbar a:hover::after{
    width:100%;
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .navbar {
        padding: 15px 20px;
    }

    .navbar nav {
        position: absolute;
        top: 70px;
        right: 20px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: none;
        flex-direction: column;
        padding: 15px;
    }

    .navbar nav.active {
        display: flex;
    }

    .navbar nav a {
        margin: 10px 0;
    }
}

/* ============================= */
/* HERO */
/* ============================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.hero-text {
    width: 50%;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    opacity: 0.9;
}

.hero-buttons {
    margin: 25px 0;
}
.section-subtitle{
    margin-bottom: 6em;
}
.hero-badges{
    margin-bottom: 25px;
}
.hero-image {
    width: 45%;
}

.hero img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.section-title, .section-subtitle{
    text-align: center;
}

.reviews-pagination{
    margin-top: 1.5em;
    text-align: center;
}

/* ============================= */
/* BOTONES */
/* ============================= */
.btn-primary {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:0 15px 35px rgba(0,0,0,0.2);
}

.btn-secondary {
    border: 1px solid white;
    padding: 14px 28px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    margin-left: 10px;
}

/* ============================= */
/* FEATURES */
/* ============================= */
.features {
    padding: 80px 30px;
    text-align: center;
    margin-top: 4em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-top: 40px;
}

.card {
    padding: 25px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: .3s;
    text-align: left;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card .icon {
    width: 55px;
    height: 55px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(37,99,235,0.1);
    border-radius: 12px;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
    transition:.3s;
}

.card:hover .icon{
    transform: scale(1.2) rotate(5deg);
    color: var(--secondary);
}

/* ============================= */
/* TESTIMONIOS */
/* ============================= */
.testimonials {
    padding: 80px 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
    margin: 1em .5em;
}

.stars {
    color: #fbbf24;
    font-size: 1.5em;
    margin-bottom: 1em;
}
ul{
    margin: 2em 0;
}
li {
    list-style: none;
}
.user {
    display: flex;
    flex-direction: column;
    margin-top: 1.5em;
}

/* ============================= */
/* PRICING */
/* ============================= */
.pricing {
    padding: 80px 20px;
    text-align: center;
    background: #f3f4f6;
}

.price-card {
    padding: 30px;
    border-radius: 20px;
    background:#fff;
    border:none;
    transition:.3s;
}

.price-card h3 {
    margin-bottom: 1em;
    font-size: 1.5em;
}

.price-card:hover {
    border: 2px solid var(--primary);
}

.pricing-pagination {
    margin-top: 1.5em;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

/* ============================= */
/* FAQ */
/* ============================= */
.faq {
    padding: 80px 20px;
}

.faq-container {
    display: flex;
    justify-content: center;
    gap: 50px;
}
/* FAQ PRO */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

/* EFECTO HOVER */
.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #2563eb;
}

/* PREGUNTA */
.faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: #1f2937;
}

/* ICONO */
.faq-question i {
    color: #2563eb;
    font-size: 16px;
    transition: 0.3s;
}

/* RESPUESTA */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 14px;
    color: #6b7280;
    transition: all 0.35s ease;
    padding-left: 26px;
}

/* ACTIVO */
.faq-item.active {
    border-color: #2563eb;
    background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(0,198,169,0.05));
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
}

/* ICONO ROTA */
.faq-item.active i {
    transform: rotate(10deg) scale(1.1);
}

/* EFECTO BORDE LATERAL */
.faq-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(#2563eb, #00c6a9);
    opacity: 0;
    transition: 0.3s;
}

.faq-item.active::before {
    opacity: 1;
}

/* ============================= */
/* CTA */
/* ============================= */
.cta {
    padding: 80px 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.cta-buttons{
    margin: 1.5em 0;
}

/* ============================= */
/* FOOTER */
/* ============================= */
footer {
    padding: 20px;
    text-align: center;
    background: #111827;
    color: #9ca3af;
}

/* ============================= */
/* ANIMACIONES */
/* ============================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .hero-text, .hero-image {
        width: 100%;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .faq-container {
        flex-direction: column;
    }

    .faq-info, .faq-list {
        width: 100%;
    }
}


@media (max-width: 540px) {
    .hero-buttons, .cta-buttons{
        display:flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons a, .cta-buttons a{
        width:100%;
        max-width: 25em;
        margin-bottom:1em;
    }
}