:root {
    --mx-bg: #020812;
    --mx-bg-soft: #061426;
    --mx-surface: rgba(7, 24, 43, .88);
    --mx-surface-strong: rgba(9, 30, 52, .96);
    --mx-surface-soft: rgba(12, 37, 61, .72);
    --mx-line: rgba(46, 205, 255, .20);
    --mx-line-strong: rgba(24, 224, 255, .48);
    --mx-text: #f5fbff;
    --mx-muted: #9db0c4;
    --mx-cyan: #1ed8ff;
    --mx-green: #00eca0;
    --mx-green-dark: #00b879;
    --mx-gold: #ffc84a;
    --mx-danger: #ff6b82;
    --mx-radius-sm: 12px;
    --mx-radius: 18px;
    --mx-radius-lg: 26px;
    --mx-shadow: 0 24px 80px rgba(0, 0, 0, .35);
    --mx-glow: 0 0 32px rgba(0, 236, 160, .22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.mx-app,
body.mx-auth-app {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--mx-text);
    font-family: "Cairo", sans-serif;
    background:
        radial-gradient(circle at 82% 7%, rgba(0, 215, 255, .13), transparent 28rem),
        radial-gradient(circle at 5% 20%, rgba(0, 236, 160, .08), transparent 24rem),
        linear-gradient(180deg, #020711 0%, #06162a 48%, #020914 100%);
}

body.mx-app::before,
body.mx-auth-app::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .42;
    background-image:
        linear-gradient(rgba(41, 177, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41, 177, 255, .035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 65%, transparent 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.mx-container {
    width: min(1240px, calc(100% - 32px));
    margin-inline: auto;
}

.mx-site-main {
    min-height: 62vh;
}

.mx-site-main:not(.mx-home-main) {
    padding-block: 34px 0;
}

/* Header */
.mx-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(66, 197, 255, .14);
    background: rgba(2, 10, 22, .84);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.mx-header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto minmax(230px, 1fr);
    align-items: center;
    gap: 24px;
}

.mx-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    width: max-content;
    direction: ltr;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -.045em;
}

.mx-brand-text span:last-child {
    color: var(--mx-green);
}

.mx-brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #031b16;
    background: linear-gradient(135deg, var(--mx-cyan), var(--mx-green));
    box-shadow: 0 0 28px rgba(0, 236, 160, .28), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.mx-brand-mark svg {
    width: 28px;
    height: 28px;
}

.mx-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 31px;
}

.mx-main-nav a {
    position: relative;
    color: #c4d1dd;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: .22s ease;
}

.mx-main-nav a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -14px;
    height: 2px;
    transform: scaleX(0);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mx-cyan), var(--mx-green));
    box-shadow: 0 0 12px rgba(0, 236, 160, .55);
    transition: .22s ease;
}

.mx-main-nav a:hover,
.mx-main-nav a.is-active {
    color: var(--mx-green);
}

.mx-main-nav a:hover::after,
.mx-main-nav a.is-active::after {
    transform: scaleX(1);
}

.mx-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.mx-header-button,
.mx-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 19px;
    border-radius: 13px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.mx-header-button:hover,
.mx-button:hover {
    transform: translateY(-2px);
}

.mx-button-primary,
.btn-primary,
.btn-submit {
    color: #021912 !important;
    background: linear-gradient(135deg, #08f5a2 0%, #00c985 100%) !important;
    border-color: rgba(38, 255, 181, .45) !important;
    box-shadow: 0 12px 32px rgba(0, 225, 148, .25), inset 0 1px 0 rgba(255, 255, 255, .55) !important;
}

.mx-button-primary:hover,
.btn-primary:hover,
.btn-submit:hover {
    box-shadow: 0 18px 44px rgba(0, 225, 148, .38) !important;
}

.mx-button-outline,
.btn-outline,
.btn-secondary {
    color: #eaf7ff !important;
    background: rgba(7, 27, 47, .68) !important;
    border-color: rgba(54, 189, 255, .28) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.mx-button-outline:hover,
.btn-outline:hover,
.btn-secondary:hover {
    border-color: rgba(0, 236, 160, .48) !important;
    background: rgba(8, 38, 60, .88) !important;
}

.mx-user-menu {
    position: relative;
}

.mx-user-trigger {
    border: 1px solid var(--mx-line);
    background: rgba(8, 28, 48, .72);
    color: white;
    cursor: pointer;
}

.mx-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #031c16;
    font-weight: 900;
    background: linear-gradient(135deg, var(--mx-cyan), var(--mx-green));
}

.mx-user-dropdown {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 10px);
    width: 220px;
    padding: 8px;
    border: 1px solid var(--mx-line);
    border-radius: 16px;
    background: rgba(3, 17, 31, .97);
    box-shadow: var(--mx-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .2s ease;
}

.mx-user-menu:hover .mx-user-dropdown,
.mx-user-menu:focus-within .mx-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mx-user-dropdown a,
.mx-user-dropdown button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #dce9f3;
    cursor: pointer;
}

