/* ===== Mobile Base ===== */
#view-home .section-inner {
    padding: 0 16px;
}

#view-home .section-header {
    margin-bottom: 28px;
}

#view-home .section-title {
    font-size: 17px;
    margin-bottom: 6px;
}

#view-home .section-desc {
    font-size: 10px;
}

#view-home .title-line {
    width: 32px;
    height: 2px;
}

/* ===== Section 1: Hero Mobile ===== */
#view-home .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    background: radial-gradient(ellipse at 50% 75%, rgba(40, 20, 80, 0.7) 0%, transparent 60%),
                linear-gradient(180deg, #0b0e1a 0%, #120a2a 50%, #0b0e1a 100%);
    overflow: hidden;
}

#view-home .hero-banner-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 0;
}

#view-home .hero-content {
    position: absolute;
    text-align: center;
    z-index: 2;
    top: 140px;
    left: 16px;
    right: 16px;
}

#view-home .hero-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 6px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#view-home .hero-title.animate {
    opacity: 1;
    transform: translateX(0);
}

#view-home .hero-desc {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 2;
    max-width: 300px;
    margin: 0 auto;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

#view-home .hero-desc.animate {
    opacity: 1;
    transform: translateX(0);
}

#view-home .hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 8px;
    z-index: 4;
}

#view-home .hero-dots.active {
    display: flex;
}

/* ===== Section 2: Brand Mobile ===== */
#view-home .brand-section {
    position: relative;
    padding: 40px 16px 50px;
    background-color: #0d1020;
    overflow: hidden;
}
#view-home .brand-section .section-inner {
    position: relative;
    z-index: 1;
}

#view-home .brand-header {
    margin-bottom: 20px;
}

#view-home .brand-header .title-line {
    margin-bottom: 16px;
}

#view-home .brand-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

#view-home .brand-logo {
    display: flex;
    align-items: center;
    min-width: 60px;
}

#view-home .brand-logo-icon {
    width: 100px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    color: #4a8fe7;
}

#view-home .brand-subtitle {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
}

#view-home .brand-desc {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.9;
    max-width: 100%;
    margin-bottom: 36px;
}

#view-home .brand-stats-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
}

#view-home .stat-item {
    text-align: left;
    flex: 1;
    min-width: 0;
}

#view-home .stat-value {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
    letter-spacing: 0;
    white-space: nowrap;
}

#view-home .stat-value.animating {
    animation: statScaleUp 1.5s ease-out forwards;
}

@keyframes statScaleUp {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.12);
    }
    60% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1.04);
    }
}

#view-home .stat-label {
    font-size: 7px;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

/* ===== Section 3: Product Mobile ===== */
#view-home .product-section {
    padding: 50px 16px;
    background-color: #0a0f1e;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.6s ease;
}

#view-home .product-section .section-inner {
    position: relative;
    z-index: 1;
}

#view-home .product-section .section-header {
    text-align: left;
}

#view-home .product-carousel-wrapper {
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    grid-template-areas:
        'card card card card'
        '. prev next .';
    row-gap: 18px;
    column-gap: 18px;
    align-items: center;
}

#view-home #productList {
    grid-area: card;
    width: 100%;
}

#view-home .product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: linear-gradient(135deg, rgba(74, 143, 231, 0.08) 0%, rgba(74, 143, 231, 0.02) 100%);
    border: none;
    border-radius: 12px;
    padding: 24px 18px 20px;
    overflow: hidden;
    min-height: auto;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
}

#view-home .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-top: 3px solid rgba(74, 143, 231, 0.6);
    border-right: 3px solid rgba(74, 143, 231, 0.6);
    border-top-right-radius: 12px;
    pointer-events: none;
}

#view-home .product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-top: 3px solid rgba(74, 143, 231, 0.6);
    border-left: 3px solid rgba(74, 143, 231, 0.6);
    border-top-left-radius: 12px;
    pointer-events: none;
}

#view-home .product-card-corner-bl {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-bottom: 3px solid rgba(74, 143, 231, 0.6);
    border-left: 3px solid rgba(74, 143, 231, 0.6);
    border-bottom-left-radius: 12px;
    pointer-events: none;
}

#view-home .product-info {
    flex: 1;
    z-index: 2;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

#view-home .product-top {
    flex-shrink: 0;
}

#view-home .product-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

#view-home .product-desc {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 0;
}

#view-home .product-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#view-home .price-label {
    font-size: 10px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-bottom: 6px;
}

#view-home .product-bottom-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

#view-home .product-bottom-row:last-child {
    margin-top: 6px;
}

#view-home .product-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

#view-home .price-value {
    font-family: 'Impact', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
}

#view-home .price-unit {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 3px;
}

