/* =====================================================
   DIGITAL PRO — E-COMMERCE PREMIUM
   ===================================================== */

:root{
    --commerce-navy:#07152f;
    --commerce-blue:#2f73ff;
    --commerce-text:#0f1b33;
    --commerce-muted:#68758a;
    --commerce-line:#dfe7f1;
    --commerce-bg:#f5f8fc;
}

.commerce-kicker{
    margin:0 0 16px;
    color:#8fb7ff;
    font-size:11px;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.commerce-kicker--dark{color:var(--commerce-blue)}

.commerce-hero{
    position:relative;
    overflow:hidden;
    padding:100px 0 92px;
    color:#fff;
    background:
        radial-gradient(circle at 85% 18%,rgba(73,128,255,.30),transparent 28%),
        radial-gradient(circle at 12% 90%,rgba(113,73,255,.17),transparent 27%),
        linear-gradient(135deg,#061027 0%,#0b1a3c 58%,#163d77 100%);
}

.commerce-hero__grid{
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
    gap:76px;
    align-items:center;
}

.commerce-hero h1{
    max-width:920px;
    margin:0;
    font-size:clamp(54px,5.5vw,88px);
    line-height:.96;
    letter-spacing:-.06em;
}

.commerce-hero h1 span{
    display:block;
    color:#76a8ff;
}

.commerce-hero__lead{
    max-width:760px;
    margin:28px 0 0;
    color:rgba(255,255,255,.72);
    font-size:17px;
    line-height:1.75;
}

.commerce-hero__actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:18px;
    margin-top:32px;
}

.commerce-link{
    color:#d7e5ff;
    font-size:13px;
    font-weight:800;
    text-decoration:none;
}

.commerce-hero__visual{
    position:relative;
    min-height:470px;
    padding:26px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:28px;
    background:rgba(255,255,255,.07);
    box-shadow:0 34px 90px rgba(0,0,0,.28);
    backdrop-filter:blur(18px);
}

.commerce-hero__glow{
    position:absolute;
    border-radius:50%;
    filter:blur(18px);
    opacity:.65;
}

.commerce-hero__glow--one{
    top:34px;
    right:24px;
    width:130px;
    height:130px;
    background:#2f73ff;
}

.commerce-hero__glow--two{
    bottom:32px;
    left:22px;
    width:110px;
    height:110px;
    background:#805dff;
}

.commerce-store{
    position:relative;
    z-index:1;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.22);
    border-radius:20px;
    background:#f8fbff;
    box-shadow:0 28px 70px rgba(0,0,0,.26);
    transform:rotate(-1.4deg);
}

.commerce-store__top{
    display:flex;
    align-items:center;
    gap:7px;
    padding:14px 16px;
    color:#30415e;
    background:#edf3fa;
}

.commerce-store__top span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#b8c4d3;
}

.commerce-store__top strong{
    margin-left:auto;
    font-size:11px;
}

.commerce-store__body{
    display:grid;
    grid-template-columns:60px 1fr;
    min-height:340px;
}

.commerce-store__nav{
    display:grid;
    align-content:start;
    gap:16px;
    padding:22px 16px;
    background:#0d2347;
}

.commerce-store__nav i{
    height:10px;
    border-radius:999px;
    background:rgba(255,255,255,.24);
}

.commerce-store__content{padding:22px}

.commerce-store__hero{
    height:100px;
    border-radius:14px;
    background:
        radial-gradient(circle at 80% 28%,rgba(255,255,255,.4),transparent 22%),
        linear-gradient(135deg,#dbe7ff,#8eb0f4);
}

.commerce-store__products{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:14px;
}

.commerce-store__products article{
    padding:10px;
    border-radius:12px;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,23,42,.07);
}

