/* Pricing: hero with billing toggle, plan cards, comparison table, add-ons,
   what makes Alioup different, FAQ. Builds on home.css. */

.pr-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 150px;
    background: linear-gradient(120deg, #1a3340 0%, var(--home-teal) 55%, #2a5464 100%);
    color: #d3dee3;
    text-align: center;
}

.pr-hero .home-circle {
    opacity: 0.9;
}

.pr-hero .pr-circle-1 { top: -110px; left: -90px; width: 280px; height: 280px; background: var(--home-gold); }
.pr-hero .pr-circle-2 { top: 70px; left: 120px; width: 90px; height: 90px; background: var(--home-orange); animation-delay: -3s; }
.pr-hero .pr-circle-3 { bottom: -60px; right: -80px; width: 260px; height: 260px; background: var(--home-orange); animation-delay: -5s; }
.pr-hero .pr-circle-4 { bottom: 120px; right: 140px; width: 70px; height: 70px; background: var(--home-gold); animation-delay: -6s; }

.pr-hero .home-eyebrow {
    color: #f1bd76;
}

.home-new.pr-hero h1 {
    position: relative;
    color: white;
    font-size: clamp(40px, 5.4vw, 66px);
    line-height: 1.04;
}

.pr-hero-sub {
    position: relative;
    max-width: 620px;
    margin: 20px auto 0;
    font-size: 19px;
    line-height: 1.6;
}

.pr-toggle {
    position: relative;
    display: inline-flex;
    gap: 4px;
    margin-top: 34px;
    padding: 6px;
    border-radius: 999px;
    background: rgb(255 255 255 / 10%);
}

.pr-toggle button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.pr-toggle button[aria-pressed="true"] {
    background: white;
    color: var(--home-ink);
}

.pr-save {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--home-gold);
    color: var(--home-ink);
    font-size: 12px;
}

/* Plan cards */

.pr-plans {
    position: relative;
    z-index: 2;
    margin-top: -110px;
    padding-bottom: 72px;
    background: linear-gradient(180deg, transparent 0, transparent 110px, var(--home-cream) 110px);
}

.pr-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.pr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px 30px;
    border-radius: 24px;
    background: var(--home-ink);
    color: #c6d3d9;
    box-shadow: 0 24px 50px rgb(26 40 51 / 18%);
}

.pr-card-featured {
    background: white;
    color: var(--home-muted);
    box-shadow: 0 30px 70px rgb(26 40 51 / 28%), 0 0 0 3px var(--home-orange);
    transform: translateY(-14px);
}

.pr-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--home-orange);
    color: var(--home-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateX(-50%);
}

.pr-name {
    color: var(--home-orange);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pr-for {
    min-height: 3.2em;
    margin: 10px 0 18px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.pr-card-featured .pr-for {
    color: var(--home-ink);
}

.pr-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: white;
}

.pr-card-featured .pr-price {
    color: var(--home-ink);
}

.pr-amount {
    font-size: 54px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pr-per {
    font-size: 16px;
    opacity: 0.75;
}

.pr-note {
    min-height: 1.5em;
    margin: 6px 0 22px;
    font-size: 14px;
}

.pr-note strong {
    color: var(--home-gold);
}

.pr-card-featured .pr-note strong {
    color: var(--home-rust);
}

.pr-list {
    display: grid;
    gap: 11px;
    margin: 0 0 28px;
    padding: 22px 0 0;
    border-top: 1px solid rgb(255 255 255 / 12%);
    list-style: none;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
}

.pr-card-featured .pr-list {
    border-top-color: #ece6dc;
}

.pr-list li {
    position: relative;
    padding-left: 24px;
}

.pr-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--home-gold);
    font-weight: 700;
}

.pr-card-featured .pr-list li::before {
    color: var(--home-rust);
}

.pr-list strong {
    color: white;
}

.pr-card-featured .pr-list strong {
    color: var(--home-ink);
}

.pr-list .pr-plus {
    padding-left: 0;
    font-weight: 700;
    color: #f1bd76;
}

.pr-list .pr-plus::before {
    content: none;
}

.pr-card-featured .pr-list .pr-plus {
    color: var(--home-rust);
}

.pr-card .home-button {
    justify-content: center;
    margin-top: auto;
}

