/* how-to-pay.css - shareable client payment instructions page */

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(0, 201, 107, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 201, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 201, 107, 0); }
}

@keyframes drawBorder {
    from { border-color: rgba(255,255,255,0); }
    to { border-color: rgba(255,255,255,0.14); }
}

.pay-main {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%, rgba(217, 48, 37, 0.14), transparent 42%),
        radial-gradient(circle at 90% 0%, rgba(26, 86, 232, 0.14), transparent 36%),
        #0f1117;
}

.pay-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.25;
    pointer-events: none;
}

.pay-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 52px 24px 90px;
}

.pay-hero {
    text-align: center;
    margin-bottom: 26px;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pay-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(245, 245, 243, 0.72);
}

.pay-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00c96b;
    animation: pulseGlow 2s infinite;
}

.pay-title {
    margin-top: 12px;
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.pay-title em {
    font-style: normal;
    color: #d93025;
}

.pay-sub {
    margin: 0 auto;
    max-width: 720px;
    color: rgba(245, 245, 243, 0.84);
}

.pay-card {
    margin-top: 20px;
    background: rgba(15, 17, 23, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.pay-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.pay-item {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 14px;
    opacity: 0;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pay-item:nth-child(1) { animation-delay: 0.3s; }
.pay-item:nth-child(2) { animation-delay: 0.4s; }
.pay-item:nth-child(3) { animation-delay: 0.5s; }

.pay-item__label {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(245, 245, 243, 0.66);
    margin-bottom: 8px;
}

.pay-item__value {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #f5f5f3;
}

.pay-note {
    margin-top: 4px;
    padding: 12px 14px;
    border-left: 3px solid #d93025;
    background: rgba(217, 48, 37, 0.1);
    color: rgba(245, 245, 243, 0.9);
}

.pay-steps {
    margin-top: 18px;
}

.pay-steps h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.pay-steps ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.pay-steps li {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    opacity: 0;
    animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.3s ease, background 0.3s ease;
}

.pay-steps li:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.06);
}

.pay-steps li:nth-child(1) { animation-delay: 0.6s; }
.pay-steps li:nth-child(2) { animation-delay: 0.7s; }
.pay-steps li:nth-child(3) { animation-delay: 0.8s; }
.pay-steps li:nth-child(4) { animation-delay: 0.9s; }
.pay-steps li:nth-child(5) { animation-delay: 1.0s; }
.pay-steps li:nth-child(6) { animation-delay: 1.1s; }

.pay-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
}

.pay-support {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    opacity: 0;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

.pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.pay-btn:hover {
    transform: translateY(-2px);
}

.pay-btn--primary {
    background: #d93025;
    color: #f5f5f3;
    box-shadow: 0 16px 32px rgba(217, 48, 37, 0.24);
}

.pay-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f5f5f3;
    background: rgba(255, 255, 255, 0.03);
}

.pay-privacy {
    margin-top: 14px;
    font-size: 0.9rem;
    color: rgba(245, 245, 243, 0.64);
    opacity: 0;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.3s forwards;
}

@media (max-width: 900px) {
    .pay-shell {
        padding: 44px 20px 72px;
    }

    .pay-grid {
        grid-template-columns: 1fr;
    }
}

