/* ========================================
   COPY TRADING PAGE STYLES
======================================== */

/* ========================================
   HERO SECTION
======================================== */
.copy-trading-hero {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
    padding: 120px 0 80px;
    margin-top: -80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    color: #999999;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #00E0FF;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #999999;
}

.hero-actions {
    display: flex;
    gap: 20px;
}
.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* ========================================
   TRADING CARDS VISUAL
======================================== */
.trading-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trading-card {
    background: #1C1C1C;
    border: 1px solid #2E2E2E;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trader-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trader-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.trader-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.trader-roi {
    font-size: 14px;
    color: #00C076;
    font-weight: 600;
}

.mini-chart {
    width: 80px;
    height: 40px;
}

/* ========================================
   HOW IT WORKS SECTION
======================================== */
.how-it-works {
    padding: 80px 0;
    background: #0F0F0F;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00E0FF, #0099CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #0D0D0D;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: #999999;
    line-height: 1.5;
}

/* ========================================
   TRADERS SECTION
======================================== */
.traders-section {
    padding: 80px 0;
    background: #0D0D0D;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-btn {
    padding: 8px 16px;
    background: #1C1C1C;
    border: 1px solid #2E2E2E;
    border-radius: 6px;
    color: #999999;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #00E0FF;
    color: #0D0D0D;
    border-color: #00E0FF;
}

.sort-select {
    padding: 8px 12px;
    background: #1C1C1C;
    border: 1px solid #2E2E2E;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
}

.traders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.trader-card {
    background: #1C1C1C;
    border: 1px solid #2E2E2E;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trader-card:hover {
    border-color: #00E0FF;
    transform: translateY(-2px);
}

.trader-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.trader-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.trader-category {
    font-size: 12px;
    color: #999999;
    text-transform: uppercase;
}

.trader-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-value.positive {
    color: #00C076;
}

.stat-value.negative {
    color: #FF6B6B;
}

.stat-label {
    font-size: 12px;
    color: #999999;
}

.trader-actions {
    display: flex;
    gap: 10px;
}

.btn-copy {
    flex: 1;
    padding: 10px;
    background: #00E0FF;
    border: none;
    border-radius: 6px;
    color: #0D0D0D;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-copy:hover {
    background: #00B8CC;
}

.btn-view {
    padding: 10px 16px;
    background: transparent;
    border: 1px solid #2E2E2E;
    border-radius: 6px;
    color: #999999;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view:hover {
    border-color: #00E0FF;
    color: #00E0FF;
}

/* ========================================
   FEATURES SECTION
======================================== */
.features-section {
    padding: 80px 0;
    background: #0F0F0F;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00E0FF, #0099CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0D0D0D;
    margin: 0 auto 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: #999999;
    line-height: 1.5;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #00E0FF 0%, #0099CC 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0D0D0D;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: #0D0D0D;
    margin-bottom: 40px;
    opacity: 0.8;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-dark {
    background: #0D0D0D;
    color: #ffffff;
    border: 2px solid #0D0D0D;
}

.btn-dark:hover {
    background: transparent;
    color: #0D0D0D;
}

.btn-outline-dark {
    background: transparent;
    color: #0D0D0D;
    border: 2px solid #0D0D0D;
}

.btn-outline-dark:hover {
    background: #0D0D0D;
    color: #ffffff;
}

/* ========================================
   MODALS
======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 21, 23, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1C1C1C;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #2E2E2E;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.close-btn {
    background: none;
    border: none;
    color: #999999;
    font-size: 24px;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.profile-info h2 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.profile-category {
    font-size: 14px;
    color: #999999;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.profile-description {
    font-size: 14px;
    color: #999999;
    line-height: 1.5;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #2E2E2E;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    color: #999999;
    font-size: 14px;
    cursor: pointer;
    border-right: 1px solid #2E2E2E;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #00E0FF;
    background: rgba(0, 224, 255, 0.1);
}

.tab-btn:last-child {
    border-right: none;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: #0D0D0D;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.copy-form {
    background: #0D0D0D;
    border-radius: 8px;
    padding: 20px;
}

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

.form-label {
    display: block;
    color: #E0E0E0;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px;
    background: #1C1C1C;
    border: 1px solid #2E2E2E;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
}

.form-input:focus {
    outline: none;
    border-color: #00E0FF;
}

.copy-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.modal-actions {
    padding: 20px;
    border-top: 1px solid #2E2E2E;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-wrap: wrap;
    }
    
    .traders-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        border-right: none;
        border-bottom: 1px solid #2E2E2E;
    }
    
    .tab-btn:last-child {
        border-bottom: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .copy-actions,
    .modal-actions {
        flex-direction: column;
    }
}