.pr-card:not(.pr-card-featured) .home-button {
    box-shadow: none;
}

.pr-under {
    margin: 34px 0 0;
    color: var(--home-muted);
    font-size: 15px;
    text-align: center;
}

.pr-under a {
    color: var(--home-rust);
    font-weight: 700;
}

/* Comparison table */

.pr-compare {
    margin-top: 28px;
    border: 1px solid #ece6dc;
    border-radius: 18px;
    background: white;
}

.pr-compare summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: var(--home-ink);
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

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

.pr-compare summary::after {
    content: "+";
    color: var(--home-orange);
    font-size: 22px;
    transition: transform 0.25s ease;
}

.pr-compare[open] summary::after {
    transform: rotate(45deg);
}

.pr-table-wrap {
    overflow-x: auto;
    padding: 0 24px 24px;
}

.pr-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    color: var(--home-ink);
    font-size: 15px;
}

.pr-table th,
.pr-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #f0ebe3;
    text-align: center;
}

.pr-table th:first-child,
.pr-table td:first-child {
    text-align: left;
}

.pr-table thead th {
    color: var(--home-rust);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pr-table tbody th {
    font-weight: 400;
}

.pr-table .pr-col-featured {
    background: #fdf6ee;
}

.pr-yes {
    color: var(--home-rust);
    font-weight: 700;
}

.pr-no {
    color: #b5bec4;
}

/* Add-ons */

.pr-addons {
    background: var(--home-cream);
}

.pr-addon-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.pr-addon {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #ece6dc;
    border-radius: 18px;
    background: white;
    color: var(--home-ink) !important;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pr-addon:hover {
    border-color: rgb(232 152 72 / 55%);
    box-shadow: 0 16px 34px rgb(26 40 51 / 10%);
    transform: translateY(-4px);
}

.pr-addon .home-product-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 14px;
}

.home-new .pr-addon h3 {
    color: var(--home-ink);
    font-size: 19px;
}

.pr-addon p {
    margin: 6px 0 16px;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.5;
}

.pr-addon .home-product-link {
    font-size: 14px;
}

/* Cost calculator band */

.pr-calc {
    padding: 80px 0;
}

/* What makes Alioup different */

.pr-diff {
    background: linear-gradient(135deg, var(--home-ink) 0%, #1e3442 60%, var(--home-teal) 100%);
}

.home-new.pr-diff .home-heading .home-eyebrow {
    color: #f1bd76;
}

.home-new.pr-diff .home-heading h2 {
    color: white;
}

.home-new.pr-diff .home-heading p {
    color: #c6d3d9;
}

.pr-diff-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}

.pr-diff-row + .pr-diff-row {
    margin-top: 72px;
}

.pr-diff-row:nth-child(odd) > :first-child {
    order: 2;
}

.home-new.pr-diff h3 {
    color: white;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
}

.pr-diff p {
    margin: 14px 0 0;
    color: #d3dee3;
    font-size: 17px;
    line-height: 1.7;
}

.pr-diff img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgb(0 0 0 / 35%);
}