.commerce-store__products b{
    display:block;
    height:54px;
    border-radius:9px;
    background:linear-gradient(135deg,#eff4fb,#dce7f7);
}

.commerce-store__products span,
.commerce-store__products strong{
    display:block;
    height:8px;
    margin-top:8px;
    border-radius:999px;
    background:#dce5ef;
}

.commerce-store__products strong{width:58%}

.commerce-store__bar{
    display:flex;
    justify-content:space-between;
    margin-top:16px;
    padding:14px;
    border-radius:12px;
    color:#fff;
    background:linear-gradient(90deg,#163d77,#2f73ff);
}

.commerce-intro,
.commerce-solutions,
.commerce-features,
.commerce-process,
.commerce-cta{
    padding:94px 0;
}

.commerce-intro__grid,
.commerce-features__grid{
    display:grid;
    grid-template-columns:.82fr 1.18fr;
    gap:84px;
    align-items:start;
}

.commerce-intro h2,
.commerce-features h2,
.commerce-section-head h2,
.commerce-cta h2{
    margin:0;
    font-size:clamp(40px,4.2vw,64px);
    line-height:1;
    letter-spacing:-.05em;
}

.commerce-intro__text{
    display:grid;
    gap:18px;
}

.commerce-intro__text p,
.commerce-section-head>p:last-child,
.commerce-card p,
.commerce-features p,
.commerce-process p,
.commerce-cta__box p{
    margin:0;
    color:var(--commerce-muted);
    font-size:14px;
    line-height:1.7;
}

.commerce-solutions{
    background:
        radial-gradient(circle at 15% 10%,rgba(47,115,255,.10),transparent 22%),
        radial-gradient(circle at 88% 88%,rgba(128,93,255,.10),transparent 24%),
        var(--commerce-bg);
}

.commerce-section-head{
    max-width:820px;
    margin-bottom:44px;
}

.commerce-section-head>p:last-child{margin-top:18px}

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

.commerce-card{
    position:relative;
    overflow:hidden;
    min-height:290px;
    padding:28px;
    border:1px solid rgba(255,255,255,.72);
    border-radius:22px;
    background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.88));
    box-shadow:0 18px 45px rgba(15,23,42,.09);
    transition:transform .32s ease,box-shadow .32s ease,border-color .32s ease;
}

.commerce-card::before{
    position:absolute;
    top:0;
    right:0;
    left:0;
    height:4px;
    background:var(--card-gradient);
    content:"";
}

.commerce-card::after{
    position:absolute;
    top:-58px;
    right:-58px;
    width:170px;
    height:170px;
    border-radius:50%;
    background:var(--card-glow);
    filter:blur(8px);
    opacity:.15;
    content:"";
    transition:.32s ease;
}

.commerce-card:hover{
    transform:translateY(-10px) rotate(-.2deg);
    border-color:rgba(47,115,255,.34);
    box-shadow:0 32px 72px rgba(15,23,42,.16);
}

.commerce-card:hover::after{
    opacity:.32;
    transform:scale(1.08);
}

