/* ═══════════════════════════════════════════
   Promotions Page
   Follows the site pattern: navy hero (dark default),
   peach hero in light mode, white cards throughout.
   ═══════════════════════════════════════════ */

/* ─────────── Hero ─────────── */
.pr-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
    padding: 140px 0 56px;
    position: relative;
    overflow: hidden;
}

.pr-hero::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
    pointer-events: none;
}

.pr-hero .section-header {
    margin-bottom: 28px;
}

.pr-hero .section-header h2 {
    color: #fff;
}

.pr-hero .section-header p {
    color: rgba(255, 255, 255, 0.82);
}

.pr-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.pr-chip {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: var(--transition);
}

.pr-chip:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
    transform: translateY(-2px);
}

/* ─────────── Draft banner ─────────── */
.pr-draft-banner {
    position: relative;
    max-width: 640px;
    margin: 24px auto 0;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: var(--radius);
    color: #92400E;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 10px 18px;
}

.pr-draft-flag {
    margin-top: 14px;
    background: rgba(245, 158, 11, 0.12);
    color: #B45309;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 6px 10px;
    text-align: center;
}

.pr-draft-note {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #B45309;
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 32px;
}

/* ─────────── Main section ─────────── */
.pr-main {
    padding: 60px 0 90px;
}

/* ─────────── Card grid ─────────── */
.pr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.pr-card {
    background: var(--card-bg);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pr-card:hover,
.pr-card:focus-visible {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: var(--shadow-lg);
    outline: none;
}

.pr-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.pr-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 999px;
}

.pr-tag-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #2563EB;
}

.pr-tag-red {
    background: rgba(239, 68, 68, 0.12);
    color: #DC2626;
}

.pr-tag-green {
    background: rgba(16, 185, 129, 0.14);
    color: #059669;
}

.pr-countdown {
    font-size: 11px;
    font-weight: 700;
    color: var(--red);
    background: rgba(239, 68, 68, 0.1);
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.pr-detail-head.pr-detail-head-media {
    display: block;
}

.pr-detail-headrow {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.pr-detail-media {
    margin: -32px -32px 24px;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--grey-border);
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pr-detail-media img {
    border-radius: 0;
}

.pr-detail-media-portrait {
    margin: 0 0 24px;
    padding-bottom: 22px;
    border-radius: 0;
}

.pr-detail-media-portrait img {
    max-width: 360px;
    margin: 0 auto;
    border-radius: var(--radius);
}

.pr-detail-media-portrait figcaption {
    padding: 0;
}

.pr-detail-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.pr-detail-media figcaption {
    font-size: 12px;
    color: var(--grey);
    text-align: center;
    margin-top: 14px;
    padding: 0 24px;
}

.pr-card-media {
    margin: -28px -28px 20px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    background: var(--peach);
}

.pr-card-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: var(--transition);
}

.pr-card:hover .pr-card-media img {
    transform: scale(1.03);
}

.pr-card-icon {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 14px;
}

.pr-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
}

.pr-card-headline {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.09), rgba(255, 102, 0, 0.03));
    border: 1px dashed rgba(255, 102, 0, 0.35);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 18px;
}

.pr-headline-val {
    display: block;
    font-size: 30px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1.1;
    letter-spacing: -1px;
}

.pr-headline-sub {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--grey);
    margin-top: 4px;
}

.pr-card-list {
    flex: 1;
    margin-bottom: 20px;
}

.pr-card-list li {
    display: flex;
    gap: 9px;
    font-size: 13.5px;
    color: var(--navy);
    line-height: 1.55;
    padding: 7px 0;
    border-bottom: 1px solid var(--grey-border);
}

.pr-card-list li:last-child {
    border-bottom: none;
}

.pr-card-list li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

.pr-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--grey-border);
}

.pr-validity {
    font-size: 12px;
    color: var(--grey);
    font-weight: 500;
}

.pr-card-cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
    transition: var(--transition);
}

.pr-card:hover .pr-card-cta {
    transform: translateX(4px);
}

/* ─────────── Detail view ─────────── */
.pr-detail {
    animation: prFade 0.35s ease;
}

