:root {
    --bg: #f4f6f8;
    --surface: #ffffff;
    --ink: #141a22;
    --muted: #667085;
    --line: #e3e8ee;
    --accent: #ff5a36;
    --accent-dark: #d84524;
    --teal: #0e8f7b;
    --teal-soft: #e1f4ef;
    --gold: #f0a92c;
    --sky: #3d7fd8;
    --sky-soft: #e6eefb;
    --hero: #0d141c;
    --hero-2: #17222e;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

button {
    font: inherit;
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
p {
    margin: 0;
}

.container {
    width: min(1180px, 100% - 48px);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: -60px;
    left: 16px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    border-radius: 6px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 20, 28, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(13, 20, 28, 0.98);
    box-shadow: 0 10px 30px rgba(5, 10, 16, 0.28);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #fff;
}

.brand-icon {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 auto;
}

.brand.is-icon-ready .brand-icon {
    display: block;
}

.brand.is-icon-ready .brand-mark {
    display: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.brand-name {
    font-size: 19px;
    font-weight: 800;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-nav > a {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14.5px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
    color: #fff;
}

.site-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.site-nav .nav-cta:hover {
    background: var(--accent-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 12px 26px rgba(255, 90, 54, 0.28);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.24);
    background: transparent;
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.btn-light {
    background: #fff;
    color: var(--hero);
    flex: 0 0 auto;
}

.btn-light:hover {
    background: var(--gold);
    box-shadow: none;
}

.btn-outline {
    border-color: var(--line);
    background: var(--surface);
    color: var(--ink);
    min-height: 38px;
    padding: 8px 16px;
    font-size: 14px;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: none;
}

.btn-small {
    min-height: 38px;
    padding: 8px 16px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(180deg, var(--hero), var(--hero-2));
    background-size: 46px 46px, 46px 46px, auto;
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(13, 20, 28, 0.25), rgba(13, 20, 28, 0.72));
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 96px 0 84px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 700;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(255, 90, 54, 0.16);
    flex: 0 0 auto;
}

.hero-copy {
    max-width: 760px;
    text-align: center;
}

.hero h1 {
    margin-top: 18px;
    font-size: 58px;
    line-height: 1.14;
    letter-spacing: 0;
    font-weight: 800;
}

.hero-lead {
    max-width: 530px;
    margin-top: 20px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.66);
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-points {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 600;
}

.hero-points svg {
    width: 16px;
    height: 16px;
    color: #35d3b4;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(720px, 100%);
    margin-top: 48px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-stats > div {
    min-width: 0;
    padding: 14px 10px;
    text-align: center;
}

.hero-stats > div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
    display: block;
    font-size: 24px;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.hero-stats span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
}

/* Ticker */
.ticker {
    overflow: hidden;
    background: var(--accent);
    color: #16110d;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-move 26s linear infinite;
}

.ticker-group {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 13px 24px;
    white-space: nowrap;
}

.ticker-group span {
    font-size: 14px;
    font-weight: 800;
}

@keyframes ticker-move {
    to {
        transform: translateX(-50%);
    }
}

/* Sections */
.section {
    padding: 96px 0;
}

.section-head {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.section-eyebrow {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.section h2 {
    margin-top: 8px;
    font-size: 34px;
    line-height: 1.3;
    letter-spacing: 0;
    font-weight: 800;
}

.section-desc {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: none;
    gap: 24px;
    text-align: left;
}

.section-head-light {
    color: #fff;
}

.section-head-light .section-eyebrow {
    color: var(--gold);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

.text-link svg {
    width: 17px;
    height: 17px;
}

.text-link:hover {
    color: var(--accent-dark);
}

/* Features */
.features {
    background: var(--bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.feature-card {
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(20, 26, 34, 0.08);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.feature-icon svg {
    width: 23px;
    height: 23px;
}

.icon-coral {
    background: #ffede7;
    color: var(--accent);
}

.icon-gold {
    background: #fdf1dc;
    color: #d8911a;
}

.icon-teal {
    background: var(--teal-soft);
    color: var(--teal);
}

.icon-sky {
    background: var(--sky-soft);
    color: var(--sky);
}

.feature-card h3 {
    margin-top: 18px;
    font-size: 18px;
}

.feature-card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

/* Steps */
.how {
    background: var(--hero);
    color: #fff;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.step-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.step-num {
    color: var(--accent);
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
}

.step-card h3 {
    margin-top: 16px;
    font-size: 18px;
}

.step-card p {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.75;
}

/* Products */
.products,
.factories {
    background: var(--surface);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.product-card {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    overflow: hidden;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(20, 26, 34, 0.1);
}

.product-media {
    position: relative;
    display: block;
    width: 124px;
    height: 148px;
    background: #f0f2f5;
    border-radius: 6px;
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px) saturate(0.74) contrast(0.94);
    opacity: 0.84;
    transform: scale(1.12);
}

.product-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(13, 20, 28, 0.1));
    mix-blend-mode: soft-light;
}

.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.tag-new {
    background: var(--accent);
    color: #fff;
}

.tag-hot {
    background: var(--gold);
    color: #2b210f;
}

.product-info {
    min-width: 0;
    padding: 4px 8px 4px 0;
}

.product-info h3 {
    overflow: hidden;
    font-size: 15px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-info h3 a:hover {
    color: var(--accent);
}

.product-shop {
    margin-top: 5px;
    overflow: hidden;
    color: var(--muted);
    font-size: 12.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
}

.price {
    color: var(--accent);
    font-size: 17px;
    font-weight: 800;
}

.views {
    color: #98a1b0;
    font-size: 12px;
    white-space: nowrap;
}

/* Factories */
.factory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 44px;
}

.factory-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.factory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(20, 26, 34, 0.09);
}

.factory-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.factory-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 8px;
    background: var(--teal-soft);
    border: 1px solid rgba(14, 143, 123, 0.16);
    box-shadow: 0 6px 16px rgba(14, 143, 123, 0.14);
}

.factory-head h3 {
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.factory-head p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12.5px;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.badge-verified svg {
    width: 13px;
    height: 13px;
}

.factory-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.factory-thumbs img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 6px;
    background: #eef1f4;
    filter: blur(4px) saturate(0.72) contrast(0.96);
    opacity: 0.86;
}

.factory-card .btn {
    margin-top: 16px;
}

.factory-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 44px;
    padding: 28px 32px;
    border-radius: 8px;
    background: var(--hero);
    color: #fff;
}

.factory-cta h3 {
    font-size: 20px;
}

.factory-cta p {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

/* Mini program */
.app-intro {
    background: var(--hero);
    color: #fff;
}

.app-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
}

.app-visual {
    display: flex;
    justify-content: center;
}

.phone {
    width: 294px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px;
    background: #202b38;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.4);
}

.phone-screen {
    display: flex;
    flex-direction: column;
    height: 590px;
    overflow: hidden;
    border-radius: 26px;
    background: #f4f6f8;
    color: var(--ink);
}

.mini-top {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 14px 16px 12px;
    background: #fff;
}

.mini-logo {
    display: none;
    width: 30px;
    height: 30px;
    grid-row: span 2;
    border-radius: 8px;
    object-fit: cover;
}

.mini-logo.is-loaded {
    display: block;
}

.mini-logo-fallback {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    grid-row: span 2;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.mini-top b {
    font-size: 15px;
}

.mini-top em {
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
}

.mini-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 14px 0;
    padding: 11px 13px;
    border-radius: 22px;
    background: #eaedf1;
    color: #55606d;
    font-size: 13px;
}

.mini-search svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.mini-tabs {
    display: flex;
    gap: 20px;
    padding: 14px 16px 0;
    font-size: 12.5px;
    color: var(--muted);
}

.mini-tabs span {
    padding-bottom: 8px;
}

.mini-tabs .active {
    border-bottom: 2px solid var(--accent);
    color: var(--ink);
    font-weight: 800;
}

.mini-goods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
}

.mini-goods > div {
    padding: 8px;
    border-radius: 8px;
    background: #fff;
}

.mini-goods img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    background: #eef1f4;
    filter: blur(4px) saturate(0.72) contrast(0.96);
    opacity: 0.86;
}

.mini-goods span {
    display: block;
    margin-top: 8px;
    overflow: hidden;
    font-size: 11.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-goods b {
    display: block;
    margin-top: 3px;
    color: var(--accent);
    font-size: 13px;
}

.mini-tabbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: auto;
    padding: 10px 0;
    border-top: 1px solid #e3e7ec;
    background: #fff;
    font-size: 11.5px;
    text-align: center;
    color: var(--muted);
}

.mini-tabbar .active {
    color: var(--accent);
    font-weight: 800;
}

.app-copy .section-eyebrow {
    color: var(--gold);
}

.app-copy h2 {
    margin-top: 8px;
    font-size: 34px;
    line-height: 1.34;
}

.app-copy .section-desc {
    color: rgba(255, 255, 255, 0.66);
}

.app-features {
    margin-top: 26px;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14.5px;
}

.app-features .check {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    border-radius: 8px;
    background: rgba(14, 143, 123, 0.18);
    color: #3dd5b7;
}

.app-features .check svg {
    width: 15px;
    height: 15px;
}

.qr-wrap {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 34px;
}

.qr-frame {
    position: relative;
    width: 168px;
    height: 168px;
    flex: 0 0 auto;
    overflow: hidden;
    padding: 9px;
    border-radius: 8px;
    background: #fff;
}

.qr-img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-frame.is-loaded .qr-img {
    display: block;
}

.qr-frame.is-loaded .qr-placeholder {
    display: none;
}

.qr-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 4px;
    text-align: center;
    color: #7b8794;
}

.qr-placeholder svg {
    width: 38px;
    height: 38px;
    margin-bottom: 2px;
}

.qr-placeholder b {
    color: var(--ink);
    font-size: 13px;
}

.qr-placeholder span {
    font-size: 11px;
}

.qr-caption strong {
    display: block;
    font-size: 16px;
}

.qr-caption span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* Contact */
.contact {
    background: var(--bg);
}

.contact-layout {
    max-width: 680px;
    margin: 48px auto 0;
}

.contact-form {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 18px 44px rgba(20, 26, 34, 0.06);
}

.contact-form h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.contact-email {
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    word-break: break-all;
}

.contact-form label {
    display: block;
    margin-bottom: 16px;
}

.contact-form label span {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fbfcfd;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.14);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a5adba;
}

.form-status {
    display: block;
    min-height: 20px;
    margin-top: 12px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--hero);
    color: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.15fr 0.8fr 1fr;
    gap: 44px;
    padding: 56px 0 42px;
}

