/* Payment Guide Styles */

:root {
    --primary-color: 74, 74, 222;
    --secondary-color: 168, 85, 247;
    --accent-color: 59, 130, 246;
    --success-color: 34, 197, 94;
    --warning-color: 245, 158, 11;
    --error-color: 239, 68, 68;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: 229, 231, 235;
    --bg-color: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-accent: #f3f4f6;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow-x: hidden;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(255, 192, 203, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(74, 74, 222, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    padding: 5rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 105, 180, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.header-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgb(74, 74, 222) 0%, rgb(168, 85, 247) 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 15px 40px rgba(var(--primary-color), 0.4);
    position: relative;
    animation: glow 3s ease-in-out infinite alternate;
}

.header-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(var(--primary-color), 0.3), rgba(var(--secondary-color), 0.3));
    border-radius: 30px;
    z-index: -1;
    filter: blur(10px);
}

@keyframes glow {
    0% { box-shadow: 0 15px 40px rgba(74, 74, 222, 0.4); }
    100% { box-shadow: 0 20px 50px rgba(168, 85, 247, 0.6); }
}

.header-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a; /* Fallback color */
    background: linear-gradient(135deg, rgb(74, 74, 222) 0%, rgb(168, 85, 247) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Ensure text is visible if gradient fails */
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
    .header-text h1 {
        background: none;
        color: rgb(74, 74, 222);
        -webkit-text-fill-color: initial;
    }
}

.header-text p {
    font-size: 1.2rem;
    color: #6b7280;
}

/* Guide Sections */
.guide-section {
    margin-bottom: 4rem;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(var(--border-color), 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.guide-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.guide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(var(--primary-color), 1) 0%, 
        rgba(var(--secondary-color), 1) 50%, 
        rgba(var(--accent-color), 1) 100%);
}

.guide-section::after {
    content: '✨';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.1) rotate(180deg); 
    }
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(var(--border-color), 0.3);
}

.section-header i {
    font-size: 1.5rem;
    color: rgba(var(--primary-color), 1);
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Overview Cards */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.overview-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(var(--border-color), 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(var(--primary-color), 0.1) 90deg,
        transparent 180deg,
        rgba(var(--secondary-color), 0.1) 270deg,
        transparent 360deg
    );
    animation: rotate 8s linear infinite;
    z-index: 0;
}

.overview-card > * {
    position: relative;
    z-index: 1;
}

.overview-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.overview-card .card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgb(74, 74, 222) 0%, rgb(168, 85, 247) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    position: relative;
    transition: all 0.3s ease;
    animation: pulse 3s ease-in-out infinite;
}

.overview-card .card-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 21px;
    background: linear-gradient(135deg, rgba(74, 74, 222, 0.3), rgba(168, 85, 247, 0.3));
    z-index: -1;
    filter: blur(8px);
}

.overview-card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
    animation-play-state: paused;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(74, 74, 222, 0.3); 
    }
    50% { 
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.5); 
    }
}

.overview-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.overview-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Account Types */
.account-types {
    display: grid;
    gap: 2rem;
}

.account-type-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(var(--border-color), 0.3);
}

.type-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(var(--border-color), 0.3);
}

.type-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgb(34, 197, 94) 0%, rgb(245, 158, 11) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.type-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.type-content {
    display: grid;
    gap: 2rem;
}

.type-description h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.type-description p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.type-description ul {
    list-style: none;
    padding-left: 0;
}

.type-description li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.type-description li::before {
    content: "•";
    color: rgba(var(--primary-color), 1);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.type-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Features */
.type-features h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(var(--success-color), 0.1);
    border-radius: 8px;
    border-left: 4px solid rgba(var(--success-color), 1);
}

.feature-item i {
    color: rgba(var(--success-color), 1);
    font-size: 1.1rem;
}

.feature-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Conversion Table */
.conversion-table h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.conversion-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.conversion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(var(--warning-color), 0.1);
    border-radius: 8px;
    border-left: 4px solid rgba(var(--warning-color), 1);
}

