/* Trading Accounts Page Styles */

/* Hero Section */
.accounts-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.accounts-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.accounts-hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item span {
    color: var(--text-dark);
    font-size: 1rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.accounts-hero-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.accounts-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Account Types Section */
.account-types-section {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.account-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.account-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.account-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 100, 250, 0.15);
    border-color: var(--primary-color);
}

.account-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.account-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.account-badge.premium {
    background: linear-gradient(135deg, #0064fa 0%, #0050c8 100%);
}

.account-icon {
    width: 80px;
    height: 80px;
    margin: 1.5rem auto 1.5rem;
    display: block;
}

.account-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.account-intro {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 2rem;
    min-height: 48px;
}

.account-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.account-feature {
    text-align: center;
}

.account-feature h4 {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.account-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.account-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.account-benefits img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.account-card .btn-primary {
    width: 100%;
    justify-content: center;
}

/* Comparison Table */
.comparison-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table thead {
    background: var(--primary-color);
    color: white;
}

.comparison-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table th.featured-col {
    background: var(--primary-dark);
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table td.featured-col {
    background: #f0f7ff;
}

/* Why Choose Section */
.why-choose-section {
    padding: 5rem 0;
    background: white;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.why-choose-card {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: block;
}

.why-choose-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.why-choose-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Features Detail Section */
.features-detail-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.features-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-detail-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.features-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.features-detail-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.detail-features {
    display: grid;
    gap: 2rem;
}

.detail-feature {
    display: flex;
    gap: 1.5rem;
}

.feature-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Instruments Section */
.instruments-section {
    padding: 5rem 0;
    background: white;
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.instrument-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.instrument-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 100, 250, 0.15);
    border-color: var(--primary-color);
}

.instrument-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.instrument-icon i {
    font-size: 3.5rem;
}

.instrument-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.instrument-card > p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    min-height: 40px;
}

.instrument-list {
    list-style: none;
    padding: 0;
}

.instrument-list li {
    padding: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.instrument-list li:last-child {
    border-bottom: none;
}

/* Platform Support Section */
.platform-support-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.platform-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.platform-logo-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.platform-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.platform-logo-item img {
    height: 60px;
    width: auto;
    margin: 0 auto 1rem;
    display: block;
}

.platform-logo-item p {
    font-weight: 600;
    color: var(--text-dark);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .accounts-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .account-cards {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-detail-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .instruments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .accounts-hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .section-header h2,
    .features-detail-text h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .account-card {
        padding: 2rem 1.5rem;
    }
    
    .instruments-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-logos {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .accounts-hero {
        padding: 2rem 0;
    }
    
    .accounts-hero-text h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .account-types-section,
    .comparison-section,
    .why-choose-section,
    .features-detail-section,
    .instruments-section,
    .platform-support-section,
    .faq-section {
        padding: 3rem 0;
    }
}

