:root {
    --tc-navy: #07111f;
    --tc-navy-2: #0f172a;
    --tc-blue: #2563eb;
    --tc-blue-2: #1d4ed8;
    --tc-cyan: #06b6d4;
    --tc-emerald: #10b981;
    --tc-orange: #f97316;
    --tc-bg: #f8fafc;
    --tc-surface: #ffffff;
    --tc-surface-2: #eef6ff;
    --tc-border: #dbe6f3;
    --tc-text: #0f172a;
    --tc-muted: #64748b;
    --tc-shadow: 0 24px 80px rgba(15, 23, 42, .12);
    --tc-shadow-soft: 0 14px 40px rgba(15, 23, 42, .08);
    --tc-radius: 24px;
    --tc-radius-sm: 16px;
}

* { box-sizing: border-box; }

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--tc-text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .14), transparent 34rem),
        radial-gradient(circle at 90% 8%, rgba(6, 182, 212, .16), transparent 28rem),
        var(--tc-bg);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: .2s ease; }
a:hover { color: var(--tc-blue); text-decoration: none; }
button, input, select, textarea { font: inherit; }

.tc-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.tc-shell {
    min-height: 100vh;
    overflow-x: hidden;
}

.tc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(219, 230, 243, .7);
    background: rgba(248, 250, 252, .84);
    backdrop-filter: blur(20px);
    transition: .25s ease;
}

.tc-header.is-scrolled {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 32px rgba(15, 23, 42, .08);
}

.tc-nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.tc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -.04em;
    color: var(--tc-navy);
    font-size: 1.15rem;
}

.tc-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 12px;
}

.tc-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
}

.tc-nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: #334155;
    font-weight: 700;
    font-size: .94rem;
}

.tc-nav-links a:hover {
    color: var(--tc-blue);
    background: rgba(37, 99, 235, .08);
}

.tc-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tc-user-pill {
    display: inline-flex;
    align-items: center;
    max-width: 180px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--tc-border);
    font-weight: 700;
    color: var(--tc-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.tc-btn:hover { transform: translateY(-2px); }

.tc-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--tc-blue), var(--tc-cyan));
    box-shadow: 0 16px 32px rgba(37, 99, 235, .28);
}

.tc-btn-primary:hover { color: #fff; box-shadow: 0 20px 42px rgba(37, 99, 235, .34); }

.tc-btn-ghost {
    color: var(--tc-navy);
    background: rgba(255, 255, 255, .74);
    border: 1px solid var(--tc-border);
}

.tc-btn-glass {
    color: var(--tc-navy);
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: var(--tc-shadow-soft);
}

.tc-btn-lg {
    min-height: 54px;
    padding: 0 24px;
    font-size: 1rem;
}

.tc-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--tc-border);
    border-radius: 14px;
    background: #fff;
    padding: 10px;
}

.tc-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--tc-navy);
    transition: .2s ease;
}

.tc-main { min-height: 55vh; }

.tc-hero {
    position: relative;
    padding: 86px 0 70px;
    overflow: hidden;
}

.tc-hero::before,
.tc-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: .55;
    pointer-events: none;
}

.tc-hero::before {
    width: 340px;
    height: 340px;
    right: -140px;
    top: 80px;
    background: rgba(6, 182, 212, .22);
}

.tc-hero::after {
    width: 280px;
    height: 280px;
    left: -120px;
    bottom: -100px;
    background: rgba(16, 185, 129, .14);
}

.tc-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .88fr);
    align-items: center;
    gap: 56px;
}

.tc-badge,
.tc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 999px;
    color: var(--tc-blue);
    background: rgba(37, 99, 235, .08);
    font-weight: 900;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.tc-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: .92;
    letter-spacing: -.075em;
    color: var(--tc-navy);
}

.tc-hero p {
    max-width: 670px;
    margin: 24px 0 0;
    color: var(--tc-muted);
    font-size: clamp(1.02rem, 1.5vw, 1.24rem);
}

.tc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.tc-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.tc-trust-row span {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    padding: 10px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(219, 230, 243, .88);
    color: var(--tc-muted);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .05);
}

.tc-trust-row strong { color: var(--tc-navy); }