.cash-amount {
    font-weight: 600;
    color: rgba(var(--success-color), 1);
    min-width: 100px;
}

.conversion-arrow {
    color: rgba(var(--primary-color), 1);
    font-weight: bold;
    font-size: 1.2rem;
}

.coin-amount {
    font-weight: 600;
    color: rgba(var(--warning-color), 1);
    min-width: 120px;
}

.rate-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Priority Steps */
.priority-explanation {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
}

.priority-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.7;
}

.priority-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.priority-step {
    display: flex;
    gap: 1.5rem;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(var(--border-color), 0.3);
    transition: all 0.3s ease;
}

.priority-step:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgb(74, 74, 222) 0%, rgb(168, 85, 247) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.final-step .step-number {
    background: linear-gradient(135deg, rgb(239, 68, 68) 0%, rgb(245, 158, 11) 100%);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Step Conditions */
.step-conditions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.condition-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(var(--success-color), 0.1);
    border-radius: 6px;
}

.condition-item i {
    color: rgba(var(--success-color), 1);
}

.condition-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Step Benefits */
.step-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(var(--primary-color), 0.1);
    border-radius: 6px;
}

.benefit-item i {
    color: rgba(var(--primary-color), 1);
}

.benefit-item span {
    color: var(--text-primary);
}

/* Step Pricing */
.step-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(var(--warning-color), 0.1);
    border-radius: 6px;
}

.price-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.price-value {
    color: rgba(var(--warning-color), 1);
    font-weight: 600;
}

/* Payment Options */
.payment-options {
    margin-top: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(var(--accent-color), 0.1);
    border-radius: 6px;
}

.payment-method i {
    color: rgba(var(--accent-color), 1);
    font-size: 1.2rem;
}

.payment-method span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: linear-gradient(135deg, white 0%, var(--bg-secondary) 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(var(--border-color), 0.3);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgb(34, 197, 94) 0%, rgb(59, 130, 246) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 1px solid rgba(var(--border-color), 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(var(--primary-color), 0.05);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-question i {
    color: rgba(var(--primary-color), 1);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(var(--primary-color), 0.1) 0%, rgba(var(--secondary-color), 0.1) 100%);
    text-align: center;
    border: 2px solid rgba(var(--primary-color), 0.2);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '⭐';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 2rem;
    opacity: 0.3;
    animation: twinkle 3s ease-in-out infinite;
}

.cta-section::after {
    content: '✨';
    position: absolute;
    bottom: 10%;
    right: 5%;
    font-size: 1.5rem;
    opacity: 0.4;
    animation: twinkle 2s ease-in-out infinite 1s;
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.2); 
    }
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgb(74, 74, 222) 0%, rgb(168, 85, 247) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 250px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, rgb(74, 74, 222) 0%, rgb(168, 85, 247) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 74, 222, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(var(--primary-color), 0.5);
    animation: buttonPulse 0.6s ease-out;
}

@keyframes buttonPulse {
    0% { transform: translateY(-3px) scale(1.02); }
    50% { transform: translateY(-3px) scale(1.05); }
    100% { transform: translateY(-3px) scale(1.02); }
}

.btn-secondary {
    background: linear-gradient(135deg, rgb(245, 158, 11) 0%, rgb(34, 197, 94) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--warning-color), 0.4);
}

.btn-outline {
    background: white;
    color: rgba(var(--primary-color), 1);
    border: 2px solid rgba(var(--primary-color), 1);
}

.btn-outline:hover {
    background: rgba(var(--primary-color), 1);
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: rgba(var(--primary-color), 1);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(var(--primary-color), 1);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-text h1 {
        font-size: 2rem;
    }
    
    .guide-section {
        padding: 1.5rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .overview-cards {
        grid-template-columns: 1fr;
    }
    
    .priority-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .conversion-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .cash-amount,
    .coin-amount {
        min-width: auto;
    }
    
    .pricing-info {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        gap: 0.75rem;
    }
    
    .btn {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}
