@charset "utf-8";

/* ==================== 自动售卖机页面移动端适配 ==================== */
/* 基于 Figma 设计稿 */

@media (max-width: 1024px) {
    /* ==================== 导航栏 ==================== */
    .vm-navbar-inner {
        padding: 20px;
    }

    .vm-navbar-menu {
        display: none;
    }

    .vm-burger {
        display: inline-flex;
    }

    /* ==================== Banner ==================== */
    .vm-banner-container {
        flex-direction: column;
        padding: 100px 20px 50px;
        text-align: center;
    }

    .vm-banner-content {
        margin-bottom: 40px;
        max-width: 100%;
    }

    .vm-banner-title {
        font-size: clamp(28px, 5vw, 42px);
    }

    .vm-banner-subtitle {
        font-size: clamp(14px, 2.5vw, 18px);
    }

    .vm-banner-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .vm-banner-product {
        width: 100%;
        padding-top: 40px;
    }

    .vm-product-img {
        max-width: 100%;
    }

    .vm-banner-dots {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    .vm-banner-dot {
        width: 60px;
    }

    /* ==================== 通用 Section ==================== */
    .vm-section-header {
        padding: 0 20px;
    }

    .vm-bg-title {
        font-size: clamp(28px, 5vw, 36px);
    }

    .vm-section-title {
        font-size: clamp(24px, 4vw, 28px);
    }

    .vm-section-subtitle {
        font-size: clamp(14px, 2.5vw, 16px);
    }

    .vm-section-line {
        width: 50px;
        height: 3px;
    }

    /* ==================== 场景卡片 ==================== */
    .vm-scenarios {
        padding: 50px 0;
    }

    .vm-scenarios-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .vm-scenario-card {
        flex: none !important;
        width: 100%;
    }

    .vm-scenario-card:first-child .scenario-img {
        height: 206px;
    }

    .vm-scenario-card:first-child .scenario-title {
        font-size: 24px;
        text-align: left;
        padding: 30px 30px 0;
    }

    .vm-scenario-card:first-child .scenario-content {
        padding: 30px;
    }

    .vm-scenarios-nav {
        display: none;
    }

    /* ==================== 合作机构 ==================== */
    .vm-partners {
        padding: 60px 0;
    }

    .vm-partners-container {
        flex-direction: column;
        padding: 0 20px;
        gap: 40px;
    }

    .vm-partners-showcase {
        flex: none;
        width: 100%;
    }

    .vm-partners-info {
        width: 100%;
    }

    .vm-partners-title {
        font-size: 28px;
    }

    .vm-partners-subtitle {
        font-size: 14px;
    }

    /* ==================== 产品特点 ==================== */
    .vm-features {
        padding: 60px 0;
    }

    .vm-features-container {
        flex-direction: column;
        padding: 0 20px;
        gap: 40px;
    }

    .vm-features-product {
        flex: none;
        width: 100%;
    }

    .vm-features-list {
        width: 100%;
        gap: 30px;
    }

    .vm-feature-title {
        font-size: clamp(20px, 4vw, 24px);
    }

    .vm-feature-desc {
        font-size: clamp(14px, 2.5vw, 16px);
        line-height: 1.6;
    }

    /* ==================== 技术参数 ==================== */
    .vm-specs {
        padding: 60px 0;
    }

    .vm-specs-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }

    .vm-spec-card-header {
        padding: 20px 20px 0;
    }

    .vm-spec-card-title {
        font-size: 24px;
    }

    .vm-spec-card-body {
        padding: 0 20px 20px;
    }

    /* ==================== 版本对比 ==================== */
    .vm-compare {
        padding: 60px 0;
    }

    .vm-compare-table {
        max-width: 100%;
        margin: 0 20px;
    }

    .vm-compare-header,
    .vm-compare-row {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }

    .vm-compare-col-feature {
        font-size: 18px;
    }

    .vm-compare-col-basic,
    .vm-compare-col-pro {
        padding: 15px;
        background: #f8f9fe;
        border-radius: 8px;
    }

    .vm-compare-title {
        font-size: 18px;
    }

    .price-integer {
        font-size: 24px;
    }

    .vm-compare-btn {
        width: 100%;
    }

    /* ==================== 页脚 ==================== */
    .vm-footer {
        padding: 50px 0;
    }

    .vm-footer-container {
        flex-direction: column;
        padding: 0 20px;
        gap: 30px;
    }

    .vm-footer-center {
        flex-direction: column;
        gap: 20px;
    }

    .vm-footer-right {
        text-align: left;
    }

    .vm-footer-bottom {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .vm-footer-copyright {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    /* ==================== Banner ==================== */
    .vm-banner-title {
        font-size: 24px;
    }

    .vm-banner-subtitle {
        font-size: 14px;
    }

    .vm-banner-buttons {
        gap: 10px;
    }

    /* ==================== 场景卡片 ==================== */
    .scenario-title {
        font-size: 18px;
    }

    .scenario-text {
        font-size: 14px;
    }

    /* ==================== 合作机构 ==================== */
    .vm-partners-title {
        font-size: 24px;
    }

    .vm-partner-item {
        padding: 15px;
    }

    .vm-partner-img {
        width: 70px;
        height: 70px;
    }

    .vm-partner-name {
        font-size: 16px;
    }

    .vm-partner-en-name {
        font-size: 12px;
    }

    /* ==================== 版本对比 ==================== */
    .vm-compare-title {
        font-size: 16px;
    }

    .price-integer {
        font-size: 20px;
    }

    .vm-compare-text {
        font-size: 14px;
    }

    /* ==================== 页脚 ==================== */
    .vm-footer-logo img {
        height: 40px;
    }

    .vm-footer-icon img {
        width: 60px;
        height: 60px;
    }

    .vm-footer-title {
        font-size: 14px;
    }

    .vm-footer-contact {
        font-size: 13px;
        line-height: 1.5;
    }
}