.mx-user-dropdown a:hover,
.mx-user-dropdown button:hover {
    background: rgba(0, 236, 160, .09);
    color: var(--mx-green);
}

.mx-menu-button {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--mx-line);
    color: white;
    background: rgba(7, 27, 47, .8);
}

.mx-mobile-panel {
    display: none;
}

/* Shared surfaces */
.glass-card,
.gradient-border,
.mx-card,
.auth-card,
.plan-card {
    background: linear-gradient(145deg, rgba(9, 31, 52, .90), rgba(5, 19, 35, .84)) !important;
    border: 1px solid var(--mx-line) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 18px 52px rgba(0, 0, 0, .20);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.gradient-border::before {
    background: linear-gradient(135deg, rgba(0, 236, 160, .60), rgba(29, 216, 255, .28), transparent 74%) !important;
}

.card-hover {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 236, 160, .42) !important;
    box-shadow: 0 24px 65px rgba(0, 211, 255, .12);
}

.feature-icon,
.plan-icon-wrap {
    background: linear-gradient(145deg, rgba(0, 236, 160, .13), rgba(29, 216, 255, .07)) !important;
    border-color: rgba(0, 236, 160, .32) !important;
    color: var(--mx-green) !important;
}

.stat-number,
.glow-text {
    color: var(--mx-green) !important;
    background: linear-gradient(90deg, var(--mx-green), var(--mx-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mx-app .text-blue-400,
.mx-app .text-cyan-400 {
    color: var(--mx-cyan) !important;
}

.mx-app .text-green-400,
.mx-app .text-emerald-400 {
    color: var(--mx-green) !important;
}

.mx-app .bg-blue-500 {
    background-color: var(--mx-cyan) !important;
}

.mx-app .border-blue-500 {
    border-color: var(--mx-cyan) !important;
}

/* Page shell */
.mx-page-hero {
    padding: 64px 0 30px;
    text-align: center;
}

.mx-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 999px;
    color: var(--mx-cyan);
    border: 1px solid rgba(29, 216, 255, .30);
    background: rgba(5, 30, 48, .55);
    font-size: 13px;
    font-weight: 800;
}

.mx-page-title {
    margin: 20px 0 12px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -.045em;
}

.mx-page-title span {
    color: var(--mx-green);
    text-shadow: 0 0 28px rgba(0, 236, 160, .28);
}

.mx-page-lead {
    max-width: 740px;
    margin-inline: auto;
    color: var(--mx-muted);
    font-size: clamp(15px, 2vw, 19px);
    line-height: 1.9;
}

.mx-section {
    padding-block: 38px 70px;
}

.mx-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.mx-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

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

.mx-content-card {
    padding: 28px;
    border-radius: var(--mx-radius-lg);
}

.mx-content-card h2,
.mx-content-card h3 {
    margin: 0 0 10px;
    font-weight: 900;
}

.mx-content-card p,
.mx-content-card li {
    color: var(--mx-muted);
    line-height: 1.9;
}

.mx-icon-box {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: var(--mx-green);
    border: 1px solid rgba(0, 236, 160, .35);
    background: linear-gradient(145deg, rgba(0, 236, 160, .15), rgba(29, 216, 255, .07));
    box-shadow: 0 0 26px rgba(0, 236, 160, .10);
}

.mx-icon-box svg {
    width: 29px;
    height: 29px;
}

.mx-check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 11px;
}

.mx-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.mx-check-list li::before {
    content: "✓";
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #032118;
    font-size: 12px;
    font-weight: 900;
    background: var(--mx-green);
}

/* Forms */
.mx-app input:not([type="checkbox"]):not([type="radio"]),
.mx-app textarea,
.mx-app select,
.mx-auth-app input:not([type="checkbox"]):not([type="radio"]),
.mx-auth-app textarea,
.mx-auth-app select,
.input-dark {
    color: white !important;
    border: 1px solid rgba(87, 153, 198, .26) !important;
    background: rgba(3, 16, 30, .78) !important;
    border-radius: 13px !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.mx-app input:focus,
.mx-app textarea:focus,
.mx-app select:focus,
.mx-auth-app input:focus,
.mx-auth-app textarea:focus,
.mx-auth-app select:focus,
.input-dark:focus {
    outline: none !important;
    border-color: rgba(0, 236, 160, .72) !important;
    box-shadow: 0 0 0 4px rgba(0, 236, 160, .10), 0 0 24px rgba(0, 236, 160, .10) !important;
}

.mx-app input::placeholder,
.mx-app textarea::placeholder,
.mx-auth-app input::placeholder,
.mx-auth-app textarea::placeholder {
    color: #71859a !important;
}

.mx-app select option,
.mx-auth-app select option {
    background: #061426;
    color: white;
}

/* Tables and pagination */
.table-dark,
.mx-app table {
    background: rgba(6, 24, 42, .72);
    border-color: var(--mx-line);
}

.mx-app thead {
    background: rgba(20, 65, 91, .42);
}

.mx-app tbody tr {
    border-color: rgba(89, 157, 201, .13);
}

.mx-app tbody tr:hover {
    background: rgba(0, 236, 160, .035);
}

.mx-app nav[role="navigation"] a,
.mx-app nav[role="navigation"] span {
    border-color: rgba(66, 182, 235, .2) !important;
    background: rgba(6, 24, 42, .82) !important;
    color: #dceaf4 !important;
}

/* Landing */
.mx-landing {
    position: relative;
    overflow: hidden;
    padding-bottom: 46px;
}

.mx-landing::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 76% 13%, rgba(0, 209, 255, .13), transparent 27rem);
}