@keyframes prFade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pr-back {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    color: var(--grey);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 0;
    margin-bottom: 20px;
    transition: var(--transition);
}

.pr-back:hover {
    color: var(--orange);
}

.pr-detail-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--grey-border);
    border-left: 5px solid var(--orange);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.pr-detail-icon {
    font-size: 56px;
    line-height: 1;
}

.pr-detail-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.pr-status {
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    background: rgba(16, 185, 129, 0.12);
    padding: 5px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.pr-detail-head h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.pr-detail-hook {
    font-size: 15.5px;
    color: var(--grey);
    line-height: 1.65;
    max-width: 640px;
}

.pr-detail-price {
    text-align: right;
    white-space: nowrap;
}

.pr-detail-price .pr-headline-val {
    font-size: 38px;
}

.pr-detail-price .pr-headline-sub {
    max-width: 190px;
    white-space: normal;
    margin-left: auto;
}

.pr-detail-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.pr-detail-h4 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--orange);
    margin-bottom: 18px;
}

.pr-detail-main > .pr-detail-h4:not(:first-child) {
    margin-top: 40px;
}

/* What's inside */
.pr-inside-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.pr-inside-item {
    display: flex;
    gap: 14px;
    background: var(--card-bg);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    padding: 18px;
    transition: var(--transition);
}

.pr-inside-item:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-sm);
}

.pr-inside-icon {
    font-size: 22px;
    line-height: 1.2;
    flex-shrink: 0;
}

.pr-inside-item strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
}

.pr-inside-item p {
    font-size: 13px;
    color: var(--grey);
    line-height: 1.6;
}

/* Price table */
.pr-price-table {
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.pr-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--grey-border);
}

.pr-price-row:last-child {
    border-bottom: none;
}

.pr-price-device strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy);
}

.pr-price-device span {
    font-size: 12.5px;
    color: var(--grey);
}

.pr-price-amt {
    text-align: right;
    white-space: nowrap;
}

.pr-price-amt strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--orange);
}

.pr-price-amt span {
    font-size: 11.5px;
    color: var(--grey);
}

/* Plan grid */
.pr-plan-grid {
    display: grid;
    /* 215px keeps all three plans on one row inside the main column. */
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 18px;
    align-items: start;
}

.pr-plan {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    padding: 20px 18px;
    transition: var(--transition);
}

.pr-plan:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-sm);
}

.pr-plan-popular {
    border-color: var(--orange);
    box-shadow: var(--shadow);
}

.pr-plan-flag {
    position: absolute;
    top: -10px;
    left: 22px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 999px;
}

.pr-plan h5 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 4px;
}

.pr-plan-tagline {
    font-size: 12.5px;
    color: var(--grey);
    line-height: 1.5;
    margin-bottom: 14px;
}

.pr-plan-hw {
    font-size: 12.5px;
    color: var(--navy);
    line-height: 1.5;
    padding: 8px 0;
    border-top: 1px solid var(--grey-border);
    display: flex;
    gap: 8px;
}

.pr-plan-hw::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

.pr-plan-hw-inc {
    color: var(--grey);
}

.pr-plan-rows {
    margin-top: 12px;
    border-top: 1px solid var(--grey-border);
}

.pr-plan-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--grey-border);
}

.pr-plan-row:last-child {
    border-bottom: none;
}

.pr-plan-tier strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.pr-plan-tier span {
    font-size: 11.5px;
    color: var(--grey);
}

.pr-plan-price {
    font-size: 21px;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.pr-plan-price span {
    font-size: 11px;
    font-weight: 600;
    color: var(--grey);
    letter-spacing: 0;
}

.pr-plan-note {
    font-size: 12.5px;
    color: var(--grey);
    line-height: 1.6;
    margin-top: 14px;
}

.pr-plan-figure {
    margin-top: 24px;
    background: var(--card-bg);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    padding: 16px;
}

.pr-plan-figure img {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius-sm);
}

.pr-plan-figure figcaption {
    font-size: 12px;
    color: var(--grey);
    text-align: center;
    margin-top: 12px;
}

/* Steps */
.pr-steps {
    counter-reset: prstep;
    list-style: none;
}