#view-home .product-btn {
    width: 100%;
    max-width: 140px;
    padding: 10px 20px;
    background: transparent;
    color: #4a8fe7;
    border: 1px solid rgba(74, 143, 231, 0.4);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#view-home .product-btn:hover {
    background: rgba(74, 143, 231, 0.1);
    border-color: rgba(74, 143, 231, 0.6);
}

#view-home .product-image-box {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    max-width: 280px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

#view-home .product-film-effect {
    position: absolute;
    top: -5px;
    right: 30px;
    width: 80px;
    height: 50px;
    background: linear-gradient(135deg, rgba(100, 180, 255, 0.4) 0%, rgba(100, 180, 255, 0.1) 100%);
    border: 1px solid rgba(100, 180, 255, 0.3);
    border-radius: 6px;
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 3;
}

#view-home .product-img {
    width: 100%;
    height: auto;
    max-height: 160px;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#view-home .product-img.show {
    opacity: 1;
    transform: translateX(0);
}

#view-home .nav-arrow {
    position: static;
    z-index: 3;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 0;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    border: none;
}

#view-home .nav-prev {
    grid-area: prev;
    background-image: url('../images/mzjj-v2-arrow-left.svg');
}

#view-home .nav-next {
    grid-area: next;
    background-image: url('../images/mzjj-v2-arrow-right.svg');
}

#view-home .nav-arrow:hover {
    transform: scale(1.1);
}

/* ===== Section 4: Warranty Mobile ===== */
#view-home .warranty-section {
    padding: 50px 16px;
    background-color: #0c1128;
}

#view-home .warranty-section .section-header {
    text-align: left;
}

#view-home .warranty-card {
    position: relative;
    background: linear-gradient(135deg, rgba(74, 143, 231, 0.06) 0%, rgba(74, 143, 231, 0.015) 100%);
    border: 1px solid rgba(74, 143, 231, 0.12);
    border-radius: 12px;
    padding: 28px 20px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

#view-home .warranty-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    text-align: left;
    max-width: 100%;
    margin: 0 auto;
}

#view-home .warranty-shield {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#view-home .warranty-hint {
    font-size: 10px;
    color: #ffffff;
    line-height: 1.8;
    text-align: center;
    margin: 0;
    flex: 1;
    white-space: nowrap;
}

#view-home .warranty-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

#view-home .warranty-input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-size: 11px;
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
}

#view-home .warranty-input:focus {
    border-color: rgba(74, 143, 231, 0.5);
}

#view-home .warranty-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

#view-home .warranty-btn {
    padding: 12px 24px;
    /* 磨砂玻璃风格：半透明蓝色背景 + 模糊效果，与暗色背景层次感好 */
    background: rgba(74, 143, 231, 0.12);
    color: #ffffff;
    border: 1px solid rgba(74, 143, 231, 0.25);
    border-radius: 6px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

#view-home .warranty-btn:hover {
    /* hover 时提高透明度，增强交互反馈 */
    background: rgba(74, 143, 231, 0.25);
    border-color: rgba(74, 143, 231, 0.4);
}

#view-home .warranty-result {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    gap: 12px;
}

#view-home .warranty-result.show {
    display: flex;
}

#view-home .warranty-result-icon {
    align-self: center;
}

#view-home .warranty-result-content {
    text-align: center;
}

#view-home .warranty-result-title {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

#view-home .warranty-result-detail {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

#view-home .warranty-result-detail span {
    display: block;
}

#view-home .warranty-result-detail .label {
    color: rgba(255, 255, 255, 0.35);
}

#view-home .warranty-result-detail .value {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Section 5: News Mobile ===== */
#view-home .news-section {
    padding: 50px 16px;
    background-color: #0a0f1e;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.6s ease;
}

#view-home .news-section .section-inner {
    position: relative;
    z-index: 1;
}

#view-home .news-section .section-header {
    text-align: left;
}

#view-home .news-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

#view-home .news-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

#view-home .news-image {
    flex-shrink: 0;
    width: 120px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
}

#view-home .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#view-home .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 160px;
}

#view-home .news-text {
    flex: 1;
}

#view-home .news-category {
    display: inline-block;
    font-size: 8px;
    color: #4a8fe7;
    background: rgba(74, 143, 231, 0.1);
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 6px;
}

#view-home .news-title {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.4;
}

#view-home .news-desc {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#view-home .news-btn {
    padding: 5px 18px;
    background: transparent;
    color: #4a8fe7;
    border: 1px solid #4a8fe7;
    border-radius: 18px;
    font-size: 8px;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
    margin-top: auto;
}

#view-home .news-btn:hover {
    background: rgba(74, 143, 231, 0.1);
}

