/* ==========================================
   Futures Page Styles
   ========================================== */

/* Futures Hero Section */
.futures-hero {
    background-color: #0a0e27;
    background-image: url('../images/futures-banner-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.futures-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.1);
}

.futures-hero .container {
    position: relative;
    z-index: 1;
}

.futures-hero-content {
    max-width: 700px;
    color: var(--text-white);
}

.futures-hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.futures-hero-subtitle {
    font-size: var(--font-size-xl);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.95);
}

/* Trusted Section */
.futures-trusted-section {
    background: #fff;
}

.futures-trust-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.futures-trust-feature-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.futures-trust-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.futures-trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 36px;
}

.futures-trust-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.futures-trust-description {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Futures Tools Section */
.futures-tools-section {
    background: var(--light-color);
}

.futures-tools-list {
    display: grid;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.futures-tool-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-xl);
    align-items: flex-start;
    transition: all var(--transition-speed) ease;
}

.futures-tool-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.futures-tool-icon-circle {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 28px;
}

.futures-tool-content {
    flex: 1;
}

.futures-tool-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.futures-tool-description {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Commissions Section */
.futures-commissions-section {
    background: #fff;
}

.futures-commissions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.futures-commissions-text {
    padding-right: var(--spacing-xl);
}

.futures-commissions-subtitle {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin: var(--spacing-md) 0;
}

.futures-commissions-visual {
    display: flex;
    justify-content: center;
}

.futures-commission-stat {
    text-align: center;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(61, 90, 254, 0.1), rgba(13, 134, 255, 0.1));
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.futures-commission-stat i {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.futures-commission-stat h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.futures-commission-stat p {
    color: var(--text-gray);
    font-size: var(--font-size-lg);
}

/* Intraday Margin Section */
.futures-intraday-margin-section {
    background: var(--light-color);
}

/* Futures Products Section */
.futures-products-section {
    background: #fff;
}

.futures-product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin: var(--spacing-2xl) 0;
}

.futures-category-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.futures-category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.futures-category-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    color: var(--text-white);
}

.futures-table-wrapper {
    margin-top: var(--spacing-xl);
}

.futures-table-note {
    text-align: center;
    color: var(--text-gray);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.futures-table-scroll {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.futures-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
    background: #fff;
}

.futures-table thead {
    background: var(--dark-color);
    color: var(--text-white);
}

.futures-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 600;
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

.futures-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-speed) ease;
}

.futures-table tbody tr:hover {
    background: var(--light-color);
}

.futures-table td {
    padding: var(--spacing-md);
    color: var(--text-dark);
    font-size: var(--font-size-sm);
}

.futures-table td:first-child {
    font-weight: 700;
    color: var(--primary-color);
}

/* Trading Hours Section */
.futures-trading-hours-section {
    background: var(--light-color);
}

.futures-trading-hours-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
    max-width: 900px;
    margin: 0 auto;
}

.futures-hours-icon {
    font-size: 120px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.futures-hours-text {
    flex: 1;
}

.futures-hours-highlight {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-color);
    margin: var(--spacing-md) 0;
}

/* Futures Steps Section */
.futures-steps-section {
    background: #fff;
}

.futures-steps-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.futures-steps-left {
    padding-right: var(--spacing-2xl);
}

.futures-steps-left .section-title {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.futures-steps-left .section-description {
    font-size: var(--font-size-lg);
    color: var(--text-gray);
    margin-bottom: var(--spacing-2xl);
    text-align: left;
}

.futures-steps-right {
    position: relative;
}

.futures-steps-flow {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    position: relative;
}

.futures-step-item {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    position: relative;
    padding-left: var(--spacing-md);
}

.futures-step-item::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-color) 50%, transparent 50%, transparent 100%);
    background-size: 2px 8px;
    background-repeat: repeat-y;
}

.futures-step-item:last-child::before {
    display: none;
}

.futures-step-number {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 28px;
    color: var(--text-dark);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.futures-step-content {
    flex: 1;
    padding-top: var(--spacing-xs);
}

.futures-step-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.futures-step-description {
    color: var(--text-gray);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

/* Free Tools Section */
.futures-free-tools-section {
    background: var(--light-color);
}

.futures-free-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.futures-free-tool-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.futures-free-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.futures-free-tool-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 36px;
}

.futures-free-tool-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.futures-free-tool-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.futures-btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.futures-btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Futures Contact Section */
.futures-contact-section {
    background: #fff;
}

.futures-contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.futures-contact-methods {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    margin: var(--spacing-2xl) 0;
}

.futures-contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.futures-contact-method i {
    font-size: 48px;
    color: var(--primary-color);
}

.futures-contact-link {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.futures-contact-link:hover {
    color: var(--primary-color);
}

/* Responsive Styles for Futures Page */
@media (max-width: 992px) {
    .futures-hero-title {
        font-size: 42px;
    }

    .futures-hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .futures-trust-features-grid {
        grid-template-columns: 1fr;
    }

    .futures-commissions-content {
        grid-template-columns: 1fr;
    }

    .futures-commissions-text {
        padding-right: 0;
    }

    .futures-trading-hours-content {
        flex-direction: column;
        text-align: center;
    }

    .futures-free-tools-grid {
        grid-template-columns: 1fr;
    }

    .futures-contact-methods {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .futures-hero {
        min-height: auto;
        padding: var(--spacing-2xl) 0;
    }

    .futures-hero-title {
        font-size: 36px;
    }

    .futures-hero-subtitle {
        font-size: var(--font-size-base);
    }

    .futures-trust-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .futures-tool-item {
        flex-direction: column;
        text-align: center;
    }

    .futures-tool-icon-circle {
        margin: 0 auto;
    }

    .futures-product-categories {
        justify-content: flex-start;
    }

    .futures-category-btn {
        font-size: 12px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .futures-table {
        font-size: 12px;
    }

    .futures-table th,
    .futures-table td {
        padding: var(--spacing-sm);
    }

    .futures-hours-icon {
        font-size: 80px;
    }

    .futures-hours-highlight {
        font-size: var(--font-size-2xl);
    }

    .futures-free-tool-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .futures-steps-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .futures-steps-left {
        padding-right: 0;
        text-align: center;
    }

    .futures-steps-left .section-title {
        text-align: center;
        font-size: 36px;
    }

    .futures-steps-left .section-description {
        text-align: center;
    }

    .futures-step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .futures-step-item::before {
        left: 45px;
        top: 50px;
    }
}

@media (max-width: 480px) {
    .futures-hero-title {
        font-size: 28px;
    }

    .futures-commission-stat {
        padding: var(--spacing-lg);
    }

    .futures-commission-stat i {
        font-size: 48px;
    }

    .futures-commission-stat h3 {
        font-size: var(--font-size-xl);
    }

    .futures-contact-method i {
        font-size: 36px;
    }

    .futures-contact-link {
        font-size: var(--font-size-base);
    }

    .futures-steps-left .section-title {
        font-size: 28px;
    }

    .futures-step-number {
        width: 45px;
        height: 45px;
        font-size: 20px;
        border-width: 2px;
    }

    .futures-step-item::before {
        left: 45px;
        top: 45px;
    }

    .futures-step-title {
        font-size: 20px;
    }

    .futures-step-description {
        font-size: var(--font-size-sm);
    }
}

