/* ==================== GLOBAL VARIABLES ==================== */
:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary: #3b82f6;
    --dark: #0a0a0a;
    --darker: #050505;
    --gray: #1a1a1a;
    --gray-light: #2a2a2a;
    --text-muted: #9ca3af;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-hover: linear-gradient(135deg, var(--primary-dark) 0%, #2563eb 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ==================== PRELOADER ==================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-light);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== GLASS EFFECT ==================== */
.glass-effect {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
}

/* ==================== GRADIENT TEXT ==================== */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ==================== NAVBAR ==================== */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 10, 0.98);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.btn-gradient {
    background: var(--gradient);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3);
}

/* ==================== CRYPTO TICKER ==================== */
.crypto-ticker {
    background: var(--darker);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    top: 76px;
    z-index: 998;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: tickerScroll 35s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    margin-right: 2rem;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
}

.ticker-item i {
    margin-right: 4px;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 60px;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-badge .badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.stats .vr {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-card {
    border-radius: 32px;
    padding: 20px;
}

.dashboard-preview {
    text-align: center;
    padding: 40px 20px;
}

/* ==================== PLAN CARDS ==================== */
.plans-section {
    padding: 80px 0 !important;
}

.plan-card {
    background: var(--gray);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 25px 40px -12px rgba(16, 185, 129, 0.25);
}

.plan-card.featured {
    border: 1px solid var(--primary);
    position: relative;
    background: linear-gradient(135deg, var(--gray) 0%, #1a2a1a 100%);
}

.plan-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.plan-card .card-body {
    padding: 32px 24px !important;
}

.popular-badge,
.best-value-badge,
.pro-badge {
    display: inline-block;
    background: var(--gradient);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.best-value-badge {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.pro-badge {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.features-list li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li i {
    width: 20px;
    color: var(--primary);
}

.plan-card .btn-gradient {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 40px;
}

/* ==================== STEP CARDS ==================== */
.how-it-works {
    padding: 80px 0 !important;
    background: var(--darker);
}

.step-card {
    background: var(--gray);
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative;
    padding: 32px 24px !important;
    text-align: center;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
    background: var(--gray-light);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 28px;
}

.step-number {
    position: absolute;
    top: -12px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.step-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 16px 0 8px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ==================== LIVE WITHDRAWALS FEED ==================== */
.live-feed-section {
    background: var(--gray);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0 !important;
}

.feed-header h5 {
    font-size: 1rem;
    font-weight: 600;
}

.live-badge {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.withdrawals-feed {
    max-height: 140px;
    overflow: hidden;
}

.withdrawal-item {
    background: rgba(16, 185, 129, 0.06);
    border-left: 3px solid var(--primary);
    padding: 12px 18px;
    margin-bottom: 8px;
    border-radius: 12px;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
    padding: 80px 0 !important;
    background: var(--darker);
}

.testimonials-section .card {
    background: var(--gray);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonials-section .card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.user-avatar {
    width: 52px;
    height: 52px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar i {
    font-size: 24px;
    color: white;
}

.testimonial-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 16px 0;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: 80px 0 !important;
    background: var(--gray);
}

.accordion-item {
    background: var(--gray-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
    border-radius: 20px !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--gray-light);
    color: white;
    font-weight: 600;
    padding: 20px 24px;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--gray-light);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    background: var(--gray);
    color: var(--text-muted);
    padding: 0 24px 24px 24px;
    line-height: 1.6;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 80px 0 !important;
}

.cta-card {
    border-radius: 40px;
    padding: 60px 40px !important;
    text-align: center;
    background: linear-gradient(135deg, var(--gray) 0%, #0f1a0f 100%);
}

.cta-card h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta-card .lead {
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px !important;
}

.social-link {
    width: 42px;
    height: 42px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient);
    transform: translateY(-3px);
    color: white;
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer h6 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a:hover {
    color: var(--primary) !important;
}

/* ==================== MODAL ==================== */
.modal-content {
    background: var(--gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
}

.modal-body {
    padding: 24px;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeInUp 0.6s ease forwards;
}