/* --- V10 Desktop Banner (Theme Matched) --- */
.promo-banner-v10-container {
    width: 100%;
    margin-bottom: 50px;
}

.promo-banner-v10 {
    display: flex;
    background: linear-gradient(135deg, #1c2a39 0%, #0d1620 100%); /* Matched dark background */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    min-height: 120px;
    border: 1px solid rgba(255,255,255,0.05);
}

.promo-banner-v10::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(32, 150, 201, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.banner-v10-content {
    flex: 1;
    padding: 15px 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-v10-title {
    font-size: 26px;
    font-weight: 800;
    color: #00ffcc; /* Bright cyan from original design pop */
    margin: 0 0 5px 0;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.banner-v10-sub {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0 0 10px 0;
    line-height: 1.4;
    max-width: 90%;
}

.banner-v10-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
}

.banner-v10-feature {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.banner-v10-feature i {
    color: #2096c9; /* Theme blue */
    margin-right: 8px;
    font-size: 16px;
}

.banner-v10-graphics {
    flex: 1;
    position: relative;
    z-index: 2;
    min-height: 120px;
    background-image: url('https://images.unsplash.com/photo-1621504450181-5d356f61d307?auto=format&fit=crop&w=800&q=80'); /* Abstract crypto/tech background */
    background-size: cover;
    background-position: center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%);
    mask-image: linear-gradient(to right, transparent 0%, black 20%);
    animation: slowPulse 8s infinite alternate ease-in-out;
}

@keyframes slowPulse {
    0% { filter: brightness(1) contrast(1); transform: scale(1); }
    100% { filter: brightness(1.1) contrast(1.1); transform: scale(1.02); }
}

.banner-v10-floating {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    z-index: 3;
}

.float-coin {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7931a; /* Bitcoin orange */
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: floatingObj 6s infinite ease-in-out;
}

.float-chart {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(32, 150, 201, 0.25); /* Theme blue */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(32, 150, 201, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffcc;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: floatingObj 8s infinite ease-in-out reverse;
}

.fc-1 { top: 10%; left: 30%; }
.fc-2 { bottom: 15%; right: 20%; font-size: 20px; width: 40px; height: 40px; animation-delay: -2s; color: #fff; /* White for generic wallet */ }
.fch-1 { top: 30%; right: 50%; }

@keyframes floatingObj {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 768px) {
    .promo-banner-v10 {
        flex-direction: column;
    }
    .banner-v10-content {
        padding: 40px 20px;
        order: 2;
    }
    .banner-v10-graphics {
        min-height: 250px;
        order: 1;
        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%);
        mask-image: linear-gradient(to top, transparent 0%, black 20%);
    }
    .banner-v10-features {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .promo-banner-v9-container {
        height: 400px;
    }
    .promo-banner-v9 {
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
    }

    .promo-banner-text {
        width: 100% !important;
        padding: 20px !important;
        margin-top: auto !important;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 10%, rgba(15, 23, 42, 0) 100%) !important;
    }

    .promo-banner-img-wrap {
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
        -webkit-mask-image: linear-gradient(to top, transparent 20%, black 65%) !important;
        mask-image: linear-gradient(to top, transparent 20%, black 65%) !important;
    }

    .promo-banner-img {
        top: 0 !important;
        transform: none !important;
        height: 100% !important;
        width: 100% !important;
        max-width: none !important;
        object-position: center 20% !important;
    }

    .promo-banner-v9:hover .promo-banner-img {
        transform: scale(1.05) !important;
    }
}

.dashboard-metrics { display: flex; flex-wrap: wrap; margin-bottom: 30px; margin-top: 15px; }
.metric-card { background: #fdfdfd; border: 1px solid #e1e3e6; border-radius: 8px; flex: 1; min-width: 200px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); margin: 5px; text-align: center; }
.metric-card h4 { font-size: 14px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; margin-top: 0; }
.metric-card .value { font-size: 28px; font-weight: 700; color: #1e3c72; margin: 10px 0 0; }
.metric-card.positive .value { color: #4CAF50; }
.metric-card.negative .value { color: #f44336; }
.roi-value-wrap { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.roi-pct-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid transparent;
    letter-spacing: 0.01em;
    transform: translateY(1px);
}
.roi-pct-badge.is-positive {
    color: #1f8f52;
    background: linear-gradient(135deg, #eaf8ef 0%, #d9f5e5 100%);
    border-color: #bde9ce;
}
.roi-pct-badge.is-negative {
    color: #bb2f36;
    background: linear-gradient(135deg, #fdeeee 0%, #fbdede 100%);
    border-color: #f4c2c5;
}
.roi-pct-badge.is-neutral {
    color: #51606f;
    background: linear-gradient(135deg, #f3f6fa 0%, #eceff4 100%);
    border-color: #d9e0ea;
}
.signal-box { background: #fff; border: 1px solid #e1e3e6; border-radius: 8px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.bot-badge { background-color: #f1f3f6; color: #444; border-radius: 12px; padding: 4px 10px; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
.bot-badge i { color: #1e3c72; margin-right: 5px; }
.loading-overlay { position: relative; opacity: 0.6; pointer-events: none; }
.spin-icon { display: none; animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

.dashboard-metrics .metric-card:nth-child(1) { border-top: 4px solid #2096c9; background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%); }

.live-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.live-feed-title {
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    margin-right: 8px;
}

.live-sync-label {
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.1;
    flex: 0 0 auto;
}

.sync-text-short {
    display: none;
}

@media (max-width: 768px) {
    .live-feed-header {
        gap: 6px;
    }

    .live-feed-title {
        font-size: clamp(16px, 4.2vw, 18px);
        line-height: 1.32;
        max-width: 64%;
        padding-bottom: 2px;
    }

    .live-sync-label {
        font-size: clamp(11px, 3vw, 12px);
    }

    .sync-text-long {
        display: none;
    }

    .sync-text-short {
        display: inline;
    }
}
.dashboard-metrics .metric-card:nth-child(2) { border-top: 4px solid #e67e22; background: linear-gradient(180deg, #fffbf7 0%, #ffffff 100%); }
.dashboard-metrics .metric-card:nth-child(3) { border-top: 4px solid #2ecc71; background: linear-gradient(180deg, #f4fdf8 0%, #ffffff 100%); }
.dashboard-metrics .metric-card:nth-child(4) { border-top: 4px solid #e74c3c; background: linear-gradient(180deg, #fdf6f5 0%, #ffffff 100%); }
.dashboard-metrics .metric-card:nth-child(5) { border-top: 4px solid #9b59b6; background: linear-gradient(180deg, #fbf7fc 0%, #ffffff 100%); }
.dashboard-metrics .metric-card { transition: transform 0.2s, box-shadow 0.2s; }
.dashboard-metrics .metric-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.dashboard-metrics {
    align-items: stretch;
}

.dashboard-metrics .metric-card {
    min-height: 0;
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.dashboard-metrics .metric-card h4 {
    margin-bottom: 6px;
}

.dashboard-metrics .metric-card .value {
    margin: 6px 0 0;
}

.dashboard-metrics .metric-meta {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.35;
}

.dashboard-metrics .metric-meta i {
    margin-right: 4px;
}

.metric-meta-winrate {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.metric-meta-winrate .meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid transparent;
    line-height: 1.2;
    white-space: nowrap;
}

.metric-meta-winrate .meta-chip-triggers {
    color: #516170;
    background: #f4f7fa;
    border-color: #dbe4ec;
}

.metric-meta-winrate .meta-chip-win {
    color: #1f8f56;
    background: #ecfbf2;
    border-color: #bfeccd;
}

.metric-meta-winrate .meta-chip-loss {
    color: #cf3f35;
    background: #fff0ef;
    border-color: #f7c7c2;
}

.metric-meta-winrate .meta-chip-window {
    color: #21618c;
    background: #edf5ff;
    border-color: #cfe0f6;
}

.metric-meta-winrate .meta-chip-day-compare {
    color: #7b4f00;
    background: #fff8e8;
    border-color: #f0dfb3;
    width: auto;
    justify-content: flex-start;
}

.metric-meta-roi {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.metric-meta-roi .meta-label,
.metric-meta-agents .meta-label {
    display: block;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
    overflow-wrap: anywhere;
}

.metric-meta-roi .roi-meta-second {
    margin-top: 0;
}

.metric-meta-roi .meta-label {
    color: #5f6f80;
}

.metric-meta-roi .roi-meta-row {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-start;
    padding: 3px 7px;
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    align-self: center;
    border-radius: 999px;
    border: 1px solid #d9e5f2;
    background: #f4f8fd;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
}

.metric-meta-roi .roi-meta-second {
    border-color: #e6def7;
    background: #f8f4ff;
}

.metric-meta-roi .roi-meta-key {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #7b8c9f;
    white-space: nowrap;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.metric-meta-roi .roi-key-text-short {
    display: none;
}

.metric-meta-roi .roi-meta-row-account.is-tight .roi-key-text-long {
    display: none;
}

.metric-meta-roi .roi-meta-row-account.is-tight .roi-key-text-short {
    display: inline;
}

.metric-meta-roi .roi-meta-value {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex: 0 1 auto;
    min-width: 0;
    margin-left: 4px;
    justify-content: flex-start;
    color: #154f89;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.1px;
}

.metric-meta-roi .roi-meta-main {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.metric-meta-roi .roi-meta-sub {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding-left: 3px;
    margin-left: 1px;
    border-left: 1px solid #d6e0ec;
    font-size: 9px;
    color: #6b7d90;
    font-weight: 700;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: flex-start;
}

.metric-meta-roi .roi-meta-sub span {
    color: #2f5d88;
    font-weight: 800;
}

.metric-meta-roi .roi-meta-second .roi-meta-value {
    color: #5c4298;
}

@media (max-width: 768px) {
    .dashboard-metrics .metric-card h4 {
        margin-bottom: 3px;
    }

    .dashboard-metrics .metric-card .value {
        margin: 2px 0 0;
    }

    .metric-meta-roi .roi-meta-row {
        padding: 3px 9px;
        gap: 6px;
        width: fit-content;
        max-width: 100%;
    }

    .metric-meta-roi .roi-meta-key {
        flex: 0 1 auto;
    }

    .metric-meta-roi .roi-meta-value {
        flex: 0 1 auto;
        margin-left: 2px;
        justify-content: flex-start;
    }

    .metric-meta-roi .roi-meta-main {
        flex: 0 1 auto;
        max-width: none;
    }

    .metric-meta-roi .roi-meta-sub {
        flex: 0 1 auto;
        max-width: none;
        padding-left: 3px;
    }

    .metric-meta-roi .roi-key-text-long {
        display: inline;
    }

    .metric-meta-roi .roi-key-text-short {
        display: none;
    }
}

.metric-meta-agents .meta-label {
    color: #5d7187;
}

.metric-meta-roi .meta-label i {
    color: #5f89ae;
    margin-right: 4px;
    vertical-align: middle;
}

.metric-meta-agents .meta-label i {
    color: #4d8ccf;
    margin-right: 4px;
    font-size: 12px;
    vertical-align: middle;
}

.metric-meta-active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.metric-meta-active .meta-label {
    color: #697b8f;
    font-weight: 700;
}

.metric-meta-active .meta-pnl {
    font-weight: 700;
}

.metric-meta-active .meta-pnl.positive {
    color: #249b5f;
}

.metric-meta-active .meta-pnl.negative {
    color: #d14a40;
}

.metric-meta-agents {
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscription-card {
    padding: 11px 10px 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subscription-plan-title {
    margin-top: 1px;
    margin-bottom: 1px;
    font-size: 13px;
    line-height: 1.05;
    font-weight: 800;
    color: #1576b9;
    white-space: nowrap;
    letter-spacing: 0.1px;
}

.subscription-meta-row {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #4a5c70;
}

.subscription-meta-row strong {
    color: #1f4f79;
    font-weight: 700;
}

.subscription-fancy-row {
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.subscription-fancy-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #38546d;
    line-height: 1.1;
}

.subscription-fancy-label i {
    font-size: 12px;
}

.subscription-fancy-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    box-shadow: 0 3px 8px rgba(0,0,0,0.16);
}

.subscription-user-chip-wrap {
    margin-top: auto;
    padding-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.subscription-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #205081;
    background: linear-gradient(135deg, #eaf4ff 0%, #f3f9ff 100%);
    border: 1px solid #cfe6ff;
}

.subscription-user-chip i {
    color: #2096c9;
}

.subscription-user-chip-timezone {
    font-weight: 800;
    border-width: 1px;
    border-style: solid;
    box-shadow: 0 3px 8px rgba(31, 60, 95, 0.12);
}

.subscription-user-chip-timezone i {
    font-size: 12px;
}

.subscription-user-chip-timezone.is-on {
    color: #0e6e47;
    border-color: #b8e8ce;
    background: linear-gradient(135deg, #ebfff3 0%, #d9f8e8 100%);
}

.subscription-user-chip-timezone.is-on i {
    color: #16a765;
}

.subscription-user-chip-timezone.is-off {
    color: #a53935;
    border-color: #f2c8c8;
    background: linear-gradient(135deg, #fff4f4 0%, #ffe8e8 100%);
}

.subscription-user-chip-timezone.is-off i {
    color: #d74f4f;
}

.subscription-fancy-row-secondary {
    margin-top: 3px;
}

.subscription-fancy-badge.pairs {
    background: linear-gradient(135deg, #2f86d6 0%, #2469b3 100%);
}

.subscription-fancy-badge.renewal {
    background: linear-gradient(135deg, #1f73b9 0%, #0f5a96 100%);
    font-size: 11px;
    padding: 2px 8px;
}

.subscription-fancy-row-renewal {
    flex-wrap: nowrap;
}

.subscription-fancy-row-renewal .subscription-fancy-label {
    white-space: nowrap;
}

.subscription-extend-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid #cfe2f7;
    background: #f2f8ff;
    color: #2b75ba;
    text-decoration: none;
    transition: all 0.2s ease;
}

.subscription-extend-link:hover,
.subscription-extend-link:focus {
    color: #ffffff;
    background: #2b75ba;
    border-color: #2b75ba;
    text-decoration: none;
}

.subscription-fancy-badge.paid {
    background: linear-gradient(135deg, #2ebf73 0%, #1f8f56 100%);
    box-shadow: 0 3px 8px rgba(46,191,115,0.35);
}

.subscription-fancy-badge.coins {
    background: linear-gradient(135deg, #20aee3 0%, #1f7fb5 100%);
    box-shadow: 0 3px 8px rgba(32,150,201,0.35);
}

.subscription-fancy-badge.days {
    background: linear-gradient(135deg, #71c86f 0%, #4ba64d 100%);
    box-shadow: 0 3px 8px rgba(98,175,94,0.35);
}

.subscription-coins-list {
    margin-top: 8px;
    max-height: 118px;
    overflow-y: auto;
    padding-right: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-content: flex-start;
}

/* Manual override block: keep at top-level so theme cascade cannot break card layout updates. */
.dashboard-metrics .subscription-card .subscription-extend-link {
    width: 30px;
    height: 30px;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(30,90,150,0.2);
}

.dashboard-metrics .subscription-card .subscription-extend-link i {
    font-size: 16px;
}

.dashboard-metrics .subscription-card .subscription-mobile-pairdays-row {
    width: 100%;
}

.dashboard-metrics .subscription-card .subscription-fancy-row-inline {
    justify-content: center;
}

.dashboard-metrics .metric-meta-agents .agent-pill-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.dashboard-metrics .metric-meta-agents .agent-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.dashboard-metrics .metric-meta-agents .agent-pill i {
    font-size: 11px;
}

.dashboard-metrics .metric-meta-agents .agent-pill-theme-0 { color: #1a5f9f; background: #edf6ff; border-color: #cfe2f4; }
.dashboard-metrics .metric-meta-agents .agent-pill-theme-1 { color: #0f6b55; background: #ecf9f2; border-color: #cdebdc; }
.dashboard-metrics .metric-meta-agents .agent-pill-theme-2 { color: #8c5711; background: #fff8e8; border-color: #f2dfb2; }
.dashboard-metrics .metric-meta-agents .agent-pill-theme-3 { color: #823144; background: #fff1f4; border-color: #f2ccd6; }
.dashboard-metrics .metric-meta-agents .agent-pill-theme-4 { color: #5a3c95; background: #f5f1ff; border-color: #ddcff8; }
.dashboard-metrics .metric-meta-agents .agent-pill-theme-5 { color: #3f556d; background: #f1f5f9; border-color: #d7e1ea; }

@media (max-width: 768px) {
    .dashboard-metrics .subscription-card .subscription-mobile-pairdays-row {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .dashboard-metrics .subscription-card .subscription-mobile-pairdays-row .subscription-fancy-row-inline {
        margin-top: 2px;
        justify-content: center;
        gap: 4px;
        flex-wrap: nowrap;
        width: auto;
        flex: 0 1 auto;
        min-width: 0;
    }

    .dashboard-metrics .subscription-card .subscription-mobile-pairdays-row .subscription-fancy-label {
        font-size: 10px;
    }

    .dashboard-metrics .subscription-card .subscription-mobile-pairdays-row .subscription-fancy-badge {
        min-width: 32px;
        font-size: 11px;
        padding: 2px 7px;
    }

    .dashboard-metrics .subscription-card .subscription-fancy-row-renewal .subscription-fancy-label {
        font-size: 13px;
        font-weight: 800;
    }

    .dashboard-metrics .subscription-card .subscription-fancy-row-renewal .subscription-fancy-badge.renewal {
        font-size: 13px;
        padding: 3px 10px;
    }

    .dashboard-metrics .subscription-card .subscription-fancy-row-renewal .subscription-extend-link {
        width: 32px;
        height: 32px;
        font-size: 17px;
        box-shadow: 0 4px 10px rgba(30,90,150,0.24);
    }

    .dashboard-metrics .subscription-card .subscription-fancy-row-renewal .subscription-extend-link i {
        font-size: 17px;
    }

    .dashboard-metrics .metric-meta-agents .agent-pill-group {
        gap: 5px;
    }

    .dashboard-metrics .metric-meta-agents .agent-pill {
        font-size: 10px;
        padding: 3px 8px;
    }

    .dashboard-metrics .metric-meta-agents .agent-pill i {
        font-size: 10px;
    }
}

.subscription-coin-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #d7e4f2;
    background: #ffffff;
    color: #2f5f90;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.subscription-coin-chip.muted {
    color: #7a8ea3;
    font-weight: 600;
}

.market-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.market-overview-title {
    margin: 0;
    white-space: nowrap;
}

.market-pairs-carousel {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
}

.market-pair-nav {
    width: 34px;
    height: 34px;
    border: 1px solid #d7e0ea;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
    color: #2f5f90;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.market-pair-nav:hover {
    background: linear-gradient(180deg, #2096c9 0%, #1b6fb0 100%);
    color: #fff;
    border-color: #1b6fb0;
    transform: translateY(-1px);
}

.market-pairs-track {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 2px 2px 8px;
    flex: 1;
    min-width: 0;
}

.market-pairs-track::-webkit-scrollbar {
    display: none;
}

.market-pair-chip {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    flex: 0 0 auto;
}

.market-pair-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.fancy-row-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #edf7ff 0%, #eafdf4 100%);
    border: 1px solid #c8e3fa;
    margin-bottom: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.fancy-row-count-badge .count-label {
    font-size: 10px;
    font-weight: 800;
    color: #5f7487;
    letter-spacing: 0.06em;
}

.fancy-row-count-badge .count-value {
    font-size: 12px;
    font-weight: 900;
    color: #1b6ca8;
}

.fancy-trade-id-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    white-space: nowrap;
}

.fancy-datetime-open {
    background: #2f3b47;
    color: #fff;
    border-radius: 4px;
    padding: 4px 8px;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
}

.fancy-datetime-open i {
    margin-right: 4px;
}

.fancy-dt-date,
.fancy-dt-time {
    display: inline;
}

.fancy-dt-time {
    margin-left: 4px;
}

.fancy-datetime-close {
    background: #e74c3c;
    color: #fff;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
}

.news-impact-time-mobile {
    display: none;
}

.archive-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.archive-header-left {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.archive-group-label {
    color: #576b7f;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
    font-weight: 800;
}

.archive-group-date {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #134f88;
    background: linear-gradient(135deg, #e7f4ff 0%, #eefcff 100%);
    border: 1px solid #bfdbf3;
    box-shadow: 0 2px 7px rgba(19, 79, 136, 0.16);
}

.archive-header-summary {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.archive-summary-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid transparent;
}

.archive-summary-chip.total {
    color: #506273;
    background: #f2f6fa;
    border-color: #dce6ef;
}

.archive-summary-chip.win {
    color: #1f8f56;
    background: #ecfbf2;
    border-color: #bfeccd;
}

.archive-summary-chip.loss {
    color: #c8503b;
    background: #fff2ef;
    border-color: #ffd3ca;
}

.archive-summary-chip.pnl.positive {
    color: #1f8f56;
    background: #e8f9ef;
    border-color: #bfeccd;
}

.archive-summary-chip.pnl.negative {
    color: #c8503b;
    background: #fff0ef;
    border-color: #f7c7c2;
}

.archive-pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
}

.archive-page-btn {
    min-width: 30px;
    height: 30px;
    border: 1px solid #d1deea;
    border-radius: 999px;
    background: #fff;
    color: #3b5771;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.2s ease;
}

.archive-page-btn:hover {
    background: #eff6fd;
    border-color: #a9c8e6;
    color: #1a5f9f;
}

.archive-page-btn.active {
    background: linear-gradient(135deg, #2096c9 0%, #1b6fb0 100%);
    border-color: #1b6fb0;
    color: #fff;
}

.factors-wrap {
    margin-top: 4px;
    font-size: 10px;
    color: #495b6c;
}

.factors-legend {
    margin-bottom: 4px;
    padding: 3px 6px;
    border-radius: 7px;
    background: #f4f8fd;
    border: 1px solid #d7e5f3;
    font-size: 9px;
    line-height: 1.25;
    color: #4f667d;
}

.factors-legend i {
    margin-right: 4px;
    color: #2f86c6;
}

.factor-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 1px;
    padding: 1px 0;
}

.factor-name {
    color: #334b62;
    font-weight: 700;
    line-height: 1.2;
}

.factor-score {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid #cde7fb;
    background: #eef8ff;
    color: #1568a6;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.factor-extra {
    transition: all 0.2s ease;
}

.factor-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #cfe1f3;
    background: #f3f9ff;
    font-size: 9px;
    font-weight: 800;
    color: #1a73b8;
    text-decoration: none;
}

.factor-toggle:hover,
.factor-toggle:focus {
    text-decoration: none;
    background: #e8f4ff;
    color: #14598d;
}

.factor-summary {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed #d8e5f2;
    font-size: 9px;
    line-height: 1.25;
    color: #50667d;
}

.confidence-band {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    border: 1px solid transparent;
}

.confidence-band.very-high {
    background: #e8f9ef;
    border-color: #bfeccd;
    color: #1f8f52;
}

.confidence-band.high {
    background: #edf5ff;
    border-color: #cfe0f6;
    color: #21618c;
}

.confidence-band.medium {
    background: #fff8e8;
    border-color: #f0dfb3;
    color: #8a5a00;
}

.confidence-band.low {
    background: #fff1f0;
    border-color: #f7c7c2;
    color: #b8453c;
}

@media (max-width: 768px) {
    #tab-archives .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #tab-archives .table {
        min-width: 980px;
        table-layout: fixed;
    }

    #tab-archives td,
    #tab-archives th {
        overflow: hidden;
    }

    #tab-archives th:first-child,
    #tab-archives td:first-child {
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        overflow: visible;
    }

    #tab-archives .fancy-datetime-cell-archive {
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        overflow: visible;
    }

    #tab-archives .fancy-row-count-badge {
        display: inline-flex;
        max-width: 104px;
        width: 100%;
        padding: 3px 6px;
        gap: 4px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    #tab-archives .fancy-trade-id-badge {
        display: flex !important;
        min-width: 118px;
        max-width: 126px;
        width: auto !important;
        padding: 2px 7px;
        gap: 4px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        font-size: 10px !important;
        line-height: 1.2;
        white-space: nowrap;
        overflow: visible;
    }

    #tab-archives .fancy-row-count-badge,
    #tab-archives .fancy-datetime-open,
    #tab-archives .fancy-datetime-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    #tab-archives .fancy-trade-id-badge i {
        display: inline-block !important;
        flex: 0 0 auto;
    }

    #tab-archives .fancy-datetime-open,
    #tab-archives .fancy-datetime-close {
        display: block;
        max-width: 104px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        white-space: normal;
        overflow: visible;
        text-align: center;
        line-height: 1.2;
    }

    #tab-archives .fancy-datetime-open {
        padding: 4px 6px;
        font-size: 10px;
    }

    #tab-archives .fancy-datetime-close {
        padding: 3px 6px;
        font-size: 9px;
    }

    #tab-archives .fancy-datetime-open i,
    #tab-archives .fancy-datetime-close i {
        margin-right: 3px;
    }

    #tab-archives .fancy-dt-date,
    #tab-archives .fancy-dt-time {
        display: block;
        margin-left: 0;
    }

    #tab-archives .fancy-dt-time {
        margin-top: 1px;
    }

    #tab-archives .archive-pnl-cell {
        min-width: 170px;
    }

    #tab-archives .archive-pnl-stack {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        width: 100%;
    }

    #tab-archives .archive-pnl-status {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    #tab-archives .archive-gap-stack {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 4px;
        width: 100%;
        max-width: 160px !important;
    }

    #tab-archives .archive-gap-separator {
        display: none !important;
    }

    #tab-archives .archive-gap-stack .pips-gap-badge {
        width: 100%;
        max-width: 160px;
        padding: 4px 8px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    #tab-archives .archive-exit-cell {
        min-width: 182px;
    }

    #tab-archives .archive-exit-stack {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        width: 100%;
    }

    #tab-archives .archive-exit-chip {
        max-width: 160px;
        width: 100%;
        justify-content: center;
        white-space: nowrap;
    }

    #tab-archives .archive-exit-details {
        max-width: 160px !important;
        width: 100%;
    }

    #tab-archives .archive-exit-close {
        white-space: nowrap;
        font-size: 10px !important;
    }

    #tab-archives .archive-exit-reason {
        text-align: center;
        font-size: 9px !important;
        line-height: 1.25 !important;
        white-space: normal;
        word-break: break-word;
    }

    #tab-live-feed .archive-exit-cell,
    #tab-archives .archive-exit-cell {
        min-width: 170px !important;
    }

    #tab-live-feed .archive-exit-details,
    #tab-archives .archive-exit-details {
        max-width: 150px !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    #tab-live-feed .archive-close-by-badge,
    #tab-archives .archive-close-by-badge {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        width: 100% !important;
        max-width: 150px !important;
        padding: 3px 6px !important;
        box-sizing: border-box;
        text-align: center;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        line-height: 1.25 !important;
    }

    #tab-live-feed .archive-exit-source,
    #tab-archives .archive-exit-source,
    #tab-live-feed .archive-exit-reason,
    #tab-archives .archive-exit-reason {
        width: 100%;
        max-width: 150px;
        text-align: center;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    #tab-archives .archive-action-cell {
        min-width: 124px;
        width: 124px !important;
    }

    #tab-archives .archive-action-agent {
        display: block;
        width: 100%;
        max-width: 114px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        line-height: 1.25;
    }

    #tab-archives .archive-action-label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        max-width: 114px;
        width: 100%;
        white-space: nowrap;
    }

    #tab-news thead {
        display: none;
    }

    #tab-news tbody tr {
        display: flex;
        align-items: center;
        gap: 8px;
        border-top: 1px solid #edf1f6;
    }

    #tab-news tbody tr:first-child {
        border-top: none;
    }

    #tab-news .news-col-source,
    #tab-news .news-col-published,
    #tab-news .news-col-impact-time {
        display: none;
    }

    #tab-news td.news-col-impact {
        order: 1;
        flex: 0 0 84px;
        width: 84px;
        text-align: center !important;
        padding: 8px 4px !important;
    }

    #tab-news td.news-col-headline {
        order: 2;
        flex: 1 1 auto;
        min-width: 0;
        text-align: left !important;
        padding: 8px 6px !important;
    }

    #tab-news .news-impact-chip {
        min-width: 70px !important;
        padding: 2px 6px !important;
        font-size: 9px !important;
        letter-spacing: 0.02em !important;
    }

    #tab-news tbody td.news-col-headline a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.35;
    }

    #tab-news .news-impact-time-mobile {
        display: block;
        margin-top: 3px;
        font-size: 9px;
        line-height: 1.25;
        font-weight: 700;
        color: #4f667d;
    }

    #tab-news .news-impact-time-mobile i {
        margin-right: 4px;
        color: #2f86c6;
    }

    #tab-news tbody td[colspan] {
        display: block;
        width: 100%;
        text-align: center !important;
    }
}

