/* ═══════════════════════════════════════════════
   SIGNALS DESK  —  Minimal Black Theme
   Pure black · Inter · Green accent #22c55e
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800;1,900&display=swap');

/* ══ OVERRIDE main.css light theme — must come first ══ */
html, body {
    background: #000 !important;
    color: #fff !important;
    font-family: 'Inter', system-ui, sans-serif !important;
}
h1, h2, h3, h4, h5, h6 {
    color: #fff !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    font-weight: 700;
    margin: 0;
}
p { margin: 0; padding: 0; color: rgba(255,255,255,.55); }
a, a:hover, a:focus, a:visited { color: inherit; text-decoration: none; }
span, sub, sup { display: inline; }
section, div, article, aside, main, header, footer, nav { background: transparent; }
/* Fix Bootstrap container inside header — let our nav control width */
.sd-header .container {
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}
/* Kill swap template body classes that apply light bg */
body.swap { background: #000 !important; }

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #000 !important;
    color: #fff !important;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* overflow-x removed — clips position:fixed right panel */
}
html { overflow-x: hidden; } /* clip overflow on html, doesn't affect fixed children */
body.lightmode { background: #000 !important; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

/* ── Design Tokens ── */
:root {
    --bg:      #000;
    --bg-1:    #0a0a0a;
    --bg-2:    #111;
    --border:  rgba(255,255,255,.08);
    --border-2:rgba(255,255,255,.12);
    --text:    #fff;
    --text-2:  rgba(255,255,255,.55);
    --text-3:  rgba(255,255,255,.32);
    --green:   #22c55e;
    --green-d: #16a34a;
    --green-bg:rgba(34,197,94,.08);
    --green-bd:rgba(34,197,94,.18);
    --red:     #ef4444;
    --pad:     clamp(20px, 5.5vw, 96px);
    --nav-h:   68px;
    --ease:    cubic-bezier(.165,.84,.44,1);
    --radius:  12px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.3); }

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.sd-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-h);
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}
.sd-header.scrolled { background: rgba(0,0,0,.97); }

.sd-nav {
    display: flex; align-items: center; height: var(--nav-h);
    padding: 0 var(--pad); gap: 24px;
    max-width: 1320px; margin: 0 auto;
}
.sd-logo img { height: 54px; width: auto; }
.sd-menu {
    display: flex; list-style: none;
    margin: 0 auto; padding: 0; gap: 2px;
}
.sd-menu li a {
    color: var(--text-2); font-size: 13px; font-weight: 500;
    padding: 6px 14px; border-radius: 8px;
    text-decoration: none; transition: color .2s, background .2s;
    white-space: nowrap; letter-spacing: -.1px;
}
.sd-menu li a:hover, .sd-menu li a.active {
    color: var(--text);
    background: rgba(255,255,255,.06);
}
.sd-auth-btns { display: flex; gap: 8px; flex-shrink: 0; }
.sd-burger {
    display: none; flex-direction: column; gap: 5px;
    padding: 6px; margin-left: auto;
}
.sd-burger span {
    display: block; width: 20px; height: 1.5px;
    background: var(--text); border-radius: 2px; transition: all .3s;
}

/* ══════════════════════════════════════════════
   TICKER
══════════════════════════════════════════════ */
.sd-ticker-bar {
    height: 44px; overflow: hidden;
    background: #000;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.sd-hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    background: #000;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

/* Subtle radial glow — barely there */
.sd-hero::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,.07) 0%, transparent 70%);
    top: -100px; right: 10%;
    pointer-events: none; z-index: 0;
    animation: heroGlow 12s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    from { transform: scale(1) translate(0,0); }
    to   { transform: scale(1.2) translate(-40px, 40px); }
}

.sd-hero-inner {
    position: relative; z-index: 1;
    max-width: 1320px; margin: 0 auto; width: 100%;
    padding: 100px var(--pad) 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left */
.sd-hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--green-bd);
    background: var(--green-bg);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--green);
    margin-bottom: 28px;
}
.sd-hero-tag-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green); flex-shrink: 0;
    animation: pulse 2s ease infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .5; transform: scale(.75); }
}

.sd-hero-h1 {
    font-size: clamp(42px, 6vw, 86px);
    font-weight: 900;
    letter-spacing: -3.5px;
    line-height: .95;
    color: #fff;
    margin-bottom: 24px;
}
.sd-hero-h1-em { color: var(--green); font-style: italic; }

.sd-hero-sub {
    font-size: clamp(15px, 1.5vw, 17px);
    color: var(--text-2);
    line-height: 1.75;
    max-width: 440px;
    margin-bottom: 40px;
    letter-spacing: -.1px;
}

.sd-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.sd-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green); color: #000;
    font-size: 14px; font-weight: 700;
    padding: 13px 28px; border-radius: 10px;
    transition: background .2s, transform .15s;
    white-space: nowrap; letter-spacing: -.1px;
    text-decoration: none;
}
.sd-btn-primary:hover { background: var(--green-d); color: #000; transform: translateY(-2px); }

.sd-btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent;
    border: 1px solid var(--border-2);
    color: var(--text-2);
    font-size: 14px; font-weight: 600;
    padding: 12px 24px; border-radius: 10px;
    transition: border-color .2s, color .2s;
    white-space: nowrap;
    text-decoration: none;
}
.sd-btn-secondary:hover { border-color: rgba(255,255,255,.28); color: var(--text); }

.sd-hero-trust {
    display: flex; align-items: center; gap: 12px;
    font-size: 12px; color: var(--text-3); letter-spacing: .2px;
}
.sd-hero-trust-line { flex: 1; height: 1px; background: var(--border); }

/* Right — image */
.sd-hero-visual {
    position: relative;
}
.sd-hero-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-2);
    box-shadow: 0 40px 100px rgba(0,0,0,.6);
    background: #0a0a0a;
    position: relative;
}
.sd-hero-img-wrap img {
    width: 100%; height: auto;
    display: block;
}
/* Subtle green bottom border glow */
.sd-hero-img-wrap::after {
    content: '';
    position: absolute; bottom: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,197,94,.5), transparent);
}

/* Floating stats on the image */
.sd-hero-badge {
    position: absolute;
    background: rgba(0,0,0,.88);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    padding: 10px 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.sd-hero-badge--a { top: -14px; right: -14px; }
.sd-hero-badge--b { bottom: 24px; left: -14px; }
.sd-hero-badge__val {
    font-size: 1.1rem; font-weight: 800; color: var(--green);
    letter-spacing: -.5px; line-height: 1;
}
.sd-hero-badge__lbl {
    font-size: 10px; font-weight: 500; color: var(--text-3);
    margin-top: 3px; white-space: nowrap; letter-spacing: .3px;
}
.sd-hero-live {
    position: absolute; top: 14px; left: 14px;
    display: flex; align-items: center; gap: 6px;
    background: rgba(0,0,0,.75);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 10px; font-weight: 700;
    color: var(--green); letter-spacing: 1px; text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.sd-hero-live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green);
    animation: pulse 1.5s ease infinite;
}

/* ══════════════════════════════════════════════
   STATS BAND
══════════════════════════════════════════════ */
.sd-stats-band {
    border-bottom: 1px solid var(--border);
    padding: 64px var(--pad);
    background: #000;
}
.sd-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 960px; margin: 0 auto;
    text-align: center;
}
.sd-stat-item {
    padding: 0 24px;
    border-right: 1px solid var(--border);
}
.sd-stat-item:last-child { border-right: none; }
.sd-counter-val {
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 900; letter-spacing: -2.5px; line-height: 1;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
.sd-counter-label {
    font-size: 11px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; color: var(--text-3);
    margin-top: 8px;
}

/* ══════════════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════════════ */
.sd-section {
    padding: 100px var(--pad);
    border-bottom: 1px solid var(--border);
}
.sd-section--dim { background: var(--bg-1); }

.sd-sec-label {
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--green); margin-bottom: 14px;
    display: block;
}
.sd-sec-h2 {
    font-size: clamp(28px, 3.5vw, 52px);
    font-weight: 900; letter-spacing: -2px; line-height: 1.06;
    color: var(--text); margin-bottom: 16px;
}
.sd-sec-sub {
    font-size: clamp(14px, 1.4vw, 16px);
    color: var(--text-2); line-height: 1.75;
    max-width: 520px;
}
.sd-sec-header { margin-bottom: 56px; }
.sd-sec-header--center { text-align: center; }
.sd-sec-header--center .sd-sec-sub { margin: 0 auto; }

