/* style.css - Premium Styles for Onetapay USDT Payment Page */

:root {
    --bg-page: #EFF0F5;
    --card-bg: #FFFFFF;
    --text-primary: #000000;
    --text-muted: #78787A;
    --text-light: #A6A6A6;
    --accent-orange: #F9805B;
    --accent-blue: #5159F6;
    --btn-gradient: linear-gradient(to right, #FFE769, #F9805B, #5159F6B2);
    --btn-gradient-hover: linear-gradient(to right, #FFF194, #FF9575, #676EFF);
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #EFF0F5;
}
::-webkit-scrollbar-thumb {
    background: #C1C2C9;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A6A7AF;
}

/* Layout Elements */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.sticky-sidebar {
    position: sticky;
    top: 30px;
    z-index: 10;
}

/* Profile / Header Card */
.profile-card {
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: none;
    overflow: hidden;
}

.header-card {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 30px 20px 54px;
    min-height: 140px;
}

.channel-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.8);
    background-color: #5159F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
}

.badge-tag {
    font-size: 10px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.verified-badge {
    color: #1DA1F2;
    font-size: 16px;
    margin-left: 5px;
    display: inline-flex;
    align-items: center;
}

.disclaimer-section {
    position: relative;
    margin-top: -24px;
    padding: 20px;
    border-top: 1px solid #E8E9EE;
    border-radius: 30px 30px 0 0;
    background-color: var(--card-bg);
}

.disclaimer-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
}

.disclaimer-text strong {
    color: #333333;
}

/* Pricing Plans CSS */
.pricing-plan-card {
    position: relative;
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 20px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: none;
}

.pricing-plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.pricing-plan-card.popular {
    border: 1.5px solid var(--accent-orange) !important;
}