.tc-dashboard-card {
    position: relative;
    padding: 22px;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(239,246,255,.86));
    border: 1px solid rgba(255,255,255,.86);
    box-shadow: var(--tc-shadow);
}

.tc-dashboard-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(37,99,235,.22), rgba(6,182,212,.1), transparent);
    z-index: -1;
}

.tc-card-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 18px;
    color: var(--tc-navy);
}

.tc-card-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.tc-card-topbar span:nth-child(1) { background: #ef4444; }
.tc-card-topbar span:nth-child(2) { background: #f59e0b; }
.tc-card-topbar span:nth-child(3) { background: #10b981; }
.tc-card-topbar strong { margin-left: auto; font-size: .9rem; }

.tc-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.tc-kpi-grid div,
.tc-chart-card,
.tc-activity-list div,
.tc-glass-panel,
.tc-feature-card {
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(219,230,243,.78);
    box-shadow: 0 12px 34px rgba(15,23,42,.06);
}

.tc-kpi-grid div {
    padding: 18px;
    border-radius: 20px;
}

.tc-kpi-grid small {
    display: block;
    color: var(--tc-muted);
    font-weight: 700;
}

.tc-kpi-grid strong {
    display: block;
    margin: 8px 0 4px;
    font-size: 1.5rem;
    letter-spacing: -.04em;
    color: var(--tc-navy);
}

.tc-kpi-grid em {
    display: inline-flex;
    color: var(--tc-emerald);
    font-style: normal;
    font-weight: 900;
    font-size: .84rem;
}

.tc-chart-card {
    margin-top: 14px;
    padding: 18px;
    border-radius: 22px;
}

.tc-chart-header {
    display: flex;
    justify-content: space-between;
    color: var(--tc-muted);
    font-weight: 800;
}

.tc-chart-header strong { color: var(--tc-blue); }

.tc-chart-bars {
    height: 160px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    gap: 12px;
    margin-top: 20px;
}

.tc-chart-bars span {
    display: block;
    min-height: 24px;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--tc-cyan), var(--tc-blue));
    box-shadow: 0 12px 22px rgba(37,99,235,.22);
}

.tc-activity-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.tc-activity-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    font-weight: 700;
    color: #334155;
}

.tc-activity-list i { color: var(--tc-blue); }

.tc-section {
    padding: 90px 0;
}

.tc-section-light {
    background: linear-gradient(180deg, rgba(255,255,255,.64), rgba(239,246,255,.6));
}

.tc-section-heading {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.tc-section-heading h2,
.tc-split h2,
.tc-cta h2 {
    margin: 0;
    color: var(--tc-navy);
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1;
    letter-spacing: -.06em;
}

.tc-section-heading p,
.tc-split > div > p,
.tc-cta p {
    margin: 18px 0 0;
    color: var(--tc-muted);
    font-size: 1.08rem;
}

.tc-feature-grid {
    display: grid;
    gap: 22px;
}

.tc-feature-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tc-feature-card {
    position: relative;
    padding: 28px;
    border-radius: var(--tc-radius);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tc-feature-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--tc-blue), var(--tc-cyan), var(--tc-emerald));
    opacity: 0;
    transition: .2s ease;
}

.tc-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--tc-shadow);
    border-color: rgba(37,99,235,.22);
}

.tc-feature-card:hover::before { opacity: 1; }

.tc-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--tc-blue), var(--tc-cyan));
    box-shadow: 0 14px 26px rgba(37,99,235,.24);
    font-size: 1.2rem;
}

.tc-feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    color: var(--tc-navy);
    letter-spacing: -.03em;
}

.tc-feature-card p {
    margin: 0 0 18px;
    color: var(--tc-muted);
}

.tc-feature-card a {
    color: var(--tc-blue);
    font-weight: 900;
}

.tc-split {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 56px;
    align-items: center;
}

.tc-process-list {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.tc-process-list > div {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--tc-border);
    border-radius: 22px;
    background: rgba(255,255,255,.68);
}

.tc-process-list span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: var(--tc-navy);
    font-weight: 900;
}

.tc-process-list h3 {
    margin: 0 0 4px;
    color: var(--tc-navy);
}

