/* ================================================================
   PsyChi — Pricing Node
   Fuente: Figma 9324:16209 (1440 × 4063 px)
   Prefijo de clases: pn-
   ================================================================ */

/* ── Tokens ──────────────────────────────────────────────────────── */
:root {
    --pn-bg:           #edeef0;   /* fondo de página */
    --pn-dark:         #2d082e;   /* header / footer */
    --pn-grad-a:       #39013b;   /* inicio gradiente sección planes */
    --pn-grad-b:       #482b69;   /* fin gradiente / inicio CTA */
    --pn-accent:       #e284ff;   /* puntos bullet, iconos */
    --pn-magenta:      #760353;   /* título "What You'll Experience" */
    --pn-feat-title:   #482b69;   /* títulos feature card */
    --pn-hero-text:    #dedede;   /* texto hero headline */
    --pn-card-glass:   rgba(255, 255, 255, 0.14);
    --pn-dl-glass:     rgba(255, 255, 255, 0.15);
    --pn-feat-bg:      rgba(255, 255, 255, 0.20);
}

/* ================================================================
   0. RESET MÍNIMO
   ================================================================ */
.pn-section { margin: 0; padding: 0; box-sizing: border-box; }

/* ================================================================
   1. HERO
   ================================================================ */
.pn-hero {
    position: relative;
    min-height: 790px;
    background:
        linear-gradient(160deg, rgba(45,8,46,0.78) 0%, rgba(57,27,105,0.52) 100%),
        url('/img/home/home-default.webp') center / cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    overflow: hidden;
}

.pn-hero__inner {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 160px 60px 0;
}

.pn-hero__title {
    font-family: "Red Hat Display", sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--pn-hero-text);
    line-height: 1.5;
    margin: 0 0 32px;
    max-width: 880px;
}

.pn-hero__body {
    font-family: "Red Hat Display", sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    max-width: 588px;
    line-height: 1.55;
}

.pn-hero__body p { margin-bottom: 16px; }
.pn-hero__body p:last-child { margin-bottom: 0; }
.pn-hero__body strong { color: #fff; font-weight: 700; }

/* ================================================================
   2. PRICING PLANS
   ================================================================ */
.pn-plans {
    background: var(--pn-bg);
    padding: 60px 0 80px;
}

/* contenedor con doble capa: blanco + gradiente */
.pn-plans__shell {
    max-width: 1004px;
    margin: 0 auto;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    margin-top: -300px;
}

/* capa blanca inferior */
.pn-plans__white {
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: 40px;
}

/* capa gradiente superior (sobre blanca) */
.pn-plans__gradient {
    position: relative;
    background: #2A0C2C;
    border-radius: 40px;
    padding: 64px 80px 52px;
    text-align: center;
}

.pn-plans__quote {
    font-family: "Red Hat Display", sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    margin: 0 0 52px;
}

/* ── Tarjetas de plan ───────────────────────────────────────────── */
.pn-cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 44px;
}

.pn-card {
    flex: 0 0 260px;
    background: var(--pn-card-glass);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 16px;
    padding: 40px 28px 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pn-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.28);
}

.pn-card__name {
    font-family: "Red Hat Display", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.pn-card__price {
    font-family: "Red Hat Display", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin: 0 0 28px;
}

.pn-card__currency {
    font-size: 28px;
    font-weight: 700;
    vertical-align: super;
}

.pn-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.pn-card__features li {
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    padding: 9px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pn-card__features li:last-child { border-bottom: none; }

.pn-card__features li::before {
    content: '';
    width: 12px;
    height: 12px;
    min-width: 12px;
    border-radius: 50%;
    background: var(--pn-accent);
    display: inline-block;
    flex-shrink: 0;
}

/* ── Subtexto trial ─────────────────────────────────────────────── */
.pn-plans__trial {
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
    line-height: 1.5;
    max-width: 844px;
    margin: 0 auto;
}

/* ================================================================
   3. "WHAT YOU'LL EXPERIENCE"
   ================================================================ */
.pn-experience {
    background: var(--pn-bg);
    padding: 80px 0 96px;
}

.pn-experience__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 60px;
}

.pn-experience__title {
    font-family: "Red Hat Display", sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--pn-magenta);
    text-align: center;
    margin: 0 0 16px;
    line-height: 1.36;
}

