/* Subscription page green vars */
:root {
    --sub-green: #4ADE80;
    --sub-green-bg: #1A2F23;
}

/* ── HERO ── */
.sub-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sub-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(11, 11, 11, .4) 0%, rgba(11, 11, 11, .9) 100%), radial-gradient(67.25% 74.77% at 50% 50%, rgba(74, 222, 128, .1) 0%, rgba(74, 222, 128, 0) 70%), url('https://images.unsplash.com/photo-1512621776951-a57141f2eefd?w=1600&q=80') center/cover no-repeat;
}

.sub-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 160px 80px 80px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: center;
}

.sub-hero__eyebrow {
    font-size: 16px;
    color: var(--sub-green);
    margin-bottom: 16px;
    animation: fadeUp .7s ease .15s both;
}

.sub-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(64px, 8vw, 96px);
    line-height: 1;
    letter-spacing: -.05em;
    animation: fadeUp .7s ease .3s both;
}

.sub-hero__title span {
    color: var(--sub-green);
    display: block;
}

.sub-hero__cta {
    margin-top: 32px;
    animation: fadeUp .7s ease .6s both;
}

.btn-subscribe-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 21px 40px;
    background: rgba(26, 47, 35, .8);
    border-radius: 4px;
    font-size: 16px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(74, 222, 128, .2);
    transition: background .2s, border-color .2s;
}

.btn-subscribe-now:hover {
    background: var(--sub-green-bg);
    border-color: var(--sub-green);
}

.sub-hero__desc-block {
    animation: fadeUp .7s ease .45s both;
}

.sub-hero__desc-border {
    border-left: 2px solid rgba(212, 163, 115, .3);
    padding-left: 26px;
}

.sub-hero__desc {
    font-size: 20px;
    line-height: 1.6;
    color: var(--cream);
}

/* ── HOW IT WORKS ── */
.hiw-section {
    background: #1A2F23;
    padding: 128px 80px;
}

.hiw-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.hiw-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 96px;
}

.hiw-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #F2BE8C;
    margin-bottom: 10px;
}

.hiw-divider {
    width: 96px;
    height: 2px;
    background: rgba(212, 163, 115, .4);
}

.hiw-desc {
    max-width: 448px;
    font-size: 14px;
    line-height: 23px;
    color: var(--cream);
}

.hiw-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.hiw-step {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hiw-step__icon {
    width: 64px;
    height: 64px;
    background: var(--red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hiw-step__name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #E5E2E1;
}

.hiw-step__desc {
    font-size: 14px;
    line-height: 23px;
    color: var(--cream);
}

/* ── TIERS ── */
.tiers-section {
    background: var(--near, #0E0E0E);
    padding: 128px 80px;
}

.tiers-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.tiers-header {
    text-align: center;
    margin-bottom: 96px;
}

.tiers-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 5vw, 60px);
    color: #E5E2E1;
    margin-bottom: 12px;
}

.tiers-sub {
    font-size: 20px;
    color: var(--gold);
}

.tiers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.tier-card {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 462px;
    position: relative;
    overflow: hidden;
}

.tier-card--weekly {
    background: #1C1B1B;
}

.tier-card--monthly {
    background: #1A2F23;
    border: 1px solid rgba(212, 163, 115, .2);
}

.tier-card__corner {
    position: absolute;
    width: 128px;
    height: 128px;
    right: -64px;
    top: -64px;
    background: rgba(212, 163, 115, .05);
    border-radius: 0 0 0 12px;
    pointer-events: none;
}

.tier-badge {
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.tier-badge__text {
    position: absolute;
    width: 137px;
    padding: 7px 24px;
    background: var(--red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    transform: rotate(45deg);
    top: 18px;
    right: -34px;
    text-align: center;
    white-space: nowrap;
}

.tier-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 8px;
}

.tier-card--weekly .tier-card__name {
    color: #E5E2E1;
}

.tier-card--monthly .tier-card__name {
    color: var(--red);
}

.tier-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.tier-card__price-num {
    font-size: 30px;
    font-weight: 700;
}

.tier-card--weekly .tier-card__price-num {
    color: var(--red);
}

.tier-card--monthly .tier-card__price-num {
    color: #E5E2E1;
    font-weight: 400;
}

.tier-card__price-period {
    font-size: 14px;
    color: var(--cream);
}

.tier-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.tier-card__item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
}

.tier-card--weekly .tier-card__item {
    color: var(--cream);
}

.tier-card--monthly .tier-card__item {
    color: #E5E2E1;
}

.tier-card__bullet {
    width: 14px;
    height: 14px;
    background: var(--red);
    flex-shrink: 0;
}

.tier-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    background: #2A2A2A;
    border: 1px solid rgba(156, 142, 130, .1);
    font-size: 16px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #E5E2E1;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s;
}

.tier-btn-outline:hover {
    background: #3a3a3a;
}

.tier-btn-red {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 21px 40px;
    width: 100%;
    background: var(--red);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1);
    transition: opacity .2s;
}

.tier-btn-red:hover {
    opacity: .9;
}

/* ── SUBSCRIPTION SIG DIVIDER ── */
.sub-sig-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 80px;
    background: #1A2F23;
}

.sub-sig-line {
    width: 96px;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 163, 115, 0) 0%, rgba(212, 163, 115, .2) 100%);
}

.sub-sig-line.rev {
    background: linear-gradient(270deg, rgba(212, 163, 115, 0) 0%, rgba(212, 163, 115, .2) 100%);
}

.sub-sig-icon {
    opacity: .4;
    margin: 0 32px;
}

/* ── BENEFITS ── */
.benefits-section {
    background: rgba(0, 0, 0, .1);
    padding: 128px 80px;
}

