:root {
    --bg: #070b12;
    --bg2: #0d1420;
    --card: #111b2a;
    --card2: #162234;
    --text: #eef5ff;
    --muted: #9fb0c7;
    --gold: #d9a441;
    --gold2: #f2cc79;
    --line: rgba(255, 255, 255, .1);
    --shadow: 0 24px 70px rgba(0, 0, 0, .36);
    --radius: 22px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Arial, 'Microsoft YaHei', sans-serif;
    background: radial-gradient(circle at top left, rgba(217, 164, 65, .14), transparent 34%), linear-gradient(135deg, var(--bg), #09111d 55%, #05070b);
    color: var(--text);
    line-height: 1.6
}

a {
    color: inherit;
    text-decoration: none
}

.hero-grid img {
    max-width: 150%;
    margin-left: -120px;
    display: block
}

.container {
    width: min(1180px, 92vw);
    margin: auto
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(7, 11, 18, .82);
    border-bottom: 1px solid var(--line)
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: .08em
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), #7c5520);
    display: grid;
    place-items: center;
    color: #0a0d12;
    box-shadow: 0 10px 30px rgba(217, 164, 65, .26)
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    color: var(--muted);
    font-size: 15px
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--gold2)
}

.menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 12px;
    padding: 10px 12px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(217, 164, 65, .45);
    background: linear-gradient(135deg, var(--gold), #b67b22);
    color: #090d14;
    font-weight: 800;
    border-radius: 999px;
    padding: 13px 22px;
    box-shadow: 0 14px 34px rgba(217, 164, 65, .2);
    cursor: pointer
}

.btn.secondary {
    background: transparent;
    color: var(--gold2);
    box-shadow: none
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 50px 0 50px
}

.hero:after {
    content: "";
    position: absolute;
    right: -120px;
    top: 60px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(217, 164, 65, .22), transparent 65%);
    pointer-events: none
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
    position: relative;
    z-index: 1
}

.eyebrow {
    color: var(--gold2);
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800
}

.hero h1,
.page-hero h1 {
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.02;
    margin: 16px 0 22px;
    letter-spacing: -.05em
}

.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 650px
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 700
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    /* border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04); */
    /* border-radius: 999px;
    padding: 8px 13px */
}

.hero-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 16px;
    box-shadow: var(--shadow);
    transform: scale(1.06);
    transform-origin: center right
}

.product-visual {
    min-height: 500px;
    border-radius: 26px;
    background: linear-gradient(145deg, #1d2b40, #09101b);
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center
}

.product-visual:before {
    content: "HS09";
    font-size: 124px;
    font-weight: 900;
    color: rgba(255, 255, 255, .06);
    letter-spacing: .08em
}

.spec-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px
}

.spec-strip div,
.mini-card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    border-radius: 18px;
    padding: 14px
}

.section {
    padding: 76px 0
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 30px
}

.section h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    margin: 8px 0 0;
    margin-bottom: 20px;
}

.muted {
    color: var(--muted)
}

.grid {
    display: grid;
    gap: 22px
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr)
}

.grid-4 {
    grid-template-columns: repeat(5, 1fr)
}

.why-section {
    position: relative;
    background: radial-gradient(circle at 20% 20%, rgba(217, 164, 65, .1), transparent 32%)
}

.why-head {
    margin-bottom: 36px
}

.why-head h2 {
    font-size: clamp(36px, 5vw, 48px);
    line-height: 1.08;
    margin: 16px 0 18px;
    letter-spacing: -.04em
}

.why-head .muted {
    font-size: 17px
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px
}

.why-card {
    min-height: 330px;
    padding: 28px 20px;
    background: linear-gradient(160deg, rgba(17, 27, 42, .96), rgba(8, 14, 24, .96));
    border-color: rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 50px rgba(0, 0, 0, .25)
}

.why-icon {
    /* color: var(--gold2);
    font-size: 42px;
    line-height: 1; */
    margin-bottom: 20px
}

.why-icon img {
    width: 60px;
}

.why-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.45
}

.why-line {
    display: block;
    width: 30px;
    height: 2px;
    margin: 16px 0 20px;
    background: linear-gradient(90deg, var(--gold2), transparent)
}

.why-card p {
    margin: 0;
    font-size: 15px
}

.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .18)
}

.product-card {
    padding: 0;
    overflow: hidden;
    transition: .25s
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 164, 65, .45)
}

.product-img {
    height: 350px;
    background: linear-gradient(135deg, #192538, #26364e);
    overflow: hidden
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease
}

.product-card:hover .product-img img {
    transform: scale(1.06)
}

.product-body {
    padding: 5px 22px
}

.tag {
    display: inline-flex;
    border: 1px solid rgba(217, 164, 65, .35);
    color: var(--gold2);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px
}

.features {
    list-style: none;
    padding: 0;
    margin: 16px 0 0
}

.features li {
    padding: 8px 0;
    color: var(--muted);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.features li:before {
    content: "✓";
    color: var(--gold2);
    margin-right: 8px
}

.steps {
    counter-reset: step
}

.step {
    position: relative;
    padding-left: 54px
}

.step:before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold);
    color: #080c12;
    display: grid;
    place-items: center;
    font-weight: 900
}

.page-hero {
    padding: 72px 0 46px;
    border-bottom: 1px solid var(--line)
}

.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px
}

.filter-btn {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold2)
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: start
}

.product-gallery {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    align-items: start
}

.thumb-list {
    display: grid;
    gap: 14px
}

