/* ========================================
   Hub SEO: Diseño de Páginas Web en Panamá
   Design system JZDS: dark + morado logo + lime + teal
   Morado de marca: #2D164C (del logo)
   ======================================== */

/* Hero */
.hub-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(45, 22, 76, 0.75), transparent 70%),
        radial-gradient(ellipse 50% 40% at 85% 110%, rgba(3, 180, 178, 0.10), transparent 70%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.35), rgba(10, 10, 10, 0.9)),
        var(--jz-dark);
}
.hub-hero-content { max-width: 860px; }
.hub-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--jz-white);
    margin: 0 0 20px;
}
.hub-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.55;
}
.hub-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hub-btn-primary {
    display: inline-block;
    background: var(--jz-lime);
    color: var(--jz-black);
    font-weight: 800;
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 160ms ease-out, background 160ms ease;
}
.hub-btn-primary:active { transform: scale(0.97); }
.hub-btn-primary:hover { background: #e9ff5c; }
.hub-btn-ghost {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--jz-white);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 160ms ease-out, border-color 160ms ease;
}
.hub-btn-ghost:active { transform: scale(0.97); }
.hub-btn-ghost:hover { border-color: var(--jz-lime); color: var(--jz-lime); }
.hub-hero-meta {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-top: 34px;
    flex-wrap: wrap;
}
.hub-hero-meta span {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    position: relative;
}
.hub-hero-meta span::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--jz-teal);
    margin-right: 10px;
    vertical-align: 1px;
}

/* Secciones generales */
.hub-section { padding: 90px 20px; }
.hub-alt {
    background:
        radial-gradient(ellipse 60% 50% at 0% 0%, rgba(45, 22, 76, 0.35), transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
}
.hub-container { max-width: 1120px; margin: 0 auto; }
.hub-h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--jz-white);
    text-align: center;
    margin: 0 0 18px;
}
.hub-lead {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    max-width: 720px;
    margin: 0 auto 48px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}
.pricing-card {
    background: linear-gradient(180deg, rgba(45, 22, 76, 0.28), rgba(10, 10, 10, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 200ms ease-out, border-color 200ms ease;
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(221, 255, 25, 0.35); }
.pricing-featured {
    border: 1px solid rgba(221, 255, 25, 0.5);
    background: linear-gradient(180deg, rgba(45, 22, 76, 0.45), rgba(10, 10, 10, 0.9));
    box-shadow: 0 0 0 1px rgba(221, 255, 25, 0.15), 0 20px 60px rgba(45, 22, 76, 0.35);
}
.pricing-tag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--jz-lime);
    color: var(--jz-black);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
}
.pricing-plan {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--jz-teal);
    margin-bottom: 14px;
}
.pricing-featured .pricing-plan { color: var(--jz-lime); }
.pricing-price {
    font-family: var(--font-display);
    font-size: 2.9rem;
    font-weight: 800;
    color: var(--jz-white);
    line-height: 1;
    margin-bottom: 10px;
}
.pricing-note { font-size: 0.95rem; font-weight: 500; color: rgba(255, 255, 255, 0.45); margin-left: 6px; }
.pricing-desc { color: rgba(255, 255, 255, 0.6); font-size: 0.98rem; margin-bottom: 24px; line-height: 1.5; }
.pricing-list { list-style: none; padding: 0; margin: 0 0 30px; flex: 1; }
.pricing-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.4;
}
.pricing-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--jz-lime);
    font-weight: 800;
}
.pricing-cta {
    display: block;
    text-align: center;
    background: transparent;
    border: 1px solid var(--jz-lime);
    color: var(--jz-lime);
    font-weight: 800;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease-out;
}
.pricing-cta:hover { background: var(--jz-lime); color: var(--jz-black); }
.pricing-cta:active { transform: scale(0.97); }
.pricing-featured .pricing-cta { background: var(--jz-lime); color: var(--jz-black); }
.pricing-featured .pricing-cta:hover { background: #e9ff5c; }
.pricing-footnote {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.92rem;
    margin-top: 28px;
}

/* Features */
.hub-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.hub-feature {
    background: linear-gradient(160deg, rgba(45, 22, 76, 0.30), rgba(255, 255, 255, 0.03) 60%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px;
    transition: border-color 160ms ease;
}
.hub-feature:hover { border-color: rgba(45, 22, 76, 0.8); }
.hub-feature-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--jz-white);
    margin-bottom: 10px;
}
.hub-feature-title::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--jz-teal);
    margin-right: 12px;
}
.hub-feature p { color: rgba(255, 255, 255, 0.65); font-size: 0.98rem; line-height: 1.6; margin: 0; }

/* Includes */
.hub-includes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.hub-include {
    background: rgba(45, 22, 76, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 600;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.hub-include:hover { border-color: var(--jz-teal); color: var(--jz-white); background: rgba(45, 22, 76, 0.4); }

/* Steps */
.hub-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: hubstep;
}
.hub-step {
    background: linear-gradient(180deg, rgba(45, 22, 76, 0.30), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 28px 24px;
    transition: border-color 160ms ease;
}
.hub-step:hover { border-color: rgba(221, 255, 25, 0.3); }
.hub-step-num {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--jz-lime);
    margin-bottom: 14px;
}
.hub-step h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--jz-white);
    margin: 0 0 8px;
}
.hub-step p { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; line-height: 1.55; margin: 0; }

/* FAQ */
.hub-faq { max-width: 760px; margin: 0 auto; }
.hub-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hub-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    color: var(--jz-white);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    padding: 22px 4px;
    cursor: pointer;
    transition: color 160ms ease;
}
.hub-faq-q:hover { color: var(--jz-lime); }
.hub-faq-icon {
    font-size: 1.4rem;
    color: var(--jz-teal);
    transition: transform 200ms ease-out;
    flex-shrink: 0;
}
.hub-faq-item.open .hub-faq-icon { transform: rotate(45deg); }
.hub-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 250ms ease-out;
}
.hub-faq-a p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.98rem;
    line-height: 1.6;
    padding: 0 4px 22px;
    margin: 0;
}

/* CTA final */
.hub-final-cta {
    padding: 90px 20px;
    text-align: center;
    background:
        radial-gradient(ellipse 70% 70% at 50% 0%, rgba(45, 22, 76, 0.55), transparent 70%),
        radial-gradient(ellipse 40% 40% at 15% 100%, rgba(3, 180, 178, 0.10), transparent 65%),
        var(--jz-dark);
}
.hub-final-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--jz-white);
    margin: 0 0 14px;
}
.hub-final-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.08rem;
    margin: 0 0 32px;
}

/* Responsive */
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 20px; }
    .hub-includes { grid-template-columns: repeat(2, 1fr); }
    .hub-steps { grid-template-columns: repeat(2, 1fr); }
    .hub-features { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hub-steps { grid-template-columns: 1fr; }
    .hub-hero-meta { gap: 14px; }
}