.mx-hero {
    padding: 66px 0 38px;
}

.mx-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: 44px;
}

.mx-hero-copy {
    position: relative;
    z-index: 3;
}

.mx-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border-radius: 999px;
    color: #c9edf7;
    border: 1px solid rgba(0, 236, 160, .35);
    background: rgba(5, 29, 46, .72);
}

.mx-hero-badge i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mx-green);
    box-shadow: 0 0 13px rgba(0, 236, 160, .9);
}

.mx-hero-title {
    margin: 24px 0 18px;
    font-size: clamp(48px, 5.4vw, 82px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -.055em;
}

.mx-hero-title strong {
    display: block;
    color: var(--mx-green);
    text-shadow: 0 0 35px rgba(0, 236, 160, .25);
}

.mx-hero-lead {
    max-width: 650px;
    color: #aebdcc;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.95;
}

.mx-hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
}

.mx-hero-actions .mx-button {
    min-width: 210px;
    min-height: 58px;
    font-size: 17px;
}

.mx-hero-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    color: var(--mx-muted);
}

.mx-proof-dots {
    display: flex;
    direction: ltr;
}

.mx-proof-dots span {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    margin-left: -8px;
    border: 2px solid #061426;
    border-radius: 50%;
    color: #021711;
    font-size: 12px;
    font-weight: 900;
    background: linear-gradient(135deg, #cae8f2, var(--mx-green));
}

.mx-hero-note {
    margin-top: 17px;
    padding: 11px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 11px;
    color: #9aabbc;
    border: 1px solid rgba(90, 157, 202, .20);
    background: rgba(4, 18, 33, .58);
    font-size: 13px;
}

.mx-hero-visual {
    position: relative;
    min-height: 620px;
    display: grid;
    place-items: center;
}

.mx-orbit {
    position: absolute;
    width: 430px;
    height: 110px;
    bottom: 39px;
    border: 2px solid rgba(0, 219, 255, .74);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 217, 255, .32), inset 0 0 30px rgba(0, 217, 255, .18);
    transform: perspective(500px) rotateX(68deg);
}

.mx-orbit::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: inherit;
    border: 1px solid rgba(0, 236, 160, .55);
    box-shadow: 0 0 28px rgba(0, 236, 160, .25);
}

