.page-products {
    --page-max-width: 1180px;
    --page-glow-cyan: rgba(0, 212, 255, 0.16);
    --page-glow-orange: rgba(255, 107, 53, 0.18);
    --page-glow-gold: rgba(255, 215, 0, 0.1);
    display: block;
    background:
        radial-gradient(circle at 85% 12%, var(--page-glow-cyan), transparent 30%),
        var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
}

.page-products .container {
    width: 100%;
    max-width: var(--page-max-width);
    margin-inline: auto;
    padding-inline: 18px;
}

.page-products img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-products .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.page-products .breadcrumb a {
    color: var(--accent-2);
    text-decoration: none;
}

.page-products .product-hero {
    position: relative;
    overflow: hidden;
    padding: 24px 0 56px;
    background:
        radial-gradient(circle at 82% 24%, var(--page-glow-cyan), transparent 34%),
        radial-gradient(circle at 8% 86%, var(--page-glow-orange), transparent 30%),
        linear-gradient(135deg, var(--bg-panel), var(--bg-main));
}

.page-products .product-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        repeating-linear-gradient(-42deg, transparent 0 16px, rgba(0, 212, 255, 0.035) 16px 17px),
        repeating-linear-gradient(48deg, transparent 0 22px, rgba(255, 107, 53, 0.04) 22px 23px);
}

.page-products .hero-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

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

.page-products .hero-copy h1 {
    font-family: var(--font-heading);
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.08;
    letter-spacing: 0.02em;
    color: var(--text-main);
    margin: 12px 0 20px;
}

.page-products .hero-lead {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 28px;
}

.page-products .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.page-products .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 22px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.page-products .btn-primary {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #0d1b2a;
}

.page-products .btn-primary:hover {
    background: #ff8a5c;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.28);
}

.page-products .btn-ghost {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.45);
    color: var(--accent-2);
}

.page-products .btn-ghost:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.page-products .device-stage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 540px;
}

.page-products .phone-model {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: huobo-products-float 6s ease-in-out infinite;
}

.page-products .phone-model:last-child {
    animation-delay: -3s;
}

.page-products .phone-frame {
    position: relative;
    width: 100%;
    max-width: 230px;
    aspect-ratio: 1 / 2;
    background: #07111f;
    border: 2px solid var(--border-color);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 32px rgba(0, 212, 255, 0.06);
}

.page-products .phone-speaker {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 5px;
    border-radius: 6px;
    background: var(--bg-elevated);
    z-index: 3;
}

.page-products .phone-frame::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 22px;
    border-radius: 18px;
    background: #0d1b2a;
    z-index: 2;
}

.page-products .phone-view {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
}

.page-products .device-caption {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.04em;
}

.page-products .stats-band {
    background: var(--bg-panel);
    border-block: 1px solid var(--border-color);
    padding: 24px 0;
}

.page-products .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 10px;
}

.page-products .stats-item {
    text-align: center;
    padding: 6px 2px;
}

.page-products .stats-item .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 30px;
    line-height: 1.1;
    color: var(--gold);
}

.page-products .stats-item .stats-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.page-products .features-section {
    padding: 56px 0 20px;
}

.page-products .section-head {
    margin-bottom: 28px;
    max-width: 760px;
}

.page-products .section-head h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.18;
    margin: 8px 0 12px;
}

.page-products .section-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.page-products .refresh-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-panel));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.page-products .refresh-visual {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.page-products .refresh-content h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    line-height: 1.3;
    margin: 10px 0 12px;
}

.page-products .refresh-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.85;
}

.page-products .refresh-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.page-products .metric {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.page-products .metric strong {
    color: var(--accent-2);
    font-family: var(--font-heading);
    font-size: 15px;
}

.page-products .feature-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 18px 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.page-products .feature-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-products .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 30px rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.3);
}

.page-products .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: rgba(0, 212, 255, 0.12);
    color: var(--accent-2);
    margin-bottom: 16px;
}

.page-products .feature-card:nth-child(even) .feature-icon {
    background: rgba(255, 107, 53, 0.15);
    color: var(--accent);
}

.page-products .feature-card h3 {
    font-family: var(--font-heading);
    font-size: 21px;
    line-height: 1.3;
    margin: 0 0 10px;
}

.page-products .feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.page-products .devices-section {
    padding: 56px 0;
    background: linear-gradient(180deg, var(--bg-main), rgba(27, 38, 59, 0.6));
    border-block: 1px solid var(--border-color);
}

.page-products .devices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.page-products .device-panel {
    padding: 24px;
}

.page-products .device-panel h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin: 18px 0 10px;
}

.page-products .device-panel h3:first-child {
    margin-top: 0;
}

.page-products .os-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
    margin: 0 0 8px;
}

.page-products .os-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 14px;
    color: var(--text-main);
}

.page-products .os-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    flex: none;
}

.page-products .adapt-note {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 14px;
    border-left: 3px solid var(--accent);
    padding-left: 12px;
    line-height: 1.8;
}

.page-products .desktop-model {
    margin: 0;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 18px 14px;
    align-self: center;
    width: 100%;
}

.page-products .screen-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    background: #07111f;
    border: 1px solid var(--border-color);
}

.page-products .desktop-view {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
}

.page-products .desktop-caption {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 12px;
    letter-spacing: 0.04em;
}

.page-products .download-section {
    padding: 56px 0 20px;
}

.page-products .download-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

.page-products .league-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-products .league-map {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.page-products .league-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-products .tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.28);
    color: var(--text-main);
}

.page-products .download-panel {
    padding: 26px;
}

.page-products .download-panel h3 {
    font-family: var(--font-heading);
    font-size: 21px;
    margin: 0 0 10px;
}

.page-products .download-panel p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.page-products .store-tip {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--gold);
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0;
}

.page-products .version-notes {
    margin: 12px 0 20px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.page-products .version-notes li {
    position: relative;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
}

.page-products .version-notes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.page-products .download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.page-products .help-section {
    padding: 40px 0 60px;
}

.page-products .help-panel {
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-panel));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.page-products .help-panel::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.14), transparent 68%);
    pointer-events: none;
}

.page-products .help-panel h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.page-products .help-panel p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.85;
    max-width: 760px;
}

.page-products .help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

@media (min-width: 900px) {
    .page-products .refresh-panel {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 28px;
        padding: 30px;
    }

    .page-products .refresh-visual {
        border-radius: var(--radius-lg);
        max-width: 480px;
        width: 100%;
        margin-inline: auto;
    }

    .page-products .devices-grid {
        grid-template-columns: 0.9fr 1.1fr;
        align-items: start;
    }

    .page-products .download-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 36px;
    }

    .page-products .help-panel {
        padding: 36px 40px;
    }
}

@media (min-width: 1024px) {
    .page-products .product-hero {
        padding: 32px 0 72px;
    }

    .page-products .hero-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
    }

    .page-products .hero-copy {
        flex: 1.05;
        max-width: none;
    }

    .page-products .device-stage {
        flex: 0.95;
        gap: 20px;
        max-width: 560px;
    }

    .page-products .phone-frame {
        max-width: 250px;
    }

    .page-products .stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .page-products .feature-rail {
        padding-inline: 22px;
        scroll-padding-inline: 22px;
    }

    .page-products .feature-card {
        flex-basis: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-products .phone-model {
        animation: none;
    }
}

@keyframes huobo-products-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}