.tc-process-list p { margin: 0; color: var(--tc-muted); }

.tc-glass-panel {
    padding: 30px;
    border-radius: 32px;
    background:
        linear-gradient(145deg, rgba(15, 23, 42, .92), rgba(30, 41, 59, .88)),
        radial-gradient(circle at top right, rgba(6, 182, 212, .34), transparent 16rem);
    color: #fff;
    box-shadow: var(--tc-shadow);
}

.tc-glass-panel h3 {
    margin: 24px 0 8px;
    color: #fff;
    font-size: 1.55rem;
}

.tc-glass-panel p { color: #cbd5e1; }
.tc-glass-panel ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.tc-glass-panel li { display: flex; align-items: center; gap: 10px; color: #e2e8f0; font-weight: 700; }
.tc-glass-panel i { color: var(--tc-cyan); }

.tc-mini-map {
    position: relative;
    height: 190px;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
        radial-gradient(circle at 28% 46%, rgba(6,182,212,.55), transparent 5px),
        radial-gradient(circle at 67% 36%, rgba(16,185,129,.75), transparent 5px),
        radial-gradient(circle at 50% 72%, rgba(249,115,22,.65), transparent 5px),
        rgba(255,255,255,.06);
    background-size: 32px 32px, 32px 32px, auto, auto, auto, auto;
}

.tc-mini-map span {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--tc-cyan), transparent);
    transform-origin: left center;
    animation: tcPulse 2.4s ease-in-out infinite;
}
.tc-mini-map span:nth-child(1) { width: 150px; left: 24%; top: 46%; transform: rotate(-12deg); }
.tc-mini-map span:nth-child(2) { width: 120px; left: 49%; top: 38%; transform: rotate(24deg); animation-delay: .4s; }
.tc-mini-map span:nth-child(3) { width: 110px; left: 34%; top: 68%; transform: rotate(-28deg); animation-delay: .8s; }
.tc-mini-map span:nth-child(4) { width: 90px; left: 62%; top: 58%; transform: rotate(44deg); animation-delay: 1.2s; }

@keyframes tcPulse {
    0%, 100% { opacity: .3; }
    50% { opacity: 1; }
}

.tc-section-dark {
    background: linear-gradient(135deg, var(--tc-navy), #0b2447 55%, #0e7490);
    color: #fff;
}

.tc-cta {
    text-align: center;
    max-width: 850px;
}

.tc-section-dark .tc-eyebrow {
    color: #a7f3d0;
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.15);
}

.tc-section-dark h2 { color: #fff; }
.tc-section-dark p { color: #dbeafe; }
.tc-cta .tc-hero-actions { justify-content: center; }

.tc-footer {
    background: #050b16;
    color: #dbeafe;
    padding: 72px 0 26px;
}

.tc-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
}

.tc-footer-brand img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
    padding: 6px;
}

.tc-footer h3,
.tc-footer h4 {
    color: #fff;
    margin: 0 0 16px;
}