.mx-phone {
    position: relative;
    z-index: 2;
    width: 330px;
    height: 590px;
    padding: 11px;
    border-radius: 49px;
    transform: rotate(6deg);
    background: linear-gradient(145deg, #8aa3b5, #12283b 12%, #02070c 47%, #416072 89%, #101b23);
    box-shadow: 0 42px 80px rgba(0, 0, 0, .58), 0 0 44px rgba(0, 213, 255, .18);
}

.mx-phone::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    width: 95px;
    height: 24px;
    transform: translateX(-50%);
    border-radius: 20px;
    background: #02070c;
    z-index: 5;
}

.mx-phone-screen {
    height: 100%;
    overflow: hidden;
    padding: 26px 18px 18px;
    border-radius: 39px;
    border: 1px solid rgba(72, 193, 255, .28);
    background: radial-gradient(circle at 75% 12%, rgba(0, 229, 255, .12), transparent 13rem), linear-gradient(180deg, #041423, #061729 48%, #03101d);
}

.mx-phone-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.mx-mini-brand {
    font-weight: 900;
    direction: ltr;
}

.mx-mini-brand span {
    color: var(--mx-green);
}

.mx-phone-menu {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    border: 1px solid var(--mx-line);
}

.mx-market-panel {
    padding: 17px;
    border-radius: 17px;
    border: 1px solid var(--mx-line);
    background: rgba(3, 18, 33, .72);
}

.mx-market-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--mx-muted);
    font-size: 12px;
}

.mx-market-pair {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 900;
    direction: ltr;
    text-align: left;
}

.mx-market-change {
    color: var(--mx-green);
    font-size: 13px;
    direction: ltr;
    text-align: left;
}

.mx-chart {
    height: 120px;
    margin-top: 10px;
}

.mx-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.mx-chart path {
    fill: none;
    stroke: var(--mx-green);
    stroke-width: 3;
    filter: drop-shadow(0 0 7px rgba(0, 236, 160, .7));
}

.mx-time-tabs {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: #8194a8;
    font-size: 10px;
}

.mx-time-tabs span {
    padding: 5px 7px;
    border-radius: 7px;
}

.mx-time-tabs .active {
    color: #022019;
    background: var(--mx-green);
}

.mx-signals-card {
    margin-top: 15px;
    padding: 15px;
    border-radius: 17px;
    border: 1px solid var(--mx-line);
    background: rgba(3, 18, 33, .72);
}

.mx-signals-card h4 {
    margin: 0 0 11px;
    font-size: 13px;
}

.mx-mini-signal {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid rgba(91, 151, 192, .12);
    font-size: 11px;
    direction: ltr;
}

.mx-mini-signal:first-of-type {
    border-top: 0;
}

.mx-mini-signal b {
    color: #eaf7ff;
}

.mx-mini-signal .buy {
    color: var(--mx-green);
}

.mx-mini-signal .sell {
    color: var(--mx-danger);
}

.mx-mini-nav {
    position: absolute;
    inset-inline: 25px;
    bottom: 21px;
    display: flex;
    justify-content: space-between;
    color: #7890a5;
    font-size: 9px;
}

.mx-mini-nav .active {
    color: var(--mx-green);
}

.mx-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin-top: 10px;
}

.mx-feature-card {
    min-height: 205px;
    padding: 24px 20px;
    text-align: center;
    border-radius: 22px;
}

.mx-feature-card .mx-icon-box {
    margin: 0 auto 16px;
    width: 67px;
    height: 67px;
}

.mx-feature-card h3 {
    margin-bottom: 8px;
    color: var(--mx-green);
    font-size: 19px;
    font-weight: 900;
}

.mx-feature-card p {
    color: var(--mx-muted);
    line-height: 1.75;
    font-size: 14px;
}

.mx-trust-bar {
    margin-top: 18px;
    padding: 21px 26px;
    border-radius: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mx-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 58px;
    border-inline-start: 1px solid rgba(74, 162, 211, .20);
}

.mx-trust-item:last-child {
    border-inline-start: 0;
}

.mx-trust-item strong {
    display: block;
    color: var(--mx-cyan);
    font-size: 16px;
}

.mx-trust-item span {
    color: var(--mx-muted);
    font-size: 12px;
}

.mx-broker-section {
    margin-top: 20px;
    padding: 29px;
    border-radius: 25px;
}

.mx-section-heading {
    text-align: center;
    margin-bottom: 23px;
}