/* ══════════════════════════════════════════════
   SERVICES GRID
══════════════════════════════════════════════ */
.sd-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.sd-svc-item {
    padding: 32px 28px;
    background: var(--bg-1);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background .25s;
}
.sd-svc-item:hover { background: var(--bg-2); }
.sd-svc-item:nth-child(3n) { border-right: none; }
.sd-svc-item:nth-last-child(-n+3) { border-bottom: none; }
.sd-svc-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--green-bg); border: 1px solid var(--green-bd);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--green);
    margin-bottom: 18px; transition: all .25s;
}
.sd-svc-item:hover .sd-svc-icon {
    background: var(--green); color: #000;
    border-color: var(--green);
    box-shadow: 0 0 24px rgba(34,197,94,.3);
}
.sd-svc-title {
    font-size: 15px; font-weight: 700;
    letter-spacing: -.3px; margin-bottom: 8px;
}
.sd-svc-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

/* ══════════════════════════════════════════════
   COPY TRADING SPLIT
══════════════════════════════════════════════ */
.sd-split {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.sd-steps { list-style: none; margin-top: 36px; }
.sd-step {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.sd-step:last-child { border-bottom: none; }
.sd-step-num {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    background: var(--green-bg); border: 1px solid var(--green-bd);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; color: var(--green);
}
.sd-step-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.2px; }
.sd-step-desc  { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* Traders visual panel */
.sd-traders-panel {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}
.sd-traders-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 11px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--text-3);
    display: flex; align-items: center; gap: 8px;
}
.sd-traders-head-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green);
    animation: pulse 1.6s ease infinite;
}
.sd-trader-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    transition: background .2s;
}
.sd-trader-row:last-child { border-bottom: none; }
.sd-trader-row:hover { background: rgba(255,255,255,.03); }
.sd-trader-info { display: flex; align-items: center; gap: 12px; }
.sd-trader-av {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--green), var(--green-d));
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: #000;
}
.sd-trader-name { font-size: 13.5px; font-weight: 700; letter-spacing: -.1px; }
.sd-trader-fol  { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.sd-trader-ret  { font-size: 14px; font-weight: 800; color: var(--green); letter-spacing: -.3px; }

/* ══════════════════════════════════════════════
   EDUCATION
══════════════════════════════════════════════ */
.sd-edu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.sd-edu-item {
    background: var(--bg-1);
    padding: 28px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background .25s;
    display: flex; flex-direction: column;
}
.sd-edu-item:hover { background: var(--bg-2); }
.sd-edu-item:nth-child(3n) { border-right: none; }
.sd-edu-item:nth-last-child(-n+3) { border-bottom: none; }
.sd-edu-badge {
    display: inline-block; font-size: 9px; font-weight: 800;
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 3px 9px; border-radius: 999px;
    margin-bottom: 14px; align-self: flex-start;
}
.sd-edu-badge--free { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-bd); }
.sd-edu-badge--pro  { background: rgba(239,68,68,.08); color: var(--red); border: 1px solid rgba(239,68,68,.18); }
.sd-edu-title { font-size: 14.5px; font-weight: 700; letter-spacing: -.2px; margin-bottom: 8px; }
.sd-edu-desc  { font-size: 13px; color: var(--text-2); line-height: 1.65; flex: 1; }
.sd-edu-link  {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 600; color: var(--green);
    margin-top: 16px; transition: gap .2s;
}
.sd-edu-link:hover { gap: 8px; }

/* ══════════════════════════════════════════════
   PACKAGES
══════════════════════════════════════════════ */
.sd-pkg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.sd-pkg-card {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    transition: border-color .25s, transform .25s;
    position: relative; overflow: hidden;
}
.sd-pkg-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.sd-pkg-card--featured {
    border-color: rgba(34,197,94,.3);
    background: linear-gradient(160deg, rgba(34,197,94,.04), var(--bg-1));
}
.sd-pkg-card--featured::before {
    content: 'Popular';
    position: absolute; top: 18px; right: -26px;
    background: var(--green); color: #000;
    font-size: 9px; font-weight: 800; padding: 4px 32px;
    transform: rotate(45deg); letter-spacing: 1px;
}
.sd-pkg-name  { font-size: 13px; font-weight: 700; letter-spacing: -.1px; color: var(--text-2); margin-bottom: 16px; }
.sd-pkg-price {
    font-size: clamp(36px, 4vw, 52px); font-weight: 900;
    color: var(--text); line-height: 1; letter-spacing: -2px;
    margin-bottom: 6px;
}
.sd-pkg-price sup { font-size: 1.4rem; vertical-align: top; margin-top: 8px; display: inline-block; font-weight: 700; }
.sd-pkg-period { font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--text-3); margin-bottom: 28px; }
.sd-pkg-features { list-style: none; margin: 0 0 28px; }
.sd-pkg-features li {
    padding: 9px 0; border-bottom: 1px solid var(--border);
    font-size: 13.5px; color: var(--text-2);
    display: flex; gap: 10px; align-items: center;
}
.sd-pkg-features li:last-child { border-bottom: none; }
.sd-pkg-features li::before { content: '✓'; color: var(--green); font-weight: 800; font-size: .85rem; flex-shrink: 0; }

/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.sd-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.sd-testi-item {
    background: var(--bg-1);
    padding: 28px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background .2s;
}
.sd-testi-item:hover { background: var(--bg-2); }
.sd-testi-item:nth-child(3n) { border-right: none; }
.sd-testi-item:nth-last-child(-n+3) { border-bottom: none; }
.sd-testi-stars { color: #f59e0b; font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
.sd-testi-text  { font-size: 13.5px; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }
.sd-testi-author { display: flex; align-items: center; gap: 10px; }
.sd-testi-av {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--green), var(--green-d));
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800; color: #000;
}
.sd-testi-name { font-size: 13px; font-weight: 700; letter-spacing: -.1px; }
.sd-testi-role { font-size: 11px; color: var(--text-3); }

/* ══════════════════════════════════════════════
   CTA
══════════════════════════════════════════════ */
.sd-cta {
    padding: 100px var(--pad);
    text-align: center;
    background: #000;
    border-bottom: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.sd-cta::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,.06) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    pointer-events: none;
}
.sd-cta > * { position: relative; z-index: 1; }
.sd-cta-h2 {
    font-size: clamp(28px, 4vw, 56px); font-weight: 900;
    letter-spacing: -2.5px; line-height: 1.02;
    margin-bottom: 16px;
}
.sd-cta-sub { font-size: 16px; color: var(--text-2); margin-bottom: 36px; }
.sd-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.sd-footer {
    background: #000;
    border-top: 1px solid var(--border);
    padding: 64px var(--pad) 32px;
    padding-right: calc(var(--rp-w, 0px) + var(--pad));
}
.sd-footer-inner {
    max-width: 1320px; margin: 0 auto;
}
.sd-footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.sd-footer-brand p { font-size: 13.5px; color: var(--text-2); line-height: 1.75; margin: 14px 0 20px; }
.sd-footer-logo { height: 38px; width: auto; }
.sd-social { display: flex; gap: 8px; }
.sd-social a {
    width: 34px; height: 34px; border-radius: 8px;
    background: rgba(255,255,255,.04); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3); font-size: 14px; transition: all .2s;
}
.sd-social a:hover { border-color: var(--green); color: var(--green); }
.sd-footer-col h5 {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--text-3); margin-bottom: 18px;
}
.sd-footer-links { list-style: none; }
.sd-footer-links li { margin-bottom: 10px; }
.sd-footer-links a { font-size: 13.5px; color: var(--text-3); transition: color .2s; }
.sd-footer-links a:hover { color: var(--text); }
.sd-footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
}
.sd-footer-copy { font-size: 12px; color: var(--text-3); }
.sd-footer-legal { display: flex; gap: 20px; }
.sd-footer-legal a { font-size: 12px; color: var(--text-3); transition: color .2s; }
.sd-footer-legal a:hover { color: var(--text); }

/* ══════════════════════════════════════════════
   SHARED INNER CONTAINER
══════════════════════════════════════════════ */
.sd-inner {
    max-width: 1320px; margin: 0 auto;
    padding: 0 var(--pad);
}

/* ══════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════ */
.sd-page-hero {
    background: #000;
    border-bottom: 1px solid var(--border);
    padding: 72px var(--pad) 64px;
    position: relative; overflow: hidden;
}
.sd-page-hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,.07) 0%, transparent 70%);
    top: -100px; right: 5%;
    pointer-events: none;
}
.sd-page-hero-inner {
    max-width: 1320px; margin: 0 auto;
    padding: 0 var(--pad);
    position: relative; z-index: 1;
}
.sd-page-h1 {
    font-size: clamp(36px,5vw,72px);
    font-weight: 900; letter-spacing: -3px;
    line-height: 1; color: #fff;
    margin-bottom: 16px;
}
.sd-page-sub {
    font-size: clamp(14px,1.4vw,16px);
    color: var(--text-2); max-width: 540px;
}

