.notify-trade-module-v1 {
    --ntm-bg: #f4f7fc;
    --ntm-surface: #ffffff;
    --ntm-surface-2: #f7faff;
    --ntm-border: #dfe8f5;
    --ntm-text: #0f172a;
    --ntm-muted: #5d6b85;
    --ntm-blue: #2563eb;
    --ntm-blue-dark: #1d4ed8;
    --ntm-violet: #7c3aed;
    --ntm-teal: #14b8a6;
    --ntm-amber: #f59e0b;
    --ntm-rose: #f43f5e;
    --ntm-green: #10b981;
    --ntm-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
    --ntm-shadow-sm: 0 16px 36px rgba(15, 23, 42, 0.08);
    color: var(--ntm-text);
    background: var(--ntm-bg);
}

.notify-trade-module-v1 * { box-sizing: border-box; }
.notify-trade-module-v1 .container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

.ntm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 800;
    color: #5d7596;
}

.ntm-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(124, 58, 237, 0.22), transparent 18%),
        radial-gradient(circle at 66% 52%, rgba(37, 99, 235, 0.18), transparent 22%),
        linear-gradient(135deg, #050a13 0%, #0a1424 52%, #101d33 100%);
}

.ntm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
    pointer-events: none;
}

.ntm-hero .container,
.ntm-section .container { position: relative; z-index: 1; }

.ntm-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
    gap: 30px;
    align-items: center;
    padding: 44px 0 36px;
}

.ntm-hero h1 {
    margin: 0;
    max-width: 800px;
    font-size: clamp(2.12rem, 3.9vw, 3.55rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.ntm-lead {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: 1rem;
    line-height: 1.72;
    color: rgba(255,255,255,0.76);
}

.ntm-microcopy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.ntm-microcopy span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.06);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.78);
}

.ntm-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
}

.ntm-quicklinks a {
    color: rgba(255,255,255,0.86);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
}

.ntm-quicklinks a:hover { color: #fff; }

.ntm-hero-board {
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
}

.ntm-hero-board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.ntm-hero-board__head strong { font-size: 1rem; }
.ntm-hero-board__head span {
    color: rgba(255,255,255,0.64);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ntm-hero-diagram {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.ntm-hero-node {
    min-height: 172px;
    padding: 18px 16px;
    border-radius: 22px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
}

.ntm-hero-node i,
.ntm-hero-event__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.ntm-hero-node strong,
.ntm-hero-event__body strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.25;
    margin-top: 14px;
}

.ntm-hero-node span,
.ntm-hero-event__body span {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,0.72);
    font-size: 0.84rem;
    line-height: 1.55;
}

.ntm-hero-node--notify {
    background: linear-gradient(180deg, rgba(124,58,237,0.18) 0%, rgba(255,255,255,0.08) 100%);
}

.ntm-hero-arrow {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.82);
    font-size: 0.86rem;
}

.ntm-hero-events {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.ntm-hero-event {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: rgba(5, 10, 19, 0.5);
    border: 1px solid rgba(255,255,255,0.08);
}

.ntm-hero-event__tag {
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ntm-hero-event__tag--live { background: rgba(16,185,129,0.16); color: #c9ffe8; }
.ntm-hero-event__tag--modify { background: rgba(37,99,235,0.16); color: #d9e7ff; }
.ntm-hero-event__tag--order { background: rgba(245,158,11,0.16); color: #ffefc8; }
.ntm-hero-event__tag--milestone { background: rgba(124,58,237,0.18); color: #efe0ff; }

.ntm-hero-board__routes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ntm-hero-board__routes span {
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,0.82);
}

.ntm-section { padding: 78px 0 0; }
.ntm-section--soft {
    background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(248,251,255,0.9) 100%);
    padding-bottom: 6px;
}

.ntm-section-head {
    margin-bottom: 34px;
    text-align: center;
}

.ntm-section-head.compact { margin-bottom: 30px; }

.ntm-section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.04;
    color: #13213f;
}

.ntm-section-head p {
    margin: 12px auto 0;
    max-width: 860px;
    color: var(--ntm-muted);
    font-size: 1rem;
    line-height: 1.72;
}

.ntm-clarity-grid,
.ntm-monitor-grid,
.ntm-why-grid,
.ntm-privacy-grid,
.ntm-send-grid,
.ntm-diff-grid {
    display: grid;
    gap: 20px;
}

.ntm-milestone-grid,
.ntm-rule-examples__grid {
    display: grid;
    gap: 20px;
}

.ntm-milestone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ntm-rule-examples__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ntm-milestone-card,
.ntm-rule-examples {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--ntm-border);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.95) 100%);
    box-shadow: var(--ntm-shadow-sm);
}

.ntm-milestone-card--primary {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.ntm-milestone-card h3,
.ntm-rule-examples__head strong,
.ntm-rule-example strong {
    color: #13213f;
}

.ntm-milestone-card h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.16;
}

.ntm-milestone-card p {
    margin: 12px 0 0;
    color: var(--ntm-muted);
    line-height: 1.7;
}

.ntm-milestone-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ntm-milestone-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    color: var(--ntm-muted);
    line-height: 1.58;
}

.ntm-milestone-list li i { color: var(--ntm-green); margin-top: 3px; }

.ntm-rule-examples {
    margin-top: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.ntm-rule-examples__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.ntm-rule-examples__head strong {
    font-size: 1.04rem;
}

.ntm-rule-examples__head span {
    color: #5d7596;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
}

.ntm-rule-example {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid #e4edf9;
    background: #fff;
}

.ntm-rule-example__label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(124,58,237,0.10);
    color: #6d28d9;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ntm-rule-example strong {
    display: block;
    font-size: 1rem;
    line-height: 1.3;
}