.mx-section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    margin-bottom: 6px;
}

.mx-section-heading p {
    color: var(--mx-muted);
}

.mx-broker-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mx-broker-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 19px;
    text-align: center;
    border-radius: 18px;
    border: 1px solid rgba(42, 183, 239, .24);
    background: linear-gradient(145deg, rgba(10, 36, 58, .86), rgba(5, 20, 37, .86));
}

.mx-broker-logo {
    height: 42px;
    max-width: 150px;
    display: grid;
    place-items: center;
    margin-bottom: 13px;
}

.mx-broker-logo img {
    max-width: 100%;
    max-height: 42px;
    object-fit: contain;
}

.mx-broker-name {
    font-size: 18px;
    font-weight: 900;
}

.mx-rating {
    margin-top: 8px;
    color: var(--mx-gold);
    font-weight: 900;
}

.mx-broker-card small {
    color: var(--mx-muted);
    margin-top: 8px;
    line-height: 1.6;
}

.mx-final-cta {
    margin-top: 18px;
    padding: 26px 30px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    border-radius: 24px;
    border: 1px solid rgba(0, 236, 160, .54);
    background: radial-gradient(circle at 13% 50%, rgba(0, 236, 160, .12), transparent 14rem), rgba(5, 26, 43, .84);
    box-shadow: 0 0 35px rgba(0, 236, 160, .10);
}

.mx-gift {
    width: 85px;
    height: 85px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--mx-green);
    border: 1px solid rgba(0, 236, 160, .7);
    background: rgba(0, 236, 160, .08);
    box-shadow: 0 0 25px rgba(0, 236, 160, .30);
    font-size: 42px;
}

.mx-final-cta h2 {
    color: var(--mx-cyan);
    font-size: 27px;
    font-weight: 900;
}

.mx-final-cta p {
    color: var(--mx-muted);
}

/* Footer */
.mx-site-footer {
    margin-top: 70px;
    border-top: 1px solid rgba(51, 176, 229, .15);
    background: rgba(1, 8, 17, .74);
}

.mx-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 35px;
    padding: 54px 0 38px;
}

.mx-footer-copy {
    max-width: 410px;
    margin-top: 15px;
    color: var(--mx-muted);
    line-height: 1.9;
}

.mx-footer-title {
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 900;
}

.mx-footer-links {
    display: grid;
    gap: 10px;
    color: #9fb1c2;
    font-size: 14px;
}

.mx-footer-links a:hover {
    color: var(--mx-green);
}

.mx-footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #72869a;
    font-size: 13px;
    border-top: 1px solid rgba(51, 176, 229, .12);
}

@media (max-width: 1050px) {
    .mx-header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .mx-main-nav {
        display: none;
    }

    .mx-menu-button {
        display: grid;
        place-items: center;
    }

    .mx-mobile-panel {
        position: fixed;
        top: 0;
        bottom: 0;
        inset-inline-start: 0;
        width: min(360px, 88vw);
        z-index: 1100;
        display: block;
        max-height: 100vh;
        max-height: 100dvh;
        padding: 20px 20px calc(28px + env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        background: rgba(2, 14, 27, .98);
        border-inline-end: 1px solid var(--mx-line);
        transform: translateX(-110%);
        transition: .25s ease;
        box-shadow: var(--mx-shadow);
    }

    [dir="rtl"] .mx-mobile-panel {
        transform: translateX(110%);
    }

    .mx-mobile-panel.is-open {
        transform: translateX(0);
    }

    .mx-mobile-overlay {
        position: fixed;
        inset: 0;
        z-index: 1050;
        background: rgba(0, 0, 0, .64);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: .2s ease;
    }

    .mx-mobile-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    .mx-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 25px;
    }

    .mx-mobile-close {
        width: 42px;
        height: 42px;
        border: 1px solid var(--mx-line);
        border-radius: 12px;
        color: white;
        background: rgba(8, 31, 51, .8);
    }

    .mx-mobile-links {
        display: grid;
        gap: 8px;
    }

    .mx-mobile-links a {
        padding: 14px 15px;
        border-radius: 12px;
        color: #d5e1eb;
        background: rgba(8, 29, 48, .48);
        border: 1px solid rgba(61, 154, 205, .11);
    }

    .mx-mobile-links a.is-active {
        color: var(--mx-green);
        border-color: rgba(0, 236, 160, .30);
        background: rgba(0, 236, 160, .08);
    }

    .mx-mobile-actions {
        display: grid;
        gap: 10px;
        margin-top: 20px;
        padding-bottom: 8px;
    }

    .mx-hero-grid {
        grid-template-columns: 1fr 420px;
        gap: 18px;
    }

    .mx-phone {
        width: 285px;
        height: 520px;
    }

    .mx-hero-visual {
        min-height: 540px;
    }

    .mx-orbit {
        width: 370px;
    }

    .mx-grid-4,
    .mx-feature-grid,
    .mx-broker-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mx-footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .mx-footer-grid>div:last-child {
        grid-column: 2 / -1;
    }
}

