.ecomx-home {
    --home-ink: #111b3a;
    --home-muted: #66718a;
    --home-blue: #2367e8;
    --home-blue-dark: #153da8;
    --home-line: #e3e9f3;
    overflow: hidden;
    color: var(--home-ink);
    background: #fff;
}

.ecomx-home *,
.ecomx-home *::before,
.ecomx-home *::after { box-sizing: border-box; }

.ecomx-home a { text-decoration: none; }
.ecomx-home p { color: var(--home-muted); }
.ecomx-home section[id],
.ecomx-home article[id] { scroll-margin-top: 105px; }

.ecomx-home-hero {
    position: relative;
    min-height: 760px;
    padding: 190px 0 110px;
    background:
        linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.95)),
        linear-gradient(90deg, rgba(35,103,232,.055) 1px, transparent 1px),
        linear-gradient(rgba(35,103,232,.055) 1px, transparent 1px);
    background-size: auto, 38px 38px, 38px 38px;
}

.ecomx-home-hero::after {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -260px;
    width: 760px;
    height: 760px;
    border: 1px solid rgba(35,103,232,.1);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(35,103,232,.025), 0 0 0 140px rgba(35,103,232,.018);
    pointer-events: none;
}

.ecomx-home-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}
.ecomx-home-orb--one { top: 125px; left: -110px; width: 280px; height: 280px; background: rgba(86,132,255,.1); }
.ecomx-home-orb--two { top: 90px; right: 5%; width: 190px; height: 190px; background: rgba(119,89,255,.09); }
.ecomx-home-hero .container { position: relative; z-index: 2; }

.ecomx-home-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    padding: 8px 13px;
    border: 1px solid #d8e5ff;
    border-radius: 999px;
    color: #2850a7;
    background: rgba(241,246,255,.9);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}
