:root {
    --mtt-bg: #070713;
    --mtt-panel: #080812;
    --mtt-text: #f5f5fb;
    --mtt-muted: #c7c3d6;
    --mtt-dim: #7c788b;
    --mtt-border: rgba(255, 255, 255, 0.78);
    --mtt-blue: #3f82f6;
    --mtt-orange: #ff5a00;
}

* {
    box-sizing: border-box;
}

body.mtt-auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--mtt-text);
    background: #05050d;
}

.mtt-auth-page {
    min-height: 100vh;
    width: 100%;
    background: url("/static/redesign/img/auth-gradient-bg.png") center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.mtt-auth-card {
    width: 100%;
    max-width: 760px;
    min-height: 620px;
    background: rgba(5, 6, 16, 0.94);
    border-radius: 12px;
    padding: 58px 58px 52px;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.48);
}

.mtt-auth-title {
    margin: 0;
    text-align: center;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.mtt-auth-subtitle {
    margin: 22px 0 48px;
    text-align: center;
    color: var(--mtt-muted);
    font-size: 14px;
}

.mtt-alert {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 74, 74, 0.16);
    border: 1px solid rgba(255, 74, 74, 0.36);
    font-size: 14px;
}

.mtt-auth-form {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.mtt-field {
    position: relative;
}

.mtt-field input {
    width: 100%;
    height: 58px;
    border: 1px solid var(--mtt-border);
    border-radius: 8px;
    background: transparent;
    color: var(--mtt-text);
    padding: 0 22px;
    font-size: 16px;
    outline: none;
}

.mtt-field input::placeholder {
    color: #d8d6df;
}

.mtt-field input:focus {
    border-color: var(--mtt-orange);
}

.mtt-password-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mtt-orange);
    font-size: 20px;
    line-height: 1;
    user-select: none;
}

.mtt-auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -4px;
}

.mtt-check {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--mtt-muted);
    font-size: 14px;
}

.mtt-check input {
    width: 20px;
    height: 20px;
    accent-color: var(--mtt-orange);
}

.mtt-link {
    color: var(--mtt-orange);
    text-decoration: none;
    font-size: 14px;
}

.mtt-link:hover {
    text-decoration: underline;
}

.mtt-btn-primary {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    background: var(--mtt-orange);
}

.mtt-btn-primary:hover {
    background: #ff6b17;
}

.mtt-auth-footer-text {
    margin: 30px 0 0;
    text-align: center;
    color: var(--mtt-muted);
    font-size: 15px;
}

.mtt-auth-footer-text a {
    color: var(--mtt-orange);
    text-decoration: none;
    font-weight: 600;
}

.mtt-auth-divider {
    margin: 34px 0 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--mtt-dim);
    font-size: 15px;
}

.mtt-auth-divider::before,
.mtt-auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
}

.mtt-social-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mtt-social-btn {
    height: 58px;
    border: 1px solid #315be9;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 26px;
    font-weight: 700;
}

.mtt-social-btn:hover {
    background: rgba(49, 91, 233, 0.12);
}

.mtt-social-facebook {
    color: #1877f2;
}

.mtt-social-google {
    color: #fff;
}

.mtt-social-apple {
    color: #fff;
}

@media (max-width: 820px) {
    .mtt-auth-page {
        padding: 18px;
    }

    .mtt-auth-card {
        padding: 42px 24px;
        min-height: auto;
    }

    .mtt-auth-title {
        font-size: 34px;
    }

    .mtt-social-row {
        grid-template-columns: 1fr;
    }
}

/* Auth cleanup */
.mtt-field input {
    padding-right: 52px;
}

.mtt-password-toggle {
    display: none;
}

.mtt-auth-card {
    max-width: 735px;
    min-height: 610px;
}

.mtt-btn-primary {
    margin-top: 6px;
}

/* Sign up page */
.mtt-auth-card.mtt-signup-card {
    max-width: 820px;
    min-height: auto;
    padding: 54px 58px 52px;
}

.mtt-signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mtt-signup-full {
    grid-column: 1 / -1;
}

.mtt-terms-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--mtt-muted);
    font-size: 15px;
    margin-top: 2px;
}

.mtt-terms-row input {
    width: 20px;
    height: 20px;
    accent-color: var(--mtt-blue);
}

.mtt-terms-row a {
    color: var(--mtt-blue);
    text-decoration: none;
}

.mtt-terms-row a:hover {
    text-decoration: underline;
}

.mtt-address-section {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
    margin-top: 2px;
}

.mtt-address-title {
    margin: 0 0 18px;
    color: var(--mtt-muted);
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 820px) {
    .mtt-signup-grid {
        grid-template-columns: 1fr;
    }

    .mtt-signup-full,
    .mtt-address-section {
        grid-column: auto;
    }

    .mtt-auth-card.mtt-signup-card {
        padding: 42px 24px;
    }
}

/* Sign-up viewport/spacing fix */
.mtt-auth-page {
    min-height: 100vh;
    align-items: flex-start;
    padding-top: 78px;
    padding-bottom: 78px;
}

.mtt-auth-card.mtt-signup-card {
    margin: 0 auto;
    max-width: 820px;
    width: 100%;
    padding: 48px 58px 42px;
}

.mtt-signup-card .mtt-auth-title {
    font-size: 40px;
    margin-bottom: 0;
}

.mtt-signup-card .mtt-auth-subtitle {
    margin: 18px 0 38px;
}

.mtt-signup-card .mtt-auth-form {
    gap: 22px;
}

.mtt-signup-card .mtt-field input {
    height: 56px;
}

.mtt-signup-card .mtt-address-section {
    padding-top: 20px;
    margin-top: 0;
}

.mtt-signup-card .mtt-btn-primary {
    margin-top: 8px;
}

.mtt-signup-card .mtt-auth-footer-text {
    margin-top: 24px;
}