.tc-footer h3 { margin-top: 14px; font-size: 1.5rem; }
.tc-footer p { color: #9fb3c8; margin: 0 0 12px; }
.tc-footer a { display: block; color: #b7c8dc; margin-bottom: 10px; }
.tc-footer a:hover { color: #fff; }

.tc-risk-note {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .9rem;
}

.tc-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.tc-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tc-socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.08);
}

.tc-socials a:hover { background: var(--tc-blue); }

/* Compatibility styling for existing Razor pages */
.account-section,
.process-section,
.about-section,
.platform-section,
.contact-section,
.markets-section,
.client-section,
.privacy-section,
.page-title {
    padding: 80px 0;
}

.auto-container,
.large-container {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.sec-title h2,
.page-title h1 {
    color: var(--tc-navy) !important;
    letter-spacing: -.05em;
}

.sub-title,
.sec-title .sub-title {
    color: var(--tc-blue) !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.inner-box,
.content-box,
.form-inner,
.table,
.card,
.account-block-one .inner-box,
.process-block-one .inner-box {
    border-radius: var(--tc-radius-sm) !important;
}

.account-block-one .inner-box,
.process-block-one .inner-box,
.form-inner,
.card {
    border: 1px solid var(--tc-border) !important;
    box-shadow: var(--tc-shadow-soft) !important;
    background: #fff !important;
}

.theme-btn,
.btn,
button[type='submit'],
input[type='submit'] {
    border-radius: 999px !important;
}

.form-control,
input:not([type='checkbox']):not([type='radio']):not([type='submit']),
select,
textarea {
    border-radius: 14px !important;
    border: 1px solid var(--tc-border) !important;
    min-height: 46px;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(37, 99, 235, .55) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12) !important;
    outline: none !important;
}

.table {
    overflow: hidden;
    border-color: var(--tc-border) !important;
}

.table thead th {
    background: #eef6ff !important;
    color: var(--tc-navy) !important;
    border-color: var(--tc-border) !important;
}

@media (max-width: 1100px) {
    .tc-feature-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tc-hero-grid, .tc-split { grid-template-columns: 1fr; }
    .tc-dashboard-card { max-width: 640px; }
}

@media (max-width: 900px) {
    .tc-nav { min-height: 72px; }
    .tc-menu-toggle { display: inline-block; order: 3; }
    .tc-nav-actions { margin-left: auto; }
    .tc-nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        border: 1px solid var(--tc-border);
        border-radius: 24px;
        background: rgba(255,255,255,.96);
        box-shadow: var(--tc-shadow);
    }
    .tc-nav-links.is-open { display: flex; }
    .tc-nav-links a { justify-content: center; }
}

@media (max-width: 760px) {
    .tc-container { width: min(100% - 24px, 1180px); }
    .tc-hero { padding: 54px 0 50px; }
    .tc-hero h1 { font-size: clamp(2.65rem, 14vw, 4.3rem); }
    .tc-section { padding: 64px 0; }
    .tc-kpi-grid, .tc-feature-grid.four, .tc-footer-grid { grid-template-columns: 1fr; }
    .tc-dashboard-card, .tc-glass-panel, .tc-feature-card { border-radius: 22px; }
    .tc-nav-actions .tc-btn-ghost { display: none; }
    .tc-brand span { display: none; }
    .tc-footer-bottom { flex-direction: column; align-items: flex-start; }
    .tc-process-list > div { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
    .tc-nav-actions .tc-btn-primary { padding: 0 13px; font-size: .88rem; }
    .tc-hero-actions .tc-btn { width: 100%; }
    .tc-trust-row span { width: 100%; justify-content: center; }
}

/* TRADECOMPASS 2.0 - full internal page modernization */
.tc-app-page,
.contact-section,
.account-section,
.process-section,
.about-section,
.platform-section,
.markets-section,
.client-section,
.privacy-section {
    position: relative;
    padding: 72px 0 88px !important;
}

.tc-app-page::before,
.contact-section::before,
.account-section::before,
.process-section::before,
.about-section::before,
.platform-section::before,
.markets-section::before,
.client-section::before,
.privacy-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 10%, rgba(37, 99, 235, .10), transparent 24rem),
        radial-gradient(circle at 92% 8%, rgba(16, 185, 129, .08), transparent 22rem);
    z-index: -1;
}

.tc-page-hero,
.contact-section .info-inner,
.contact-section .content-box,
.contact-section .form-inner,
.contact-section .inner-box,
.table-responsive,
.tc-modern-card {
    border: 1px solid rgba(219, 230, 243, .92) !important;
    background: rgba(255, 255, 255, .86) !important;
    box-shadow: 0 22px 70px rgba(15, 23, 42, .09) !important;
    backdrop-filter: blur(18px);
}

.tc-page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    margin-bottom: 28px;
    border-radius: 28px;
    overflow: hidden;
}

.tc-page-hero.compact h1,
.tc-page-hero h1 {
    margin: 8px 0 10px;
    color: var(--tc-navy);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -.06em;
    font-weight: 900;
}

.tc-page-hero p { max-width: 680px; color: var(--tc-muted); margin: 0; font-weight: 600; }

.contact-section .info-inner,
.contact-section .content-box,
.contact-section .form-inner,
.contact-section .inner-box {
    border-radius: 26px !important;
    padding: 26px !important;
}

