




/* ========== SECTION BACKGROUND ========== */
/* ========== SECTION BASE (REVISED) ========== */
#trading.trading-section {
    background: radial-gradient(circle at top left, #0f172a, #1e293b 40%, #020617);
    padding: 60px 5vw; /* uses viewport width for better responsiveness */
    border-radius: 20px;
    color: #ffffff;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.06);
    overflow-x: hidden; /* prevents horizontal overflow */
    position: relative;
}


#trading > * {
    position: relative;
    z-index: 1;
}
#trading::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 0;
}

/* ========== INTRO TEXT ========== */
#trading .intro-text {
    max-width: 750px;
    margin: 0 auto 3rem;
    text-align: center;
}
#trading .intro-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fde68a;
    margin-bottom: 1rem;
}
#trading .intro-text p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.7;
}

/* ========== SECTION HEADER ========== */
#trading .text-center h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
}
#trading .text-center svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 6px;
}
#trading .highlight-text {
    color: #60a5fa;
}
#trading .text-yellow-300 {
    color: #fde68a;
}

/* ========== CTA BUTTON ========== */
#trading .try-demo-btn {
    background: linear-gradient(to right, #22c55e, #3b82f6);
    color: white;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}
#trading .try-demo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.6);
}

/* ========== FEATURE GRID ========== */
#trading .features {
    display: grid;
    gap: 24px;
    margin-top: 30px;
}
@media (min-width: 768px) {
    #trading .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== FEATURE CARD ========== */
#trading .feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}


/* ========== CARD HEADINGS ========== */
#trading .feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
#trading .feature-card h3 svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ========== TEXT ========== */
#trading .feature-card p,
#trading .feature-card .text-sm {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d1d5db;
}

/* ========== TABLE STYLES ========== */
#trading table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #334155;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #e2e8f0;
}
#trading table thead {
    background-color: #1e293b;
    color: #94a3b8;
}
#trading table th,
#trading table td {
    padding: 12px 16px;
    text-align: left;
}
#trading table tbody tr:nth-child(even) {
    background-color: #1a1f2b;
}
#trading table tbody tr:nth-child(odd) {
    background-color: #111827;
}
#trading table th {
    font-weight: 600;
}

/* ========== IFRAME VIDEO ========== */
#trading iframe {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 1rem;
    box-shadow: 0 0 16px rgba(0, 255, 255, 0.08);
    border: none;
}



/* ========= TABLE INTRO AREA ========== */
#trading .table-intro {
    max-width: 800px;
    margin: 60px auto 30px;
    text-align: center;
    background: linear-gradient(145deg, rgba(30,41,59,0.8), rgba(15,23,42,0.8));
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0,255,255,0.05);
    position: relative;
    overflow: hidden;
}
#trading .table-intro::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(59,130,246,0.15), transparent 70%);
    filter: blur(80px);
    z-index: 0;
}
#trading .table-intro * {
    position: relative;
    z-index: 1;
}
#trading .table-intro h3 {
    font-size: 1.75rem;
    color: #fde68a;
    margin-bottom: 0.75rem;
    font-weight: 700;
}
#trading .table-intro p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.7;
}

/* ========= STRESSED WORDS ========== */
#trading .table-intro strong,
#trading .feature-card strong,
#trading .follow-up strong {
    color: #38bdf8;
    font-weight: 700;
    transition: color 0.3s ease;
}
#trading .table-intro strong:hover {
    color: #7dd3fc;
}

/* ========= TABLE STYLES ========== */
#trading table {
    border: 1px solid rgba(148,163,184,0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,255,255,0.03);
}
#trading table thead {
    background-color: rgba(51,65,85, 0.9);
}
#trading table th,
#trading table td {
    padding: 14px 18px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
#trading table tr:last-child td {
    border-bottom: none;
}
#trading table tbody tr:hover {
    background-color: rgba(255,255,255,0.04);
}

/* ========= FOLLOW-UP BLOCK ========== */
#trading .follow-up {
    background: linear-gradient(180deg, rgba(15,23,42,0.7), rgba(30,41,59,0.8));
    border-radius: 20px;
    margin-top: 40px;
    padding: 30px 25px;
    box-shadow: 0 0 30px rgba(0,255,255,0.04);
    transition: all 0.3s ease;
}
#trading .follow-up h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7dd3fc;
    margin-bottom: 16px;
}
#trading .follow-up p {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 10px;
    line-height: 1.8;
}
#trading .follow-up:hover {
    background: linear-gradient(180deg, rgba(15,23,42,0.9), rgba(30,41,59,0.95));
    box-shadow: 0 0 50px rgba(0,255,255,0.06);
}



/* ======== RESPONSIVE COMPACT STYLES FOR SMALL SCREENS ======== */
@media (max-width: 768px) {
    #trading.trading-section {
        padding: 10px 5px;
        border-radius: 12px;
        overflow-x: hidden;
    }

    #trading .intro-text {
        margin-bottom: 1.3rem;
        padding: 0 5px;
        text-align: center;
    }

    #trading .intro-text h1 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    #trading .intro-text p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    #trading .text-center h2 {
        font-size: 1.1rem;
        line-height: 1.4;
        padding: 0 10px;
    }

    #trading .text-center svg {
        width: 18px;
        height: 18px;
    }

    #trading .try-demo-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    #trading .features {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 18px;
    }

    #trading .feature-card {
        padding: 10px;
        border-radius: 10px;
    }

    #trading .feature-card h3 {
        font-size: 1rem;
        gap: 6px;
        margin-bottom: 6px;
    }

    #trading .feature-card h3 svg {
        width: 16px;
        height: 16px;
    }

    #trading .feature-card p,
    #trading .feature-card .text-sm {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    #trading iframe {
        width: 100%;
        border-radius: 10px;
        margin-top: 0.75rem;
        aspect-ratio: 16 / 9;
    }

    #trading .table-intro {
        padding: 18px 12px;
        margin: 20px auto 12px;
        border-radius: 12px;
        text-align: center;
    }

    #trading .table-intro h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    #trading .table-intro p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    #trading .follow-up {
        padding: 10px 5px;
        margin-top: 24px;
        border-radius: 12px;
    }

    #trading .follow-up h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    #trading .follow-up p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

	#trading .table-wrapper {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    #trading table {
        width: 100%;
        border-collapse: collapse;
        table-layout: auto;
        font-size: 0.8rem;
        border-radius: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    #trading table thead {
        font-size: 0.75rem;
        background-color: rgba(51, 65, 85, 0.9);
    }

    #trading table th,
    #trading table td {
        padding: 8px 10px;
        white-space: normal;
        word-break: break-word;
        text-align: left;
        vertical-align: top;
    }

    #trading table th {
        font-weight: 600;
    }

    #trading table tbody tr {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    #trading table tbody tr:last-child td {
        border-bottom: none;
    }

    #trading table tbody tr:hover {
        background-color: rgba(255, 255, 255, 0.03);
    }
}

