/* Account Types Page Styles */

/* ========================================
   Trading Banner / Hero Section
   ======================================== */
.trading-banner {
    /* padding-top: 100px; */
    background-color: #f5f4ef;
}

.trading-banner-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* Top Section - Title and Image */
.trading-banner-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f5f4ef;
    padding: 80px 80px 60px;
    position: relative;
    min-height: 380px;
}

.trading-banner-title {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.trading-banner-title h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.25;
    color: #000000;
    margin: 0;
}

.trading-banner-title h1 span {
    position: relative;
    z-index: 1;
}

.trading-banner-img {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.trading-banner-img img {
    max-width: 586px;
    width: 100%;
    height: auto;
    display: block;
}

/* Bottom Section - Description and Button */
.trading-banner-bot {
    background-color: #C6FF00;
    padding: 50px 80px 60px;
}

.trading-banner-text {
    max-width: 900px;
    margin-bottom: 30px;
}

.trading-banner-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #000000;
    margin: 0;
}

.trading-banner-button {
    display: flex;
    align-items: center;
}

.trading-black-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 16px 24px;
    background-color: #000000;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.trading-black-button i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.trading-black-button:hover {
    background-color: #333333;
}

.trading-black-button:hover i {
    transform: translateX(4px);
}

.trading-lime-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 16px 24px;
    background-color: #C6FF00;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.trading-lime-button i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.trading-lime-button:hover {
    background-color: #b8e600;
}

.trading-lime-button:hover i {
    transform: translateX(4px);
}

/* Legacy support for old hero class */
.account-hero {
    background-color: #f8f8f5;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.account-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(198, 255, 0, 0.1) 100%);
    pointer-events: none;
}

.account-hero-content {
    max-width: 700px;
}

.account-hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
    margin-bottom: 30px;
}

.account-hero-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

/* ========================================
   Account Cards Section
   ======================================== */
.account-cards-section {
    padding: 80px 0;
    background-color: #fff;
}

.account-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.account-card {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.account-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.account-card-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
}

.account-card-header p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    max-width: 280px;
}

.account-card-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.account-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Demo Card Special Style */
.account-card.demo-card {
    flex-direction: column;
    background-color: #f8f8f5;
}

.account-card.demo-card .account-card-header {
    margin-bottom: 24px;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: 2px solid #000;
    border-radius: 25px;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: #000;
    color: #fff;
}

/* ========================================
   Account Comparison Section
   ======================================== */
.account-comparison-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.section-title .highlight {
    color: #C6FF00;
    background: linear-gradient(135deg, #C6FF00 0%, #a8d900 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    min-width: 800px;
}

.comparison-table thead tr {
    background-color: #f8f8f5;
}

.comparison-table th {
    padding: 20px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #e8e8e8;
}

.comparison-table th:first-child {
    width: 100px;
}

.table-header-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.account-label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.account-label i {
    font-size: 10px;
    margin-left: 4px;
    color: #666;
}

.table-header-cell.highlight-col {
    position: relative;
}

.table-header-cell.highlight-col::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background-color: #C6FF00;
    border-radius: 50%;
}

.comparison-table td {
    padding: 16px;
    text-align: center;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table td.row-label {
    font-weight: 600;
    text-align: left;
    background-color: #fafafa;
    color: #000;
}

.comparison-table td.highlight-col {
    background-color: rgba(198, 255, 0, 0.08);
}

.comparison-table tbody tr:hover {
    background-color: #fafafa;
}

.comparison-table tbody tr:hover td.highlight-col {
    background-color: rgba(198, 255, 0, 0.15);
}

.table-note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-bottom: 40px;
}

.comparison-cta {
    text-align: center;
}

/* ========================================
   Account Tabs Section (Mobile)
   ======================================== */
.account-tabs-section {
    display: none;
    padding: 60px 0;
    background-color: #f8f8f5;
}

.account-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 20px;
    margin-bottom: 30px;
    -webkit-overflow-scrolling: touch;
}