.benefits-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefits-img-wrap {
    position: relative;
}

.benefits-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
    display: block;
}

.benefits-quote {
    position: absolute;
    right: -40px;
    bottom: -40px;
    background: #1A2F23;
    padding: 48px;
}

.benefits-quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    line-height: 32px;
    color: #F2BE8C;
    max-width: 124px;
}

.benefits-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4.5vw, 60px);
    color: #F2BE8C;
    line-height: 1.2;
    margin-bottom: 16px;
}

.benefits-desc {
    font-size: 14px;
    line-height: 23px;
    color: var(--cream);
    margin-bottom: 48px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefit-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.benefit-icon-box {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(242, 190, 140, .2);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.benefit-icon-box svg {
    color: #F2BE8C;
}

.benefit-name {
    font-size: 16px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #E5E2E1;
    margin-bottom: 6px;
}

.benefit-text {
    font-size: 14px;
    line-height: 23px;
    color: var(--cream);
}

/* ── CONFIGURE FORM ── */
.config-section {
    background: #0E0E0E;
    padding: 128px 64px;
}

.config-inner {
    max-width: 1132px;
    margin: 0 auto;
    background: #201F1F;
    padding: 64px 64px 80px;
}

.config-heading {
    border-left: 4px solid var(--sub-green);
    padding-left: 24px;
    margin-bottom: 64px;
}

.config-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #E5E2E1;
}

.config-form {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.sub-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.form-label {
    font-size: 20px;
    color: #E5E2E1;
    margin-bottom: 16px;
}

.tier-toggle {
    display: flex;
}

.tier-toggle__btn {
    padding: 16px 40px;
    font-size: 16px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid #50453B;
    background: transparent;
    color: #E5E2E1;
    transition: all .2s;
    white-space: nowrap;
}

.tier-toggle__btn.active {
    background: rgba(74, 222, 128, .1);
    border-color: var(--sub-green);
    color: var(--sub-green);
}

.tier-toggle__btn:hover:not(.active) {
    border-color: rgba(74, 222, 128, .3);
    color: rgba(74, 222, 128, .7);
}

.day-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.day-pill {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid #50453B;
    background: transparent;
    color: #E5E2E1;
    transition: all .2s;
}

.day-pill.active {
    background: var(--sub-green);
    border-color: var(--sub-green);
    color: #000;
    font-weight: 700;
}

.day-pill.inactive {
    opacity: .4;
}

.day-pill:not(.inactive):hover:not(.active) {
    border-color: var(--sub-green);
    color: var(--sub-green);
}

.meal-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.meal-btn {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border: 1px solid #50453B;
    background: transparent;
    cursor: pointer;
    transition: all .2s;
}

.meal-btn.active {
    background: rgba(74, 222, 128, .05);
    border-color: var(--sub-green);
}

.meal-btn.inactive {
    opacity: .4;
}

.meal-btn:not(.inactive):hover:not(.active) {
    border-color: rgba(74, 222, 128, .3);
}

.meal-btn__icon {
    color: var(--sub-green);
    font-size: 22px;
}

.meal-btn__icon--inactive {
    color: #E5E2E1;
    opacity: .5;
}

.meal-btn__label {
    font-size: 16px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #E5E2E1;
}

.kcal-selector {
    display: flex;
    border: 1px solid #50453B;
    overflow: hidden;
}

.kcal-btn {
    flex: 1;
    padding: 16px;
    font-size: 16px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #E5E2E1;
    background: transparent;
    border: none;
    border-right: 1px solid #50453B;
    cursor: pointer;
    transition: background .2s;
}

.kcal-btn:last-child {
    border-right: none;
}

.kcal-btn.active {
    background: #1A2F23;
    color: #fff;
}

.kcal-btn:hover:not(.active) {
    background: rgba(26, 47, 35, .4);
}

.sub-form-input,
.sub-form-textarea,
.sub-form-select {
    width: 100%;
    padding: 17px 16px;
    background: #353534;
    border: none;
    outline: none;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    letter-spacing: 1.6px;
    text-transform: capitalize;
    color: #E5E2E1;
}

.sub-form-textarea {
    height: 96px;
    resize: none;
}

.sub-form-select {
    appearance: none;
    cursor: pointer;
}

.sub-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-summary {
    background: rgba(0, 0, 0, .4);
    border-left: 4px solid #1A2F23;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-summary__title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #E5E2E1;
    margin-bottom: 4px;
}

.order-summary__detail {
    font-size: 14px;
    color: var(--cream);
}

.order-summary__label {
    font-size: 16px;
    color: var(--cream);
    margin-bottom: 4px;
    text-align: right;
}

.order-summary__total {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--sub-green);
    text-align: right;
}

.btn-finalize {
    width: 100%;
    padding: 28px 40px;
    background: #1A2F23;
    border: 1px solid rgba(74, 222, 128, .2);
    border-radius: 4px;
    font-size: 16px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.btn-finalize:hover {
    background: #1e3a28;
    border-color: var(--sub-green);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .sub-hero__inner {
        grid-template-columns: 1fr;
        padding: 120px 32px 80px;
    }

    .hiw-section,
    .tiers-section,
    .benefits-section {
        padding: 80px 32px;
    }

    .hiw-top {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .benefits-inner {
        grid-template-columns: 1fr;
    }

    .tiers-grid {
        grid-template-columns: 1fr;
    }

    .config-section {
        padding: 80px 32px;
    }

    .config-inner {
        padding: 48px 32px 64px;
    }

    .sub-form-row-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hiw-steps {
        grid-template-columns: 1fr;
    }

    .meal-selector {
        grid-template-columns: 1fr;
    }

    .benefits-quote {
        position: static;
        margin-top: 16px;
    }
}