.commerce-card--blue{--card-gradient:linear-gradient(90deg,#2f73ff,#76a8ff);--card-glow:#2f73ff}
.commerce-card--violet{--card-gradient:linear-gradient(90deg,#6d57ff,#a88cff);--card-glow:#6d57ff}
.commerce-card--cyan{--card-gradient:linear-gradient(90deg,#00a7c4,#5ed9ea);--card-glow:#00a7c4}
.commerce-card--green{--card-gradient:linear-gradient(90deg,#159c74,#65d4af);--card-glow:#159c74}
.commerce-card--gold{--card-gradient:linear-gradient(90deg,#cf8a19,#f3c45d);--card-glow:#cf8a19}
.commerce-card--navy{--card-gradient:linear-gradient(90deg,#0e274f,#4f78b8);--card-glow:#0e274f}

.commerce-card__number{
    position:absolute;
    right:22px;
    bottom:14px;
    color:#0f1b33;
    font-size:68px;
    font-weight:900;
    opacity:.045;
}

.commerce-card__icon{
    position:relative;
    z-index:1;
    display:grid;
    width:56px;
    height:56px;
    place-items:center;
    border-radius:16px;
    color:#fff;
    background:var(--card-gradient);
    transition:transform .3s ease;
}

.commerce-card:hover .commerce-card__icon{
    transform:scale(1.08) rotate(2deg);
}

.commerce-card__icon svg{
    width:26px;
    height:26px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.commerce-card h3{
    position:relative;
    z-index:1;
    margin:30px 0 10px;
    font-size:22px;
    letter-spacing:-.035em;
}

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

.commerce-features__list article,
.commerce-process article{
    padding:22px;
    border:1px solid var(--commerce-line);
    border-radius:16px;
    background:#fff;
    box-shadow:0 14px 34px rgba(15,23,42,.06);
    transition:transform .28s ease,box-shadow .28s ease;
}

.commerce-features__list article:hover,
.commerce-process article:hover{
    transform:translateY(-6px);
    box-shadow:0 24px 50px rgba(15,23,42,.11);
}

.commerce-features__list strong{
    display:block;
    margin-bottom:8px;
    font-size:16px;
}

.commerce-integrations{
    padding:94px 0;
    color:#fff;
    background:
        radial-gradient(circle at 88% 20%,rgba(47,115,255,.18),transparent 26%),
        var(--commerce-navy);
}

.commerce-section-head--light h2{color:#fff}

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

.commerce-integrations article{
    display:grid;
    min-height:120px;
    place-items:center;
    border:1px solid rgba(255,255,255,.09);
    border-radius:16px;
    background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));
    box-shadow:0 18px 46px rgba(0,0,0,.16);
    transition:transform .28s ease,background .28s ease;
}

.commerce-integrations article:hover{
    transform:translateY(-6px);
    background:linear-gradient(180deg,rgba(47,115,255,.18),rgba(255,255,255,.04));
}

.commerce-integrations span{
    font-size:15px;
    font-weight:800;
}

.commerce-process__grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
}

.commerce-process article{
    min-height:210px;
}

.commerce-process article>span{
    color:var(--commerce-blue);
    font-size:10px;
    font-weight:800;
}

.commerce-process h3{
    margin:28px 0 10px;
    font-size:19px;
}

.commerce-cta__box{
    display:grid;
    grid-template-columns:1fr auto;
    gap:44px;
    align-items:center;
    padding:50px 54px;
    border-radius:26px;
    color:#fff;
    background:
        radial-gradient(circle at 86% 18%,rgba(91,151,255,.28),transparent 25%),
        linear-gradient(135deg,#08152f,#16417f);
    box-shadow:0 30px 80px rgba(8,21,47,.22);
}

.commerce-cta__box p{
    max-width:760px;
    margin-top:16px;
    color:rgba(255,255,255,.68);
}

[data-reveal]{
    opacity:0;
    transform:translateY(22px);
    transition:opacity .65s ease,transform .65s ease;
}

[data-reveal].is-visible{
    opacity:1;
    transform:none;
}

@media(max-width:1120px){
    .commerce-hero__grid,
    .commerce-intro__grid,
    .commerce-features__grid{
        grid-template-columns:1fr;
        gap:44px;
    }

    .commerce-cards,
    .commerce-integrations__grid,
    .commerce-process__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:760px){
    .commerce-hero{
        padding:72px 0 64px;
    }

    .commerce-hero h1{
        font-size:clamp(44px,13vw,62px);
    }

    .commerce-hero__visual{
        min-height:auto;
        padding:18px;
    }

    .commerce-store__body{
        grid-template-columns:42px 1fr;
    }

    .commerce-store__products{
        grid-template-columns:1fr;
    }

    .commerce-cards,
    .commerce-features__list,
    .commerce-integrations__grid,
    .commerce-process__grid{
        grid-template-columns:1fr;
    }

    .commerce-card{
        min-height:270px;
    }

    .commerce-cta__box{
        grid-template-columns:1fr;
        padding:34px 24px;
    }
}

@media(prefers-reduced-motion:reduce){
    [data-reveal]{
        opacity:1;
        transform:none;
        transition:none;
    }

    .commerce-card,
    .commerce-card__icon,
    .commerce-features__list article,
    .commerce-integrations article,
    .commerce-process article{
        transition:none;
    }

    .commerce-card:hover,
    .commerce-features__list article:hover,
    .commerce-integrations article:hover,
    .commerce-process article:hover{
        transform:none;
    }
}