.contact-section h1,
.contact-section h2,
.contact-section h3,
.contact-section h4,
.contact-section h5,
.contact-section strong:first-child,
.auto-container > h1,
.auto-container > h2,
.auto-container > h3,
.auto-container > h4,
.auto-container > h5 {
    color: var(--tc-navy) !important;
    letter-spacing: -.035em;
    font-weight: 900 !important;
}

hr {
    border: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .25), transparent) !important;
    opacity: 1 !important;
}

/* Universal modern buttons including old Bootstrap classes */
.btn,
.theme-btn,
button[type='submit'],
input[type='submit'],
input[type='button'],
a.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 44px !important;
    padding: 11px 18px !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: -.01em !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .10) !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease !important;
}

.btn:hover,
.theme-btn:hover,
button[type='submit']:hover,
input[type='submit']:hover,
a.btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16) !important;
}

.btn-sm {
    min-height: 34px !important;
    padding: 8px 12px !important;
    font-size: .78rem !important;
}

.btn-success,
.btn-primary,
.theme-btn.btn-one,
input[type='submit'].btn-success,
button.btn-success {
    color: #fff !important;
    background: linear-gradient(135deg, var(--tc-blue), var(--tc-cyan)) !important;
    border-color: transparent !important;
}

.btn-warning,
.btn-outline-warning {
    color: #fff !important;
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    border-color: transparent !important;
}

.btn-danger,
.btn-outline-danger {
    color: #fff !important;
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
    border-color: transparent !important;
}

.btn-info,
.btn-outline-info,
.btn-outline-success,
.btn-outline-primary,
.btn-outline-secondary {
    color: var(--tc-navy) !important;
    background: rgba(255, 255, 255, .86) !important;
    border-color: var(--tc-border) !important;
}

.btn-outline-success:hover,
.btn-outline-primary:hover,
.btn-outline-info:hover,
.btn-outline-secondary:hover {
    color: #fff !important;
    background: linear-gradient(135deg, var(--tc-blue), var(--tc-emerald)) !important;
}

/* Forms */
.form-group { margin-bottom: 18px !important; }
label,
.form-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 850;
    font-size: .92rem;
}

.form-control,
input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']),
select,
textarea {
    width: 100%;
    min-height: 50px !important;
    padding: 12px 15px !important;
    color: var(--tc-navy) !important;
    background: rgba(255, 255, 255, .92) !important;
    border: 1px solid rgba(203, 213, 225, .95) !important;
    border-radius: 16px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 24px rgba(15, 23, 42, .04) !important;
}

textarea.form-control,
textarea { min-height: 120px !important; }

.form-control[readonly],
input[readonly],
select[readonly],
textarea[readonly] {
    background: rgba(241, 245, 249, .92) !important;
    color: #64748b !important;
}

.text-danger,
.field-validation-error { color: #ef4444 !important; font-weight: 750; }

/* Modern tables */
.table,
table.table,
table.trading-table,
table[style*='width:100%'],
.contact-section table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(219, 230, 243, .96) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 18px 55px rgba(15, 23, 42, .08) !important;
}

.table-responsive,
.tc-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 24px;
    padding: 0;
}

.table thead th,
table.trading-table thead th,
.contact-section table thead th,
table th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 16px 18px !important;
    color: #eaf2ff !important;
    background: linear-gradient(135deg, #0f172a, #1e3a8a) !important;
    border: 0 !important;
    font-size: .78rem !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}

.table td,
table.trading-table td,
.contact-section table td,
table td {
    padding: 15px 18px !important;
    color: #334155 !important;
    border-top: 1px solid rgba(226, 232, 240, .95) !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    vertical-align: middle !important;
    font-weight: 650;
}

.table tbody tr,
table.trading-table tbody tr,
.contact-section table tbody tr {
    transition: background .18s ease, transform .18s ease;
}

.table tbody tr:nth-child(even),
.contact-section table tbody tr:nth-child(even) { background: rgba(248, 250, 252, .78) !important; }

.table tbody tr:hover,
table.trading-table tbody tr:hover,
.contact-section table tbody tr:hover {
    background: rgba(37, 99, 235, .075) !important;
}

.table td:last-child,
.contact-section table td:last-child {
    min-width: 190px;
}