@media (max-width: 760px) {
    .mx-container {
        width: min(100% - 26px, 620px);
    }

    .mx-site-header {
        position: sticky;
    }

    .mx-header-inner {
        min-height: 72px;
        grid-template-columns: 52px 1fr auto;
        gap: 9px;
    }

    .mx-brand {
        justify-self: end;
        font-size: 23px;
        gap: 8px;
    }

    .mx-brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .mx-brand-mark svg {
        width: 24px;
        height: 24px;
    }

    .mx-header-actions .mx-header-button {
        display: none;
    }

    .mx-user-trigger .mx-user-name {
        display: none;
    }

    .mx-menu-button {
        grid-column: 1;
        grid-row: 1;
    }

    .mx-brand {
        grid-column: 3;
        grid-row: 1;
    }

    .mx-header-actions {
        grid-column: 2;
        grid-row: 1;
        justify-content: end;
    }

    .mx-site-main:not(.mx-home-main) {
        padding-top: 12px;
    }

    .mx-page-hero {
        padding-top: 44px;
    }

    .mx-page-title {
        font-size: 36px;
    }

    .mx-section {
        padding-block: 25px 50px;
    }

    .mx-grid-2,
    .mx-grid-3,
    .mx-grid-4 {
        grid-template-columns: 1fr;
    }

    .mx-content-card {
        padding: 22px;
    }

    .mx-hero {
        padding: 40px 0 25px;
    }

    .mx-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mx-hero-copy {
        text-align: center;
    }

    .mx-hero-badge {
        font-size: 12px;
    }

    .mx-hero-title {
        font-size: clamp(42px, 13vw, 61px);
    }

    .mx-hero-lead {
        font-size: 17px;
        line-height: 1.9;
    }

    .mx-hero-actions {
        display: grid;
        gap: 11px;
    }

    .mx-hero-actions .mx-button {
        width: 100%;
        min-width: 0;
    }

    .mx-hero-proof {
        justify-content: center;
        flex-wrap: wrap;
    }

    .mx-hero-note {
        font-size: 12px;
    }

    .mx-hero-visual {
        order: -1;
        min-height: 520px;
        width: 100%;
        overflow: hidden;
    }

    .mx-phone {
        width: 282px;
        height: 510px;
        transform: rotate(4deg);
    }

    .mx-orbit {
        width: 350px;
        bottom: 27px;
    }

    .mx-feature-grid,
    .mx-broker-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mx-feature-card {
        min-height: 190px;
        padding: 19px 13px;
    }

    .mx-feature-card h3 {
        font-size: 16px;
    }

    .mx-feature-card p {
        font-size: 12px;
    }

    .mx-trust-bar {
        grid-template-columns: 1fr;
        padding: 17px;
    }

    .mx-trust-item {
        justify-content: flex-start;
        border-inline-start: 0;
        border-top: 1px solid rgba(74, 162, 211, .16);
        padding-top: 13px;
    }

    .mx-trust-item:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .mx-broker-section {
        padding: 20px 13px;
    }

    .mx-broker-card {
        min-height: 165px;
        padding: 14px 9px;
    }

    .mx-broker-name {
        font-size: 15px;
    }

    .mx-final-cta {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 18px;
    }

    .mx-gift {
        margin: auto;
    }

    .mx-final-cta .mx-button {
        width: 100%;
    }

    .mx-footer-grid {
        grid-template-columns: 1fr;
        padding-top: 40px;
    }

    .mx-footer-grid>div:last-child {
        grid-column: auto;
    }

    .mx-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 430px) {

    .mx-feature-grid,
    .mx-broker-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mx-phone {
        width: 265px;
        height: 485px;
    }

    .mx-hero-visual {
        min-height: 490px;
    }

    .mx-market-panel {
        padding: 14px;
    }

    .mx-mini-signal {
        font-size: 10px;
    }
}