.account-tab {
    flex-shrink: 0;
    padding: 12px 24px;
    border: none;
    background-color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.account-tab:hover,
.account-tab.active {
    background-color: #C6FF00;
    color: #000;
}

.account-tab-content {
    display: none;
    background-color: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

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

.tab-content-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tab-content-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.tab-content-item:last-child {
    border-bottom: none;
}

.item-label {
    font-weight: 600;
    color: #000;
    font-size: 14px;
}

.item-value {
    color: #666;
    font-size: 14px;
    text-align: right;
    max-width: 60%;
}

/* ========================================
   Trading Steps Section
   ======================================== */
.trading-steps-section {
    padding: 80px 0;
    background-color: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.step-item {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #999;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto;
    background-color: #f8f8f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #C6FF00;
    transition: all 0.3s ease;
}

.step-item:hover .step-icon {
    background-color: #C6FF00;
    color: #000;
    transform: scale(1.1);
}

.step-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 14px;
    color: #666;
}

.steps-cta {
    text-align: center;
}

/* ========================================
   Start Trading Section
   ======================================== */
.start-trading-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #e8f5e0 0%, #d4f0c0 50%, #c6ff00 100%);
    position: relative;
    overflow: hidden;
}

.start-trading-content {
    position: relative;
    z-index: 2;
}

.laptop-mockup {
    max-width: 900px;
    margin: 0 auto 50px;
    position: relative;
}

.laptop-mockup img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.start-trading-text {
    text-align: center;
}

.start-trading-text h2 {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
}

.start-trading-text p {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
}

.start-trading-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ========================================
   Footer Links Grid in CTA
   ======================================== */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.footer-link-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.footer-link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-column ul li {
    margin-bottom: 10px;
}

.footer-link-column ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-link-column ul li a:hover {
    color: var(--primary-green);
}

.app-download {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.app-download img {
    height: 45px;
}

/* ========================================
   Live Chat Widget
   ======================================== */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #C6FF00;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(198, 255, 0, 0.4);
    transition: all 0.3s ease;
    font-size: 24px;
    color: #000;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1200px) {
    .trading-banner-title h1 {
        font-size: 46px;
    }
    
    .trading-banner-top {
        padding: 60px 50px 50px;
    }
    
    .trading-banner-bot {
        padding: 40px 50px 50px;
    }
    
    .trading-banner-img img {
        max-width: 480px;
    }
    
    .account-hero h1 {
        font-size: 42px;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .trading-banner-top {
        flex-direction: column;
        text-align: center;
        padding: 50px 40px 40px;
        min-height: auto;
    }
    
    .trading-banner-title {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .trading-banner-title h1 {
        font-size: 40px;
    }
    
    .trading-banner-img img {
        max-width: 400px;
    }
    
    .trading-banner-bot {
        padding: 40px;
        text-align: center;
    }
    
    .trading-banner-text {
        max-width: 100%;
    }
    
    .trading-banner-button {
        justify-content: center;
    }
    
    .account-hero {
        padding: 140px 0 60px;
    }
    
    .account-hero h1 {
        font-size: 36px;
    }
    
    .account-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table-wrapper {
        display: none;
    }
    
    .account-tabs-section {
        display: block;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .trading-banner {
        padding-top: 80px;
    }
    
    .trading-banner-top {
        padding: 40px 24px 30px;
    }
    
    .trading-banner-title h1 {
        font-size: 32px;
    }
    
    .trading-banner-img img {
        max-width: 300px;
    }
    
    .trading-banner-bot {
        padding: 30px 24px 40px;
    }
    
    .trading-banner-text p {
        font-size: 14px;
        line-height: 1.8;
    }
    
    .trading-black-button {
        width: 100%;
        justify-content: space-between;
    }
    
    .account-hero {
        padding: 120px 0 50px;
    }
    
    .account-hero h1 {
        font-size: 28px;
    }
    
    .account-hero-desc {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .account-card {
        padding: 24px;
    }
    
    .account-card-header h3 {
        font-size: 20px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-item {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 20px;
        background-color: #f8f8f5;
        border-radius: 12px;
    }
    
    .step-number {
        position: static;
        transform: none;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .start-trading-text h2 {
        font-size: 32px;
    }
    
    .start-trading-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    
    .app-download {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .trading-banner-title h1 {
        font-size: 28px;
    }
    
    .trading-banner-img img {
        max-width: 250px;
    }
    
    .account-hero h1 {
        font-size: 24px;
    }
    
    .account-card {
        flex-direction: column;
        gap: 20px;
    }
    
    .account-card-icon {
        align-self: flex-end;
    }
    
    .account-tab {
        padding: 10px 18px;
        font-size: 13px;
    }
}