.footer-brand .brand-name {
    font-size: 18px;
}

.footer-brand p {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    max-width: 280px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    width: fit-content;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-contact strong {
    display: block;
    font-size: 15px;
}

.footer-contact span {
    display: block;
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13.5px;
    word-break: break-all;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.42);
    font-size: 13px;
    flex-wrap: wrap;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.58);
    white-space: nowrap;
}

.footer-legal a:hover {
    color: #fff;
}

/* Reveal */
.js .js-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .js-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 1080px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .factory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-layout {
        gap: 48px;
    }
}

@media (max-width: 960px) {
    .hero-inner {
        padding: 76px 0 64px;
    }

    .hero-copy {
        max-width: 640px;
    }

    .app-layout {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }

    .app-copy {
        max-width: 640px;
    }

    .app-copy .section-desc {
        margin-inline: auto;
    }

    .app-features li {
        justify-content: center;
        text-align: left;
    }

    .qr-wrap {
        justify-content: center;
    }
}

@media (max-width: 820px) {
    html,
    body {
        overflow-x: clip;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 72px;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        width: min(78vw, 320px);
        padding: 26px 24px;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(16, 24, 34, 0.985);
        box-shadow: -18px 0 50px rgba(0, 0, 0, 0.32);
        transform: translateX(105%);
        transition: transform 0.3s ease;
    }

    .site-nav.is-open {
        transform: none;
    }

    .site-nav > a {
        padding: 9px 6px;
        font-size: 15px;
    }

    .site-nav .nav-cta {
        justify-content: center;
        margin-top: 10px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .factory-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(1180px, 100% - 32px);
    }

    .header-inner {
        min-height: 64px;
    }

    .site-nav {
        top: 64px;
    }

    .hero-inner {
        padding: 64px 0 52px;
        gap: 44px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-lead {
        font-size: 15.5px;
    }

    .hero-points {
        gap: 16px;
    }

    .section {
        padding: 72px 0;
    }

    .section h2 {
        font-size: 28px;
    }

    .section-head-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-grid,
    .step-grid {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 36px;
    }

    .product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 34px;
    }

    .product-info {
        padding: 2px 6px 2px 0;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .price {
        font-size: 15px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .product-card {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .product-media {
        width: 100px;
        height: 120px;
    }

    .hero-stats strong {
        font-size: 20px;
    }

    .factory-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .phone {
        width: 274px;
    }

    .phone-screen {
        height: 560px;
    }

    .qr-wrap {
        flex-direction: column;
        gap: 14px;
    }

    .contact-form {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .js-reveal {
        opacity: 1;
        transform: none;
    }
}
