/* ============================================================
   SHOPPI PAY — MODERN REDESIGN
   Matches the "Shoppi Pay.dc.html" design canvas (claude.ai/design)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --pay-brand: #E8113C;
    --pay-brand-hover: #C40E32;
    --pay-badge-bg: rgba(232, 17, 60, 0.18);
    --pay-badge-text: #FF6B8B;
    --pay-amber: #FFB020;
    --pay-amber-hover: #FFC85C;
    --pay-dark: #0B1B33;
    --pay-light: #F8FAFC;
    --pay-pink-bg: #FDEBEF;
    --pay-green-bg: #E8F7EF;
    --pay-green: #0E8A5F;
    --pay-border: #ECEFF4;
    --pay-line: #E1E6EE;
    --pay-text: #0B1B33;
    --pay-text-muted: #6B7689;
    --pay-text-faint: #8A93A6;
    --pay-white: #ffffff;
    --pay-radius: 20px;
}

#shoppipay {
    font-family: 'Poppins', Helvetica, sans-serif;
    color: var(--pay-text);
    background: var(--pay-white);
}

#shoppipay h1,
#shoppipay h2,
#shoppipay h3,
#shoppipay h4 {
    font-family: 'Poppins', Helvetica, sans-serif;
    color: var(--pay-dark);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* The shared page_container.html wraps every page in .content-card, whose
   ".content-card h2" rule (border-bottom + fixed font-size) is meant for
   prose/article pages, not this landing page's own section headings. */
#shoppipay h2 {
    border-bottom: none;
    margin-top: 0;
    font-size: 28px;
    font-weight: 700;
}

/* — Hero Section — */
.pay-hero {
    padding: 64px 0 72px;
    background-color: var(--pay-dark);
}

.pay-hero h1 {
    font-size: clamp(30px, 3.8vw, 50px);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.1;
    margin-bottom: 0;
}

#shoppipay .pay-hero h1 {
    color: var(--pay-white);
}

.pay-hero .lead {
    font-size: 16.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    max-width: 52ch;
    margin: 16px 0 0;
}

.pay-hero .crypto-badge {
    background: var(--pay-badge-bg);
    color: var(--pay-badge-text);
    animation: none;
}

.pay-hero .btn-primary {
    background: var(--pay-brand);
    border-color: transparent;
    border-radius: 11px;
    padding: 13px 26px;
    font-weight: 600;
}

.pay-hero .btn-primary:hover {
    background: var(--pay-brand-hover);
    border-color: transparent;
}

.pay-hero .btn-outline-dark {
    color: var(--pay-white);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 11px;
    padding: 13px 26px;
    font-weight: 600;
}

.pay-hero .btn-outline-dark:hover {
    color: var(--pay-white);
    background: rgba(255, 255, 255, 0.2);
}

.pay-hero a.text-muted {
    color: var(--pay-amber) !important;
    font-weight: 600;
    font-size: 13.5px;
}

.pay-hero a.text-muted:hover {
    color: var(--pay-amber-hover) !important;
}

/* — Wallet Dashboard Preview — */
.wallet-dashboard-preview {
    background: var(--pay-white) !important;
    border: none !important;
    border-radius: 22px;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.35);
}

.wallet-dashboard-preview h4 {
    font-size: 14px;
}

.wallet-dashboard-preview .badge.bg-light {
    background: #F4F6FA !important;
    color: var(--pay-text-faint) !important;
    border: none !important;
    font-weight: 600;
}

.balance-card {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none;
}

.balance-card .small {
    color: var(--pay-text-faint);
    font-size: 12.5px;
}

.balance-card h2 {
    font-size: 34px;
    font-weight: 800;
    margin-top: 2px;
}

.quick-actions .action-item {
    background: #F4F6FA;
    border-radius: 10px;
    padding: 10px 0;
    font-size: 12.5px;
    font-weight: 600;
}

.transaction-history h6 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pay-text-faint);
}

.transaction-list .icon-circle {
    border-radius: 10px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 15px;
    flex-shrink: 0;
}

.transaction-list .fw-bold.small {
    font-size: 13px;
}

.transaction-list .text-muted {
    color: var(--pay-text-faint) !important;
    font-size: 11.5px;
}

/* — Value Proposition Cards — */
.feature-card {
    background: var(--pay-white);
    padding: 26px 24px;
    border-radius: 16px;
    border: 1px solid var(--pay-border);
    height: 100%;
}

.feature-icon {
    width: 46px;
    height: 46px;
    background: var(--pay-pink-bg);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--pay-brand);
    margin: 0 auto 14px;
}

.feature-card h3 {
    font-size: 16.5px;
    font-weight: 700;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--pay-text-muted);
}

/* — Step Cards ("Come funziona") — */
.step-card {
    background: var(--pay-light);
    border-radius: 16px;
    padding: 28px 26px;
    border: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--pay-dark);
    color: var(--pay-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin: 0 auto;
    box-shadow: none;
}

.step-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin-top: 14px;
}

.step-card p {
    font-size: 13.5px;
    color: var(--pay-text-muted);
}

/* — Purchase Protection checklist + timeline — */
.protection-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--pay-green-bg);
    color: var(--pay-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.protection-card {
    border: 1px solid var(--pay-border);
    border-radius: var(--pay-radius);
    padding: 26px;
    box-shadow: 0 20px 50px rgba(11, 27, 51, 0.08);
}

.protection-card .card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pay-text-faint);
}

.timeline-item {
    display: flex;
    gap: 14px;
}

.timeline-dot-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.timeline-dot.done {
    background: var(--pay-green);
    color: var(--pay-white);
}

.timeline-dot.pending {
    background: #F4F6FA;
    color: var(--pay-text-faint);
    border: 2px dashed #D7DEE8;
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: var(--pay-line);
    min-height: 22px;
}

.timeline-item .timeline-body {
    padding-bottom: 20px;
}

.timeline-item .timeline-body .title {
    font-size: 14px;
    font-weight: 600;
    color: var(--pay-text);
}

.timeline-item .timeline-body .desc {
    font-size: 12.5px;
    color: var(--pay-text-faint);
    margin-top: 2px;
}

/* — FAQ — */
.pay-faq {
    padding: 72px 0;
}

.pay-faq .accordion-item {
    border: 1px solid var(--pay-border) !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: none !important;
}

.pay-faq .accordion-button {
    font-size: 15px;
    font-weight: 600;
    color: var(--pay-dark);
    background: var(--pay-white);
    box-shadow: none !important;
}

.pay-faq .accordion-button:not(.collapsed) {
    background: var(--pay-light);
    color: var(--pay-dark);
}

.pay-faq .accordion-body {
    font-size: 14px;
    line-height: 1.7;
    color: #46536B;
}

/* — CTA — */
.cta-premium {
    background: var(--pay-white);
    padding: 72px 0 64px;
}

.cta-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: var(--pay-pink-bg);
    border: none;
    border-radius: var(--pay-radius);
    padding: 48px 44px;
}

.cta-card h2 {
    color: var(--pay-dark);
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 800;
}

.cta-card p {
    font-size: 15px;
    color: var(--pay-text-muted);
    max-width: 48ch;
    margin: 12px auto 0;
}

.store-badges {
    margin-top: 24px;
}

.store-badges img {
    height: 44px;
    transition: transform 0.2s ease;
}

.store-badges a:hover img {
    transform: translateY(-2px);
}

/* — Mobile Optimization — */
@media (max-width: 768px) {
    .wallet-dashboard-preview {
        margin-top: 40px;
    }
}