.mtt-signup-card .mtt-auth-divider,
.mtt-signup-card .mtt-social-row {
    display: none;
}

@media (max-width: 820px) {
    .mtt-auth-page {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .mtt-auth-card.mtt-signup-card {
        padding: 36px 22px;
    }
}

/* Keep Chrome autofill dark */
.mtt-field input:-webkit-autofill,
.mtt-field input:-webkit-autofill:hover,
.mtt-field input:-webkit-autofill:focus,
.mtt-field input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
    box-shadow: 0 0 0 1000px #080812 inset !important;
    border: 1px solid rgba(255, 255, 255, 0.78);
}

/* Make sign-up fit better on desktop */
.mtt-auth-page {
    padding-top: 32px;
    padding-bottom: 32px;
}

.mtt-auth-card.mtt-signup-card {
    max-width: 780px;
    padding: 34px 52px 34px;
}

.mtt-signup-card .mtt-auth-title {
    font-size: 34px;
}

.mtt-signup-card .mtt-auth-subtitle {
    margin: 12px 0 28px;
}

.mtt-signup-card .mtt-auth-form {
    gap: 16px;
}

.mtt-signup-grid {
    gap: 16px;
}

.mtt-signup-card .mtt-field input {
    height: 50px;
    font-size: 14px;
}

.mtt-signup-card .mtt-address-section {
    padding-top: 16px;
}

.mtt-address-title {
    margin-bottom: 14px;
}

.mtt-terms-row {
    font-size: 14px;
    margin-top: 0;
}

.mtt-terms-row input {
    width: 16px;
    height: 16px;
}

.mtt-signup-card .mtt-btn-primary {
    height: 52px;
    font-size: 18px;
    margin-top: 4px;
}

.mtt-signup-card .mtt-auth-footer-text {
    margin-top: 16px;
    font-size: 14px;
}

/* OTP verification */
.mtt-auth-card.mtt-otp-card {
    max-width: 760px;
    min-height: 500px;
    padding: 58px 58px 52px;
}

.mtt-otp-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
    margin: 18px 0 8px;
}

.mtt-otp-input {
    width: 100%;
    height: 68px;
    border: 1px solid var(--mtt-border);
    border-radius: 8px;
    background: transparent;
    color: var(--mtt-text);
    text-align: center;
    font-size: 30px;
    outline: none;
}

.mtt-otp-input:focus {
    border-color: var(--mtt-blue);
    box-shadow: 0 0 0 3px rgba(63, 130, 246, 0.18);
}

.mtt-otp-help {
    color: var(--mtt-muted);
    font-size: 15px;
    margin: 0 0 34px;
}

.mtt-otp-help a {
    color: var(--mtt-blue);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 820px) {
    .mtt-otp-row {
        grid-template-columns: repeat(4, 1fr);
    }

    .mtt-auth-card.mtt-otp-card {
        padding: 42px 24px;
    }
}

/* New password page */
.mtt-password-rules {
    margin: 4px 0 8px;
}

.mtt-password-rules-title {
    margin: 0 0 16px;
    color: var(--mtt-text);
    font-size: 16px;
}

.mtt-password-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 36px;
}

.mtt-password-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--mtt-muted);
    font-size: 15px;
}

.mtt-password-check {
    width: 24px;
    height: 24px;
    border: 1px solid #008d19;
    border-radius: 50%;
    color: #00a51d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

@media (max-width: 820px) {
    .mtt-password-rules-grid {
        grid-template-columns: 1fr;
    }
}

/* Public marketing pages */
body.mtt-public-body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #ffffff;
    background: #070713;
}

.mtt-public-page {
    min-height: 100vh;
    background: #070713;
}

.mtt-public-hero {
    min-height: 560px;
    background:
        linear-gradient(180deg, rgba(7, 7, 19, 0.18) 0%, rgba(7, 7, 19, 0.18) 56%, #070713 100%),
        url("/static/redesign/img/hero-candles.png") center top / cover no-repeat;
    position: relative;
}

.mtt-public-nav {
    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mtt-public-logo img {
    width: 128px;
    height: auto;
    display: block;
}

.mtt-public-links {
    display: flex;
    align-items: center;
    gap: 54px;
}

.mtt-public-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.92;
}

.mtt-public-links a:hover {
    color: #b43cff;
}

.mtt-hero-card {
    width: min(680px, calc(100% - 48px));
    margin: 72px auto 0;
    padding: 54px 70px;
    text-align: center;
    background: rgba(116, 41, 150, 0.86);
    border: 1px solid rgba(216, 98, 255, 0.36);
    border-radius: 10px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.mtt-hero-card h1 {
    margin: 0 0 22px;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 500;
}

.mtt-hero-card p {
    margin: 0 auto 26px;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.55;
}

.mtt-public-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    height: 44px;
    border-radius: 4px;
    border: none;
    color: #fff;
    background: linear-gradient(90deg, #b532ff 0%, #a735f0 100%);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.mtt-public-section {
    padding: 76px 0;
}

.mtt-public-container {
    width: min(1320px, calc(100% - 80px));
    margin: 0 auto;
}

.mtt-section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.mtt-section-heading h2 {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
}

.mtt-section-heading h2 span.purple {
    color: #c13cff;
}

.mtt-section-heading h2 span.green {
    color: #83f000;
}

.mtt-section-heading h2 span.orange {
    color: #ff5a00;
}

.mtt-section-heading p {
    margin: 0 auto;
    max-width: 820px;
    color: #bdb8cf;
    font-size: 14px;
    line-height: 1.65;
}

.mtt-plan-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: -20px 0 34px;
    color: #c7c3d6;
    font-size: 13px;
}

.mtt-toggle-pill {
    width: 42px;
    height: 20px;
    border-radius: 999px;
    background: #ffffff;
    position: relative;
}

.mtt-toggle-pill::after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #202032;
    position: absolute;
    top: 4px;
    left: 5px;
}