/* Breadcrumb */
.sd-breadcrumb { padding: 14px var(--pad); background: #000; border-bottom: 1px solid var(--border); }
.sd-breadcrumb-inner { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 8px; }
.sd-breadcrumb a { font-size: 12.5px; color: var(--green); }
.sd-breadcrumb-sep { color: var(--text-3); font-size: 12px; }
.sd-breadcrumb-cur { font-size: 12.5px; color: var(--text-2); }

/* ══════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════ */
.sd-contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
}
.sd-contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.sd-contact-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 20px;
    background: var(--bg-1); border: 1px solid var(--border);
    border-radius: var(--radius);
}
.sd-contact-item-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: var(--green-bg); border: 1px solid var(--green-bd);
    display: flex; align-items: center; justify-content: center;
    color: var(--green); font-size: 16px;
}
.sd-contact-item-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-3); margin-bottom: 4px; }
.sd-contact-item-val { font-size: 14px; font-weight: 600; color: var(--text); }
.sd-contact-hours {
    background: var(--green-bg); border: 1px solid var(--green-bd);
    border-radius: var(--radius); padding: 18px 20px;
}
.sd-contact-hours-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--green); margin-bottom: 4px; }
.sd-contact-hours-val { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -.5px; }

/* Form components */
.sd-form { display: flex; flex-direction: column; gap: 18px; }
.sd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sd-form-group { display: flex; flex-direction: column; gap: 7px; }
.sd-form-label { font-size: 12.5px; font-weight: 600; color: var(--text-2); letter-spacing: .2px; }
.sd-form-control {
    background: var(--bg-1) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    color: var(--text) !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    font-family: 'Inter', sans-serif !important;
    transition: border-color .2s !important;
    width: 100%;
}
.sd-form-control:focus {
    outline: none !important;
    border-color: var(--green) !important;
    background: var(--bg-1) !important;
    box-shadow: 0 0 0 3px rgba(34,197,94,.08) !important;
}
.sd-form-control::placeholder { color: var(--text-3) !important; }
.sd-contact-form-wrap {
    background: var(--bg-1); border: 1px solid var(--border);
    border-radius: 20px; padding: 40px;
}

