/* Payments Section - Premium Design */
.payments-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.payments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 50% 0%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.payments-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Left Side - Content */
.payments-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.payments-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.payments-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 600px;
}

/* Payment Provider Logos (legacy / fallback) */
.payment-providers {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* All payment + card logos in one row - same size for all */
.payment-logos-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.payment-logos-row .payment-provider-logo {
    width: 100px;
    min-width: 100px;
    height: 60px;
    min-height: 60px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-logos-row .payment-provider-logo.payment-card-logo {
    width: 100px;
    min-width: 100px;
    height: 60px;
    min-height: 60px;
    padding: 12px;
}

.payment-logos-row .payment-logo-img {
    max-height: 36px;
    max-width: 76px;
    object-fit: contain;
}

.payment-logos-row .payment-card-logo.apple-pay {
    font-size: 13px;
    font-weight: 700;
    color: #000000;
}

.payment-logos-row .payment-card-logo.apple-pay i {
    font-size: 18px;
}

.payment-provider-logo {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-provider-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    transition: left 0.5s ease;
}

.payment-provider-logo:hover::before {
    left: 100%;
}

.payment-provider-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
}

.payment-logo-img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.stripe-logo-img {
    height: 40px;
    width: auto;
}

.paypal-logo-img {
    height: 40px;
    width: auto;
}

.ppo-logo-fallback {
    font-size: 14px;
    font-weight: 700;
    color: #10b981;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

/* Payment Features */
.payments-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payment-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #a855f7, #667eea, #ff6b35);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.payment-feature-item:hover::before {
    transform: scaleY(1);
}

.payment-feature-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.2);
}

.payment-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
    border-radius: 10px;
    color: #a855f7;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.payment-feature-item:hover .payment-feature-icon {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(102, 126, 234, 0.2) 100%);
    transform: scale(1.1);
}

.payment-feature-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 400;
    flex: 1;
}

/* Payments CTA */
.payments-cta {
    margin-top: 8px;
}

.payments-cta .btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* Right Side - Visual */
.payments-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

/* Payment Cards Bar */
.payment-cards-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.payment-cards-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #a855f7, #667eea, #ff6b35, #f5576c);
    opacity: 0.6;
}

.payment-card-logo {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.payment-card-logo.visa {
    color: #1a1f71;
}

.payment-card-logo.mastercard {
    color: #eb001b;
}

.payment-card-logo.amex {
    color: #006fcf;
}

.payment-card-logo.apple-pay {
    color: #000000;
    font-size: 14px;
}

.payment-card-logo.apple-pay i {
    font-size: 18px;
}

/* Payment Terminal Container */
.payment-terminal-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background: #ffffff;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.payment-terminal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.payment-terminal-container:hover::before {
    opacity: 1;
}

.payment-terminal-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.2);
}

.payment-terminal-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 0;
    transition: transform 0.3s ease;
}

.payment-terminal-container:hover .payment-terminal-image {
    transform: scale(1.02);
}

/* Payment Info Box */
.payment-info-box {
    background: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.payment-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #667eea, #ff6b35);
    opacity: 0.7;
}

.payment-info-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 16px;
}

.payment-info-note {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.payment-info-note strong {
    color: #a855f7;
}

.payment-info-disclaimer {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .payments-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .payments-visual {
        position: relative;
        top: 0;
    }
    
    .payments-title {
        font-size: 36px;
    }
    
    .payment-providers,
    .payment-logos-row {
        gap: 16px;
    }
    
    .payment-provider-logo {
        min-width: 120px;
        padding: 14px 20px;
    }
    
    .payment-logos-row .payment-provider-logo,
    .payment-logos-row .payment-provider-logo.payment-card-logo {
        width: 90px;
        min-width: 90px;
        height: 54px;
        min-height: 54px;
        padding: 10px;
    }
    
    .payment-logos-row .payment-logo-img {
        max-height: 32px;
        max-width: 70px;
    }
}

@media (max-width: 768px) {
    .payments-section {
        padding: 80px 0;
    }
    
    .payments-wrapper {
        gap: 50px;
    }
    
    .payments-content {
        gap: 32px;
    }
    
    .payments-title {
        font-size: 32px;
    }
    
    .payments-description {
        font-size: 16px;
    }
    
    .payment-providers,
    .payment-logos-row {
        gap: 12px;
    }
    
    .payment-provider-logo {
        min-width: 100px;
        padding: 12px 16px;
        min-height: 50px;
    }
    
    .payment-logos-row .payment-provider-logo,
    .payment-logos-row .payment-provider-logo.payment-card-logo {
        width: 80px;
        min-width: 80px;
        height: 48px;
        min-height: 48px;
        padding: 8px;
    }
    
    .payment-logos-row .payment-logo-img {
        max-height: 28px;
        max-width: 64px;
    }
    
    .payment-logos-row .payment-card-logo.apple-pay {
        font-size: 11px;
    }
    
    .payment-logos-row .payment-card-logo.apple-pay i {
        font-size: 14px;
    }
    
    .stripe-logo {
        font-size: 20px;
    }
    
    .paypal-logo svg {
        width: 60px;
    }
    
    .ppo-logo {
        font-size: 12px;
    }
    
    .payment-feature-item {
        padding: 16px;
    }
    
    .payment-feature-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .payment-feature-text {
        font-size: 15px;
    }
    
    .payment-cards-bar {
        padding: 12px 16px;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .payment-card-logo {
        font-size: 11px;
    }
    
    .payment-info-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .payments-section {
        padding: 60px 0;
    }
    
    .payments-title {
        font-size: 28px;
    }
    
    .payments-content {
        gap: 28px;
    }
    
    .payment-providers,
    .payment-logos-row {
        justify-content: flex-start;
    }
    
    .payment-logos-row .payment-provider-logo,
    .payment-logos-row .payment-provider-logo.payment-card-logo {
        width: 72px;
        min-width: 72px;
        height: 44px;
        min-height: 44px;
        padding: 6px;
    }
    
    .payment-logos-row .payment-logo-img {
        max-height: 24px;
        max-width: 56px;
    }
    
    .payment-logos-row .payment-card-logo.apple-pay {
        font-size: 10px;
    }
    
    .payment-logos-row .payment-card-logo.apple-pay i {
        font-size: 12px;
    }
    
    .payment-feature-item {
        padding: 14px;
        gap: 12px;
    }
    
    .payment-feature-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .payment-feature-text {
        font-size: 14px;
    }
    
    .payment-cards-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .payment-info-box {
        padding: 16px;
    }
    
    .payment-info-text {
        font-size: 14px;
    }
}