.mtt-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    width: min(840px, 100%);
    margin: 0 auto;
}

.mtt-price-card {
    min-height: 250px;
    padding: 26px 22px;
    background: rgba(13, 13, 30, 0.72);
    border: 1px solid #315be9;
    border-radius: 6px;
    position: relative;
}

.mtt-price-card.featured {
    border-color: #b43cff;
}

.mtt-price-card.accent-orange {
    border-color: #ff5a00;
}

.mtt-price-badge {
    position: absolute;
    right: 16px;
    top: -12px;
    background: #c13cff;
    color: #fff;
    font-size: 11px;
    padding: 5px 14px;
    border-radius: 2px;
}

.mtt-price-card h3 {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 500;
}

.mtt-price {
    margin-bottom: 20px;
    font-size: 30px;
    color: #3fa2ff;
}

.mtt-price span {
    font-size: 13px;
    color: #bdb8cf;
}

.mtt-price-card ul {
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    color: #c7c3d6;
    font-size: 13px;
    line-height: 1.9;
}

.mtt-price-card li::before {
    content: "✓";
    color: #3fa2ff;
    margin-right: 8px;
}

.mtt-price-card.accent-orange .mtt-price,
.mtt-price-card.accent-orange li::before {
    color: #ff8a1f;
}

.mtt-price-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid currentColor;
    border-radius: 3px;
    text-align: center;
    padding: 10px;
    font-size: 13px;
}

.mtt-strategy-section {
    background:
        linear-gradient(180deg, rgba(7, 7, 19, 0.50), rgba(7, 7, 19, 0.84)),
        url("/static/redesign/img/investment-strategy-bg.png") center center / cover no-repeat;
}

.mtt-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.mtt-feature-card {
    min-height: 210px;
    padding: 34px 28px;
    text-align: center;
    background: rgba(13, 13, 30, 0.72);
    border: 1px solid #b43cff;
    border-radius: 6px;
}

.mtt-feature-card.blue {
    border-color: #315be9;
}

.mtt-feature-card.orange {
    border-color: #ff5a00;
}

.mtt-feature-card img {
    height: 72px;
    width: auto;
    margin-bottom: 20px;
}

.mtt-feature-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 500;
}

.mtt-feature-card p {
    margin: 0;
    color: #bdb8cf;
    font-size: 13px;
    line-height: 1.55;
}

.mtt-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.mtt-team-card {
    background: rgba(13, 13, 30, 0.76);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.mtt-team-placeholder {
    height: 190px;
    background: linear-gradient(135deg, #202040, #070713);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #83f000;
    font-size: 44px;
}

.mtt-team-card h3 {
    margin: 18px 0 4px;
    font-size: 16px;
    font-weight: 600;
}

.mtt-team-card p {
    margin: 0;
    color: #8f8aa4;
    font-size: 12px;
}

.mtt-testimonial-grid,
.mtt-performance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.mtt-testimonial-card,
.mtt-performance-card {
    padding: 28px;
    min-height: 160px;
    background: rgba(13, 13, 30, 0.72);
    border: 1px solid #8cff00;
    border-radius: 6px;
}

.mtt-testimonial-card:nth-child(2),
.mtt-performance-card:nth-child(2) {
    border-color: #f2d000;
}

.mtt-testimonial-card:nth-child(3),
.mtt-performance-card:nth-child(3) {
    border-color: #315be9;
}

.mtt-testimonial-card h3,
.mtt-performance-card h3 {
    margin: 0 0 14px;
    font-size: 16px;
}

.mtt-testimonial-card p,
.mtt-performance-card p {
    margin: 0;
    color: #bdb8cf;
    font-size: 13px;
    line-height: 1.65;
}

.mtt-performance-section {
    background:
        linear-gradient(180deg, rgba(7, 7, 19, 0.35), rgba(7, 7, 19, 0.65)),
        url("/static/redesign/img/key-features-bg.png") center center / cover no-repeat;
}

.mtt-performance-number {
    font-size: 34px;
    color: #3fa2ff;
    margin-bottom: 8px;
}

.mtt-contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 54px;
    align-items: center;
}

.mtt-contact-image {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.mtt-contact-info p {
    color: #bdb8cf;
    font-size: 14px;
    line-height: 1.7;
}

.mtt-contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mtt-contact-form input,
.mtt-contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.78);
    border-radius: 4px;
    background: transparent;
    color: #ffffff;
    padding: 14px 16px;
    font-size: 14px;
    outline: none;
}

.mtt-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.mtt-contact-form button {
    height: 48px;
    border: none;
    border-radius: 4px;
    background: #ff5a00;
    color: #fff;
    cursor: pointer;
}

.mtt-public-footer {
    padding: 72px 0 42px;
    background: #10101c;
}

.mtt-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.8fr 1.2fr;
    gap: 60px;
}

.mtt-footer-logo {
    width: 118px;
    margin-bottom: 26px;
}

.mtt-public-footer p,
.mtt-public-footer a {
    color: #aaa6ba;
    font-size: 13px;
    line-height: 1.7;
    text-decoration: none;
}

.mtt-public-footer h4 {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 500;
}

.mtt-footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mtt-newsletter {
    display: flex;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 18px;
}

.mtt-newsletter input {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,0.12);
    border: 0;
    color: #fff;
    padding: 12px;
}

.mtt-newsletter button {
    width: 54px;
    border: 0;
    background: #fff;
    color: #111;
    font-size: 22px;
}

.mtt-footer-bottom {
    margin-top: 70px;
    display: flex;
    justify-content: space-between;
    color: #8f8aa4;
    font-size: 12px;
}

