/* ── Logged-in user nav ── */
.nav-user-logged {
    position: relative;
}

.nav-user-btn {
    cursor: pointer;
}

.nav-user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 170px;
    padding-top: 8px;
    z-index: 99999;
    display: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.nav-user-dropdown-inner {
    padding: 6px;
    border-radius: 12px;
    background: rgba(25, 18, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.nav-user-logged:hover .nav-user-dropdown {
    display: block;
    opacity: 1;
}

.nav-user-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--fb);
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.nav-user-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* ── Nav above everything ── */
#nav {
    position: relative;
    z-index: 100 !important;
}

/* ── Page background — same as pricing section ── */
body {
    min-height: 100vh;
}

.co-page {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 40px 60px;
    background: radial-gradient(ellipse 80% 60% at 20% 30%, rgba(140, 50, 8, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(100, 35, 4, 0.35) 0%, transparent 55%),
    #080502;
}

/* ── Checkout container — like the modal but inline ── */
.co-container {
    position: relative;
    width: 960px;
    max-width: 100%;
    border-radius: 28px;
    overflow: visible;
    background: linear-gradient(180deg, rgba(40, 30, 22, 0.88) 0%, rgba(12, 8, 4, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 80px rgba(197, 85, 24, 0.06);
    backdrop-filter: blur(40px);
    padding: 44px 40px;
}

.co-split {
    display: flex;
    gap: 40px;
}

.co-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Price card on the right */
.co-page .co-prc {
    width: 100%;
    margin-top: -60px;
}

.co-right-wrapper {
    width: 340px;
    flex-shrink: 0;
}

.co-page .co-prc .prc-inner {
    padding: 24px 24px 20px;
}

.co-page .co-prc .prc-features {
    margin-bottom: 6px !important;
    min-height: unset !important;
}

.co-page .co-prc .duration-toggle {
    margin-top: 8px;
}

/* Duration pills: always show discount, taller, orange glow */
.co-page .dur-pill {
    padding: 10px 4px;
    font-size: 13px;
}

.co-page .dur-save {
    display: block !important;
    color: rgba(255, 255, 255, 0.35);
}

.co-page .dur-pill.active .dur-save {
    color: rgba(255, 255, 255, 0.85);
}

.co-page .dur-pill.active {
    box-shadow: 0 4px 20px rgba(197, 85, 24, 0.4), 0 0 30px rgba(197, 85, 24, 0.15);
}

/* ── Order Summary Panel ── */
.co-order {
    width: 100%;
}

.co-order-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.co-order-sub {
    font-family: 'Mona Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 24px;
}

/* Recurring toggle */
.co-recurring {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.co-recurring-toggle {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.co-recurring-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.co-recurring-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.3s;
}

.co-recurring-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.3s;
}

.co-recurring-toggle input:checked + .co-recurring-slider {
    background: #C55518;
}

.co-recurring-toggle input:checked + .co-recurring-slider::before {
    transform: translateX(22px);
}

.co-recurring-text {
    flex: 1;
}

.co-recurring-text strong {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.co-recurring-text span {
    font-family: 'Mona Sans', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
}

.co-recurring-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #FF8C55;
    flex-shrink: 0;
}

/* Order details rows */
.co-order-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.co-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.co-order-row span {
    font-family: 'Mona Sans', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    gap: 6px;
}

.co-order-row span svg {
    color: rgba(197, 85, 24, 0.5);
    flex-shrink: 0;
}

.co-order-row strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.co-order-included strong {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    max-width: 200px;
    text-align: right;
}

.co-order-desc {
    font-family: 'Mona Sans', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    margin: 8px 0 20px;
}

.co-order-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin: 4px 0 16px;
}

/* Payment methods */
.co-order-payment {
    margin-bottom: 20px;
}

.co-order-payment-label {
    font-family: 'Mona Sans', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 10px;
}

.co-order-payment-logos {
    display: flex;
    gap: 8px;
}

/* Total */
.co-order-total {
    margin-bottom: 20px;
}

.co-order-total-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.co-order-total-row span {
    font-family: 'Mona Sans', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.co-order-total-row strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.co-order-total-main {
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(197, 85, 24, 0.08);
    border: 1px solid rgba(197, 85, 24, 0.15);
    margin-top: 6px;
}

.co-order-total-main span {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.co-order-total-main strong {
    font-size: 24px;
    font-weight: 800;
    color: #FF8C55;
}

.co-order-total-period {
    font-family: 'Mona Sans', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-align: right;
    margin-top: 6px;
}

/* Error message */
.co-order-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(244, 67, 54, 0.08);
    border: 1px solid rgba(244, 67, 54, 0.2);
    margin-bottom: 12px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 12px;
    color: #ff6b6b;
}

.co-order-error svg {
    color: #ff6b6b;
    flex-shrink: 0;
}

/* Security */
.co-order-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.co-order-secure svg {
    color: rgba(76, 175, 80, 0.5);
}

.co-order-secure span {
    font-family: 'Mona Sans', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.25);
}

/* Right wrapper — holds card */
.co-right-wrapper {
    flex-shrink: 0;
    align-self: flex-start;
}

/* ── Auth form styles (same as checkout modal) ── */
.app-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 6px;
}

.app-sub {
    font-family: 'Mona Sans', 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    margin-bottom: 28px;
}

.app-sub strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.app-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-input {
    width: 100%;
    height: 46px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 10, 16, 0.25);
    backdrop-filter: blur(18px) saturate(1.8) brightness(0.85);
    padding: 0 24px;
    font-family: var(--fb, -apple-system, sans-serif);
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.app-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

.app-input:focus {
    border-color: rgba(197, 85, 24, 0.4);
    background: rgba(197, 85, 24, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 25px rgba(197, 85, 24, 0.12);
}

.app-phone-row {
    display: flex;
    gap: 8px;
}

.app-phone-prefix {
    width: 100px;
    flex-shrink: 0;
    height: 46px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 10, 16, 0.25);
    backdrop-filter: blur(18px) saturate(1.8) brightness(0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding: 0 14px;
}

.app-submit {
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

.auth-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.auth-link {
    font-family: 'Mona Sans', 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.3s;
}

.auth-link:hover {
    color: #FF8C55;
}

.auth-link strong {
    color: #C55518;
    font-weight: 600;
}

.auth-state {
    animation: auth-fade-in 0.3s ease;
}

@keyframes auth-fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form error */
.form-error {
    display: none;
    font-family: 'Mona Sans', sans-serif;
    font-size: 12px;
    color: #ff4444;
    margin-top: -4px;
    padding-left: 16px;
}

.form-error.visible {
    display: block;
}

/* SMS verify */
.auth-sms-code {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.auth-sms-code input {
    width: 200px;
    height: 52px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 8px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 10, 16, 0.25);
    color: #fff;
    outline: none;
    transition: border-color 0.3s;
}

.auth-sms-code input:focus {
    border-color: rgba(197, 85, 24, 0.5);
    box-shadow: 0 0 20px rgba(197, 85, 24, 0.12);
}

.auth-timer {
    font-family: 'Mona Sans', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-top: 8px;
}

.auth-timer strong {
    color: #FF8C55;
    font-weight: 700;
}

.auth-resend {
    display: none;
    text-align: center;
    margin-top: 8px;
}

.auth-resend a {
    font-family: 'Mona Sans', sans-serif;
    font-size: 13px;
    color: #FF8C55;
    text-decoration: none;
    font-weight: 600;
}

.auth-resend a:hover {
    color: #fff;
}

/* Registration success */
.auth-cred-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
}

.auth-cred-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-cred-row span {
    font-family: 'Mona Sans', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.auth-cred-row strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.auth-success-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

/* Already registered */
.auth-already-msg {
    font-family: 'Mona Sans', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    text-align: left;
    margin-bottom: 16px;
}

.auth-already-msg strong {
    color: #fff;
    font-weight: 700;
}

.auth-already-msg a {
    color: #FF8C55;
    text-decoration: underline;
    font-weight: 600;
}

.auth-recovery-row {
    text-align: center;
    margin-bottom: 10px;
}

.auth-recovery-row span {
    font-family: 'Mona Sans', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* ── Result screens ── */
.co-result-content {
    text-align: center;
    padding: 40px 40px 30px;
}

.co-result-icon {
    margin: 0 auto 24px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.co-result-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.co-result-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.co-result-row span {
    font-family: 'Mona Sans', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    gap: 6px;
}

.co-result-row span svg {
    color: rgba(197, 85, 24, 0.5);
    flex-shrink: 0;
}

.co-result-row strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.co-result-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-align: center;
    margin-bottom: 8px;
}

.co-success-title {
    background: linear-gradient(180deg, #FF8C55 0%, rgba(197, 85, 24, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.co-fail-title {
    background: linear-gradient(180deg, #FF8C55 0%, rgba(197, 85, 24, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.co-fail-tips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.co-fail-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-align: left;
}

.co-fail-tip svg {
    color: rgba(244, 67, 54, 0.5);
    flex-shrink: 0;
}

.co-pending-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(197, 85, 24, 0.15);
    border-top-color: #FF8C55;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Success split */
.co-success-split {
    display: flex;
    gap: 32px;
    padding: 30px 36px;
    overflow: visible;
}

.co-success-left {
    flex: 1;
    min-width: 0;
}

.co-success-right {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.co-popcorn-scene {
    position: relative;
    width: 260px;
    height: 340px;
    overflow: visible;
}

.co-popcorn-box {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 300px;
}

.co-popcorn-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
}

.co-kernels {
    position: absolute;
    bottom: 220px;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 10;
    overflow: visible;
}

.co-kernel {
    position: absolute;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.co-kernel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.co-enjoy-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    line-height: 1.4;
}

.co-enjoy-text strong {
    font-weight: 800;
    display: block;
    font-size: 28px;
    background: linear-gradient(180deg, #FF8C55 0%, #C55518 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Accepted cards */
.co-accepted-cards {
    text-align: center;
}

.co-accepted-label {
    font-family: 'Mona Sans', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.co-accepted-logos {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.co-card-logo {
    width: 52px;
    height: 34px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.co-card-logo svg {
    width: 100%;
    height: 100%;
}


/* Hide steps by default */
.co-step {
    display: none;
}

.co-step.active {
    display: block;
}


/* ── Mobile responsive ── */
@media (max-width: 720px) {
    .co-page {
        padding: 20px 16px 40px;
    }

    .co-container {
        padding: 30px 16px;
        border-radius: 20px;
    }

    .co-split {
        flex-direction: column;
        gap: 36px;
    }

    .co-right-wrapper {
        width: 100% !important;
        max-width: 400px;
        align-self: center;
    }

    .co-page .co-prc {
        width: 100% !important;
        margin-top: 0 !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .co-page .co-prc .prc-inner {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .co-page .co-prc .prc-name,
    .co-page .co-prc .prc-feat,
    .co-page .co-prc .prc-price,
    .co-page .co-prc .prc-price-sub,
    .co-page .co-prc .dur-pill {
        opacity: 1 !important;
        visibility: visible !important;
        color: #fff !important;
    }

    .app-title {
        font-size: 24px;
    }

    .app-sub {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .co-success-split {
        flex-direction: column;
        padding: 20px 16px;
    }

    .co-success-right {
        width: 100%;
    }

    .co-popcorn-scene {
        width: 180px;
        height: 240px;
        margin: 0 auto;
    }

    .co-result-content {
        padding: 24px 16px 20px;
    }

    .co-result-title {
        font-size: 22px;
    }
}