/* Status chips auto applied by markup classes or common text containers */
.tc-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    background: rgba(37, 99, 235, .1);
    color: #1d4ed8;
}
.tc-status-pill.active { background: rgba(16, 185, 129, .12); color: #047857; }

/* Dashboard redesign */
.tc-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.tc-stat-card {
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    min-height: 164px;
    padding: 24px;
    border: 1px solid rgba(219, 230, 243, .92);
    border-radius: 26px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 56px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.tc-stat-card::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    right: -48px;
    top: -48px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .11);
}

.tc-stat-card.primary { background: linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(30, 64, 175, .92)); color: #fff; }
.tc-stat-card.primary span,
.tc-stat-card.primary small { color: #cbd5e1; }
.tc-stat-card.success::after { background: rgba(16, 185, 129, .14); }
.tc-stat-card.accent::after { background: rgba(249, 115, 22, .14); }

.tc-stat-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--tc-blue), var(--tc-cyan));
    box-shadow: 0 14px 30px rgba(37, 99, 235, .28);
}

.tc-stat-card span,
.tc-stat-card small {
    display: block;
    color: var(--tc-muted);
    font-weight: 800;
}
.tc-stat-card span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.tc-stat-card strong { display: block; margin: 8px 0 6px; color: inherit; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.05; letter-spacing: -.05em; }
.tc-stat-card small { font-size: .86rem; }

.tc-dashboard-panels {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
    gap: 24px;
}

.tc-modern-card {
    padding: 28px;
    border-radius: 28px;
}

.tc-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
.tc-card-header h2 { margin: 7px 0 0; color: var(--tc-navy); font-size: 1.45rem; font-weight: 900; letter-spacing: -.04em; }

.tc-performance-visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 24px;
    align-items: stretch;
}

.tc-chart-bars {
    min-height: 260px;
    display: flex;
    align-items: end;
    gap: 14px;
    padding: 24px;
    border-radius: 24px;
    background:
        linear-gradient(rgba(226,232,240,.55) 1px, transparent 1px) 0 0 / 100% 25%,
        linear-gradient(135deg, rgba(37, 99, 235, .07), rgba(6, 182, 212, .08));
}

.tc-chart-bars span {
    flex: 1;
    min-width: 20px;
    border-radius: 999px 999px 12px 12px;
    background: linear-gradient(180deg, var(--tc-cyan), var(--tc-blue));
    box-shadow: 0 12px 30px rgba(37, 99, 235, .18);
}

.tc-performance-summary {
    padding: 24px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
}
.tc-performance-summary strong { display: block; font-size: 2rem; line-height: 1; letter-spacing: -.05em; }
.tc-performance-summary span { display: block; margin: 8px 0 14px; color: #bfdbfe; font-weight: 850; }
.tc-performance-summary p { color: #dbeafe; margin: 0; }

.tc-action-list { display: grid; gap: 12px; }
.tc-action-list a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid rgba(219, 230, 243, .92);
    border-radius: 18px;
    background: rgba(248, 250, 252, .78);
    color: var(--tc-navy);
    font-weight: 850;
}
.tc-action-list a:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(15,23,42,.08); }
.tc-action-list i { color: var(--tc-blue); }

