/* ==========================================================================
   SUBSCRIPTION / CREDITS PAGE STYLING
   Pixel-perfect implementation of Figma "Upgrade Account" credit bundle screen
   Vanilla CSS architecture - Zobeya Brand Standards
   ========================================================================== */

.subscription-page-body {
    background-color: #1a1a1a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* --------------------------------------------------------------------------
   Hero Section - Credits Page (Matching index.html)
   -------------------------------------------------------------------------- */
.hero.hero--credits {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #121316;
    overflow: hidden;
    color: #ffffff;
    padding-top: 130px;
    padding-bottom: 60px;
}

.hero--credits .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    z-index: 1;
}

.hero--credits .hero__bg-mobile {
    display: none;
}

.hero--credits .hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(180deg,
            rgba(18, 19, 22, 0.45) 0%,
            rgba(18, 19, 22, 0.55) 45%,
            rgba(18, 19, 22, 0.88) 100%);
    pointer-events: none;
}

.credits-hero-container {
    width: 100%;
    max-width: 1222px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 3;
    text-align: center;
}

.credits-hero-content {
    max-width: 760px;
    margin: 0 auto;
    animation: landingCopyIn 750ms ease-out both;
}

.credits-hero-tag {
    display: inline-block;
    background: rgba(239, 41, 95, 0.2);
    border: 1px solid rgba(239, 41, 95, 0.4);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.credits-hero-title {
    font-family: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.015em;
}

.credits-hero-title .hero__highlight {
    color: var(--primary-color, #EF295F);
}

.credits-hero-desc {
    font-family: var(--font-body, 'Figtree', sans-serif);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 620px;
}

/* --------------------------------------------------------------------------
   Subscription Section (Pure stars background, no lines)
   -------------------------------------------------------------------------- */
.subscription-section {
    padding: 70px 24px 90px;
    position: relative;
    z-index: 2;
    background-color: #0b0b0f;
    background-image: url("../images/landing/stars-clean-bg.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.subscription-container {
    max-width: 1222px;
    margin: 0 auto;
}

/* Upgrade Card Container - Clean Dark Surface */
.credits-page-card {
    background: #11131c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 45px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 35px rgba(239, 41, 95, 0.12);
    overflow: hidden;
    position: relative;
}

/* Card Header with Couple Banner */
.credits-modal-header {
    position: relative;
    min-height: 183px;
    border-radius: 45px 45px 0 0;
    overflow: hidden;
    padding: 58px 90px 38px;
    background-image: linear-gradient(rgba(14, 15, 22, .75), rgba(14, 15, 22, .88)), url('../images/modals/banner.jpg');
    background-position: center, center 68%;
    background-size: auto, 118% auto;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.credits-modal-header .crown-icon {
    position: absolute;
    top: 22px;
    left: 37px;
    width: 61px;
    height: 61px;
    display: block;
    background: url("../images/modals/modal-credits-coin.png") center / contain no-repeat;
}

.credits-modal-header h2 {
    font-family: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 400;
    margin: 0 0 8px;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.credits-modal-header p {
    margin: 0;
    font-size: clamp(14px, 1.4vw, 18px);
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-body, 'Figtree', sans-serif);
    line-height: 1.4;
}

.credits-modal-header p strong {
    color: #ffffff;
    font-weight: 700;
}

.credits-modal-close {
    position: absolute;
    top: 35px;
    right: 41px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.credits-modal-close:hover {
    background: #EF295F;
    border-color: #EF295F;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Card Body Grid (447px left col, rest right col) - Dark, Clean, No Lines */
.credits-modal-body {
    padding: 38px 91px 40px 85px;
    display: grid;
    grid-template-columns: 447px minmax(0, 1fr);
    gap: 90px;
    align-items: start;
    background: #11131c;
}

/* Left Column: Pricing Tier List */
.pricing-tier-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Standard Dark Card - Clean, High-Contrast */
.pricing-tier-card {
    min-height: 120px;
    border-radius: 17px;
    padding: 22px 27px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-tier-card>* {
    position: relative;
    z-index: 2;
}

/* Hover Effect Only - Glowing Pink Highlight */
.pricing-tier-card:hover {
    background: rgba(239, 41, 95, 0.12);
    border-color: #EF295F;
    box-shadow: 0 10px 28px rgba(239, 41, 95, 0.28);
    transform: translateY(-2px);
}

.pricing-tier-card.is-popular {
    /* Clean dark styling matching all other tier cards */
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: 23px;
    background: #EF295F;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    pointer-events: none;
    z-index: 3;
}

.pricing-tier-card.is-popular h4 {
    padding-right: 112px;
}

.pricing-tier-card h4 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-body, 'Figtree', sans-serif);
    line-height: 1.2;
}

.pricing-tier-card h4 small {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
}

.pricing-tier-card .tier-desc {
    margin: 0 0 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body, 'Figtree', sans-serif);
}

.pricing-tier-card .tier-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    font-family: var(--font-body, 'Figtree', sans-serif);
}

.pricing-tier-card .tier-pricing strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.pricing-tier-card .tier-pricing span {
    color: #ffffff;
}

.pricing-tier-card .tier-daily {
    color: #EF295F !important;
    font-size: 15px;
    font-weight: 700;
}

/* Continue CTA Button */
.modal-continue-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 6px;
    padding: 13px 20px;
    background: #EF295F;
    color: #ffffff;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
    text-align: center;
    display: block;
    text-decoration: none;
    font-family: var(--font-body, 'Figtree', sans-serif);
    box-shadow: 0 8px 24px rgba(239, 41, 95, 0.35);
}

.modal-continue-btn:hover {
    background: #d81b50;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 41, 95, 0.5);
}

/* Right Column: Features */
.credits-features-col {
    padding-top: 4px;
}

.credits-features-col h3 {
    font-family: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 28px;
    letter-spacing: -0.01em;
    line-height: 1.22;
}

.credits-features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.credit-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.credit-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #EF295F;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(239, 41, 95, 0.35);
}

.credit-feature-icon i {
    color: #ffffff !important;
}

.credit-feature-text h5 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-body, 'Figtree', sans-serif);
    line-height: 1.25;
}