/* ══════════════════════════════════════════════
   BLOGS
══════════════════════════════════════════════ */
.sd-blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    margin-bottom: 48px;
}
.sd-blog-card {
    display: flex; flex-direction: column;
    background: var(--bg-1);
    border-right: 1px solid var(--border);
    text-decoration: none; color: inherit;
    transition: background .2s;
}
.sd-blog-card:hover { background: var(--bg-2); }
.sd-blog-card:nth-child(3n) { border-right: none; }
.sd-blog-thumb { overflow: hidden; aspect-ratio: 16/9; }
.sd-blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); display: block; }
.sd-blog-card:hover .sd-blog-thumb img { transform: scale(1.04); }
.sd-blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.sd-blog-date { font-size: 11.5px; color: var(--text-3); display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.sd-blog-title { font-size: 15.5px; font-weight: 700; letter-spacing: -.3px; line-height: 1.4; margin-bottom: 10px; color: var(--text); flex: 1; }
.sd-blog-excerpt { font-size: 13px; color: var(--text-2); line-height: 1.65; margin-bottom: 16px; }
.sd-blog-read { font-size: 12.5px; font-weight: 600; color: var(--green); }
.sd-pagination { display: flex; justify-content: center; }
.sd-empty { text-align: center; padding: 80px 0; }

/* ══════════════════════════════════════════════
   BLOG DETAIL
══════════════════════════════════════════════ */
.sd-article-layout {
    display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start;
}
.sd-article-thumb { border-radius: 16px; overflow: hidden; margin-bottom: 32px; border: 1px solid var(--border); }
.sd-article-thumb img { width: 100%; height: auto; display: block; }
.sd-article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.sd-article-date { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.sd-article-tag {
    font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 3px 10px; border-radius: 999px;
    background: var(--green-bg); border: 1px solid var(--green-bd); color: var(--green);
}
.sd-article-title { font-size: clamp(22px,3vw,40px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 28px; color: var(--text); }
.sd-article-body { font-size: 15px; line-height: 1.85; color: var(--text-2); }
.sd-article-body h1,.sd-article-body h2,.sd-article-body h3,.sd-article-body h4 { color: var(--text) !important; margin: 28px 0 12px; font-family: 'Inter',sans-serif !important; }
.sd-article-body p { margin-bottom: 16px; }
.sd-article-body a { color: var(--green); }
.sd-article-body img { border-radius: 12px; margin: 20px 0; border: 1px solid var(--border); }
.sd-article-share { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.sd-share-btn {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--bg-1); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--text-2); transition: all .2s;
}
.sd-share-btn:hover { border-color: var(--green); color: var(--green); }
.sd-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.sd-sidebar-widget { background: var(--bg-1); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.sd-sidebar-title { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-3); }
.sd-sidebar-post { display: flex; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); text-decoration: none; transition: background .2s; }
.sd-sidebar-post:last-child { border-bottom: none; }
.sd-sidebar-post:hover { background: rgba(255,255,255,.03); }
.sd-sidebar-post-thumb { width: 60px; height: 46px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.sd-sidebar-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sd-sidebar-post-title { font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.45; }
.sd-sidebar-post-date { font-size: 11px; color: var(--text-3); margin-top: 4px; }
.sd-sidebar-widget > .sd-btn-primary { margin: 0; border-radius: 0; padding: 16px 20px; border-top: 1px solid var(--border); }

/* ══════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════ */
.sd-about-img-wrap { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
.sd-about-img-wrap img { width: 100%; height: auto; }
.sd-about-placeholder {
    background: var(--bg-1); border: 1px solid var(--border);
    border-radius: 20px; padding: 48px;
}
.sd-about-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sd-about-stat { text-align: center; padding: 28px; background: #000; border: 1px solid var(--border); border-radius: 14px; }
.sd-about-stat-val { font-size: 2.4rem; font-weight: 900; letter-spacing: -1.5px; color: var(--green); }
.sd-about-stat-lbl { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }
.sd-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.sd-why-item { background: var(--bg-1); padding: 28px 24px; border-right: 1px solid var(--border); transition: background .2s; }
.sd-why-item:last-child { border-right: none; }
.sd-why-item:hover { background: var(--bg-2); }
.sd-why-icon { font-size: 22px; color: var(--green); margin-bottom: 14px; }
.sd-why-title { font-size: 14px; font-weight: 700; letter-spacing: -.2px; margin-bottom: 8px; }
.sd-why-text { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.sd-faq-list { max-width: 800px; margin: 0 auto; }
.sd-faq-item { border-bottom: 1px solid var(--border); }
.sd-faq-item:first-child { border-top: 1px solid var(--border); }
.sd-faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    gap: 16px; padding: 22px 0; text-align: left;
    font-size: 15px; font-weight: 600; color: var(--text);
    background: none; border: none; cursor: pointer;
    transition: color .2s;
}
.sd-faq-q:hover { color: var(--green); }
.sd-faq-icon { color: var(--text-3); flex-shrink: 0; transition: transform .25s; }
.sd-faq-icon.rotate { transform: rotate(180deg); }
.sd-faq-a { padding: 0 0 20px; }
.sd-faq-a p { font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* ══════════════════════════════════════════════
   FEATURES SECTION
══════════════════════════════════════════════ */
.sd-feature-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.sd-feature-item {
    background: var(--bg-1); padding: 28px 24px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background .2s;
}
.sd-feature-item:hover { background: var(--bg-2); }
.sd-feature-item:nth-child(4n) { border-right: none; }
.sd-feature-item:nth-last-child(-n+4) { border-bottom: none; }
.sd-feature-num { font-size: 11px; font-weight: 800; color: var(--green); letter-spacing: 1px; margin-bottom: 10px; }
.sd-feature-text { font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.5; }

/* ══════════════════════════════════════════════
   SUBSCRIBE BAND
══════════════════════════════════════════════ */
.sd-subscribe-band {
    background: var(--bg-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 72px var(--pad);
}
.sd-subscribe-inner {
    max-width: 1320px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.sd-subscribe-form { display: flex; gap: 10px; }
.sd-subscribe-input {
    flex: 1; background: #000 !important; border: 1px solid var(--border) !important;
    border-radius: 10px; color: var(--text) !important;
    font-size: 14px; padding: 13px 18px; font-family: 'Inter',sans-serif;
}
.sd-subscribe-input:focus { outline: none; border-color: var(--green) !important; }
.sd-subscribe-input::placeholder { color: var(--text-3) !important; }

/* ══════════════════════════════════════════════
   AUTH PAGES
══════════════════════════════════════════════ */
.sd-auth-page {
    min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
    background: #000;
}
.sd-auth-brand {
    background: var(--bg-1); border-right: 1px solid var(--border);
    padding: 60px 56px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.sd-auth-brand-quote {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
    max-width: 400px;
}
.sd-auth-brand-quote blockquote {
    font-size: 18px; font-weight: 500; color: var(--text);
    line-height: 1.7; letter-spacing: -.2px;
    border-left: 3px solid var(--green); padding-left: 20px;
    margin-bottom: 16px;
    font-style: italic;
}
.sd-auth-brand-quote cite { font-size: 13px; color: var(--text-3); font-style: normal; }
.sd-auth-brand-stats { display: flex; gap: 32px; }
.sd-auth-brand-stats div { display: flex; flex-direction: column; gap: 2px; }
.sd-auth-brand-stats strong { font-size: 20px; font-weight: 900; color: var(--green); letter-spacing: -1px; }
.sd-auth-brand-stats span { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; }
.sd-auth-form-col {
    display: flex; align-items: center; justify-content: center;
    padding: 48px 56px;
}
.sd-auth-box { width: 100%; max-width: 440px; }
.sd-auth-box-header { margin-bottom: 32px; }
.sd-auth-h1 { font-size: 28px; font-weight: 900; letter-spacing: -1px; margin-bottom: 8px; }
.sd-auth-sub { font-size: 14px; color: var(--text-2); }
.sd-auth-switch { margin-top: 24px; font-size: 13.5px; color: var(--text-3); text-align: center; }
.sd-auth-switch a { color: var(--green); font-weight: 600; }

/* ══════════════════════════════════════════════
   FEATURE-ABOUT SPLIT LIST
══════════════════════════════════════════════ */
.sd-split-visual { width: 100%; }
.sd-split-content { display: flex; flex-direction: column; justify-content: center; }
.sd-feature-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.sd-feature-list-item { display: flex; align-items: flex-start; gap: 14px; }
.sd-feature-list-icon {
    width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
    background: var(--green-bg); border: 1px solid var(--green-bd);
    display: flex; align-items: center; justify-content: center;
}

/* ══════════════════════════════════════════════
   PROSE (policy/cookie pages)
══════════════════════════════════════════════ */
.sd-prose { color: var(--text-2); font-size: 15px; line-height: 1.85; }
.sd-prose h1,.sd-prose h2,.sd-prose h3,.sd-prose h4 { color: var(--text) !important; margin: 32px 0 12px; font-family: 'Inter',sans-serif !important; font-weight: 700; }
.sd-prose p { margin-bottom: 16px; }
.sd-prose a { color: var(--green); }
.sd-prose ul,.sd-prose ol { padding-left: 20px; margin-bottom: 16px; }
.sd-prose li { margin-bottom: 8px; }
.sd-prose strong { color: var(--text); }
.sd-page-hero-title {
    font-size: clamp(36px,5vw,72px); font-weight: 900;
    letter-spacing: -3px; line-height: 1; color: #fff; margin: 0;
}

/* Blog section link */
.sd-blog-link { font-size: 12.5px; font-weight: 600; color: var(--green); margin-top: auto; }

/* ══════════════════════════════════════════════
   LEGACY COMPAT (non-home pages, auth, etc.)
══════════════════════════════════════════════ */
.sd-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all .2s; white-space: nowrap; cursor: pointer; border: none; letter-spacing: -.1px; }
.sd-btn--primary { background: var(--green); color: #000 !important; }
.sd-btn--primary:hover { background: var(--green-d); color: #000 !important; transform: translateY(-2px); }
.sd-btn--ghost { background: rgba(255,255,255,.06); border: 1px solid var(--border-2); color: var(--text-2) !important; }
.sd-btn--ghost:hover { background: rgba(255,255,255,.1); color: var(--text) !important; }
.sd-btn--outline { background: transparent; border: 1px solid var(--border-2); color: var(--text-2) !important; }
.sd-btn--outline:hover { border-color: rgba(255,255,255,.28); color: var(--text) !important; }
.sd-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--green); margin-bottom: 14px; }
.sd-label-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s ease infinite; }
.sd-section-title { font-size: clamp(26px,3.5vw,50px); font-weight: 900; letter-spacing: -2px; line-height: 1.06; color: var(--text); margin-bottom: 14px; }
.sd-section-sub { font-size: 15px; color: var(--text-2); max-width: 500px; margin: 0 auto 48px; line-height: 1.7; }

.sd-breadcrumb { padding: 18px var(--pad); background: #000; border-bottom: 1px solid var(--border); }
.sd-breadcrumb a { color: var(--green); font-size: 13px; }
.sd-breadcrumb span { color: var(--text-3); font-size: 13px; }
.registration-section { background: #000; }
.registration-wrapper.section--bg { background: var(--bg-1) !important; border: 1px solid var(--border); border-radius: 16px; }
.form--control { background: rgba(255,255,255,.04) !important; border-color: var(--border) !important; color: var(--text) !important; }
.form--control:focus { border-color: var(--green) !important; }
.btn--base { background: var(--green) !important; color: #000 !important; font-weight: 700 !important; }
.btn--base:hover { background: var(--green-d) !important; }

/* Framework overrides */
.main-wrapper { padding-top: var(--nav-h); background: #000 !important; padding-right: var(--rp-w, 0px); }
.footer { display: none !important; }
.header { display: none !important; }
.preloader { background: #000 !important; }
.preloader__sitename { color: var(--green) !important; }
/* Kill any white section/card backgrounds from main.css */
.section--bg, .card, .card-body { background: var(--bg-1) !important; border-color: var(--border) !important; color: var(--text) !important; }
.card-header { background: var(--bg-2) !important; border-color: var(--border) !important; color: var(--text) !important; }
/* Package section container fix */
.sd-section .container { max-width: 1320px; padding: 0 var(--pad); }
/* Scrollbar icon fix */
.scrollToTop { background: var(--green) !important; color: #000 !important; }
/* Cookie banner */
.cookies-card { background: var(--bg-2) !important; border: 1px solid var(--border) !important; color: var(--text) !important; }
/* Overlay */
.overlay { background: rgba(0,0,0,.7) !important; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .sd-menu {
        display: none; position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        background: rgba(0,0,0,.98); flex-direction: column;
        padding: 20px var(--pad); gap: 2px;
        border-bottom: 1px solid var(--border);
        max-height: 80vh; overflow-y: auto; z-index: 999;
    }
    .sd-menu.open { display: flex; }
    .sd-auth-btns { display: none; }
    .sd-burger { display: flex; }
}
@media (max-width: 960px) {
    .sd-hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .sd-hero-h1 { letter-spacing: -2.5px; }
    .sd-hero-badge--a, .sd-hero-badge--b { display: none; }
    .sd-split { grid-template-columns: 1fr; gap: 48px; }
    .sd-svc-grid { grid-template-columns: repeat(2, 1fr); }
    .sd-svc-item:nth-child(3n) { border-right: 1px solid var(--border); }
    .sd-svc-item:nth-child(2n) { border-right: none; }
    .sd-edu-grid { grid-template-columns: repeat(2, 1fr); }
    .sd-edu-item:nth-child(3n) { border-right: 1px solid var(--border); }
    .sd-edu-item:nth-child(2n) { border-right: none; }
    .sd-testi-grid { grid-template-columns: repeat(2, 1fr); }
    .sd-testi-item:nth-child(3n) { border-right: 1px solid var(--border); }
    .sd-testi-item:nth-child(2n) { border-right: none; }
    .sd-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .sd-stat-item:nth-child(2) { border-right: none; }
    .sd-stat-item:nth-child(3) { border-top: 1px solid var(--border); }
    .sd-stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
    .sd-footer-grid { grid-template-columns: 1fr 1fr; }
    .sd-contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .sd-article-layout { grid-template-columns: 1fr; }
    .sd-sidebar { position: static; }
    .sd-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .sd-blog-card:nth-child(3n) { border-right: 1px solid var(--border); }
    .sd-blog-card:nth-child(2n) { border-right: none; }
    .sd-why-grid { grid-template-columns: repeat(2, 1fr); }
    .sd-why-item:nth-child(4n) { border-right: 1px solid var(--border); }
    .sd-why-item:nth-child(2n) { border-right: none; }
    .sd-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .sd-feature-item:nth-child(4n) { border-right: 1px solid var(--border); }
    .sd-feature-item:nth-child(2n) { border-right: none; }
    .sd-subscribe-inner { grid-template-columns: 1fr; gap: 32px; }
    .sd-auth-page { grid-template-columns: 1fr; }
    .sd-auth-brand { display: none; }
    .sd-auth-form-col { padding: 48px 24px; }
    .sd-about-stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .sd-hero-inner { padding: 80px var(--pad) 60px; }
    .sd-hero-h1 { letter-spacing: -1.5px; }
    .sd-hero-actions { flex-direction: column; align-items: flex-start; }
    .sd-svc-grid { grid-template-columns: 1fr; }
    .sd-svc-item { border-right: none !important; }
    .sd-edu-grid { grid-template-columns: 1fr; }
    .sd-edu-item { border-right: none !important; }
    .sd-testi-grid { grid-template-columns: 1fr; }
    .sd-testi-item { border-right: none !important; }
    .sd-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sd-footer-grid { grid-template-columns: 1fr; }
    .sd-pkg-grid { grid-template-columns: 1fr; }
    .sd-section { padding: 64px var(--pad); }
    .sd-blog-grid { grid-template-columns: 1fr; }
    .sd-blog-card { border-right: none !important; }
    .sd-why-grid { grid-template-columns: 1fr; }
    .sd-why-item { border-right: none !important; }
    .sd-feature-grid { grid-template-columns: 1fr 1fr; }
    .sd-subscribe-form { flex-direction: column; }
    .sd-contact-form-wrap { padding: 24px; }
    .sd-form-row { grid-template-columns: 1fr; }
    .sd-page-h1 { letter-spacing: -1.5px; }
}

/* ══════════════════════════════════════════════
   AUTH TABS (login / register tab switcher)
══════════════════════════════════════════════ */
.sd-auth-tabs {
    display: flex; gap: 4px;
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: 12px; padding: 4px;
    margin-bottom: 28px;
}
.sd-auth-tab {
    flex: 1; padding: 9px 12px;
    background: none; border: none; border-radius: 9px;
    font-size: 13px; font-weight: 600; color: var(--text-3);
    cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif;
    white-space: nowrap;
}
.sd-auth-tab.active {
    background: #000; color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.sd-auth-tab:hover:not(.active) { color: var(--text-2); }
.sd-auth-tab-panel { display: none; }
.sd-auth-tab-panel.active { display: block; }

/* Admin login cards */
.sd-admin-login-card {
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: 14px; padding: 20px;
}
.sd-admin-login-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    background: var(--green-bg); border: 1px solid var(--green-bd);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}

/* ══════════════════════════════════════════════
   AUTH CENTER (forgot/reset/verify pages)
══════════════════════════════════════════════ */
.sd-auth-center {
    min-height: 100vh; background: #000;
    display: flex; align-items: center; justify-content: center;
    padding: 48px var(--pad);
}
.sd-auth-center-box {
    width: 100%; max-width: 440px;
    background: var(--bg-1); border: 1px solid var(--border);
    border-radius: 20px; padding: 40px;
}

/* ══════════════════════════════════════════════
   SUBMENU (user dashboard nav)
══════════════════════════════════════════════ */
.sd-menu li { position: relative; }
.sd-submenu {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 180px;
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: 10px; padding: 6px 0;
    z-index: 200;
    list-style: none;
}
.sd-menu li:hover > .sd-submenu { display: block; }
.sd-submenu li a {
    display: block; padding: 9px 16px;
    font-size: 13px; color: var(--text-2);
    transition: color .15s, background .15s;
}
.sd-submenu li a:hover { color: var(--text); background: rgba(255,255,255,.04); }

/* ══════════════════════════════════════════════
   DASHBOARD (user area)
══════════════════════════════════════════════ */
.dashboard-section { background: #000 !important; min-height: 70vh; padding: 48px 0; }
.dashboard-widget {
    background: var(--bg-1) !important; border: 1px solid var(--border) !important;
    border-radius: 14px !important; padding: 24px 20px !important;
    position: relative; transition: border-color .2s;
}
.dashboard-widget:hover { border-color: var(--border-2) !important; }
.dashboard-widget.has--link .item--link { position: absolute; inset: 0; z-index: 1; }
.dashboard-widget__icon {
    font-size: 24px; color: var(--green) !important;
    margin-bottom: 12px;
}
.dashboard-widget__content p { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3) !important; margin-bottom: 6px; }
.dashboard-widget__content h4 { font-size: 22px; font-weight: 900; letter-spacing: -1px; color: var(--text) !important; margin: 0; }
/* Tables in dashboard */
.table { color: var(--text) !important; border-color: var(--border) !important; }
.table th { color: var(--text-3) !important; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-color: var(--border) !important; background: var(--bg-1) !important; }
.table td { border-color: var(--border) !important; color: var(--text-2) !important; font-size: 13.5px; vertical-align: middle; }
.table tbody tr:hover td { background: rgba(255,255,255,.02) !important; }
.bg--base { background: var(--green) !important; }
.bg--base th { color: #000 !important; }
.table--responsive--lg { width: 100%; border-collapse: collapse; }
/* Badges */
.badge { font-size: 10px; font-weight: 700; letter-spacing: .5px; }
.text--success { color: var(--green) !important; }
.text--danger  { color: var(--red) !important; }
.text--base    { color: var(--green) !important; }
/* Input group (referral) */
.input-group-text.bg--base { background: var(--green) !important; color: #000 !important; border: none; cursor: pointer; }
/* Form controls in user area */
.form--control, .form-control {
    background: var(--bg-1) !important; border: 1px solid var(--border) !important;
    color: var(--text) !important; border-radius: 8px !important;
    font-size: 14px !important; padding: 10px 14px !important;
}
.form--control:focus, .form-control:focus {
    border-color: var(--green) !important;
    box-shadow: 0 0 0 3px rgba(34,197,94,.08) !important;
    background: var(--bg-1) !important;
}
.form-label { font-size: 12px; font-weight: 600; color: var(--text-2) !important; margin-bottom: 6px; }
.form-select { background: var(--bg-1) !important; border: 1px solid var(--border) !important; color: var(--text) !important; }
/* Pagination */
.pagination .page-link { background: var(--bg-1) !important; border-color: var(--border) !important; color: var(--text-2) !important; }
.pagination .page-link:hover { background: var(--bg-2) !important; color: var(--text) !important; }
.pagination .page-item.active .page-link { background: var(--green) !important; border-color: var(--green) !important; color: #000 !important; }
/* Cards in user area */
.custom--card { background: var(--bg-1) !important; border: 1px solid var(--border) !important; border-radius: 14px !important; }
.custom--card .card-header { background: var(--bg-2) !important; border-color: var(--border) !important; }
/* Alert */
.alert-success { background: var(--green-bg) !important; border-color: var(--green-bd) !important; color: var(--green) !important; }
.alert-danger  { background: rgba(239,68,68,.08) !important; border-color: rgba(239,68,68,.18) !important; color: var(--red) !important; }
/* Verification code boxes */
.verification-code-wrapper { width: 100%; }
.verification-area { background: transparent !important; border: none !important; }
.verification-area h5 { color: var(--text) !important; border-color: var(--border) !important; }
.verification-text { font-size: 13.5px; color: var(--text-2) !important; }
.withdraw--verification-code .form--control,
.verification-code input {
    background: var(--bg-1) !important; border: 1px solid var(--border) !important;
    color: var(--text) !important; border-radius: 10px !important;
    font-size: 20px !important; text-align: center !important;
    font-weight: 900 !important;
}
.verification-code input:focus { border-color: var(--green) !important; }
/* Notices */
.notice .alert { border-radius: 10px; }
/* Section title headings */
h5.mb-4 { color: var(--text) !important; font-size: 16px !important; font-weight: 700 !important; }

@media (max-width: 960px) {
    .sd-auth-center-box { padding: 28px 24px; }
    .sd-submenu { position: static; display: none; background: transparent; border: none; padding: 4px 0 4px 16px; }
    .sd-menu li:hover > .sd-submenu { display: block; }
    .sd-submenu li a { font-size: 13px; padding: 7px 0; color: var(--text-3); }
}

/* ══════════════════════════════════════════════
   USER INNER PAGES — BULK DARK OVERRIDES
   (signals, transactions, referrals, profile,
    password, deposit history, support tickets)
══════════════════════════════════════════════ */
.bg-light { background: #000 !important; }
.bg-white { background: var(--bg-1) !important; }
.pt-100  { padding-top: 56px !important; }
.pb-100  { padding-bottom: 80px !important; }
.pt-50   { padding-top: 32px !important; }
.pb-50   { padding-bottom: 32px !important; }
.pb-60   { padding-bottom: 48px !important; }

/* Transparent form (search bars) */
.transparent-form .form--control,
.transparent-form .form-control { background: var(--bg-1) !important; }

/* Buttons in user pages */
.btn--sm  { padding: 6px 14px !important; font-size: 12px !important; border-radius: 8px !important; }
.btn--base, .btn.btn--base { background: var(--green) !important; color: #000 !important; border: none !important; font-weight: 700 !important; border-radius: 8px !important; }
.btn--base:hover { background: var(--green-d) !important; }
.btn-dark { background: var(--bg-2) !important; color: var(--text) !important; border: 1px solid var(--border) !important; border-radius: 8px !important; }

/* Modals */
.modal-content { background: var(--bg-2) !important; border: 1px solid var(--border) !important; color: var(--text) !important; border-radius: 16px !important; }
.modal-header  { border-color: var(--border) !important; }
.modal-footer  { border-color: var(--border) !important; }
.modal-title   { color: var(--text) !important; font-weight: 700 !important; }
.btn-close     { filter: invert(1) !important; opacity: .5 !important; }

/* Cards used in profile / support */
.custom--card  { background: var(--bg-1) !important; border: 1px solid var(--border) !important; border-radius: 16px !important; overflow: hidden; }
.custom--card .card-header { background: var(--bg-2) !important; border-color: var(--border) !important; padding: 16px 24px !important; }
.custom--card .card-header h5,
.custom--card .card-header h6 { color: var(--text) !important; font-weight: 700 !important; margin: 0 !important; }
.custom--card .card-body { padding: 24px !important; }

/* Profile image upload */
.profile-thumb { border: 2px solid var(--border) !important; border-radius: 50% !important; }

/* Referral table + stat cards */
.referral-stat { background: var(--bg-1) !important; border: 1px solid var(--border) !important; border-radius: 12px !important; }

/* Input groups throughout user area */
.input-group-text { background: var(--bg-2) !important; border-color: var(--border) !important; color: var(--text-2) !important; }
.input-group-text.bg--base { background: var(--green) !important; color: #000 !important; border-color: var(--green) !important; cursor: pointer; }

/* Support ticket message bubble */
.ticket-reply-box { background: var(--bg-1) !important; border: 1px solid var(--border) !important; border-radius: 12px !important; padding: 20px !important; }
.admin-reply   { background: var(--bg-2) !important; border-left: 3px solid var(--green) !important; border-radius: 10px !important; padding: 16px !important; margin-bottom: 12px !important; }
.user-reply    { background: var(--bg-1) !important; border: 1px solid var(--border) !important; border-radius: 10px !important; padding: 16px !important; margin-bottom: 12px !important; }
.admin-reply p, .user-reply p { color: var(--text-2) !important; font-size: 14px !important; line-height: 1.7 !important; }
.reply-name    { font-weight: 700 !important; color: var(--text) !important; font-size: 13px !important; }
.reply-date    { font-size: 11px !important; color: var(--text-3) !important; }

/* Deposit page */
.gateway-wrapper { background: var(--bg-1) !important; border: 1px solid var(--border) !important; border-radius: 14px !important; padding: 20px !important; cursor: pointer; transition: border-color .2s; }
.gateway-wrapper:hover { border-color: var(--green) !important; }
.gateway-wrapper img { max-height: 48px !important; filter: brightness(1.2); }

/* Status badges */
.badge.badge--success, .badge-success { background: var(--green-bg) !important; color: var(--green) !important; border: 1px solid var(--green-bd) !important; border-radius: 999px !important; font-size: 10px !important; font-weight: 700 !important; padding: 3px 10px !important; }
.badge.badge--warning, .badge-warning { background: rgba(234,179,8,.08) !important; color: #ca8a04 !important; border: 1px solid rgba(234,179,8,.2) !important; border-radius: 999px !important; font-size: 10px !important; font-weight: 700 !important; padding: 3px 10px !important; }
.badge.badge--danger,  .badge-danger  { background: rgba(239,68,68,.08) !important; color: var(--red) !important; border: 1px solid rgba(239,68,68,.18) !important; border-radius: 999px !important; font-size: 10px !important; font-weight: 700 !important; padding: 3px 10px !important; }
.badge.badge--info,    .badge-info    { background: rgba(59,130,246,.08) !important; color: #3b82f6 !important; border: 1px solid rgba(59,130,246,.18) !important; border-radius: 999px !important; font-size: 10px !important; font-weight: 700 !important; padding: 3px 10px !important; }

/* Select2 / chosen dropdowns if used */
.select2-container--default .select2-selection--single {
    background: var(--bg-1) !important; border-color: var(--border) !important;
    color: var(--text) !important; height: 42px !important; line-height: 42px !important;
    border-radius: 8px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text) !important; line-height: 42px !important; padding-left: 14px !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: var(--text-3) transparent transparent transparent !important; }
.select2-dropdown { background: var(--bg-2) !important; border-color: var(--border) !important; border-radius: 8px !important; }
.select2-search--dropdown .select2-search__field { background: var(--bg-1) !important; border-color: var(--border) !important; color: var(--text) !important; border-radius: 6px !important; }
.select2-container--default .select2-results__option { color: var(--text-2) !important; padding: 9px 14px !important; font-size: 13px !important; }
.select2-container--default .select2-results__option--highlighted { background: var(--green) !important; color: #000 !important; }
.select2-container--default .select2-results__option[aria-selected=true] { background: rgba(34,197,94,.08) !important; color: var(--green) !important; }

/* Misc light-theme remnants */
.text-muted  { color: var(--text-3) !important; }
.text-dark   { color: var(--text) !important; }
.text-white  { color: var(--text) !important; }
.text-success, .text-success b { color: var(--green) !important; }
.text-danger  { color: var(--red) !important; }
.border-top  { border-color: var(--border) !important; }
.border-bottom { border-color: var(--border) !important; }
.border-right { border-color: var(--border) !important; }
hr { border-color: var(--border) !important; opacity: 1; }
.fw-bold { color: inherit; }
small, .small { color: var(--text-3) !important; }

/* ══════════════════════════════════════════════
   CARD HEADER BG (crypto, support, payment)
══════════════════════════════════════════════ */
.card-header-bg,
.card-header {
    background: var(--bg-2) !important;
    border-color: var(--border) !important;
    padding: 16px 24px !important;
}
.card-header h5, .card-header h3 { color: var(--text) !important; font-weight: 700 !important; margin: 0 !important; }
.card-body-deposit { background: var(--bg-1) !important; }
.card, .card.custom--card { background: var(--bg-1) !important; border: 1px solid var(--border) !important; }

/* ══════════════════════════════════════════════
   SUPPORT TICKET THREAD BUBBLES
══════════════════════════════════════════════ */
.support-answer-wrapper {
    background: var(--bg-1) !important;
    border-color: var(--border) !important;
    border-radius: 12px !important;
    margin: 12px 0 !important;
}
.support-answer-wrapper-admin {
    background: var(--bg-2) !important;
    border-color: var(--border) !important;
    border-left: 3px solid var(--green) !important;
    border-radius: 12px !important;
}
.support-answer-wrapper h5 { color: var(--text) !important; font-size: 13px !important; font-weight: 700 !important; }
.support-answer-wrapper p  { color: var(--text-2) !important; font-size: 13.5px !important; line-height: 1.7 !important; }
.support-answer-wrapper .lead { color: var(--text-3) !important; font-size: 11px !important; }
.support-answer-wrapper a  { color: var(--green) !important; font-size: 13px !important; }
section.pt-100 { background: #000 !important; }

/* ══════════════════════════════════════════════
   LIST GROUP (modals, referral trees)
══════════════════════════════════════════════ */
.list-group-item, .list-group li {
    background: var(--bg-2) !important;
    border-color: var(--border) !important;
    color: var(--text-2) !important;
    font-size: 13.5px !important;
}
.list-group-item + .list-group-item { border-top: 1px solid var(--border) !important; }
.list-group-flush .list-group-item { border-left: none !important; border-right: none !important; background: transparent !important; }

/* ══════════════════════════════════════════════
   TREEVIEW (referral tree)
══════════════════════════════════════════════ */
.treeview-container { background: var(--bg-1) !important; border: 1px solid var(--border) !important; border-radius: 12px !important; padding: 20px !important; }
.treeview li { color: var(--text-2) !important; font-size: 13.5px !important; }
.treeview li::before, .treeview li::after { border-color: var(--border) !important; }
.treeview .items-expanded > span,
.treeview .items-collapsed > span { color: var(--text) !important; font-weight: 600 !important; }

/* ══════════════════════════════════════════════
   SD DEPOSIT LAYOUT
══════════════════════════════════════════════ */
.sd-deposit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 760px) { .sd-deposit-grid { grid-template-columns: 1fr; } }
.sd-dep-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}
.sd-dep-row:last-child { border-bottom: none; }
.sd-dep-label { font-size: 12.5px; color: var(--text-3); display: flex; align-items: center; }
.sd-dep-val   { font-size: 13px; color: var(--text-2); font-weight: 600; }

/* ══════════════════════════════════════════════
   DEPOSIT / PAYMENT GATEWAY PAGE
══════════════════════════════════════════════ */
.gateway-card { background: transparent !important; }
.payment-system-list {
    background: var(--bg-2) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    overflow: hidden;
}
.payment-system-list.is-scrollable { max-height: 360px; overflow-y: auto; }
.payment-system-list.is-scrollable::-webkit-scrollbar { width: 4px; }
.payment-system-list.is-scrollable::-webkit-scrollbar-track { background: transparent; }
.payment-system-list.is-scrollable::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; }

.payment-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border) !important;
    cursor: pointer;
    transition: background .15s;
}
.payment-item:last-of-type { border-bottom: none !important; }
.payment-item:hover, .payment-item:has(.gateway-input:checked) { background: rgba(34,197,94,.06) !important; }
.payment-item__info { display: flex; align-items: center; gap: 10px; }
.payment-item__check {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid var(--border-2) !important;
    flex-shrink: 0;
    transition: border-color .15s, background .15s;
}
.payment-item:has(.gateway-input:checked) .payment-item__check {
    border-color: var(--green) !important;
    background: var(--green) !important;
    box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}
.payment-item__name { font-size: 13.5px !important; color: var(--text) !important; font-weight: 500 !important; }
.payment-item__thumb { flex-shrink: 0; }
.payment-item__thumb-img { height: 32px !important; width: auto !important; max-width: 80px !important; object-fit: contain; filter: brightness(1.15); }
.payment-item__btn {
    width: 100%; background: none; border: none;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; cursor: pointer; color: var(--green) !important;
    font-size: 13px; font-weight: 600;
}
.payment-item__btn:hover { background: rgba(34,197,94,.06) !important; }

/* Deposit info panel (right column) */
.deposit-info {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 8px !important;
}
.deposit-info .text { font-size: 13px !important; color: var(--text-2) !important; margin: 0 !important; }
.deposit-info.total-amount .text { font-size: 15px !important; font-weight: 700 !important; color: var(--text) !important; }
.deposit-info__title .text.has-icon { display: flex; align-items: center; gap: 6px; }
.proccessing-fee-info { color: var(--text-3) !important; cursor: default; }
.gateway-limit, .processing-fee, .final-amount, .in-currency { color: var(--text) !important; font-weight: 600 !important; }
.crypto-message { font-size: 12px !important; color: var(--text-3) !important; background: var(--bg-2) !important; border: 1px solid var(--border) !important; border-radius: 8px !important; padding: 10px 14px !important; }
.info-text .text { font-size: 12px !important; color: var(--text-3) !important; text-align: center; }

/* ══════════════════════════════════════════════
   SUPPORT TICKET MESSAGES (SD style)
══════════════════════════════════════════════ */
.sd-ticket-msg {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.sd-ticket-msg--user { background: var(--bg-1); }
.sd-ticket-msg--admin {
    background: var(--bg-2);
    border-left: 3px solid var(--green);
}
.sd-ticket-msg-meta {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.02);
}
.sd-ticket-msg-name { font-size: 13px; font-weight: 700; color: var(--text); }
.sd-ticket-msg-date { font-size: 11px; color: var(--text-3); margin-left: auto; }
.sd-ticket-msg-badge {
    font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    background: var(--green-bg); color: var(--green);
    border: 1px solid var(--green-bd);
    border-radius: 999px; padding: 2px 8px;
}
.sd-ticket-msg-body { padding: 16px 18px; }
.sd-ticket-msg-body p { font-size: 13.5px; color: var(--text-2); line-height: 1.75; margin: 0; }
.sd-ticket-attachments { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.sd-ticket-attachment {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; color: var(--green);
    background: var(--green-bg); border: 1px solid var(--green-bd);
    border-radius: 6px; padding: 4px 10px;
    text-decoration: none;
    transition: background .15s;
}
.sd-ticket-attachment:hover { background: rgba(34,197,94,.15); color: var(--green); }

/* ══════════════════════════════════════════════
   SIGNALS PAGE
══════════════════════════════════════════════ */
.signalBtn { cursor: pointer !important; }

/* ══════════════════════════════════════════════
   PROFILE PAGE extras
══════════════════════════════════════════════ */
.profile-thumb { border: 2px solid var(--border) !important; border-radius: 50% !important; }
.profile-image-preview { border: 1px solid var(--border) !important; border-radius: 10px !important; }
.custom-icon-field { position: relative; }
.input-popup {
    background: var(--bg-2) !important; border: 1px solid var(--border) !important;
    border-radius: 8px !important; padding: 10px 14px !important;
    font-size: 12px !important; margin-top: 6px !important;
}
.input-popup p { color: var(--text-3) !important; margin: 3px 0 !important; }
.input-popup p.error.valid { color: var(--green) !important; }

/* ══════════════════════════════════════════════
   SD USER PAGE LAYOUT (inner dashboard pages)
══════════════════════════════════════════════ */
.sd-user-page {
    background: #000;
    min-height: 70vh;
    padding: 40px 0 80px;
}
.sd-user-page .sd-inner { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }

/* Filter form (transactions) */
.sd-filter-form { margin-bottom: 24px; }
.sd-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 900px) { .sd-filter-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sd-filter-grid { grid-template-columns: 1fr; } }

/* Transaction amount badges */
.sd-trx-amount { font-weight: 700; font-size: 14px; }
.sd-trx-amount.credit { color: var(--green) !important; }
.sd-trx-amount.debit  { color: var(--red) !important; }

/* Search form */
.sd-user-search-form { margin-bottom: 24px; }
.sd-user-search-group {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-1); border: 1px solid var(--border);
    border-radius: 10px; padding: 8px 16px;
    max-width: 560px;
}
.sd-user-search-group i { color: var(--text-3); font-size: 16px; flex-shrink: 0; }
.sd-user-search-input {
    flex: 1; background: none; border: none; outline: none;
    color: var(--text); font-size: 13.5px;
}
.sd-user-search-input::placeholder { color: var(--text-3); }

/* Table card */
.sd-table-card {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}
.sd-table-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}
.sd-table-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}
.sd-table-wrap { overflow-x: auto; }
.sd-table {
    width: 100%;
    border-collapse: collapse;
}
.sd-table th {
    padding: 12px 20px;
    background: var(--bg-2);
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.sd-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.sd-table tbody tr:last-child td { border-bottom: none; }
.sd-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.sd-table-empty {
    text-align: center;
    padding: 60px 20px !important;
    color: var(--text-3) !important;
    font-size: 14px !important;
}

/* Detail list in modals */
.sd-detail-list { list-style: none; padding: 0; margin: 0; }
.sd-detail-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--border);
    font-size: 13.5px;
}
.sd-detail-item:last-child { border-bottom: none; }
.sd-detail-name { color: var(--text-3); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.sd-detail-val  { color: var(--text); font-weight: 600; }

/* ══════════════════════════════════════════════
   PHONE FIELD (dial code + number)
══════════════════════════════════════════════ */
.sd-phone-field {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-1);
    transition: border-color .2s;
}
.sd-phone-field:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,.08); }
.sd-phone-field input.sd-form-control { border: none !important; box-shadow: none !important; border-radius: 0 !important; background: transparent !important; }
.sd-dial-select {
    background: var(--bg-2) !important;
    border: none !important;
    border-right: 1px solid var(--border) !important;
    color: var(--text) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0 10px !important;
    outline: none !important;
    cursor: pointer;
    min-width: 90px;
    max-width: 130px;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    padding-right: 24px !important;
}
.sd-dial-select:focus { outline: none !important; }
.sd-dial-select option { background: var(--bg-2); color: var(--text); }

/* ══════════════════════════════════════════════
   PRICING SECTION
══════════════════════════════════════════════ */
.sd-period-btn { outline: none; }
.sd-period-btn:focus { outline: none; }
.sd-pricing-card { transition: transform .2s, box-shadow .2s; }
.sd-pricing-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ══════════════════════════════════════════════
   GLOBAL DARK BODY ENSURE
══════════════════════════════════════════════ */
body { background: #000 !important; }
.container { position: relative; }
h4.text-center { color: var(--text) !important; }
h4.text-white { color: var(--text) !important; }
b, strong { color: inherit; }


/* ══════════════════════════════════════════════
   DUAL TICKER BARS (news + prices, fixed below nav)
══════════════════════════════════════════════ */
:root { --ticker-h: 36px; --tickers-total: 36px; }

.sd-ticker-wrap {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 1029;
    display: flex;
    flex-direction: column;
}

/* Both bars share the same structure */
.sd-ticker-row {
    display: flex;
    align-items: center;
    height: var(--ticker-h);
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: #000;
}
.sd-ticker-row--price  { background: rgba(0,0,0,.97); }
.sd-ticker-row--news   { background: rgba(5,5,5,.97);  border-bottom: 1px solid rgba(255,255,255,.05); }

.sd-ticker-label {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    gap: 5px;
    z-index: 2;
}
.sd-ticker-label--price { background: #22c55e; color: #000; }
.sd-ticker-label--news  { background: rgba(34,197,94,.15); color: #22c55e; border-right: 1px solid rgba(34,197,94,.3); }

.sd-ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    mask-image: linear-gradient(to right, transparent 0, #000 2%, #000 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2%, #000 98%, transparent 100%);
}

.sd-ticker-track {
    display: flex;
    white-space: nowrap;
    height: 100%;
    align-items: center;
    will-change: transform;
    animation: sdTickerScroll linear infinite;
    animation-duration: 80s; /* overridden by JS */
}
.sd-ticker-track:hover { animation-play-state: paused; }

@keyframes sdTickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Price items — single line: SYMBOL  PRICE  CHG% */
.sd-tick-price {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 20px 0 0;
    border-right: 1px solid rgba(255,255,255,.06);
    margin-right: 20px;
    font-size: 12px;
    line-height: 1;
}
.sd-tick-sym  { font-weight: 800; color: #e2e8f0; font-size: 11.5px; }
.sd-tick-px   { color: #94a3b8; font-variant-numeric: tabular-nums; font-family: 'Courier New', monospace; font-size: 11.5px; }
.sd-tick-chg  { font-size: 10.5px; font-weight: 700; padding: 1px 5px; border-radius: 3px; }
.sd-tick-chg.up   { color: #22c55e; background: rgba(34,197,94,.12); }
.sd-tick-chg.down { color: #f87171; background: rgba(239,68,68,.12); }
.sd-tick-chg.flat { color: #94a3b8; }

/* News items — same single line */
.sd-tick-news {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0 28px;
    border-right: 1px solid rgba(255,255,255,.05);
    font-size: 12px;
    color: rgba(255,255,255,.65);
    line-height: 1;
}
.sd-tick-news a { color: inherit; text-decoration: none; }
.sd-tick-news a:hover { color: #22c55e; }
.sd-tick-news-src { color: #22c55e; font-size: 9px; font-weight: 800; text-transform: uppercase; margin-right: 7px; }

/* Spacer to push page content below both fixed tickers */
.sd-tickers-spacer { height: var(--tickers-total); display: block; }

/* Remove old single ticker bar */
.sd-ticker-bar { display: none !important; }

/* ══════════════════════════════════════════════
   RIGHT PANEL — permanent fixed sidebar, stacked cards
══════════════════════════════════════════════ */
:root { --rp-w: 300px; }

/* Permanent fixed sidebar — always visible */
#sdRpWrapper {
    position: fixed;
    top: calc(var(--nav-h) + var(--tickers-total));
    right: 0;
    width: var(--rp-w);
    height: calc(100vh - var(--nav-h) - var(--tickers-total));
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 8px 14px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #070707;
    border-left: 1px solid rgba(255,255,255,.08);
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.08) transparent;
}
#sdRpWrapper::-webkit-scrollbar { width: 3px; }
#sdRpWrapper::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }

/* Rounded cards */
.sd-rp-card {
    background: #0f0f0f;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.sd-rp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 13px;
    background: #111;
    border-bottom: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
}
.sd-rp-card-title {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sd-rp-card-badge {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #475569;
}
.sd-rp-card-badge.live {
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sd-rp-card-badge.live::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #22c55e;
    animation: liveBlip 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes liveBlip { 0%,100%{opacity:1} 50%{opacity:.2} }

/* Markets card — fixed-height scrollable body */
.sd-rp-card--markets .sd-rp-card-body {
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.06) transparent;
}
.sd-rp-card--markets .sd-rp-card-body::-webkit-scrollbar { width: 2px; }
.sd-rp-card--markets .sd-rp-card-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); }

/* News card — fixed-height scrollable body */
.sd-rp-card--news .sd-rp-card-body {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.06) transparent;
}
.sd-rp-card--news .sd-rp-card-body::-webkit-scrollbar { width: 2px; }
.sd-rp-card--news .sd-rp-card-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); }

/* Calendar card — fixed height */
.sd-rp-card--cal .sd-rp-card-body {
    height: 300px;
    overflow: hidden;
}
.sd-rp-card--cal .tradingview-widget-container,
.sd-rp-card--cal .tradingview-widget-container__widget { height: 100% !important; width: 100% !important; }

/* Watchlist rows — MT5 style */
.sd-mw-section-head {
    padding: 6px 13px 4px;
    font-size: 9px; font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase; color: #475569;
    background: #0d0d0d; border-bottom: 1px solid rgba(255,255,255,.05);
    position: sticky; top: 0; z-index: 1;
}
.sd-mw-row {
    display: grid; grid-template-columns: 1fr auto auto;
    align-items: center; gap: 6px;
    padding: 7px 13px;
    border-bottom: 1px solid rgba(255,255,255,.03);
    transition: background .15s;
}
.sd-mw-row:hover { background: rgba(255,255,255,.025); }
.sd-mw-sym  { font-size: 12px; font-weight: 700; color: #e2e8f0; }
.sd-mw-name { font-size: 10px; color: #475569; margin-top: 1px; }
.sd-mw-price { font-size: 12px; font-weight: 700; color: #e2e8f0; text-align: right; font-family: 'Courier New', monospace; font-variant-numeric: tabular-nums; }
.sd-mw-chg  { font-size: 10px; font-weight: 700; text-align: right; padding: 2px 5px; border-radius: 4px; min-width: 52px; }
.sd-mw-chg.up   { color: #22c55e; background: rgba(34,197,94,.1); }
.sd-mw-chg.down { color: #f87171; background: rgba(239,68,68,.1); }
.sd-mw-pulse { animation: mwPulse .3s ease; }
@keyframes mwPulse { 0%,100%{opacity:1} 50%{opacity:.25} }

/* News items in panel */
.sd-rp-news-item { padding: 9px 13px; border-bottom: 1px solid rgba(255,255,255,.04); transition: background .15s; }
.sd-rp-news-item:hover { background: rgba(255,255,255,.025); }
.sd-rp-news-headline { font-size: 12px; font-weight: 600; color: #94a3b8; line-height: 1.45; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sd-rp-news-headline a { color: inherit; text-decoration: none; }
.sd-rp-news-headline a:hover { color: #22c55e; }
.sd-rp-news-meta { font-size: 10px; color: #475569; display: flex; align-items: center; gap: 8px; }
.sd-rp-news-src  { color: #22c55e; font-weight: 800; font-size: 9px; letter-spacing: .5px; text-transform: uppercase; }

/* Homepage price ticker strip (in-flow, not fixed) */
.sd-price-strip {
    display: flex;
    align-items: center;
    height: 36px;
    background: rgba(0,0,0,.97);
    border-bottom: 1px solid rgba(255,255,255,.07);
    overflow: hidden;
}
.sd-price-strip-label {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    gap: 5px;
    background: #22c55e;
    color: #000;
    z-index: 2;
}
.sd-price-strip-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    mask-image: linear-gradient(to right, transparent 0, #000 2%, #000 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2%, #000 98%, transparent 100%);
}
.sd-price-strip-track {
    display: flex;
    white-space: nowrap;
    height: 100%;
    align-items: center;
    will-change: transform;
    animation: sdTickerScroll linear infinite;
    animation-duration: 80s;
}
.sd-price-strip-track:hover { animation-play-state: paused; }

/* ── Responsive — hide panel on small/medium screens ── */
@media (max-width: 1200px) {
    :root { --rp-w: 0px; }
    #sdRpWrapper { display: none; }
    .main-wrapper { padding-right: 0 !important; }
    .sd-footer { padding-right: var(--pad) !important; }
}