.mobile-trial-bar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 88px !important;
    }

    .mobile-trial-bar {
        position: fixed;
        right: 7px;
        left: 7px;
        bottom: calc(7px + env(safe-area-inset-bottom));
        z-index: 99999;

        display: grid;
        grid-template-columns: 52px 42px minmax(0, 1fr) 138px;
        align-items: center;
        gap: 6px;

        min-height: 66px;
        padding: 6px;

        background: linear-gradient(100deg,
                rgba(2, 24, 39, 0.98),
                rgba(2, 41, 47, 0.98));

        border: 1px solid rgba(0, 255, 190, 0.8);
        border-radius: 13px;

        box-shadow:
            0 12px 35px rgba(0, 0, 0, 0.65),
            0 0 22px rgba(0, 238, 184, 0.16);

        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    }

    html.mx-mobile-menu-open .mobile-trial-bar,
    html.mx-mobile-menu-open .masar-whatsapp-float {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(calc(100% + 24px));
    }

    .mobile-trial-bar__gift,
    .mobile-trial-bar__whatsapp {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        text-decoration: none;
    }

    .mobile-trial-bar__gift {
        width: 50px;
        height: 50px;
        color: #0dffd0;

        border: 1px solid rgba(0, 255, 210, 0.65);
        background: radial-gradient(circle,
                rgba(0, 255, 210, 0.2),
                rgba(0, 92, 91, 0.08));

        box-shadow:
            inset 0 0 15px rgba(0, 255, 210, 0.15),
            0 0 20px rgba(0, 255, 210, 0.24);
    }

    .mobile-trial-bar__gift svg {
        width: 27px;
        height: 27px;
    }

    .mobile-trial-bar__whatsapp {
        width: 40px;
        height: 40px;
        background: #20c968;

        box-shadow:
            0 0 18px rgba(32, 201, 104, 0.45);
    }

    .mobile-trial-bar__whatsapp svg {
        display: block;
        width: 23px;
        height: 23px;
        fill: #ffffff;
    }

    .mobile-trial-bar__content {
        min-width: 0;
        text-align: center;
        line-height: 1.25;
    }

    .mobile-trial-bar__content strong {
        display: block;
        overflow: hidden;
        color: #68ffe3;
        font-size: 11px;
        font-weight: 900;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .mobile-trial-bar__content span {
        display: block;
        margin-top: 3px;
        overflow: hidden;
        color: rgba(219, 236, 245, 0.72);
        font-size: 8px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .mobile-trial-bar__button {
        min-height: 47px;
        padding: 7px;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;

        color: #001c16;
        font-size: 10px;
        font-weight: 900;
        line-height: 1.25;
        text-align: center;
        text-decoration: none;

        background: linear-gradient(135deg, #00f0a0, #00dba8);
        border-radius: 9px;

        box-shadow:
            0 0 20px rgba(0, 237, 159, 0.3);
    }

    .mobile-trial-bar__button:active,
    .mobile-trial-bar__whatsapp:active {
        transform: scale(0.96);
    }

    /* إخفاء زر واتساب العائم القديم لتجنب التكرار */
    .whatsapp-floating-button,
    .floating-whatsapp,
    #whatsapp-floating-button,
    .whatsapp-float {
        display: none !important;
    }
}

@media (max-width: 390px) {
    .mobile-trial-bar {
        right: 4px;
        left: 4px;
        grid-template-columns: 45px 37px minmax(0, 1fr) 125px;
        gap: 4px;
        padding: 5px;
    }

    .mobile-trial-bar__gift {
        width: 44px;
        height: 44px;
    }

    .mobile-trial-bar__gift svg {
        width: 24px;
        height: 24px;
    }

    .mobile-trial-bar__whatsapp {
        width: 35px;
        height: 35px;
    }

    .mobile-trial-bar__whatsapp svg {
        width: 20px;
        height: 20px;
    }

    .mobile-trial-bar__content strong {
        font-size: 9px;
    }

    .mobile-trial-bar__content span {
        font-size: 7px;
    }

    .mobile-trial-bar__button {
        min-height: 43px;
        font-size: 9px;
        padding: 5px;
    }
}