/* Mobile table cards */
@media (max-width: 760px) {
    .tc-page-hero { flex-direction: column; align-items: flex-start; padding: 24px; }
    .tc-page-hero .tc-hero-actions { width: 100%; }
    .tc-page-hero .tc-hero-actions .tc-btn { width: 100%; }
    .tc-dashboard-grid,
    .tc-dashboard-panels,
    .tc-performance-visual { grid-template-columns: 1fr; }
    .tc-modern-card { padding: 20px; border-radius: 22px; }
    .tc-chart-bars { min-height: 200px; padding: 18px; gap: 9px; }

    table.table,
    .contact-section table:not(.keep-table) {
        display: block !important;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    table.table thead,
    .contact-section table:not(.keep-table) thead { display: none !important; }
    table.table tbody,
    table.table tr,
    table.table td,
    .contact-section table:not(.keep-table) tbody,
    .contact-section table:not(.keep-table) tr,
    .contact-section table:not(.keep-table) td { display: block !important; width: 100% !important; }
    table.table tr,
    .contact-section table:not(.keep-table) tr {
        margin-bottom: 16px !important;
        border: 1px solid rgba(219, 230, 243, .96) !important;
        border-radius: 20px !important;
        background: rgba(255,255,255,.92) !important;
        box-shadow: 0 14px 38px rgba(15,23,42,.08) !important;
        overflow: hidden;
    }
    table.table td,
    .contact-section table:not(.keep-table) td {
        display: flex !important;
        justify-content: space-between;
        gap: 14px;
        padding: 13px 15px !important;
        text-align: right;
    }
    table.table td::before,
    .contact-section table:not(.keep-table) td::before {
        content: attr(data-label);
        color: #64748b;
        font-weight: 900;
        text-align: left;
        text-transform: uppercase;
        font-size: .72rem;
        letter-spacing: .06em;
    }
    table.table td:last-child,
    .contact-section table:not(.keep-table) td:last-child {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: flex-start;
        text-align: left;
        min-width: 0;
    }
    table.table td:last-child::before,
    .contact-section table:not(.keep-table) td:last-child::before { width: 100%; }
}


/* Modern action buttons: used across Request, P/L and table action columns */
.tc-actions-cell {
    text-align: center !important;
    white-space: nowrap;
}

.tc-action-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tc-action-btn,
a.tc-action-btn,
input.tc-action-btn,
button.tc-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 38px !important;
    padding: 9px 14px !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: .82rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -.01em !important;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .12) !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.tc-action-btn:hover,
a.tc-action-btn:hover,
input.tc-action-btn:hover,
button.tc-action-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .18) !important;
    text-decoration: none !important;
    filter: saturate(1.08);
}

.tc-action-btn i { font-size: .9rem; }

.tc-action-approve,
.tc-action-create,
.tc-action-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
}

.tc-action-withdraw,
.tc-action-warning {
    color: #fff !important;
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
}

.tc-action-reinvest,
.tc-action-success {
    color: #fff !important;
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.tc-action-history,
.tc-action-view,
.tc-action-edit {
    color: #0f172a !important;
    background: linear-gradient(135deg, #ffffff, #eef6ff) !important;
    border: 1px solid rgba(203, 213, 225, .95) !important;
}

.tc-action-delete,
.tc-action-danger {
    color: #fff !important;
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
}

.tc-action-muted {
    color: #475569 !important;
    background: #f1f5f9 !important;
}

@media (max-width: 768px) {
    .tc-actions-cell { white-space: normal; }
    .tc-action-group { justify-content: flex-start; }
    .tc-action-btn,
    a.tc-action-btn,
    input.tc-action-btn,
    button.tc-action-btn {
        width: 100%;
        min-height: 42px !important;
    }
}
.tc-accounts-section,
.tc-features-section {
    padding: 80px 0;
    background: #f8fafc;
}

.tc-features-section {
    padding-top: 20px;
    padding-bottom: 100px;
}

.tc-section-heading {
    max-width: 760px;
    margin: 0 auto 44px;
}

    .tc-section-heading h2 {
        margin-bottom: 14px;
        color: #0f172a;
        font-size: clamp(30px, 4vw, 46px);
        font-weight: 800;
    }

    .tc-section-heading p {
        color: #64748b;
        font-size: 17px;
        line-height: 1.7;
    }

.tc-eyebrow-dark {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tc-account-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.tc-account-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    transition: all .25s ease;
}

    .tc-account-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 26px 70px rgba(15, 23, 42, .12);
    }

    .tc-account-card.featured {
        border-color: rgba(37, 99, 235, .35);
        background: radial-gradient(circle at top right, rgba(37, 99, 235, .10), transparent 35%), #ffffff;
    }

.tc-card-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.tc-account-icon,
.tc-feature-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff;
    font-size: 26px;
}

.tc-account-card h3,
.tc-feature-card h3 {
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 21px;
    font-weight: 800;
}

.tc-account-card p {
    flex: 1;
    margin-bottom: 22px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

.tc-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}

