.page-index .home-hero {
    position: relative;
    overflow: hidden;
    background: #090f1d;
}
.page-index .home-slide {
    position: relative;
    display: none;
    min-height: min(620px, calc(100vh - 218px));
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.page-index .home-slide.active {
    display: flex;
}
.page-index .home-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.62) 32%, rgba(0,0,0,.14) 68%, rgba(0,0,0,.06) 100%),
        linear-gradient(0deg, rgba(0,0,0,.42), transparent 45%);
    pointer-events: none;
}
.page-index .home-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 5s ease;
}
.page-index .home-slide.active .home-slide-img {
    transform: scale(1);
}
.page-index .home-radial-bg {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 76% 48%, rgba(231, 53, 53, .55), transparent 0 18%, rgba(255, 123, 84, .32) 19%, transparent 34%),
        radial-gradient(circle at 78% 52%, rgba(255, 194, 71, .38), transparent 0 12%, transparent 30%),
        radial-gradient(circle at 16% 18%, rgba(0, 166, 166, .26), transparent 30%),
        linear-gradient(120deg, #080e1c 0%, #111c34 48%, #bd2028 100%);
    pointer-events: none;
}
.page-index .home-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(3rem, 7vw, 6rem) 0;
}
.page-index .home-slide-copy {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding: clamp(3rem, 6vw, 5.5rem) 0;
}
.page-index .home-slide-copy h1 {
    color: #fff;
    max-width: 780px;
    font-size: clamp(2.45rem, 6.4vw, 5.8rem);
    line-height: .92;
    font-weight: 950;
    text-transform: uppercase;
    text-shadow: 0 14px 38px rgba(0,0,0,.46);
    margin-bottom: 1rem;
}
.page-index .home-slide-copy p {
    max-width: 560px;
    color: rgba(255,255,255,.88);
    font-size: clamp(1.1rem, 2vw, 1.42rem);
    margin-bottom: 1.6rem;
}
.page-index .tone-red .btn-brand {
    background: linear-gradient(135deg, #ff2323, #ff7b22);
}
.page-index .tone-blue .btn-brand {
    background: linear-gradient(135deg, #00a6ff, #00d7ff);
    box-shadow: 0 12px 25px rgba(0,166,255,.28);
}
.page-index .tone-gold .btn-brand {
    background: linear-gradient(135deg, #ff4fd8, #ffc247);
    box-shadow: 0 12px 25px rgba(255,194,71,.25);
}
.page-index .home-hero-actions,
.page-index .home-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}
.page-index .home-hero-pills {
    margin-top: 1rem;
}
.page-index .home-hero-pills span {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    padding: .55rem .85rem;
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    font-weight: 850;
}
.page-index .home-hero-product-card {
    position: relative;
    isolation: isolate;
    min-height: 430px;
    display: grid;
    align-content: center;
    justify-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 28px;
    padding: clamp(1.25rem, 4vw, 2.4rem);
    background:
        radial-gradient(circle at 50% 46%, rgba(255,255,255,.96), rgba(255,255,255,.84) 34%, rgba(255,241,241,.5) 58%, rgba(255,255,255,.16) 100%),
        linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.06));
    box-shadow: 0 34px 90px rgba(0,0,0,.26);
    overflow: hidden;
}
.page-index .home-hero-product-card::before {
    content: "";
    position: absolute;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, rgba(231,53,53,.18) 0 10px, rgba(255,255,255,.12) 10px 22px);
    animation: slow-spin 18s linear infinite;
    z-index: -1;
}
.page-index .home-hero-product-card img {
    width: min(82%, 420px);
    max-height: 390px;
    object-fit: contain;
    filter: drop-shadow(0 28px 36px rgba(16,24,40,.24));
    animation: product-float 4.2s ease-in-out infinite;
}
.page-index .home-product-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    border-radius: 999px;
    padding: .5rem .8rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #ff7b54);
    font-size: .78rem;
    font-weight: 950;
}
.page-index .home-hero-product-card div {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    border-radius: 18px;
    padding: .9rem 1rem;
    color: #fff;
    background: rgba(16,24,40,.82);
}
.page-index .home-hero-product-card strong,
.page-index .home-hero-product-card span {
    display: block;
}
.page-index .home-hero-product-card span {
    color: rgba(255,255,255,.78);
    font-size: .9rem;
}
.page-index .home-slider-dots {
    display: flex;
    justify-content: center;
    gap: .55rem;
    padding: 1rem;
    background: #f6f9ff;
}
.page-index .home-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: #c8d3e3;
    transition: .25s ease;
}
.page-index .home-dot.active {
    width: 34px;
    background: var(--brand);
}
.page-index .home-category-strip {
    padding: 2rem 0;
    background: #f6f9ff;
}
.page-index .home-category-grid,
.page-index .home-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}
.page-index .home-cat-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(16,24,40,.08);
}
.page-index .home-cat-card img {
    width: 100%;
    height: 138px;
    object-fit: cover;
    object-position: center;
    padding: 0;
    background: #f6f9ff;
}
.page-index .home-cat-card span {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1rem;
    color: var(--ink);
    font-weight: 900;
}
.page-index .home-cat-card i {
    color: var(--brand);
    font-size: 1.25rem;
}
.page-index .home-promo-grid {
    display: grid;
    grid-template-columns: 1.25fr .85fr;
    gap: 1.25rem;
}
.page-index .home-promo-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    background: #101828;
    box-shadow: 0 24px 60px rgba(16,24,40,.14);
}
.page-index .home-promo-card img,
.page-index .exclusive-banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-index .home-promo-card::after,
.page-index .exclusive-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16,24,40,.92), rgba(16,24,40,.44), rgba(16,24,40,.1));
}
.page-index .home-promo-card > div,
.page-index .exclusive-banner > div {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: clamp(1.5rem, 4vw, 2.7rem);
}
.page-index .home-promo-card small {
    color: var(--yellow);
    font-weight: 950;
    text-transform: uppercase;
}
.page-index .home-promo-card h2,
.page-index .exclusive-banner h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.08;
    font-weight: 950;
    margin: .55rem 0 .8rem;
}
.page-index .home-promo-card p,
.page-index .exclusive-banner p {
    color: rgba(255,255,255,.84);
}
.page-index .home-products-block,
.page-index .all-category-section,
.page-index .mind-map-section {
    margin-top: 4rem;
}
.page-index .product-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}
.page-index .product-card::after {
    content: "";
    position: absolute;
    inset: auto 1rem 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--brand), var(--yellow), var(--teal));
    opacity: 0;
    transform: scaleX(.4);
    transition: .28s ease;
}
.page-index .product-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}
.page-index .home-product-grid .product-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    background: #f6f9ff;
}
.page-index .home-product-grid .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
}
.page-index .exclusive-banner {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 4.5rem;
    border-radius: 28px;
    background: #101828;
    box-shadow: 0 28px 70px rgba(16,24,40,.16);
}
.page-index .mind-map {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 50%, rgba(231,53,53,.13), transparent 28%),
        linear-gradient(145deg, #fff, #f6f9ff);
}
.page-index .mind-node {
    position: relative;
    z-index: 1;
    display: grid;
    gap: .35rem;
    min-height: 150px;
    place-items: center;
    text-align: center;
    padding: 1.2rem;
    border: 1px solid #e3eaf5;
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 36px rgba(16,24,40,.08);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.page-index .mind-node.center {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--teal));
}
.page-index .mind-node::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background:
        linear-gradient(135deg, rgba(231,53,53,.2), rgba(0,166,166,.2)),
        radial-gradient(circle at 80% 12%, rgba(255,194,71,.28), transparent 32%);
    transition: opacity .28s ease;
    pointer-events: none;
}
.page-index .mind-node:hover {
    transform: translateY(-7px);
    border-color: rgba(0,166,166,.34);
    box-shadow: 0 24px 58px rgba(16,24,40,.14);
}
.page-index .mind-node:hover::before {
    opacity: 1;
}
.page-index .mind-node i {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    font-size: 1.45rem;
}
.page-index .mind-node > * {
    position: relative;
    z-index: 1;
}
.page-index .mind-node.center i {
    color: var(--brand);
    background: #fff;
}
.page-index .mind-node strong {
    font-size: 1.05rem;
    font-weight: 950;
}
.page-index .mind-node span {
    color: var(--muted);
    font-weight: 750;
    font-size: .92rem;
}
.page-index .mind-node.center span {
    color: rgba(255,255,255,.82);
}
.page-index .trending-section,
.page-index .home-support-band {
    padding: 4.5rem 0;
    background: #f6f9ff;
}
.page-index .trend-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.page-index .trend-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    min-height: 146px;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(16,24,40,.08);
    transition: .25s ease;
}
.page-index .trend-img {
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: #f6f9ff;
}
.page-index .trend-img img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}
.page-index .trend-item h3 {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.3;
}
.page-index .trend-item small,
.page-index .trend-item p {
    color: var(--muted);
    margin: 0;
}
.page-index .home-support-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.3rem, 4vw, 2.5rem);
    border-radius: 26px;
    color: #fff;
    background:
        linear-gradient(115deg, rgba(16,24,40,.96), rgba(189,32,40,.72), rgba(0,166,166,.62)),
        url("../images/mobile-accessories-bg.png") center/cover;
    box-shadow: 0 26px 70px rgba(16,24,40,.16);
}
.page-index .home-support-box h2 {
    color: #fff;
}
.page-index .home-search-form {
    display: flex;
    width: min(470px, 100%);
    gap: .65rem;
}
.page-index .home-search-form input {
    flex: 1;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    padding: 0 1rem;
    font-weight: 800;
}
.page-index .feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.page-index .feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}
.page-index .feature-card i {
    color: var(--brand);
    font-size: 2rem;
}
.page-index .feature-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 950;
}
.page-index .feature-card p {
    margin: 0;
    color: var(--muted);
}
.page-index .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: .7s ease;
}
.page-index .reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .page-index .home-slide {
        min-height: 480px;
    }
    .page-index .home-slide-img {
        object-position: 68% center;
    }
    .page-index .home-hero-layout {
        grid-template-columns: 1fr;
    }
    .page-index .home-category-grid,
    .page-index .home-product-grid,
    .page-index .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .page-index .home-promo-grid,
    .page-index .trend-grid,
    .page-index .mind-map {
        grid-template-columns: 1fr;
    }
    .page-index .home-support-box {
        display: block;
    }
    .page-index .home-search-form {
        margin-top: 1rem;
    }
}
@media (max-width: 575px) {
    .page-index .home-slide {
        min-height: 440px;
    }
    .page-index .home-slide::after {
        background:
            linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.48)),
            linear-gradient(0deg, rgba(0,0,0,.54), transparent 45%);
    }
    .page-index .home-slide-img {
        object-position: 72% center;
    }
    .page-index .home-slide-copy {
        padding: 2.7rem 0;
    }
    .page-index .home-category-grid,
    .page-index .home-product-grid,
    .page-index .feature-grid {
        grid-template-columns: 1fr;
    }
    .page-index .home-promo-card,
    .page-index .exclusive-banner {
        min-height: 360px;
        border-radius: 18px;
    }
    .page-index .home-hero-product-card {
        min-height: 330px;
        border-radius: 20px;
    }
    .page-index .home-search-form {
        display: grid;
    }
}

@keyframes product-float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}

@keyframes slow-spin {
    to { transform: rotate(360deg); }
}