.market-pair-icon-wrap {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.market-pair-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.market-pair-icon-fallback {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    color: #888;
    font-size: 18px;
}

.market-pair-label {
    margin-left: -10px;
    z-index: 1;
    background: #fff;
    border: 1px solid #dfe7ef;
    border-left: none;
    color: #3e4f60;
    padding: 5px 14px 5px 18px;
    border-radius: 0 20px 20px 0;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.market-pair-chip:hover .market-pair-label {
    color: #0b7bb0;
    background: #f2f9ff;
    border-color: #cfe5f4;
}

@media (max-width: 991px) {
    .market-overview-head {
        flex-direction: column;
        align-items: stretch;
    }

    .market-pairs-carousel {
        width: 100%;
        justify-content: stretch;
    }

    .market-pair-nav {
        width: 30px;
        height: 30px;
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .market-pair-chip {
        gap: 6px;
        border: 1px solid #dfe7ef;
        border-radius: 999px;
        background: #fff;
        padding: 3px 8px 3px 4px;
    }

    .market-pair-icon,
    .market-pair-icon-wrap {
        width: 22px;
        height: 22px;
    }

    .market-pair-icon-fallback {
        width: 22px;
        height: 22px;
        font-size: 11px;
        box-shadow: none;
    }

    .market-pair-icon img {
        width: 100% !important;
        height: 100% !important;
    }

    .market-pair-icon i {
        font-size: 11px !important;
    }

    .market-pair-label {
        margin-left: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        font-size: 9px;
        line-height: 1.2;
        padding: 0;
    }

    .market-pair-nav {
        width: 26px;
        height: 26px;
    }
}

/* V8 Landing Page Styles */
.landing-page-v8 {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.hero-section-v8 {
    position: relative;
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 8px;
    margin-bottom: 40px;
    overflow: hidden;
}

.hero-section-v8 .hero-bg-graphics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 0;
}

.hero-section-v8 .hero-bg-graphics i {
    position: absolute;
    color: #dbe2e8;
    animation: float 8s ease-in-out infinite;
}
.hero-section-v8 .hero-bg-graphics .fa-bitcoin { font-size: 80px; top: 15%; left: 10%; animation-delay: 0s; }
.hero-section-v8 .hero-bg-graphics .fa-chart-line { font-size: 60px; top: 25%; right: 12%; animation-delay: 2s; }
.hero-section-v8 .hero-bg-graphics .fa-robot { font-size: 50px; bottom: 20%; left: 20%; animation-delay: 4s; }
.hero-section-v8 .hero-bg-graphics .fa-rocket { font-size: 40px; bottom: 30%; right: 25%; animation-delay: 6s; }


.hero-section-v8 .hero-content {
    position: relative;
    z-index: 1;
}

.hero-section-v8 h1 {
    font-size: 34px;
    font-weight: 800;
    color: #1e3c72;
    margin-bottom: 15px;
}

.hero-section-v8 p.lead {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features-v8 {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    background: rgba(255,255,255,0.5);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.hero-feature-item i {
    font-size: 18px;
    color: #2096c9;
    margin-right: 10px;
}

.plans-section-v8 h2 {
    text-align: center;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 30px;
    color: #222;
}

    /* Force-center plan heading/title text on subscription landing cards. */
    .landing-page-v8 .plans-section-v8 h2,
    .landing-page-v8 .plans-container-v8 .plan-card-v8 .plan-name {
        text-align: center !important;
    }

.plans-container-v8 {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 5px 30px;
    overflow-x: visible;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .plans-container-v8 {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* Custom slick scrollbar for plans container */
.plans-container-v8::-webkit-scrollbar {
    height: 8px;
}
.plans-container-v8::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.plans-container-v8::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
.plans-container-v8::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.plan-card-v8 {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    min-width: 280px; /* Fixed width for carousel items */
    max-width: 320px;
    flex: 0 0 auto; /* Prevent shrinking */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border-top: 4px solid #2096c9;
}

/* --- V11 Success Story Flow --- */
.success-story-v11-container {
    margin-top: 15px;
    padding: 25px 20px 35px;
    background: linear-gradient(to bottom, #ffffff, #f9fbfd);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    text-align: center;
}

.story-v11-heading {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin-bottom: 25px;
}

.story-v11-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Connecting line behind steps */
.story-v11-flow::before {
    content: '';
    position: absolute;
    top: 35px; /* Center of icon */
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, #e0e0e0 0%, #2096c9 50%, #4CAF50 100%);
    z-index: 1;
}

.story-v11-step {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-v11-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #fff;
}

.story-v11-step:hover .story-v11-icon-wrap {
    transform: scale(1.15);
}

.story-v11-step:nth-child(1) .story-v11-icon-wrap { color: #f39c12; border-color: #fcebd1; } 
.story-v11-step:nth-child(2) .story-v11-icon-wrap { color: #3498db; border-color: #d6eaf8; } 
.story-v11-step:nth-child(3) .story-v11-icon-wrap { color: #2ecc71; border-color: #d5f5e3; } 
.story-v11-step:nth-child(4) .story-v11-icon-wrap { color: #9b59b6; border-color: #ebdef0; } 

.story-v11-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.story-v11-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .story-v11-flow {
        flex-direction: column;
        align-items: center;
    }
    .story-v11-flow::before {
        display: none; /* Hide line on mobile */
    }
    .story-v11-step {
        margin-bottom: 30px;
        width: 100%;
        max-width: 250px;
    }
}

.plan-card-v8:hover, .plan-card-v8.recommended {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(32, 150, 201, 0.15);
    border-color: #2096c9;
}

.plan-card-v8.recommended {
    position: relative;
}

.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2096c9;
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.plan-card-v8 .plan-name {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}
.plan-features li i.fa-check-circle {
    color: #2ecc71;
}
.plan-features li i.fa-times-circle {
    color: #e74c3c;
}

.plan-card-v8 .plan-price {
    font-size: 42px;
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
}
.plan-card-v8 .plan-price sup { 
    font-size: 20px;
    font-weight: 700;
    vertical-align: super;
    margin-right: 2px;
}
.plan-card-v8 .plan-price .duration {
    font-size: 14px;
    font-weight: 600;
    color: #777;
}

.plan-card-v8 .plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    font-size: 14px;
    color: #444;
    flex-grow: 1;
}
.plan-card-v8 .plan-features li { 
    margin-bottom: 12px; 
    display: flex;
    align-items: center;
}
.plan-card-v8 .plan-features i { 
    color: #2ecc71; 
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.plan-card-v8 .btn-subscribe {
    width: 100%;
    border-radius: 8px;
    font-weight: bold;
    padding: 12px 0;
    font-size: 14px;
    text-transform: uppercase;
    margin-top: auto;
    background: #2096c9;
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(32, 150, 201, 0.3);
}
.plan-card-v8 .btn-subscribe:hover {
    background: #1e3c72;
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}



.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.feature-list li {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: #2ecc71;
    font-size: 18px;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.plans-section {
    text-align: center;
    padding: 30px 0;
}

.plans-section h2 {
    font-weight: 700;
    font-size: 24px;
    color: #222;
    margin-bottom: 10px;
}

.plans-section .subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.plan-card-new {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.plan-card-new .plan-name {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1e3c72;
    margin-bottom: 15px;
}

.plan-card-new .plan-price {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
}

.plan-card-new .plan-price sup {
    font-size: 18px;
    font-weight: 700;
    top: -12px;
}

.plan-card-new .plan-duration {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 25px;
}

.plan-card-new .plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    font-size: 13px;
    color: #444;
}

.plan-card-new .plan-features li {
    margin-bottom: 10px;
}

.plan-card-new .plan-features i {
    color: #2ecc71;
    margin-right: 8px;
}

.plan-card-new .btn-subscribe {
    width: 100%;
    border-radius: 8px;
    font-weight: bold;
    padding: 12px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    background: #1e3c72;
    border-color: #1e3c72;
    transition: all 0.3s ease;
}

.plan-card-new .btn-subscribe:hover {
    background: #2096c9;
    border-color: #2096c9;
    box-shadow: 0 6px 20px rgba(32, 150, 201, 0.4);
}

.pipeline-section {
    padding: 30px 0;
}

.pipeline-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    height: 100%;
}

.pipeline-card .icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.pipeline-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.pipeline-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}
.col-sm-12.landing-page-container {
    padding: 0;
    background: transparent;
}