.pr-steps li {
    counter-increment: prstep;
    position: relative;
    padding: 0 0 22px 46px;
    font-size: 14.5px;
    color: var(--navy);
    line-height: 1.65;
}

.pr-steps li::before {
    content: counter(prstep);
    position: absolute;
    left: 0;
    top: -2px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pr-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 14.5px;
    top: 32px;
    bottom: 6px;
    width: 1px;
    background: var(--grey-border);
}

/* Sidebar */
.pr-detail-side {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pr-side-card {
    background: var(--card-bg);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.pr-side-card h5 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey);
    margin-bottom: 14px;
}

.pr-bestfor li {
    display: flex;
    gap: 9px;
    font-size: 13.5px;
    color: var(--navy);
    line-height: 1.55;
    padding: 7px 0;
}

.pr-bestfor li::before {
    content: '→';
    color: var(--orange);
    font-weight: 700;
    flex-shrink: 0;
}

.pr-side-cta {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-color: transparent;
}

.pr-side-cta h5 {
    color: rgba(255, 255, 255, 0.6);
}

.pr-side-cta p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 18px;
}

.pr-side-wa {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
}

.pr-side-link {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.pr-side-link:hover {
    color: var(--orange);
}

/* Terms */
.pr-terms {
    margin-top: 40px;
    background: var(--card-bg);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    padding: 4px 22px;
}

.pr-terms summary {
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    padding: 16px 0;
    list-style: none;
}

.pr-terms summary::-webkit-details-marker {
    display: none;
}

.pr-terms summary::before {
    content: '▸ ';
    color: var(--orange);
}

.pr-terms[open] summary::before {
    content: '▾ ';
}

.pr-terms ul {
    padding: 0 0 18px 18px;
}

.pr-terms li {
    font-size: 13px;
    color: var(--grey);
    line-height: 1.65;
    padding: 5px 0;
    list-style: disc;
}

/* Other promotions */
.pr-others {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--grey-border);
}

.pr-others-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.pr-other-card {
    font-family: var(--font);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-bg);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    padding: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.pr-other-card:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.pr-other-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.pr-other-text {
    flex: 1;
    min-width: 0;
}

.pr-other-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 3px;
}

.pr-other-text span {
    font-size: 12.5px;
    color: var(--grey);
}

.pr-other-arrow {
    color: var(--orange);
    font-weight: 700;
    flex-shrink: 0;
}

/* ─────────── Bottom CTA ─────────── */
.pr-cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(180deg, var(--navy-dark), var(--navy));
    color: var(--white);
}

.pr-cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
}

.pr-cta-section p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.pr-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─────────── Light theme ─────────── */
[data-theme="light"] .pr-hero {
    background: var(--peach);
}

[data-theme="light"] .pr-hero::after {
    display: none;
}

[data-theme="light"] .pr-hero .section-header h2 {
    color: var(--navy);
}

[data-theme="light"] .pr-hero .section-header p {
    color: var(--grey);
}

[data-theme="light"] .pr-chip {
    background: #fff;
    border-color: var(--grey-border);
    color: var(--navy);
}

[data-theme="light"] .pr-chip:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

[data-theme="light"] .pr-cta-section .btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

[data-theme="light"] .pr-cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    color: #fff;
}

/* ─────────── Responsive ─────────── */
@media (max-width: 968px) {
    .pr-detail-body {
        grid-template-columns: 1fr;
    }

    .pr-detail-side {
        position: static;
    }

    .pr-detail-head {
        grid-template-columns: auto 1fr;
    }

    .pr-detail-headrow {
        grid-template-columns: 1fr;
    }

    .pr-detail-price {
        grid-column: 1 / -1;
        text-align: left;
    }

    .pr-detail-price .pr-headline-sub {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .pr-hero {
        padding: 120px 0 44px;
    }

    .pr-detail-head {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 16px;
    }

    .pr-detail-head h2 {
        font-size: 24px;
    }

    .pr-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .pr-price-amt {
        text-align: left;
    }

    .pr-cta-section h2 {
        font-size: 28px;
    }
}