@media (max-width: 1000px) {
    .mtt-price-grid,
    .mtt-feature-grid,
    .mtt-team-grid,
    .mtt-testimonial-grid,
    .mtt-performance-grid,
    .mtt-contact-layout,
    .mtt-footer-grid {
        grid-template-columns: 1fr;
    }

    .mtt-public-nav,
    .mtt-public-container {
        width: min(100% - 36px, 720px);
    }

    .mtt-public-links {
        gap: 18px;
    }

    .mtt-hero-card {
        padding: 36px 24px;
    }

    .mtt-public-btn {
        min-width: 100%;
    }
}

/* About page */
.mtt-subpage-hero {
    min-height: 420px;
    background:
        linear-gradient(180deg, rgba(7, 7, 19, 0.25) 0%, rgba(7, 7, 19, 0.45) 58%, #070713 100%),
        url("/static/redesign/img/hero-candles.png") center top / cover no-repeat;
    position: relative;
}

.mtt-subpage-hero-content {
    width: min(980px, calc(100% - 48px));
    margin: 70px auto 0;
    text-align: center;
}

.mtt-subpage-hero-content h1 {
    margin: 0 0 18px;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 500;
}

.mtt-subpage-hero-content p {
    max-width: 760px;
    margin: 0 auto;
    color: #c7c3d6;
    font-size: 15px;
    line-height: 1.7;
}

.mtt-about-intro {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.mtt-about-graphic {
    min-height: 360px;
    border-radius: 12px;
    background:
        radial-gradient(circle at center, rgba(180, 60, 255, 0.38), rgba(9, 9, 24, 0.88) 62%),
        rgba(13, 13, 30, 0.72);
    border: 1px solid rgba(180, 60, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mtt-about-graphic img {
    width: min(260px, 70%);
    height: auto;
}

.mtt-about-copy h2 {
    margin: 0 0 20px;
    font-size: 36px;
    line-height: 1.18;
    font-weight: 500;
}

.mtt-about-copy h2 span {
    color: #c13cff;
}

.mtt-about-copy p {
    margin: 0 0 18px;
    color: #bdb8cf;
    font-size: 14px;
    line-height: 1.75;
}

.mtt-about-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.mtt-about-stat {
    padding: 22px;
    border-radius: 8px;
    background: rgba(13, 13, 30, 0.76);
    border: 1px solid rgba(49, 91, 233, 0.7);
}

.mtt-about-stat strong {
    display: block;
    color: #3fa2ff;
    font-size: 30px;
    margin-bottom: 6px;
}

.mtt-about-stat span {
    color: #bdb8cf;
    font-size: 13px;
}

.mtt-key-features-section {
    background:
        linear-gradient(180deg, rgba(7, 7, 19, 0.56), rgba(7, 7, 19, 0.80)),
        url("/static/redesign/img/key-features-bg.png") center center / cover no-repeat;
}

.mtt-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.mtt-value-card {
    min-height: 260px;
    padding: 36px 30px;
    text-align: center;
    background: rgba(13, 13, 30, 0.76);
    border: 1px solid #315be9;
    border-radius: 8px;
}

.mtt-value-card.purple {
    border-color: #b43cff;
}

.mtt-value-card.green {
    border-color: #83f000;
}

.mtt-value-card img {
    height: 78px;
    width: auto;
    margin-bottom: 24px;
}

.mtt-value-card h3 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 500;
}

.mtt-value-card p {
    margin: 0;
    color: #bdb8cf;
    font-size: 13px;
    line-height: 1.65;
}

.mtt-about-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

@media (max-width: 1000px) {
    .mtt-about-intro,
    .mtt-values-grid,
    .mtt-about-feature-grid {
        grid-template-columns: 1fr;
    }

    .mtt-subpage-hero-content h1 {
        font-size: 38px;
    }
}

/* Investment Strategy page */
.mtt-strategy-hero {
    min-height: 460px;
    background:
        linear-gradient(180deg, rgba(7, 7, 19, 0.20) 0%, rgba(7, 7, 19, 0.48) 58%, #070713 100%),
        url("/static/redesign/img/investment-strategy-bg.png") center center / cover no-repeat;
}

.mtt-strategy-intro-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 58px;
    align-items: center;
}

.mtt-strategy-copy h2 {
    margin: 0 0 18px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 500;
}

.mtt-strategy-copy h2 span {
    color: #83f000;
}

.mtt-strategy-copy p {
    margin: 0 0 18px;
    color: #bdb8cf;
    font-size: 14px;
    line-height: 1.75;
}

.mtt-strategy-graphic {
    min-height: 390px;
    border-radius: 14px;
    background:
        radial-gradient(circle at center, rgba(131, 240, 0, 0.18), rgba(13, 13, 30, 0.90) 64%),
        rgba(13, 13, 30, 0.76);
    border: 1px solid rgba(131, 240, 0, 0.34);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mtt-strategy-graphic img {
    width: min(300px, 72%);
    height: auto;
}

.mtt-process-section {
    background:
        linear-gradient(180deg, rgba(7, 7, 19, 0.60), rgba(7, 7, 19, 0.84)),
        url("/static/redesign/img/our-investment-process-bg.png") center center / cover no-repeat;
}

.mtt-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.mtt-process-card {
    min-height: 245px;
    padding: 30px 22px;
    background: rgba(13, 13, 30, 0.78);
    border: 1px solid rgba(49, 91, 233, 0.82);
    border-radius: 8px;
    text-align: center;
}

.mtt-process-card:nth-child(2) {
    border-color: #b43cff;
}

.mtt-process-card:nth-child(3) {
    border-color: #83f000;
}

.mtt-process-card:nth-child(4) {
    border-color: #ff5a00;
}

.mtt-process-card img {
    height: 70px;
    width: auto;
    margin-bottom: 22px;
}

.mtt-process-card h3 {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 500;
}

.mtt-process-card p {
    margin: 0;
    color: #bdb8cf;
    font-size: 13px;
    line-height: 1.6;
}

.mtt-risk-control-section {
    background: #090916;
}

.mtt-risk-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.mtt-risk-card {
    padding: 34px 30px;
    min-height: 250px;
    border-radius: 8px;
    background: rgba(13, 13, 30, 0.80);
    border: 1px solid #b43cff;
}

.mtt-risk-card.blue {
    border-color: #315be9;
}

.mtt-risk-card.orange {
    border-color: #ff5a00;
}

.mtt-risk-card img {
    height: 72px;
    margin-bottom: 22px;
}

.mtt-risk-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 500;
}

.mtt-risk-card p {
    margin: 0;
    color: #bdb8cf;
    font-size: 13px;
    line-height: 1.65;
}

@media (max-width: 1000px) {
    .mtt-strategy-intro-layout,
    .mtt-process-grid,
    .mtt-risk-layout {
        grid-template-columns: 1fr;
    }
}

/* Performance page */
.mtt-performance-hero {
    min-height: 460px;
    background:
        linear-gradient(180deg, rgba(7, 7, 19, 0.22) 0%, rgba(7, 7, 19, 0.48) 58%, #070713 100%),
        url("/static/redesign/img/performance-bg.png") center center / cover no-repeat;
}

.mtt-performance-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.mtt-performance-summary-card {
    min-height: 230px;
    padding: 32px 28px;
    border-radius: 8px;
    background: rgba(13, 13, 30, 0.78);
    border: 1px solid #315be9;
    position: relative;
    overflow: hidden;
}

.mtt-performance-summary-card.purple {
    border-color: #b43cff;
}

.mtt-performance-summary-card.orange {
    border-color: #ff5a00;
}

.mtt-performance-summary-card img {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
}

.mtt-performance-summary-card h3 {
    margin: 0 0 12px;
    color: #bdb8cf;
    font-size: 15px;
    font-weight: 500;
}

.mtt-performance-summary-card strong {
    display: block;
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    margin-bottom: 12px;
}

.mtt-performance-summary-card p {
    margin: 0;
    color: #8f8aa4;
    font-size: 13px;
    line-height: 1.6;
}

.mtt-performance-chart-section {
    background:
        linear-gradient(180deg, rgba(7, 7, 19, 0.55), rgba(7, 7, 19, 0.88)),
        url("/static/redesign/img/total-return-bg.png") center center / cover no-repeat;
}

.mtt-performance-chart-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.mtt-performance-chart-copy h2 {
    margin: 0 0 20px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 500;
}

.mtt-performance-chart-copy h2 span {
    color: #83f000;
}

.mtt-performance-chart-copy p {
    margin: 0 0 18px;
    color: #bdb8cf;
    font-size: 14px;
    line-height: 1.75;
}

.mtt-performance-chart-box {
    padding: 24px;
    border-radius: 12px;
    background: rgba(13, 13, 30, 0.78);
    border: 1px solid rgba(131, 240, 0, 0.36);
}

.mtt-performance-chart-box img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.mtt-performance-disclaimer {
    margin-top: 34px;
    padding: 22px 26px;
    border-left: 3px solid #ff5a00;
    background: rgba(255, 90, 0, 0.08);
    color: #c7c3d6;
    font-size: 13px;
    line-height: 1.65;
}

@media (max-width: 1000px) {
    .mtt-performance-summary-grid,
    .mtt-performance-chart-layout {
        grid-template-columns: 1fr;
    }
}

/* Clean performance mockup replacing old stock chart screenshot */
.mtt-performance-mockup {
    min-height: 390px;
    padding: 32px;
    background:
        radial-gradient(circle at top right, rgba(131, 240, 0, 0.12), transparent 42%),
        linear-gradient(145deg, rgba(13, 13, 30, 0.94), rgba(7, 7, 19, 0.94));
}

.mtt-performance-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}

.mtt-performance-mockup-header span {
    color: #bdb8cf;
    font-size: 15px;
}

.mtt-performance-mockup-header strong {
    color: #83f000;
    font-size: 34px;
    font-weight: 600;
}

.mtt-performance-line-chart {
    height: 210px;
    display: flex;
    align-items: end;
    gap: 14px;
    padding: 24px;
    border-radius: 10px;
    background:
        linear-gradient(to top, rgba(255,255,255,0.08) 1px, transparent 1px) 0 0 / 100% 25%,
        rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.mtt-performance-line-chart span {
    flex: 1;
    min-width: 12px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, #83f000, #315be9);
    box-shadow: 0 0 18px rgba(131, 240, 0, 0.20);
}

.mtt-performance-mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.mtt-performance-mockup-stats div {
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mtt-performance-mockup-stats span {
    display: block;
    color: #8f8aa4;
    font-size: 12px;
    margin-bottom: 8px;
}

.mtt-performance-mockup-stats strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
}

@media (max-width: 700px) {
    .mtt-performance-mockup-stats {
        grid-template-columns: 1fr;
    }

    .mtt-performance-line-chart {
        gap: 8px;
        padding: 18px;
    }
}

/* Shared nav for auth pages */
.mtt-auth-top-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 92px;
    z-index: 5;
}

.mtt-auth-top-nav .mtt-public-nav {
    height: 92px;
}

.mtt-auth-page.has-auth-nav {
    padding-top: 120px;
}

@media (max-width: 1000px) {
    .mtt-auth-top-nav .mtt-public-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .mtt-auth-top-nav .mtt-public-nav {
        width: min(100% - 36px, 720px);
    }
}

/* Contact page */
.mtt-contact-card {
    padding: 42px;
    border-radius: 12px;
    background: rgba(13, 13, 30, 0.82);
    border: 1px solid rgba(180, 60, 255, 0.42);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.mtt-contact-card h2 {
    margin: 0 0 12px;
    font-size: 34px;
    font-weight: 500;
}

.mtt-contact-card p {
    margin: 0 0 26px;
    color: #bdb8cf;
    font-size: 14px;
    line-height: 1.7;
}

.mtt-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
}

.mtt-contact-method {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(13, 13, 30, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.mtt-contact-method img {
    width: 48px;
    height: 48px;
}

.mtt-contact-method strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 4px;
}

.mtt-contact-method span {
    display: block;
    color: #bdb8cf;
    font-size: 13px;
}

.mtt-contact-form input,
.mtt-contact-form textarea {
    box-sizing: border-box;
}

.mtt-contact-form button {
    background: #ff5a00;
    font-size: 17px;
    font-weight: 600;
}

/* Contact page spacing cleanup */
body.mtt-public-body .mtt-subpage-hero {
    min-height: 360px;
}

body.mtt-public-body .mtt-subpage-hero-content {
    margin-top: 52px;
}

body.mtt-public-body .mtt-subpage-hero-content h1 {
    font-size: 42px;
}

body.mtt-public-body .mtt-contact-layout {
    align-items: start;
}

body.mtt-public-body .mtt-contact-card {
    margin-top: 0;
}

body.mtt-public-body .mtt-contact-form textarea {
    min-height: 96px;
}

body.mtt-public-body .mtt-contact-method {
    padding: 14px 18px;
}

body.mtt-public-body .mtt-contact-image {
    max-height: 220px;
    object-fit: cover;
}

/* Final contact page desktop fit */
body.mtt-public-body .mtt-subpage-hero {
    min-height: 320px;
}

body.mtt-public-body .mtt-public-section:has(.mtt-contact-layout) {
    padding-top: 46px;
}

body.mtt-public-body .mtt-contact-methods {
    gap: 12px;
    margin-top: 22px;
}

body.mtt-public-body .mtt-contact-method {
    min-height: 52px;
}

body.mtt-public-body .mtt-contact-method img {
    width: 36px;
    height: 36px;
}

body.mtt-public-body .mtt-contact-card {
    padding: 36px;
}

body.mtt-public-body .mtt-contact-card h2 {
    font-size: 30px;
}

body.mtt-public-body .mtt-contact-card p {
    margin-bottom: 20px;
}

body.mtt-public-body .mtt-contact-form {
    gap: 12px;
}

body.mtt-public-body .mtt-contact-form input {
    padding: 12px 14px;
}

body.mtt-public-body .mtt-contact-form textarea {
    min-height: 86px;
}

body.mtt-public-body .mtt-contact-form button {
    height: 44px;
}

/* Logged-in app dashboard */
body.mtt-app-body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #ffffff;
    background: #070713;
}

.mtt-app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
    background:
        radial-gradient(circle at top left, rgba(180, 60, 255, 0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(49, 91, 233, 0.14), transparent 36%),
        #070713;
}

.mtt-app-sidebar {
    min-height: 100vh;
    padding: 28px 22px;
    background: rgba(8, 8, 20, 0.96);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    position: sticky;
    top: 0;
}

.mtt-app-logo img {
    width: 130px;
    height: auto;
    display: block;
    margin: 0 0 44px;
}

.mtt-app-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mtt-app-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 14px;
    border-radius: 10px;
    color: #bdb8cf;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s ease, color 0.15s ease;
}

.mtt-app-nav a:hover,
.mtt-app-nav a.active {
    color: #ffffff;
    background: rgba(180, 60, 255, 0.18);
}

.mtt-app-nav img {
    width: 20px;
    height: 20px;
}

.mtt-app-logout {
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
}

.mtt-app-main {
    padding: 34px 42px 54px;
    box-sizing: border-box;
}

.mtt-app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.mtt-app-title h1 {
    margin: 0 0 8px;
    font-size: 34px;
    font-weight: 500;
}

.mtt-app-title p {
    margin: 0;
    color: #8f8aa4;
    font-size: 14px;
}

.mtt-app-top-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mtt-app-icon-button {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(13, 13, 30, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mtt-app-icon-button img {
    width: 20px;
    height: 20px;
}

.mtt-app-card {
    background: rgba(13, 13, 30, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.mtt-profile-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    margin-bottom: 28px;
}

.mtt-profile-card {
    padding: 34px;
    text-align: center;
}

.mtt-profile-picture {
    width: 122px;
    height: 122px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #83f000;
    background: #10101c;
    margin-bottom: 20px;
}

.mtt-profile-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
}

.mtt-profile-card p {
    margin: 0 0 24px;
    color: #bdb8cf;
    font-size: 14px;
}

.mtt-app-button {
    min-height: 46px;
    padding: 0 24px;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    background: #ff5a00;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.mtt-app-button.secondary {
    background: rgba(49, 91, 233, 0.95);
}

.mtt-app-button.danger {
    background: rgba(220, 38, 38, 0.95);
}

.mtt-balance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.mtt-balance-card {
    padding: 28px;
    min-height: 150px;
    border-radius: 16px;
    background:
        radial-gradient(circle at top right, rgba(49, 91, 233, 0.22), transparent 46%),
        rgba(13, 13, 30, 0.86);
    border: 1px solid rgba(49, 91, 233, 0.50);
}

.mtt-balance-card.orange {
    background:
        radial-gradient(circle at top right, rgba(255, 90, 0, 0.20), transparent 46%),
        rgba(13, 13, 30, 0.86);
    border-color: rgba(255, 90, 0, 0.50);
}

.mtt-balance-card span {
    display: block;
    color: #8f8aa4;
    font-size: 14px;
    margin-bottom: 16px;
}

.mtt-balance-card strong {
    display: block;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.1;
}

.mtt-subscription-card {
    padding: 34px;
}

.mtt-card-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.mtt-card-heading h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 500;
}

.mtt-card-heading p {
    margin: 0;
    color: #8f8aa4;
    font-size: 14px;
}

.mtt-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(131, 240, 0, 0.12);
    border: 1px solid rgba(131, 240, 0, 0.45);
    color: #83f000;
    font-size: 13px;
    font-weight: 600;
}

.mtt-status-pill.paused {
    background: rgba(255, 90, 0, 0.12);
    border-color: rgba(255, 90, 0, 0.45);
    color: #ff8a1f;
}

.mtt-subscription-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.mtt-detail-box {
    padding: 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mtt-detail-box span {
    display: block;
    color: #8f8aa4;
    font-size: 12px;
    margin-bottom: 8px;
}

.mtt-detail-box strong,
.mtt-detail-box a {
    display: block;
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
}

.mtt-detail-box a {
    color: #3fa2ff;
}

.mtt-subscription-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.mtt-subscription-actions form {
    margin: 0;
}

.mtt-app-modal {
    display: none;
    position: fixed;
    z-index: 50;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mtt-app-modal-content {
    width: min(520px, 100%);
    padding: 32px;
    border-radius: 18px;
    background: #0d0d1e;
    border: 1px solid rgba(180, 60, 255, 0.42);
    color: #ffffff;
    box-shadow: 0 32px 120px rgba(0,0,0,0.45);
    box-sizing: border-box;
}

.mtt-app-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.mtt-app-modal-header h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 500;
}

.mtt-close-modal {
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

.mtt-app-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mtt-app-form label {
    color: #bdb8cf;
    font-size: 13px;
    margin-bottom: -8px;
}

.mtt-app-form input {
    width: 100%;
    height: 48px;
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    padding: 0 14px;
    box-sizing: border-box;
}

.mtt-app-form small {
    color: #8f8aa4;
    font-size: 12px;
    margin-top: -10px;
}

.mtt-app-footer {
    padding: 26px 42px;
    display: flex;
    justify-content: center;
    gap: 28px;
    color: #8f8aa4;
    font-size: 13px;
}

.mtt-app-footer a {
    color: #8f8aa4;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .mtt-app-shell {
        grid-template-columns: 1fr;
    }

    .mtt-app-sidebar {
        min-height: auto;
        position: relative;
    }

    .mtt-app-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .mtt-profile-grid,
    .mtt-balance-grid,
    .mtt-subscription-details {
        grid-template-columns: 1fr;
    }
}

/* Profile image fallback */
.mtt-profile-avatar-wrap {
    width: 122px;
    height: 122px;
    margin: 0 auto 20px;
    position: relative;
    border-radius: 50%;
    border: 3px solid #83f000;
    background:
        radial-gradient(circle at top right, rgba(131, 240, 0, 0.20), transparent 45%),
        #10101c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mtt-profile-avatar-wrap .mtt-profile-picture {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 50%;
    object-fit: cover;
}

.mtt-profile-initials {
    display: none;
    color: #83f000;
    font-size: 44px;
    font-weight: 700;
}

.mtt-profile-avatar-wrap.show-initials .mtt-profile-initials {
    display: block;
}

/* Dashboard metric/table pages */
.mtt-dashboard-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.mtt-metric-card {
    padding: 26px;
    min-height: 150px;
    border-radius: 18px;
    background: rgba(13, 13, 30, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.mtt-metric-card.blue {
    border-color: rgba(49, 91, 233, 0.70);
    background:
        radial-gradient(circle at top right, rgba(49, 91, 233, 0.22), transparent 46%),
        rgba(13, 13, 30, 0.86);
}

.mtt-metric-card.green {
    border-color: rgba(131, 240, 0, 0.55);
    background:
        radial-gradient(circle at top right, rgba(131, 240, 0, 0.14), transparent 46%),
        rgba(13, 13, 30, 0.86);
}

.mtt-metric-card.orange {
    border-color: rgba(255, 90, 0, 0.55);
    background:
        radial-gradient(circle at top right, rgba(255, 90, 0, 0.18), transparent 46%),
        rgba(13, 13, 30, 0.86);
}

.mtt-metric-card.purple {
    border-color: rgba(180, 60, 255, 0.58);
    background:
        radial-gradient(circle at top right, rgba(180, 60, 255, 0.16), transparent 46%),
        rgba(13, 13, 30, 0.86);
}

.mtt-metric-card span {
    display: block;
    color: #9f9ab3;
    font-size: 13px;
    margin-bottom: 14px;
}

.mtt-metric-card strong {
    display: block;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.15;
}

.mtt-alpha-banner {
    margin-bottom: 28px;
    padding: 24px 28px;
    border-radius: 18px;
    background: rgba(13, 13, 30, 0.82);
    border: 1px solid rgba(131, 240, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.mtt-alpha-banner.negative {
    border-color: rgba(255, 62, 62, 0.55);
}

.mtt-alpha-banner h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 500;
}

.mtt-alpha-banner p {
    margin: 0;
    color: #9f9ab3;
    font-size: 14px;
}

.mtt-alpha-value {
    font-size: 34px;
    font-weight: 700;
    color: #83f000;
    white-space: nowrap;
}

.mtt-alpha-banner.negative .mtt-alpha-value {
    color: #ff3e3e;
}

.mtt-chart-card {
    padding: 28px;
    margin-bottom: 28px;
}

.mtt-chart-card h2 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 500;
}

.mtt-simple-chart {
    height: 260px;
    display: flex;
    align-items: end;
    gap: 8px;
    padding: 22px;
    border-radius: 14px;
    background:
        linear-gradient(to top, rgba(255,255,255,0.075) 1px, transparent 1px) 0 0 / 100% 25%,
        rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.mtt-simple-chart span {
    flex: 1;
    min-width: 5px;
    max-width: 32px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, #83f000, #315be9);
}

.mtt-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.mtt-table-card {
    padding: 28px;
    overflow: hidden;
}

.mtt-table-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    margin-bottom: 22px;
}

.mtt-table-header h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 500;
}

.mtt-table-header p {
    margin: 0;
    color: #9f9ab3;
    font-size: 14px;
}

.mtt-data-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.mtt-data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
}

.mtt-data-table th {
    text-align: left;
    color: #9f9ab3;
    font-size: 12px;
    font-weight: 500;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    white-space: nowrap;
}

.mtt-data-table td {
    color: #ffffff;
    font-size: 13px;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
}

.mtt-data-table tr:hover td {
    background: rgba(255,255,255,0.025);
}

.mtt-empty-state {
    padding: 34px;
    text-align: center;
    color: #9f9ab3;
    border-radius: 14px;
    background: rgba(255,255,255,0.035);
}

@media (max-width: 1200px) {
    .mtt-dashboard-grid-4,
    .mtt-index-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .mtt-dashboard-grid-4,
    .mtt-index-grid {
        grid-template-columns: 1fr;
    }

    .mtt-alpha-banner {
        align-items: start;
        flex-direction: column;
    }
}

/* Lazy-loaded daily balances accordion */
.mtt-balance-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mtt-balance-year {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.025);
}

.mtt-balance-year-toggle,
.mtt-balance-month-toggle {
    width: 100%;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
}

.mtt-balance-year-toggle {
    min-height: 58px;
    padding: 0 20px;
    background: rgba(180, 60, 255, 0.13);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
}

.mtt-balance-year-toggle strong {
    color: #83f000;
    font-size: 24px;
}

.mtt-balance-months {
    display: none;
    padding: 14px;
}

.mtt-balance-months.open {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mtt-balance-month {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.mtt-balance-month-toggle {
    min-height: 52px;
    padding: 0 18px;
    background: rgba(13, 13, 30, 0.86);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.mtt-balance-month-toggle span {
    font-size: 15px;
    font-weight: 700;
}

.mtt-balance-month-toggle small {
    color: #9f9ab3;
    font-size: 12px;
}

.mtt-balance-month-content {
    display: none;
    padding: 16px;
    background: rgba(7, 7, 19, 0.62);
}

.mtt-balance-month-content.open {
    display: block;
}

.mtt-balance-loader {
    color: #9f9ab3;
    padding: 18px;
}

/* Open positions page */
.mtt-position-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.mtt-position-status.positive {
    color: #83f000;
    background: rgba(131, 240, 0, 0.12);
    border: 1px solid rgba(131, 240, 0, 0.35);
}

.mtt-position-status.negative {
    color: #ff3e3e;
    background: rgba(255, 62, 62, 0.12);
    border: 1px solid rgba(255, 62, 62, 0.35);
}

.mtt-table-action-button {
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #ff5a00;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.mtt-symbol-link {
    color: #83f000;
    text-decoration: none;
    font-weight: 800;
}

.mtt-symbol-link:hover {
    text-decoration: underline;
}

.mtt-alert-card {
    margin-bottom: 28px;
    padding: 18px 22px;
    border-radius: 14px;
    background: rgba(131, 240, 0, 0.10);
    border: 1px solid rgba(131, 240, 0, 0.38);
    color: #ffffff;
}

.mtt-open-summary-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 22px;
    margin-bottom: 28px;
}

@media (max-width: 1100px) {
    .mtt-open-summary-row {
        grid-template-columns: 1fr;
    }
}

/* Candle chart page */
.mtt-chart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.mtt-price-chart-card {
    padding: 30px;
}

.mtt-price-chart-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.mtt-price-chart-header h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 600;
}

.mtt-price-chart-header p {
    margin: 0;
    color: #9f9ab3;
    font-size: 14px;
}

.mtt-chart-symbol-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(131, 240, 0, 0.12);
    border: 1px solid rgba(131, 240, 0, 0.45);
    color: #83f000;
    font-size: 15px;
    font-weight: 800;
}

.mtt-candle-chart-wrap {
    position: relative;
    height: 560px;
    padding: 22px;
    border-radius: 18px;
    background:
        linear-gradient(to top, rgba(255,255,255,0.07) 1px, transparent 1px) 0 0 / 100% 20%,
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 10% 100%,
        rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#mttCandleCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.mtt-chart-tooltip {
    position: absolute;
    display: none;
    min-width: 190px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(7, 7, 19, 0.96);
    border: 1px solid rgba(255,255,255,0.14);
    color: #ffffff;
    font-size: 12px;
    pointer-events: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    z-index: 3;
}

.mtt-chart-tooltip strong {
    display: block;
    margin-bottom: 8px;
    color: #83f000;
}

.mtt-chart-tooltip div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #c7c3d6;
    line-height: 1.6;
}

.mtt-chart-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.mtt-chart-empty {
    padding: 42px;
    border-radius: 18px;
    background: rgba(255, 90, 0, 0.08);
    border: 1px solid rgba(255, 90, 0, 0.38);
    color: #ffffff;
}

.mtt-chart-empty h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.mtt-chart-empty p {
    margin: 0;
    color: #c7c3d6;
}

@media (max-width: 1000px) {
    .mtt-chart-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mtt-candle-chart-wrap {
        height: 420px;
    }
}

@media (max-width: 700px) {
    .mtt-chart-stats-grid {
        grid-template-columns: 1fr;
    }

    .mtt-price-chart-header {
        flex-direction: column;
    }
}

/* Investor financials page */
.mtt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.mtt-tab-button {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(13, 13, 30, 0.82);
    color: #bdb8cf;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.mtt-tab-button.active {
    color: #ffffff;
    background: rgba(180, 60, 255, 0.22);
    border-color: rgba(180, 60, 255, 0.60);
}

.mtt-tab-panel {
    display: none;
}

.mtt-tab-panel.active {
    display: block;
}

.mtt-financial-total-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

@media (max-width: 1200px) {
    .mtt-financial-total-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .mtt-financial-total-row {
        grid-template-columns: 1fr;
    }
}