.pr-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgb(237 194 66 / 16%);
    color: var(--home-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* FAQ */

.pr-faq {
    background: var(--home-cream);
}

.pr-faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.pr-faq details {
    border-bottom: 1px solid #e6ded2;
}

.pr-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    color: var(--home-ink);
    font-size: 18px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

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

.pr-faq summary::after {
    content: "+";
    flex-shrink: 0;
    color: var(--home-orange);
    font-size: 26px;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.pr-faq details[open] summary::after {
    transform: rotate(45deg);
}

.pr-faq details p {
    margin: 0;
    padding: 0 0 22px;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.65;
}

.pr-faq details a {
    color: var(--home-rust);
    font-weight: 700;
}

/* Responsive */

@media (max-width: 1080px) {
    .pr-addon-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .pr-cards {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .pr-card-featured {
        order: -1;
        transform: none;
    }

    .pr-for {
        min-height: 0;
    }

    .pr-diff-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pr-diff-row:nth-child(odd) > :first-child {
        order: 0;
    }

    .pr-hero .pr-circle-2,
    .pr-hero .pr-circle-4 {
        display: none;
    }
}

@media (max-width: 640px) {
    .pr-calc {
        padding: 56px 0;
    }

    .pr-hero {
        padding: 64px 0 130px;
    }

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

    .pr-toggle button {
        padding: 0 16px;
    }

    .pr-hero .pr-circle-1 { width: 170px; height: 170px; }
    .pr-hero .pr-circle-3 { width: 160px; height: 160px; }
}

/* Add-ons illustration, styled like the platform screenshots */

.pr-art {
    overflow: hidden;
    border-radius: 16px;
    background: #f6f7f8;
    box-shadow: 0 30px 60px rgb(0 0 0 / 35%);
    color: #1a2833;
    font-size: 13px;
}

.pr-art-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid #e6e9ec;
    background: white;
}

.pr-diff .pr-art-logo {
    flex: none;
    width: 64px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

.pr-art-search {
    flex: 1;
    height: 22px;
    border: 1px solid #e3e6ea;
    border-radius: 7px;
}

.pr-art-pill {
    padding: 5px 10px;
    border-radius: 7px;
    background: var(--home-orange);
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.pr-art-body {
    display: grid;
    grid-template-columns: 110px 1fr;
    min-height: 330px;
}

.pr-art-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 14px;
    border-right: 1px solid #e6e9ec;
    background: white;
}

.pr-art-side span {
    height: 8px;
    border-radius: 4px;
    background: #e3e6ea;
}

.pr-art-side span:nth-child(2) { width: 70%; }
.pr-art-side span:nth-child(5) { width: 60%; }

.pr-art-side .is-on {
    background: var(--home-orange);
}

.pr-art-main {
    position: relative;
    padding: 22px 22px 26px;
}

.pr-art-title {
    font-size: 20px;
    font-weight: 700;
}

.pr-art-sub {
    margin: 2px 0 16px;
    color: #607387;
    font-size: 12px;
}

.pr-art-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pr-art-card {
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    background: white;
    animation: pr-art-card 8s ease-in-out infinite;
    animation-delay: calc(var(--d) * 1s);
}

.pr-art-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: #fdf0e3;
    color: var(--home-rust);
}

.pr-art-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.pr-art-text strong,
.pr-art-text small {
    display: block;
}

.pr-art-text strong {
    font-size: 13px;
    line-height: 1.25;
}

.pr-art-text small {
    color: #607387;
    font-size: 11px;
}

.pr-art-switch {
    position: relative;
    width: 34px;
    height: 20px;
    border-radius: 999px;
    background: #d6dce0;
    animation: pr-art-switch 8s ease-in-out infinite;
    animation-delay: calc(var(--d) * 1s);
}

.pr-art-switch i {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
    animation: pr-art-knob 8s ease-in-out infinite;
    animation-delay: calc(var(--d) * 1s);
}

@keyframes pr-art-switch {
    0%, 6% { background: #d6dce0; }
    10%, 88% { background: var(--home-orange); }
    94%, 100% { background: #d6dce0; }
}

@keyframes pr-art-knob {
    0%, 6% { transform: translateX(0); }
    10%, 88% { transform: translateX(14px); }
    94%, 100% { transform: translateX(0); }
}

@keyframes pr-art-card {
    0%, 6% { border-color: #e3e6ea; box-shadow: none; }
    10%, 88% { border-color: rgb(232 152 72 / 60%); box-shadow: 0 6px 16px rgb(232 152 72 / 18%); }
    94%, 100% { border-color: #e3e6ea; box-shadow: none; }
}

.pr-art-added {
    position: absolute;
    right: 22px;
    bottom: -40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #1a2833;
    color: white;
    font-size: 12px;
    font-weight: 700;
    animation: pr-art-added 8s ease-in-out infinite;
}

.pr-art-added span {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: #5f9a4a;
    font-size: 11px;
}

@keyframes pr-art-added {
    0%, 42% { transform: translateY(0); opacity: 0; }
    48%, 86% { transform: translateY(-56px); opacity: 1; }
    92%, 100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 640px) {
    .pr-art-body {
        grid-template-columns: 1fr;
    }

    .pr-art-side {
        display: none;
    }

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

@media (prefers-reduced-motion: reduce) {
    .pr-art-card,
    .pr-art-switch,
    .pr-art-switch i,
    .pr-art-added {
        animation: none;
    }

    .pr-art-switch {
        background: var(--home-orange);
    }

    .pr-art-switch i {
        transform: translateX(14px);
    }
}