.ecomx-home-pill span { width: 8px; height: 8px; border-radius: 50%; background: #2d75f1; box-shadow: 0 0 0 5px rgba(45,117,241,.12); }
.ecomx-home-hero-copy h1 { max-width: 650px; margin: 0 0 23px; color: var(--home-ink); font-size: clamp(48px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.055em; }
.ecomx-home-hero-copy h1 em { display: block; color: var(--home-blue); font-style: normal; }
.ecomx-home-hero-copy > p { max-width: 615px; margin-bottom: 31px; font-size: 17px; line-height: 1.8; }

.ecomx-home-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.ecomx-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 53px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.ecomx-home-btn i { font-size: 20px; }
.ecomx-home-btn:hover { transform: translateY(-2px); }
.ecomx-home-btn--primary { color: #fff; background: linear-gradient(135deg, #1748c5, #397bf0); box-shadow: 0 14px 30px rgba(35,103,232,.25); }
.ecomx-home-btn--primary:hover { color: #fff; box-shadow: 0 18px 36px rgba(35,103,232,.32); }
.ecomx-home-btn--ghost { color: #24314d; border-color: #dce3ee; background: rgba(255,255,255,.8); }
.ecomx-home-btn--ghost:hover { color: #1748c5; border-color: #aac6f8; background: #fff; }
.ecomx-home-btn--dark { color: #fff; background: #131f40; box-shadow: 0 13px 25px rgba(17,27,58,.18); }
.ecomx-home-btn--dark:hover { color: #fff; }
.ecomx-home-btn--white { color: #1748c5; background: #fff; box-shadow: 0 13px 30px rgba(0,0,0,.16); }
.ecomx-home-btn--white:hover { color: #1748c5; }
.ecomx-home-btn--outline-light { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }
.ecomx-home-btn--outline-light:hover { color: #fff; background: rgba(255,255,255,.13); }

.ecomx-home-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.ecomx-home-proof span { display: flex; align-items: center; gap: 6px; color: #66718a; font-size: 12px; font-weight: 700; }
.ecomx-home-proof i { color: #2f74ed; font-size: 17px; }

.ecomx-product-preview { position: relative; max-width: 620px; margin-left: auto; padding: 34px 5px; }
.ecomx-preview-glow { position: absolute; inset: 8% 4%; border-radius: 50%; background: rgba(47,116,237,.22); filter: blur(70px); }
.ecomx-preview-window { position: relative; overflow: hidden; border: 1px solid rgba(201,214,235,.95); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: 0 34px 80px rgba(31,55,105,.2); transform: perspective(1100px) rotateY(-3deg) rotateX(1deg); }
.ecomx-preview-topbar { display: flex; align-items: center; gap: 14px; padding: 14px 17px; border-bottom: 1px solid #e8edf5; background: #fff; }
.ecomx-preview-logo { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(145deg,#1644bc,#4385f5); font-size: 15px; font-weight: 900; }
.ecomx-preview-search { display: flex; align-items: center; gap: 7px; flex: 1; max-width: 220px; padding: 9px 12px; border-radius: 9px; color: #9aa5b8; background: #f3f6fa; font-size: 10px; }
.ecomx-preview-user { display: grid; place-items: center; width: 33px; height: 33px; margin-left: auto; border-radius: 50%; color: #1748c5; background: #e7efff; font-size: 10px; font-weight: 900; }
.ecomx-preview-body { padding: 24px; background: #f8faff; }
.ecomx-preview-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ecomx-preview-heading div { display: grid; gap: 2px; }
.ecomx-preview-heading small, .ecomx-preview-order-head small { color: #8a95a8; font-size: 9px; }
.ecomx-preview-heading strong { color: #182443; font-size: 18px; }
.ecomx-live { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; color: #16784a; background: #e4f8ee; font-size: 9px; font-weight: 800; }
.ecomx-live i { width: 6px; height: 6px; border-radius: 50%; background: #20b66d; }
.ecomx-preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.ecomx-preview-metrics > div { display: grid; gap: 4px; padding: 14px; border: 1px solid #e7edf6; border-radius: 13px; background: #fff; }
.ecomx-preview-metrics i { width: 29px; height: 29px; display: grid; place-items: center; margin-bottom: 5px; border-radius: 8px; color: #2769e7; background: #eaf1ff; font-size: 15px; }
.ecomx-preview-metrics div:nth-child(2) i { color: #7c3aed; background: #f1eafe; }
.ecomx-preview-metrics div:nth-child(3) i { color: #d97706; background: #fff3dc; }
.ecomx-preview-metrics span { color: #8994a7; font-size: 8px; }
.ecomx-preview-metrics strong { color: #1e2a47; font-size: 11px; }
.ecomx-preview-order { padding: 17px; border: 1px solid #e4eaf4; border-radius: 14px; background: #fff; }
.ecomx-preview-order-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ecomx-preview-order-head div { display: grid; }
.ecomx-preview-order-head strong { color: #1d2947; font-size: 13px; }
.ecomx-preview-order-head > span { padding: 6px 8px; border-radius: 7px; color: #9a6200; background: #fff4d7; font-size: 8px; font-weight: 800; }
.ecomx-preview-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.ecomx-preview-track::before { content: ""; position: absolute; top: 14px; left: 12%; right: 12%; height: 2px; background: #e4e9f2; }
.ecomx-preview-track div { position: relative; z-index: 1; display: grid; justify-items: center; gap: 7px; color: #9ba4b4; font-size: 7px; text-align: center; }
.ecomx-preview-track i { display: grid; place-items: center; width: 29px; height: 29px; border: 3px solid #fff; border-radius: 50%; color: #8f9bae; background: #e8edf5; font-size: 12px; box-shadow: 0 0 0 1px #e2e8f1; }
.ecomx-preview-track .is-done i { color: #fff; background: #2d75ef; box-shadow: 0 0 0 1px #2d75ef; }
.ecomx-preview-track .is-active i { color: #8b5a00; background: #ffdf92; box-shadow: 0 0 0 1px #ffcf5a; }
.ecomx-preview-track .is-done span, .ecomx-preview-track .is-active span { color: #34405b; font-weight: 800; }
.ecomx-floating-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid rgba(218,226,239,.9); border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: 0 16px 35px rgba(25,46,91,.16); backdrop-filter: blur(10px); animation: ecomx-float 5s ease-in-out infinite; }
.ecomx-floating-card > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #fff; background: #2367e8; }
.ecomx-floating-card div { display: grid; }
.ecomx-floating-card small { color: #8b96a9; font-size: 8px; }
.ecomx-floating-card strong { color: #1b2745; font-size: 10px; }
.ecomx-floating-card--sale { left: -22px; top: 86px; }
.ecomx-floating-card--secure { right: -20px; bottom: 69px; animation-delay: -2.4s; }
.ecomx-floating-card--secure > span { background: #15a364; }
@keyframes ecomx-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.ecomx-role-section,
.ecomx-feature-section { padding: 105px 0; background: #f7f9fd; }
.ecomx-section-heading { max-width: 610px; margin-bottom: 40px; }
.ecomx-section-heading--center { margin: 0 auto 48px; text-align: center; }
.ecomx-section-heading > span { display: inline-block; margin-bottom: 13px; color: #2367e8; font-size: 12px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.ecomx-section-heading h2 { margin-bottom: 15px; color: var(--home-ink); font-size: clamp(34px, 4vw, 50px); line-height: 1.12; letter-spacing: -.035em; }
.ecomx-section-heading p { margin: 0; font-size: 16px; line-height: 1.75; }

.ecomx-role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ecomx-role-card { position: relative; min-height: 330px; padding: 26px; border: 1px solid #e1e7f1; border-radius: 21px; background: #fff; box-shadow: 0 14px 38px rgba(30,49,88,.055); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.ecomx-role-card::after { content: ""; position: absolute; right: -40px; bottom: -55px; width: 130px; height: 130px; border-radius: 50%; background: var(--role-soft,#eaf1ff); opacity: .8; }
.ecomx-role-card:hover { transform: translateY(-7px); border-color: #b5ccf6; box-shadow: 0 24px 50px rgba(30,70,150,.12); }
.ecomx-role-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 34px; border-radius: 15px; color: var(--role-color,#2367e8); background: var(--role-soft,#eaf1ff); font-size: 25px; }
.ecomx-role-number { position: absolute; top: 30px; right: 25px; color: #b7c0d0; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.ecomx-role-card h3 { margin-bottom: 12px; color: #16213e; font-size: 21px; }
.ecomx-role-card p { min-height: 88px; margin-bottom: 19px; font-size: 13px; line-height: 1.7; }
.ecomx-role-card a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; color: var(--role-color,#2367e8); font-size: 13px; font-weight: 800; }
.ecomx-role-card a i { font-size: 18px; transition: transform .2s ease; }
.ecomx-role-card:hover a i { transform: translateX(4px); }
.ecomx-role-card--2 { --role-color:#7c3aed; --role-soft:#f1eafe; }
.ecomx-role-card--3 { --role-color:#d97706; --role-soft:#fff2d8; }
.ecomx-role-card--4 { --role-color:#db2777; --role-soft:#fce7f3; }

.ecomx-how-section { padding: 115px 0; background: #fff; }
.ecomx-steps { display: grid; gap: 15px; }
.ecomx-steps article { position: relative; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 17px; padding: 24px; border: 1px solid #e3e9f2; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(26,43,79,.05); transition: border-color .2s ease, transform .2s ease; }
.ecomx-steps article:hover { transform: translateX(5px); border-color: #aec8f7; }
.ecomx-steps article > span { color: #b1bac9; font-size: 10px; font-weight: 900; }
.ecomx-step-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #2367e8; background: #ebf2ff; font-size: 23px; }
.ecomx-steps article:nth-child(2) .ecomx-step-icon { color: #7c3aed; background: #f2ebff; }
.ecomx-steps article:nth-child(3) .ecomx-step-icon { color: #d97706; background: #fff2da; }
.ecomx-steps h3 { margin: 0 0 5px; color: #17213d; font-size: 17px; }
.ecomx-steps p { margin: 0; font-size: 12px; line-height: 1.65; }

.ecomx-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.ecomx-feature-grid article { padding: 28px; border: 1px solid #e3e9f2; border-radius: 19px; background: rgba(255,255,255,.85); transition: background .2s ease, transform .2s ease; }
.ecomx-feature-grid article:hover { transform: translateY(-4px); background: #fff; }
.ecomx-feature-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 20px; border-radius: 13px; color: #2468e8; background: #eaf1ff; font-size: 22px; }
.ecomx-feature-grid article:nth-child(2n) .ecomx-feature-icon { color: #7540d7; background: #f1ebfd; }
.ecomx-feature-grid h3 { margin-bottom: 9px; color: #17213d; font-size: 17px; }
.ecomx-feature-grid p { margin: 0; font-size: 12px; line-height: 1.7; }

.ecomx-control-section { padding: 105px 0; background: #fff; }
.ecomx-control-card { position: relative; overflow: hidden; padding: 65px; border-radius: 30px; background: linear-gradient(135deg,#101d48,#153a96 62%,#2769dc); box-shadow: 0 30px 70px rgba(17,45,112,.22); }
.ecomx-control-card::before { content: ""; position: absolute; width: 440px; height: 440px; right: -170px; top: -220px; border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: 0 0 0 65px rgba(255,255,255,.025); }
.ecomx-control-card .row { position: relative; z-index: 1; }
.ecomx-section-heading--light h2 { color: #fff; }
.ecomx-section-heading--light > span { color: #a9c8ff; }
.ecomx-section-heading--light p { color: rgba(255,255,255,.7); }
.ecomx-control-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ecomx-control-list li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.88); font-size: 13px; }
.ecomx-control-list i { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.14); }
.ecomx-activity-panel { padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.1); backdrop-filter: blur(14px); }
.ecomx-activity-head { display: flex; justify-content: space-between; padding: 4px 4px 15px; color: #fff; font-size: 13px; font-weight: 800; }
.ecomx-activity-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 9px; padding: 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.11); }
.ecomx-activity-item > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; background: rgba(255,255,255,.14); font-size: 18px; }
.ecomx-activity-item div { display: grid; }
.ecomx-activity-item strong { color: #fff; font-size: 11px; }
.ecomx-activity-item small { color: rgba(255,255,255,.62); font-size: 9px; }
.ecomx-activity-item > span { color: #bcd2ff; font-size: 8px; font-weight: 800; }

.ecomx-final-cta { padding: 0 0 110px; background: #fff; }
.ecomx-final-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 45px; padding: 55px 60px; border-radius: 28px; background: linear-gradient(125deg,#1644ba,#276fe9); box-shadow: 0 25px 60px rgba(30,91,207,.22); }
.ecomx-final-cta-card > div:first-child { max-width: 680px; }
.ecomx-final-cta-card span { display: inline-block; margin-bottom: 9px; color: #c8dcff; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.ecomx-final-cta-card h2 { margin-bottom: 10px; color: #fff; font-size: clamp(30px,3.4vw,44px); line-height: 1.15; letter-spacing: -.03em; }
.ecomx-final-cta-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.ecomx-final-actions { display: flex; flex: 0 0 auto; gap: 10px; }

@media (max-width: 1199px) {
    .ecomx-home-hero-copy h1 { font-size: 58px; }
    .ecomx-role-grid { grid-template-columns: repeat(2, 1fr); }
    .ecomx-role-card { min-height: 290px; }
    .ecomx-role-card p { min-height: 45px; }
    .ecomx-final-cta-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 991px) {
    .ecomx-home-hero { min-height: auto; padding: 145px 0 90px; }
    .ecomx-home-hero-copy { max-width: 720px; }
    .ecomx-product-preview { margin: 20px auto 0; }
    .ecomx-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .ecomx-control-card { padding: 45px; }
}

@media (max-width: 767px) {
    .ecomx-home-hero { padding: 125px 0 75px; }
    .ecomx-home-hero-copy h1 { font-size: 47px; }
    .ecomx-home-hero-copy > p { font-size: 15px; }
    .ecomx-role-section, .ecomx-how-section, .ecomx-feature-section, .ecomx-control-section { padding: 78px 0; }
    .ecomx-role-grid, .ecomx-feature-grid { grid-template-columns: 1fr; }
    .ecomx-role-card { min-height: auto; }
    .ecomx-role-card p { min-height: 0; }
    .ecomx-control-card { padding: 35px 25px; border-radius: 24px; }
    .ecomx-final-cta { padding-bottom: 78px; }
    .ecomx-final-cta-card { padding: 38px 28px; border-radius: 23px; }
    .ecomx-final-actions { flex-wrap: wrap; }
}

@media (max-width: 575px) {
    .ecomx-home-hero-copy h1 { font-size: 40px; }
    .ecomx-home-pill { font-size: 10px; }
    .ecomx-home-actions { align-items: stretch; flex-direction: column; }
    .ecomx-home-btn { width: 100%; }
    .ecomx-home-proof { align-items: flex-start; flex-direction: column; gap: 9px; }
    .ecomx-product-preview { margin-left: -4px; margin-right: -4px; }
    .ecomx-preview-window { transform: none; border-radius: 18px; }
    .ecomx-preview-body { padding: 16px; }
    .ecomx-preview-metrics > div { padding: 10px; }
    .ecomx-preview-metrics strong { font-size: 9px; }
    .ecomx-floating-card { display: none; }
    .ecomx-section-heading h2 { font-size: 34px; }
    .ecomx-steps article { grid-template-columns: auto 1fr; padding: 19px 16px; }
    .ecomx-steps article > span { display: none; }
    .ecomx-activity-item { grid-template-columns: auto 1fr; }
    .ecomx-activity-item > span { display: none; }
    .ecomx-final-actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .ecomx-floating-card { animation: none; }
    .ecomx-home * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
