/* ========== 大屏手机/小平板优化 (481px - 599px) ========== */
@media (min-width: 481px) and (max-width: 599px) {
    /* 导航栏 */
    .nav-links {
        display: none !important;
    }

    .mobile-menu {
        display: block !important;
    }

    .main-nav {
        justify-content: flex-start !important;
    }

    /* 首屏布局 */
    .hero-section .hero-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 20px !important;
    }

    .hero-section .hero-left {
        margin-top: 0 !important;
        max-width: 100% !important;
        order: 2 !important;
    }

    .hero-section .hero-crab-image {
        margin-top: 0 !important;
        order: 1 !important;
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        justify-self: center !important;
    }

    .hero-section .hero-crab-image .crab-placeholder {
        max-width: 320px !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
    }

    .hero-section .hero-crab-image .crab-placeholder img {
        max-width: 100% !important;
        left: 0 !important;
        position: relative !important;
        margin: 0 auto !important;
    }

    .hero-section .hero-right {
        display: none !important;
    }

    .hero-section {
        padding: 80px 0 40px 0 !important;
    }

    /* 标题字号 */
    .brand-title {
        font-size: 26px !important;
    }

    .hero-main-title {
        font-size: 22px !important;
    }

    /* ready-section 优化 */
    .ready-section {
        padding: 40px 0 50px !important;
    }

    .ready-laptop-image {
        display: none !important;
    }

    .ready-visual {
        padding: 0 16px !important;
        gap: 20px !important;
    }

    .ready-screen-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        position: static !important;
        text-align: center !important;
    }

    .ready-section .section-title {
        font-size: 22px !important;
    }

    .ready-section .section-subtitle {
        font-size: 14px !important;
    }

    .ready-points {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        max-width: 100% !important;
    }

    .ready-point {
        background: rgba(255, 255, 255, 0.7) !important;
        border-radius: 14px !important;
        padding: 18px 16px !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        text-align: left !important;
        backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
    }

    .ready-point-dot {
        width: 10px !important;
        height: 10px !important;
        flex-shrink: 0 !important;
        margin-top: 4px !important;
    }

    .ready-point-text {
        flex: 1 !important;
    }

    .ready-point-text h3 {
        font-size: 15px !important;
        margin-bottom: 8px !important;
        color: #1d1d1f !important;
    }

    .ready-point-text p {
        font-size: 13px !important;
        line-height: 1.6 !important;
        color: #4a4a4f !important;
        margin-bottom: 4px !important;
    }

    .ready-point-text p:last-child {
        margin-bottom: 0 !important;
    }
}