.tc-feature-card {
    padding: 26px;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

    .tc-feature-card ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .tc-feature-card li {
        position: relative;
        padding-left: 24px;
        margin-bottom: 11px;
        color: #475569;
        font-size: 14.5px;
        line-height: 1.5;
    }

        .tc-feature-card li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: #10b981;
            font-weight: 900;
        }

@media (max-width: 1199px) {
    .tc-account-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tc-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .tc-account-grid,
    .tc-feature-grid {
        grid-template-columns: 1fr;
    }

    .tc-account-card {
        min-height: auto;
    }

    .tc-accounts-section,
    .tc-features-section {
        padding: 55px 0;
    }
}
.tc-about-modern-section,
.tc-values-section,
.tc-mission-modern-section {
    padding: 80px 0;
    background: #f8fafc;
}

.tc-about-highlight-grid,
.tc-mission-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tc-mission-modern-grid {
    grid-template-columns: repeat(2, 1fr);
}

.tc-about-highlight-card,
.tc-value-card,
.tc-mission-modern-card {
    position: relative;
    padding: 30px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

    .tc-about-highlight-card.featured {
        background: radial-gradient(circle at top right, rgba(37, 99, 235, .14), transparent 40%), #ffffff;
        border-color: rgba(37, 99, 235, .35);
    }

.tc-about-number {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff;
    font-weight: 900;
}

.tc-about-highlight-card h3,
.tc-value-card h3,
.tc-mission-modern-card h3 {
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
}

.tc-about-highlight-card p,
.tc-value-card p,
.tc-mission-modern-card p {
    color: #475569;
    font-size: 15.5px;
    line-height: 1.7;
}

.tc-mission-modern-card span {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.tc-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.tc-btn-light {
    background: rgba(255,255,255,.16);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.35);
}

    .tc-btn-light:hover {
        color: #ffffff;
        background: rgba(255,255,255,.24);
    }

@media (max-width: 991px) {
    .tc-about-highlight-grid,
    .tc-mission-modern-grid {
        grid-template-columns: 1fr;
    }
}

.tc-mobile-panel {
    display: flex;
    align-items: center;
    gap: 28px;
}

@media (max-width: 991px) {
    .tc-mobile-panel {
        position: absolute;
        top: calc(100% + 12px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 20px;
        border: 1px solid rgba(226, 232, 240, .9);
        border-radius: 24px;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
        z-index: 999;
    }

        .tc-mobile-panel.is-open {
            display: flex;
        }

        .tc-mobile-panel .tc-nav-links {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

            .tc-mobile-panel .tc-nav-links a {
                padding: 12px 14px;
                border-radius: 14px;
                background: #f8fafc;
                color: #0f172a;
                font-weight: 700;
            }

        .tc-mobile-panel .tc-nav-actions {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            width: 100%;
            padding-top: 12px;
            border-top: 1px solid #e2e8f0;
        }

            .tc-mobile-panel .tc-nav-actions .tc-btn,
            .tc-mobile-panel .tc-nav-actions form,
            .tc-mobile-panel .tc-nav-actions button {
                width: 100%;
            }
}

@media (max-width: 991px) {
    .tc-nav {
        position: relative;
    }

    .tc-mobile-panel {
        position: absolute;
        top: calc(100% + 12px);
        left: 16px;
        right: 16px;
        display: none !important;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px;
        border-radius: 22px;
        background: #ffffff;
        box-shadow: 0 24px 70px rgba(15, 23, 42, .20);
        z-index: 9999;
    }

        .tc-mobile-panel.is-open {
            display: flex !important;
        }

        .tc-mobile-panel .tc-nav-links {
            display: flex !important;
            flex-direction: column;
            width: 100%;
            gap: 8px;
        }

        .tc-mobile-panel .tc-nav-actions {
            display: flex !important;
            flex-direction: column;
            width: 100%;
            gap: 10px;
            padding-top: 12px;
            border-top: 1px solid #e2e8f0;
        }

            .tc-mobile-panel .tc-nav-actions a,
            .tc-mobile-panel .tc-nav-actions button,
            .tc-mobile-panel .tc-nav-actions form {
                display: flex !important;
                width: 100% !important;
            }

            .tc-mobile-panel .tc-nav-actions .tc-btn {
                justify-content: center;
                min-height: 46px;
            }
}