.ntm-rule-example span {
    display: block;
    margin-top: 8px;
    color: var(--ntm-muted);
    line-height: 1.62;
}

.ntm-clarity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ntm-monitor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ntm-why-grid,
.ntm-send-grid,
.ntm-diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ntm-privacy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ntm-clarity-card,
.ntm-card,
.ntm-why-card,
.ntm-privacy-card,
.ntm-send-card,
.ntm-diff-card,
.ntm-privacy-note {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--ntm-border);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.95) 100%);
    box-shadow: var(--ntm-shadow-sm);
}

.ntm-clarity-card__icon,
.ntm-card__icon,
.ntm-diff-card__icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(37,99,235,0.10);
    color: var(--ntm-blue);
    font-size: 1.08rem;
    margin-bottom: 18px;
}

.ntm-clarity-card--amber .ntm-clarity-card__icon { background: rgba(245,158,11,0.12); color: #b45309; }
.ntm-clarity-card--violet .ntm-clarity-card__icon { background: rgba(124,58,237,0.12); color: #6d28d9; }

.ntm-clarity-card h3,
.ntm-card h3,
.ntm-why-card h3,
.ntm-privacy-card h3,
.ntm-send-card h3,
.ntm-diff-card h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.16;
    color: #13213f;
}

.ntm-clarity-card p,
.ntm-card p,
.ntm-why-card p,
.ntm-privacy-card p,
.ntm-send-card p,
.ntm-diff-card p,
.ntm-privacy-note p {
    margin: 12px 0 0;
    color: var(--ntm-muted);
    line-height: 1.7;
}

.ntm-privacy-card__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
}

.ntm-privacy-card--full .ntm-privacy-card__label { background: rgba(37,99,235,0.10); color: #1d4ed8; }
.ntm-privacy-card--reduced .ntm-privacy-card__label { background: rgba(245,158,11,0.12); color: #b45309; }
.ntm-privacy-card--stealth .ntm-privacy-card__label { background: rgba(124,58,237,0.12); color: #6d28d9; }

.ntm-privacy-card ul {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ntm-privacy-card li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    line-height: 1.58;
    color: var(--ntm-muted);
}

.ntm-privacy-card li i { color: var(--ntm-green); margin-top: 3px; }

.ntm-privacy-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    margin-top: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.ntm-privacy-note__icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(37,99,235,0.10);
    color: var(--ntm-blue);
    font-size: 1.06rem;
}

.ntm-privacy-note strong {
    display: block;
    font-size: 1.02rem;
    color: #13213f;
}

.ntm-send-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(124,58,237,0.10);
    color: #6d28d9;
    font-size: 0.9rem;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .ntm-hero__inner,
    .ntm-clarity-grid,
    .ntm-privacy-grid,
    .ntm-milestone-grid { grid-template-columns: 1fr; }

    .ntm-monitor-grid,
    .ntm-why-grid,
    .ntm-send-grid,
    .ntm-diff-grid,
    .ntm-rule-examples__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .notify-trade-module-v1 .container { width: min(1240px, calc(100% - 32px)); }
    .ntm-hero__inner { padding: 34px 0 26px; }
    .ntm-hero-diagram { grid-template-columns: 1fr; }
    .ntm-hero-arrow { margin: 0 auto; transform: rotate(90deg); }
    .ntm-monitor-grid,
    .ntm-why-grid,
    .ntm-send-grid,
    .ntm-diff-grid,
    .ntm-rule-examples__grid { grid-template-columns: 1fr; }
    .ntm-hero-event { grid-template-columns: auto 1fr; }
    .ntm-hero-event__tag { justify-self: start; }
}

@media (max-width: 640px) {
    .notify-trade-module-v1 .container { width: min(1240px, calc(100% - 28px)); }
    .ntm-microcopy,
    .ntm-quicklinks { flex-direction: column; align-items: flex-start; }
    .ntm-hero-board,
    .ntm-clarity-card,
    .ntm-card,
    .ntm-why-card,
    .ntm-privacy-card,
    .ntm-send-card,
    .ntm-diff-card,
    .ntm-privacy-note,
    .ntm-milestone-card,
    .ntm-rule-examples { padding: 20px; }
    .ntm-privacy-note { grid-template-columns: 1fr; }
}

/* Final conversion and CTA controls */
.notify-trade-module-v1 .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
    font-size: 0.96rem;
    border: 1px solid transparent;
}

.notify-trade-module-v1 .primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #4f9bff 0%, #2b6fe7 100%);
    box-shadow: 0 12px 28px rgba(43, 111, 231, 0.32);
}

.notify-trade-module-v1 .primary-btn:hover {
    transform: translateY(-2px);
}

.notify-trade-module-v1 .secondary-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.notify-trade-module-v1 .secondary-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.ntm-actions,
.ntm-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.ntm-final {
    padding: 78px 0 88px;
}

.ntm-final .container {
    position: relative;
    z-index: 1;
}

.ntm-final__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    padding: 32px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at right center, rgba(124,58,237,0.26), transparent 18%),
        linear-gradient(135deg, #09111f 0%, #10203a 100%);
    box-shadow: 0 24px 60px rgba(8,16,29,0.20);
}

.ntm-final .ntm-eyebrow,
.ntm-final h2,
.ntm-final p {
    color: #fff;
}

.ntm-final h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.ntm-final p {
    margin: 12px 0 0;
    max-width: 760px;
    color: rgba(255,255,255,0.76);
    line-height: 1.72;
}

.ntm-final__actions {
    justify-content: flex-end;
}

@media (max-width: 1180px) {
    .ntm-final__box {
        grid-template-columns: 1fr;
    }

    .ntm-final__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .ntm-actions,
    .ntm-final__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ntm-final__box {
        padding: 20px;
    }
}