/* ========== 平板端布局优化 (600px - 1200px) ========== */
@media (min-width: 600px) and (max-width: 1200px) {

    /* ===== 导航栏：平板端使用移动端汉堡菜单 ===== */
    .main-nav {
        justify-content: flex-start !important;
    }

    .nav-links {
        display: none !important;
    }

    .mobile-menu {
        display: block !important;
    }

    .site-header .container {
        position: relative;
    }

    /* ===== 1. 首屏平板布局收拢 ===== */
    .hero-section .hero-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 0 40px !important;
    }

    .hero-section .hero-left {
        margin-top: 0 !important;
        max-width: 100% !important;
        order: 2 !important;
    }

    .hero-section .hero-crab-image {
        margin-top: 0 !important;
        order: 1 !important;
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        justify-self: center !important;
    }

    .hero-section .hero-crab-image .crab-placeholder {
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    .hero-section .hero-crab-image .crab-placeholder img {
        max-width: 100% !important;
        left: 0 !important;
        position: static !important;
    }

    .hero-section .hero-right {
        display: none !important;
    }

    .hero-section {
        padding: 100px 0 60px 0 !important;
    }

    /* ===== 2. 首屏文字与按钮防溢出 ===== */
    .brand-title {
        font-size: clamp(28px, 5vw, 40px);
        white-space: normal;
    }

    .hero-main-title {
        font-size: clamp(18px, 3vw, 28px);
        white-space: normal;
        width: 100%;
        max-width: 100%;
    }

    .hero-description {
        margin-bottom: 40px;
    }

    .hero-description p {
        font-size: 16px;
        line-height: 1.5;
    }

    .hero-buttons {
        gap: 16px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-showcase-secondary {
        padding: 12px 20px;
        font-size: 15px;
    }

    /* ===== 3. 特性卡片改为 2x2 平板栅格 ===== */
    .feature-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
        margin-top: 60px;
    }

    .feature-card {
        max-width: none;
        padding: 20px 18px;
    }

    .card-content h4 {
        font-size: 18px;
    }

    .card-content p {
        font-size: 14px;
    }

    .card-icon {
        width: 28px;
        height: 28px;
    }

    /* ===== 4. 核心功能展示区精细化平板适配 ===== */
    .core-features-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .business-section {
        padding-top: 60px;
    }

    .business-images {
        gap: 20px 16px;
        padding: 0 10px;
    }

    .business-card {
        padding: 20px 8px 24px 16px !important;
    }

    .business-card .feature-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .business-card .feature-name {
        font-size: 14px;
    }

    .business-card img,
    .video-wrapper {
        width: calc(100% + 16px);
        margin-left: -8px;
    }

    .business-card-video {
        aspect-ratio: 16 / 9;
    }

    /* ===== 5. 私有化部署模块改为更柔和的上下层次 ===== */
    .monitoring-content {
        flex-direction: column;
        padding: 0 30px;
        gap: 30px;
    }

    .monitoring-copy {
        flex: none;
        max-width: 100%;
        padding-top: 0;
    }

    .monitoring-copy .section-title {
        white-space: normal;
        font-size: 28px;
        line-height: 1.4;
    }

    .monitoring-text {
        font-size: 20px;
    }

    .monitoring-visual {
        flex: none;
        max-width: 100%;
        margin: 0 auto;
    }

    .monitoring-note {
        width: 100%;
        max-width: 420px;
        min-height: auto;
        padding: 20px 24px;
        margin: 0 auto;
    }

    .monitoring-note + .monitoring-note {
        margin-top: 16px;
    }

    .monitoring-note p:first-child {
        font-size: 18px;
    }

    .monitoring-note p {
        font-size: 14px;
    }

    .monitoring-seabed {
        height: 200px;
        margin-top: 120px;
    }

    /* ===== 6. 中后段大模块的平板节奏统一 ===== */

    /* 解壳记忆 */
    .memory-archive-section {
        padding: 60px 0 70px;
    }

    .memory-archive-header {
        margin-bottom: 40px;
    }

    .memory-archive-title {
        font-size: 32px;
    }

    .memory-archive-quote {
        font-size: 16px;
    }

    .memory-archive-subtitle {
        font-size: 14px;
    }

    .memory-archive-grid {
        gap: 20px;
        padding: 0 20px;
    }

    .memory-archive-item {
        padding: 28px 22px 26px;
    }

    .memory-archive-item h3 {
        font-size: 17px;
    }

    .memory-archive-item p {
        font-size: 14px;
    }

    /* 零成本进化与全时空访问 */
    .growth-access-section {
        padding: 60px 0 70px;
    }

    .growth-access-title {
        font-size: 28px;
    }

    .growth-access-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .growth-access-row + .growth-access-row {
        margin-top: 50px;
    }

    /* 操控现实 - 平板端改为左右并排布局 */
    .deployment-section {
        position: relative;
    }

    .deployment-section .container {
        position: static;
    }

    .deployment-layout {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 30px;
        padding: 0;
        padding-top: 0;
        align-items: center;
    }

    .deployment-crab-image {
        display: block;
        max-width: 200px;
        position: absolute;
        left: -20px;
        top: -10px;
        z-index: 10;
    }

    .deployment-visual {
        max-width: 100%;
        order: 1;
        min-height: auto;
    }

    .deployment-device-wrap {
        max-width: 100%;
    }

    .deployment-device-image {
        max-width: 100%;
        height: auto;
    }

    .deployment-scene {
        transform: scale(0.8);
        transform-origin: center center;
    }

    .deployment-content {
        max-width: 100%;
        text-align: right;
        order: 2;
    }

    .deployment-title {
        font-size: 26px;
    }

    .deployment-subtitle {
        font-size: 16px;
    }

    .deployment-description {
        font-size: 14px;
    }

    /* 它是工具，更是不断进化的生命体 - 平板端隐藏笔记本图片 */
    .ready-section {
        padding: 60px 0 70px;
        background-color: #e2e2e7 !important;
    }

    .ready-visual {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 30px;
    }

    .ready-laptop-image {
        display: none !important;
    }

    .ready-screen-content {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 auto !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ready-section .section-header {
        margin-bottom: 40px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ready-logo-wrap {
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }

    .ready-logo-image {
        width: 60px;
        height: auto;
        margin: 0 auto;
    }

    .ready-section .section-title {
        font-size: 28px;
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .ready-section .section-subtitle {
        font-size: 16px;
        line-height: 1.7;
        max-width: 600px;
        margin: 0 auto;
    }

    .ready-points {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        max-width: 900px;
        margin: 0 auto;
    }

    .ready-point {
        background: rgba(255, 255, 255, 0.6);
        border-radius: 16px;
        padding: 24px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        display: flex;
        align-items: flex-start;
        gap: 14px;
        text-align: left;
    }

    .ready-point-dot {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
        margin-top: 4px;
    }

    .ready-point-text {
        flex: 1;
    }

    .ready-point-text h3 {
        font-size: 17px;
        margin-bottom: 10px;
        text-align: left;
    }

    .ready-point-text p {
        font-size: 14px;
        line-height: 1.7;
        text-align: left;
    }

    /* 准备好迎接你的数字员工了吗？ */
    .ready-legacy-title {
        font-size: 28px;
    }

    .ready-legacy-subtitle {
        font-size: 14px;
    }
}

/* 平板断点：ownership-section 600px-1024px */
@media (min-width: 600px) and (max-width: 1024px) {
    .ownership-section {
        padding: 80px 20px;
    }

    .ownership-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .ownership-subtitle {
        font-size: 16px;
        margin-bottom: 48px;
    }

    .ownership-values {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        max-width: 800px;
    }

    .ownership-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .ownership-icon svg {
        width: 32px;
        height: 32px;
    }

    .ownership-value-title {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .ownership-value-desc {
        font-size: 13px;
        line-height: 1.5;
    }
}
