/* Shared checkout modal — used across marketing pages */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: checkout-modal-fade-in 0.3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes checkout-modal-fade-in {
    to { opacity: 1; }
}

.checkout-modal-content {
    position: relative;
    max-width: 420px;
    width: 90%;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(60px) saturate(180%);
    background: rgba(26, 26, 26, 0.95);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(159, 255, 203, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(20px);
    animation: checkout-modal-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes checkout-modal-slide-up {
    to { transform: translateY(0); }
}

.checkout-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: rgba(227, 225, 220, 0.1);
    border: none;
    border-radius: 50%;
    color: rgba(227, 225, 220, 0.6);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.checkout-modal-close:hover {
    background: rgba(227, 225, 220, 0.2);
    color: var(--limestone);
}

.checkout-modal-title {
    font-family: var(--font-display, 'Inter', system-ui, sans-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--limestone);
    margin-bottom: 0.5rem;
    text-align: center;
}

.checkout-modal-subtitle {
    font-size: 0.95rem;
    color: rgba(227, 225, 220, 0.6);
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-sans, 'Inter', system-ui, sans-serif);
    font-size: 1rem;
    color: var(--limestone);
    background: rgba(227, 225, 220, 0.05);
    border: 1px solid rgba(227, 225, 220, 0.2);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    margin-bottom: 1.5rem;
}

.checkout-input:focus {
    border-color: var(--electric-mint);
    box-shadow: 0 0 0 3px rgba(159, 255, 203, 0.1);
}

.checkout-input::placeholder {
    color: rgba(227, 225, 220, 0.4);
}

.checkout-submit {
    width: 100%;
    padding: 1.1rem 2rem;
    font-family: var(--font-sans, 'Inter', system-ui, sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--obsidian);
    background: var(--electric-mint);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 20px rgba(159, 255, 203, 0.3);
}

.checkout-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(159, 255, 203, 0.5);
}

.checkout-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.checkout-submit.loading span {
    display: none;
}

.checkout-submit.loading::after {
    content: 'Processing...';
}