.popular-badge {
    position: absolute;
    left: 24px;
    top: -14px;
    color: white;
    font-size: 11px;
    font-weight: 500;
    background: var(--btn-gradient);
    border-radius: 7px;
    padding: 5px 12px;
    box-shadow: 0 2px 8px rgba(249, 128, 91, 0.3);
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.price-strike {
    font-size: 14px;
    text-decoration: line-through;
    color: var(--text-light);
    margin-right: 8px;
}

.price-final {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-duration {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    margin-left: 5px;
}

.buy-btn {
    background: var(--btn-gradient);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #fff !important;
    border: none;
    padding: 12px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(249, 128, 91, 0.2);
}

.buy-btn:hover {
    background: var(--btn-gradient-hover);
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(249, 128, 91, 0.35);
}

/* Secure Payment Footer Section */
.secure-payment-title {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.secure-payment-title span {
    color: #C5236A;
    font-weight: 600;
}

/* Marquee Security Partners */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: transparent;
    padding: 10px 0;
    margin-bottom: 30px;
    position: relative;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee-scroll 20s linear infinite;
}

.marquee-logo {
    height: 24px;
    margin: 0 25px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.marquee-logo:hover {
    opacity: 1;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* FAQ Accordion Styling */
.faq-section {
    background-color: transparent;
    border: 1px solid #DCDCDC;
    border-radius: 10px;
    overflow: hidden;
    padding: 8px;
    margin-bottom: 35px;
}

.accordion-item {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #EAEAEA !important;
}

.accordion-item:last-child {
    border-bottom: none !important;
}

.accordion-button {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: 16px 10px !important;
}

.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: var(--accent-blue) !important;
    box-shadow: none !important;
}

.accordion-button::after {
    font-size: 12px;
}

.accordion-body {
    padding: 0 10px 16px 10px !important;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    margin-bottom: 35px;
}

.testimonials-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
    color: var(--text-primary);
}

.testimonial-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

.testimonial-card-inner {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    height: 180px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    width: 100%;
}

.testimonial-user {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-stars {
    color: #FFB500;
    font-size: 11px;
}

.testimonial-text {
    font-size: 13px;
    color: #505050;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Testimonial Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.testimonial-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #D6D6D6;
    margin: 0 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonial-dot.active {
    background-color: var(--accent-blue);
    width: 18px;
    border-radius: 4px;
}

/* Modal Overlay & Animations */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    background-color: var(--card-bg);
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    margin: 15px;
}

.modal-overlay.active .checkout-modal {
    transform: scale(1);
}

.modal-header {
    background-color: #F8F9FA;
    padding: 16px 20px;
    border-bottom: 1px solid #ECECEC;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

/* Checkout Progress Indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #E2E3E8;
    z-index: 1;
}

.step-indicator-bar {
    position: absolute;
    top: 15px;
    left: 10%;
    width: 0%;
    height: 2px;
    background-color: var(--accent-blue);
    z-index: 2;
    transition: width 0.3s ease;
}

.step-node {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 2px solid #E2E3E8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.step-node.active {
    border-color: var(--accent-blue);
    background-color: var(--accent-blue);
    color: #FFFFFF;
}

.step-node.completed {
    border-color: var(--accent-blue);
    background-color: #FFFFFF;
    color: var(--accent-blue);
}

/* Checkout Form Styles */
.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #505050;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #DCDCDC;
    padding: 11px 14px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--accent-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(81, 89, 246, 0.1);
}

/* Network Select Tabs */
.network-tabs {
    display: flex;
    background-color: #EFF0F5;
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.network-tab-btn {
    flex: 1;
    border: none;
    background: none;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.network-tab-btn.active {
    background-color: #FFFFFF;
    color: var(--accent-blue);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* QR Code Display */
.qr-code-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #E2E3E8;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #FDFDFD;
}

.qr-code-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 12px;
}

.address-box {
    display: flex;
    width: 100%;
    background-color: #F4F5F8;
    border-radius: 8px;
    padding: 8px 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.address-text {
    font-family: monospace;
    font-size: 12px;
    word-break: break-all;
    margin-right: 10px;
    color: #333;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--accent-blue);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: transform 0.1s;
}

.copy-btn:active {
    transform: scale(0.9);
}

/* Success Checkmark Anim */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
}

.success-checkmark .check-icon::before, .success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #FFFFFF;
    transform: rotate(-45deg);
}

.success-checkmark .check-icon .icon-line {
    height: 5px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .check-icon .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
}

.success-checkmark .check-icon .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
}

.success-checkmark .check-icon .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(76, 175, 80, 0.2);
    box-sizing: content-box;
    position: absolute;
    left: -4px;
    top: -4px;
    z-index: 1;
}

.success-checkmark .check-icon .icon-fix {
    width: 5px;
    height: 90px;
    background-color: #FFFFFF;
    position: absolute;
    left: 28px;
    top: 8px;
    z-index: 1;
    transform: rotate(-45deg);
}

/* Layout Utilities & Fixes */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Modal Nav buttons */
.step-nav-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.step-nav-buttons button {
    flex: 1;
}

.btn-secondary-custom {
    background-color: #EFF0F5;
    border: none;
    color: #505050;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.btn-secondary-custom:hover {
    background-color: #E2E3E8;
}

/* Responsive adjustments */
@media(max-width: 991.98px) {
    .sticky-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 24px;
    }
}

/* Community Footer & Policy Badges */
.community-section {
    padding: 24px 20px;
    border-top: 1px solid #E8E9EE;
    text-align: center;
    background-color: #FAFAFB;
}

.page-bottom-community {
    max-width: 520px;
    margin: 10px auto 0;
    border: 1px solid #E8E9EE;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.community-title {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.community-title span {
    color: var(--accent-blue);
}

.store-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.store-icon {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.store-icon:hover {
    transform: scale(1.05);
}

.policy-buttons-container {
    margin-bottom: 24px;
}

.policy-btn-card {
    background-color: #FFFFFF;
    border: 1px solid #E8E9EE;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 10px;
    text-align: left;
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.policy-btn-card:hover {
    background-color: #F8F9FA;
    border-color: #D1D2D6;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.04);
}

.policy-btn-card i {
    font-size: 18px;
    color: #8C8E9A;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.policy-btn-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    color: #2D2D2D;
}

.powered-by {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 15px;
}

.powered-by span {
    font-weight: 600;
    color: #C5236A;
}

.policy-modal-content p {
    margin-bottom: 12px;
}

.policy-modal-content h6 {
    font-weight: 700;
    color: #333;
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 14px;
}