.thumb {
    width: 70px;
    height: 70px;
    border: 2px solid var(--line);
    background: rgba(255, 255, 255, .04);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: .2s
}

.thumb:hover,
.thumb.active {
    border-color: var(--gold2);
    box-shadow: 0 12px 28px rgba(217, 164, 65, .18)
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.main-image-wrap {
    aspect-ratio: 1/1;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow)
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.detail-panel {
    position: sticky;
    top: 96px
}

.table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 16px
}

.table td {
    border-bottom: 1px solid var(--line);
    padding: 13px;
    color: var(--muted)
}

.table td:first-child {
    color: var(--text);
    font-weight: 700
}

.about-strength {
    padding-top: 48px;
    background: radial-gradient(circle at 8% 18%, rgba(217, 164, 65, .12), transparent 30%)
}

.about-strength-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 58px;
    align-items: start
}

.about-copy h1 {
    max-width: 650px;
    margin: 12px 0 28px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -.045em
}

.about-copy p {
    max-width: 660px;
    font-size: 16px;
    margin: 0 0 22px
}

.supply-card {
    padding: 30px 40px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(17, 27, 42, .88), rgba(7, 12, 21, .92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), var(--shadow)
}

.supply-card h2 {
    margin: 0 0 18px;
    font-size: 26px
}

.supply-list {
    display: grid
}

.supply-item {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.supply-item:last-child {
    border-bottom: 0
}

.supply-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(217, 164, 65, .45);
    border-radius: 14px;
    background: rgba(217, 164, 65, .08)
}

.supply-icon img {
    width: 55px;
    height: 55px;
    object-fit: contain
}

.supply-item h3 {
    margin: 0 0 4px;
    font-size: 17px
}

.supply-item p {
    margin: 0;
    font-size: 14px
}

.supply-chain-head {
    text-align: center;
    margin: 48px 0 18px
}

.supply-chain-head h2 {
    margin: 0 0 6px;
    font-size: clamp(28px, 4vw, 34px)
}

.supply-chain-head p {
    margin: 0
}

.behind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.behind-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(17, 27, 42, .92), rgba(8, 14, 24, .96));
    box-shadow: 0 18px 45px rgba(0, 0, 0, .24)
}

.behind-img {
    height: 170px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}

.behind-card:nth-child(1) .behind-img {
    background-image: url('../assets/images/factory/hair-styling-tools-manufacturing-line.webp')
}

.behind-card:nth-child(2) .behind-img {
    background-image: url('../assets/images/factory/hair-styling-tools-assembly-quality-control.webp')
}

.behind-card:nth-child(3) .behind-img {
    background-image: url('../assets/images/factory/hair-styling-tools-warehouse-inventory.webp')
}

.behind-card:nth-child(4) .behind-img {
    background-image: url('../assets/images/factory/hair-styling-tools-packing-shipping.webp')
}

.behind-body {
    padding: 16px 18px 18px
}

.behind-body h3 {
    margin: 0 0 6px;
    font-size: 15px
}

.behind-body p {
    margin: 0;
    font-size: 16px
}

.form {
    display: grid;
    gap: 14px
}

.form input,
.form textarea,
.form select {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    border-radius: 14px;
    padding: 14px 16px;
    outline: none;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4
}

.form input::placeholder,
.form textarea::placeholder {
    color: var(--muted);
    font-family: inherit;
    font-size: 16px;
    opacity: 1
}

.form textarea {
    min-height: 130px;
    resize: vertical
}

.footer {
    border-top: 1px solid var(--line);
    padding: 38px 0;
    color: var(--muted);
    background: rgba(0, 0, 0, .18)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 100px
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #102033;
    border: 1px solid rgba(217, 164, 65, .45);
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: none
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info img {
    width: 30px;
    height: 30px;
}

.toast.show {
    display: block
}

@media (max-width:900px) {
    .menu-btn {
        display: block
    }

    .nav-links {
        position: absolute;
        left: 4vw;
        right: 4vw;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #0b121e;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 18px
    }

    .nav-links.open {
        display: flex
    }

    .hero-grid,
    .detail-layout {
        grid-template-columns: 1fr
    }

    .hero-card {
        transform: none
    }

    .grid-3,
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .about-strength-grid {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .behind-grid {
        grid-template-columns: 1fr 1fr
    }

    .why-grid {
        grid-template-columns: 1fr 1fr
    }

    .section-head {
        display: block
    }

    .detail-panel {
        position: static
    }

    .hero {
        padding-top: 56px
    }
}

@media (max-width:560px) {

    .grid-3,
    .grid-4,
    .why-grid,
    .behind-grid,
    .footer-grid,
    .spec-strip {
        grid-template-columns: 1fr
    }

    .supply-card {
        padding: 24px
    }

    .supply-item {
        grid-template-columns: 54px 1fr;
        gap: 14px
    }

    .supply-icon {
        width: 48px;
        height: 48px
    }

    .product-gallery {
        grid-template-columns: 1fr
    }

    .thumb-list {
        grid-template-columns: repeat(2, 70px);
        order: 2
    }

    .main-image-wrap {
        order: 1
    }

    .nav {
        height: 68px
    }

    .nav-links {
        top: 68px
    }

    .hero h1,
    .page-hero h1 {
        font-size: 38px
    }

    .section {
        padding: 52px 0
    }

    .product-visual {
        min-height: 300px
    }

    .hero-actions .btn {
        width: 100%
    }
}