.pn-experience__subtitle {
    font-family: "Red Hat Display", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #444;
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

/* ── Feature cards ──────────────────────────────────────────────── */
.pn-feat {
    box-shadow: -2px 4px 14px 0 rgba(0, 0, 0, 0.16) inset;
    border: 1px solid rgba(72,43,105,0.10);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    background: rgba(226, 132, 255, 0.03);

}

.pn-feat:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(72,43,105,0.13);
}

.pn-feat__icon {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pn-feat__icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.pn-feat__title {
    font-family: "Red Hat Display", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--pn-feat-title);
    text-align: center;
    margin: 0 0 12px;
    line-height: 1.35;
}

.pn-feat__list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.pn-feat__list li {
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.65;
    padding: 3px 0 3px 18px;
    position: relative;
}

.pn-feat__list li::before {
    content: '·';
    position: absolute;
    left: 4px;
    top: 1px;
    color: var(--pn-accent);
    font-size: 22px;
    line-height: 1;
}

/* ================================================================
   4. CTA BANNER
   ================================================================ */
.pn-cta {
    background: var(--pn-bg);
    padding: 0 80px 72px;
}

.pn-cta__card {
    max-width: 1280px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--pn-grad-b) 0%, var(--pn-dark) 100%);
    border-radius: 32px;
    padding: 52px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.pn-cta__left { flex: 1; min-width: 0; }

.pn-cta__title {
    font-family: "Red Hat Display", sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1.47;
    margin: 0 0 8px;
}

.pn-cta__sub {
    font-family: "Red Hat Display", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    margin: 0;
    line-height: 1.44;
}

.pn-cta__right {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

/* ── Botones de descarga ────────────────────────────────────────── */
.pn-dl {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--pn-dl-glass);
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 16px;
    padding: 16px 22px;
    width: 200px;
    text-decoration: none;
    transition: background 0.22s, transform 0.22s;
}

.pn-dl:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-3px);
    text-decoration: none;
}

.pn-dl__icon { flex-shrink: 0; color: #fff; }

.pn-dl__text { display: flex; flex-direction: column; }

.pn-dl__label {
    font-family: "Red Hat Display", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.78);
    line-height: 1.4;
}

.pn-dl__store {
    font-family: "Red Hat Display", sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

/* ================================================================
   5. RESPONSIVE
   ================================================================ */

/* Tablet < 1024 */
@media (max-width: 1023px) {
    .pn-hero__inner { padding: 140px 40px 0; }
    .pn-hero__title { font-size: 32px; }
    .pn-hero__body { font-size: 18px; }

    .pn-plans__gradient { padding: 48px 40px 44px; }
    .pn-plans__quote { font-size: 30px; }

    .pn-experience__inner { padding: 0 40px; }
    .pn-experience__title { font-size: 34px; }
    .pn-experience__subtitle { font-size: 16px; }

    .pn-cta { padding: 0 40px 56px; }
    .pn-cta__card {
        flex-direction: column;
        align-items: flex-start;
        padding: 48px 40px;
    }
}

/* Mobile < 640 */
@media (max-width: 639px) {
    .pn-hero {
        min-height: 580px;
        padding-bottom: 48px;
    }
    .pn-hero__inner { padding: 110px 24px 0; }
    .pn-hero__title { font-size: 26px; }
    .pn-hero__body { font-size: 16px; }

    .pn-plans { padding: 40px 0 60px; }
    .pn-plans__shell { margin: 0 20px; border-radius: 24px; }
    .pn-plans__white { border-radius: 24px; }
    .pn-plans__gradient { border-radius: 24px; padding: 40px 20px 36px; }
    .pn-plans__quote { font-size: 24px; margin-bottom: 36px; }
    .pn-cards { flex-direction: column; align-items: center; }
    .pn-card { flex: none; width: 100%; max-width: 320px; }

    .pn-experience { padding: 56px 0 64px; }
    .pn-experience__inner { padding: 0 20px; }
    .pn-experience__title { font-size: 28px; margin-bottom: 12px; }
    .pn-experience__subtitle { font-size: 15px; margin-bottom: 36px; }
    .pn-feat__icon img { width: 52px; height: 52px; }

    .pn-cta { padding: 0 20px 48px; }
    .pn-cta__card {
        flex-direction: column;
        border-radius: 20px;
        padding: 36px 24px;
        gap: 32px;
    }
    .pn-cta__right { flex-direction: column; width: 100%; }
    .pn-dl { width: 100%; }
}