#view-home .more-btn-box {
    text-align: center;
}

#view-home .more-btn {
    padding: 11px 32px;
    background: linear-gradient(135deg, #4a8fe7 0%, #3a70c0 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

#view-home .more-btn:hover {
    opacity: 0.85;
}

#view-home .more-arrow {
    margin-left: 4px;
}

/* ===== Section 6: Footer Mobile ===== */
#view-home .page-footer {
    position: relative;
    padding: 40px 16px 20px;
    background-color: #0a0f1e;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.6s ease;
}

#view-home .page-footer .footer-content {
    position: relative;
    z-index: 1;
}

#view-home .footer-curve {
    display: none !important;
}

#view-home .footer-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: flex-start;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto 32px;
}

#view-home .footer-row {
    flex: 1;
    text-align: center;
    min-width: 0;
    flex-direction: column;
    gap: 0;
}

#view-home .footer-column {
    flex: 1;
    text-align: center;
    min-width: 0;
}

#view-home .footer-title {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 1px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

#view-home .footer-list {
    list-style: none;
    padding: 0;
}

#view-home .footer-list-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

#view-home .footer-list li {
    font-size: 9px;
    color: #ffffff;
    line-height: 2.2;
}

#view-home .footer-contact p {
    font-size: 9px;
    color: #ffffff;
    line-height: 2.2;
}

#view-home .footer-contact-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

#view-home .contact-label {
    color: #ffffff;
}

#view-home .contact-value {
    color: #ffffff;
}

#view-home .footer-qr-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

#view-home .footer-qr-horizontal {
    flex-direction: column;
    gap: 8px;
}

#view-home .qr-item {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#view-home .qr-code {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

#view-home .footer-copy {
    text-align: center;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.15);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media (max-width: 420px) {
    #view-home .product-carousel-wrapper {
        row-gap: 14px;
        column-gap: 14px;
    }
}

/* ===== Small Screen ===== */
@media (max-width: 375px) {
    #view-home .hero-title {
        font-size: 20px;
        letter-spacing: 4px;
    }
    #view-home .hero-desc {
        font-size: 9px;
        max-width: 270px;
    }
    #view-home .hero-car-wrapper {
        max-width: 300px;
    }
    #view-home .stat-value {
        font-size: 15px;
    }
    #view-home .stat-label {
        font-size: 8px;
    }
    #view-home .product-name {
        font-size: 14px;
    }
    #view-home .price-value {
        font-size: 24px;
    }
    #view-home .news-title {
        font-size: 11px;
    }
    #view-home .section-title {
        font-size: 15px;
    }
}

/* ===== Warranty Modal Mobile ===== */
#view-home .warranty-modal {
    width: 92%;
    max-width: 360px;
    border-radius: 16px;
}

#view-home .warranty-modal::before {
    width: 70px;
    height: 70px;
    border-top-right-radius: 16px;
}

#view-home .warranty-modal::after {
    width: 70px;
    height: 70px;
    border-bottom-left-radius: 16px;
}

#view-home .warranty-modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
}

#view-home .warranty-modal-close svg {
    width: 20px;
    height: 20px;
}

#view-home .warranty-modal-download {
    top: 12px;
    right: 50px;
    width: 32px;
    height: 32px;
}

#view-home .warranty-modal-download svg {
    width: 18px;
    height: 18px;
}

#view-home .warranty-modal-content {
    padding: 32px 20px 24px;
}

#view-home .warranty-modal-header {
    margin-bottom: 20px;
}

#view-home .warranty-modal-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

#view-home .warranty-modal-icon svg {
    width: 40px;
    height: 40px;
}

#view-home .warranty-modal-title {
    font-size: 14px;
}

#view-home .warranty-modal-body {
    margin-bottom: 20px;
}

#view-home .warranty-modal-status {
    margin-bottom: 16px;
}

#view-home .warranty-modal-status-text {
    padding: 6px 18px;
    font-size: 11px;
}

#view-home .warranty-modal-details {
    padding: 16px 18px;
}

#view-home .warranty-modal-detail-item {
    padding: 10px 0;
}

#view-home .warranty-modal-detail-label,
#view-home .warranty-modal-detail-value {
    font-size: 10px;
}

#view-home .warranty-modal-message {
    font-size: 11px;
}

#view-home .warranty-modal-btn {
    padding: 12px 36px;
    font-size: 11px;
}

#view-home .warranty-modal-record-count {
    font-size: 8px;
}

#view-home .warranty-modal-records {
    max-height: 260px;
}

#view-home .warranty-modal-record-title {
    font-size: 7px;
    margin-bottom: 10px;
}

#view-home .warranty-modal-highlight {
    font-size: 10px;
    padding: 3px 10px;
}