.credit-feature-text p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.48;
    font-family: var(--font-body, 'Figtree', sans-serif);
}

/* Card Bottom Disclaimer Footer */
.credits-modal-footer {
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    font-family: var(--font-body, 'Figtree', sans-serif);
}

.credits-modal-footer a {
    color: #EF295F;
    text-decoration: underline;
    font-weight: 600;
}

.credits-modal-footer a:hover {
    color: #ffffff;
}

/* Disclaimer text below the card on the black background */
.credits-disclaimer {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    margin: 24px auto 0;
    font-family: var(--font-body, 'Figtree', sans-serif);
    max-width: 820px;
}

.credits-disclaimer a {
    color: #EF295F;
    text-decoration: underline;
    font-weight: 600;
}

.credits-disclaimer a:hover {
    color: #ffffff;
}

/* Responsive Overrides */
@media (max-width: 1080px) {
    .credits-modal-body {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 40px;
    }

    .pricing-tier-list {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .credits-features-col {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 680px) {
    .subscription-section {
        padding: 20px 16px 60px;
    }

    .credits-page-card {
        border-radius: 24px;
    }

    .credits-modal-header {
        border-radius: 24px 24px 0 0;
        padding: 68px 20px 24px;
        min-height: 165px;
        background-size: auto, 145% auto;
    }

    .credits-modal-header .crown-icon {
        top: 18px;
        left: 18px;
        width: 46px;
        height: 46px;
    }

    .credits-modal-close {
        top: 18px;
        right: 18px;
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .credits-modal-body {
        padding: 20px 18px 24px;
        gap: 32px;
    }

    .pricing-tier-card {
        padding: 18px 20px;
        min-height: auto;
    }

    .popular-badge {
        top: 14px;
        right: 16px;
        font-size: 11px;
        padding: 3px 10px;
    }

    .pricing-tier-card.is-popular h4 {
        padding-right: 90px;
    }

    .pricing-tier-card h4 {
        font-size: 18px;
    }

    .pricing-tier-card .tier-pricing strong,
    .pricing-tier-card .tier-daily {
        font-size: 14px;
    }

    .credits-features-col h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .credit-feature-item {
        gap: 14px;
    }

    .credit-feature-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .credit-feature-text h5 {
        font-size: 16px;
    }

    .credit-feature-text p {
        font-size: 13.5px;
    }

    .credits-modal-footer {
        padding: 14px 18px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .hero.hero--credits {
        min-height: 380px;
        padding-top: 105px;
        padding-bottom: 45px;
    }

    .hero--credits .hero__bg {
        display: none;
    }

    .hero--credits .hero__bg-mobile {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
        z-index: 1;
    }

    .credits-hero-container {
        padding: 0 16px;
    }

    .credits-hero-tag {
        font-size: 11px;
        padding: 5px 14px;
        margin-bottom: 12px;
    }

    .credits-hero-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .credits-hero-desc {
        font-size: 14px;
    }
}