/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --c-primary: #1a5dc4;
    --c-primary-dark: #0d3f8a;
    --c-primary-light: #4a90e2;
    --c-accent: #00d4ff;
    --c-dark: #0a1628;
    --c-dark-2: #0f1e3a;
    --c-dark-3: #1a2a4f;
    --c-bg: #f5f8fc;
    --c-white: #ffffff;
    --c-text: #1a2a3f;
    --c-text-light: #5a6a80;
    --c-border: #e0e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 30, 80, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 30, 80, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 30, 80, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.nav-logo-img {
    height: 90px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover { color: var(--c-white); background: rgba(255, 255, 255, 0.08); }

.nav-link.active {
    color: var(--c-accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--c-accent);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--c-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, #0a1628 0%, #0d2a5c 40%, #1a3a7a 100%);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(26, 93, 196, 0.15) 0%, transparent 50%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 0 24px;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 100px;
    color: var(--c-accent);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 900;
    line-height: 1.15;
    color: var(--c-white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #00d4ff, #4a90e2, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(15px, 2.5vw, 19px);
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

.btn {
    padding: 14px 36px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #1a5dc4);
    color: var(--c-white);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--c-white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--c-accent);
    white-space: nowrap;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.scroll-hint span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.6), transparent);
    margin: 8px auto 0;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== Section Common ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
    padding: 0 24px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--c-primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    color: var(--c-text);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 16px;
    color: var(--c-text-light);
}

/* ===== Products ===== */
.products {
    padding: 100px 24px;
    background: var(--c-bg);
}

.product-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--c-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--c-border);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 93, 196, 0.2);
}

.product-featured {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.08);
}

.product-badge-hot {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    background: linear-gradient(135deg, #ff6b6b, #ee4444);
    color: var(--c-white);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
    letter-spacing: 1px;
}

.product-image {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #f5f7fa;
    padding: 20px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
}

.product-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 6px;
}

.product-tagline {
    font-size: 14px;
    color: var(--c-primary);
    font-weight: 500;
    margin-bottom: 14px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.feature-chip {
    padding: 4px 12px;
    background: #eef3fb;
    color: var(--c-primary);
    font-size: 12px;
    font-weight: 500;
    border-radius: 100px;
}

.feature-soon {
    background: #f0f0f0;
    color: #999;
}

.product-desc {
    font-size: 14px;
    color: var(--c-text-light);
    line-height: 1.7;
}

/* ===== About ===== */
.about {
    padding: 100px 24px;
    background: var(--c-white);
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
}

.about-left .section-tag { margin-bottom: 12px; }
.about-left .section-title { text-align: left; }

.about-text {
    font-size: 15px;
    color: var(--c-text-light);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-text strong { color: var(--c-text); }

.about-values {
    display: flex;
    gap: 24px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.value-item {
    flex: 1;
    min-width: 140px;
}

.value-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.value-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 4px;
}

.value-item p {
    font-size: 13px;
    color: var(--c-text-light);
}

.about-card {
    background: linear-gradient(160deg, #0a1628, #0f2a5c);
    border-radius: var(--radius);
    padding: 32px;
    color: var(--c-white);
    position: sticky;
    top: 90px;
}

.about-card-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-card-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-card-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.about-card-list li:last-child { border-bottom: none; padding-bottom: 0; }

.card-label {
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    font-size: 13px;
}

.about-card-list li span:last-child {
    text-align: right;
    color: var(--c-white);
    font-weight: 500;
}

/* ===== Contact ===== */
.contact {
    padding: 100px 24px;
    background: var(--c-bg);
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-card {
    background: var(--c-white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 93, 196, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3fb;
    border-radius: 50%;
    font-size: 28px;
    margin: 0 auto 20px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: var(--c-text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.contact-qrcode {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 8px;
    margin: 4px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.2s ease;
}

.contact-card a .contact-qrcode:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.contact-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto 8px;
    display: block;
}

.contact-logo-svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    display: block;
}

.contact-note {
    display: inline-block;
    font-size: 12px;
    color: var(--c-primary);
    background: #eef3fb;
    padding: 4px 12px;
    border-radius: 100px;
}

/* ===== Footer ===== */
.footer {
    background: var(--c-dark);
    padding: 40px 24px;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo-img {
    height: 90px;
    width: auto;
    display: block;
}

.footer-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.footer-icp {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== Float Video ===== */
.float-video {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 360px;
    z-index: 9999;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.float-video-drag {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 10;
    cursor: move;
    user-select: none;
    -webkit-user-select: none;
    background: transparent;
    transition: background 0.2s;
    border-radius: 12px 12px 0 0;
}

.float-video:hover .float-video-drag {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}

.float-video-close {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 11;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    line-height: 24px;
    padding: 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.float-video:hover .float-video-close {
    opacity: 1;
}

.float-video-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.float-video-body {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.float-video-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.float-video-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a1628, #1a3a5c);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.float-video-toggle:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}

.product-detail-link {
    display: inline-block;
    margin-top: 12px;
    color: #1a5dc4;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.product-card:hover .product-detail-link {
    color: #0a1628;
    transform: translateX(4px);
}

/* ===== Product Detail Page ===== */
.detail-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 60px;
    min-height: calc(100vh - 200px);
}

.detail-back-wrap {
    margin-bottom: 32px;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a5dc4;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(26, 93, 196, 0.08);
    transition: all 0.2s;
}

.detail-back:hover {
    background: rgba(26, 93, 196, 0.15);
    transform: translateX(-4px);
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.detail-image {
    border-radius: 16px;
    overflow: hidden;
    background: #f5f7fa;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.detail-image img {
    width: 100%;
    display: block;
}

.detail-info h1 {
    font-size: 32px;
    font-weight: 800;
    color: #0a1628;
    margin-bottom: 8px;
    line-height: 1.3;
}

.detail-tagline {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

/* Detail Video */
.detail-video {
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.detail-video h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 20px;
    text-align: center;
}

.detail-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.detail-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.detail-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 32px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.spec-table th {
    background: linear-gradient(135deg, #0a1628, #1a3a5c);
    color: #fff;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.spec-table td {
    padding: 14px 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #eef0f4;
    background: #fff;
}

.spec-table tr:nth-child(even) td {
    background: #f8fafc;
}

.spec-table td:first-child {
    font-weight: 600;
    color: #0a1628;
    width: 35%;
}

.spec-table tr:last-child td {
    border-bottom: none;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .detail-container { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    /* Float Video */
    .float-video {
        width: 240px;
        bottom: 16px;
        right: 16px;
    }
    .float-video-toggle {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }

    /* Navbar */
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0; right: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 12px;
        gap: 2px;
        transform: translateY(-150%);
        transition: var(--transition);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu.active { transform: translateY(0); }

    /* 手机端菜单项统一为等宽整行，比例一致 */
    .nav-menu li { width: 100%; }
    .nav-menu .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 16px !important;
        font-size: 16px;
        border-radius: 10px;
        margin: 0 !important;
        box-sizing: border-box;
    }
    /* "后台管理" 在手机竖排菜单里也占整行、居中，不再是偏移的小药丸 */
    .nav-menu #adminBtn {
        margin-top: 6px !important;
        border-radius: 10px !important;
    }

    .nav-toggle { display: flex; }

    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .nav-container { height: 64px; padding: 0 16px; }
    .nav-logo-img { height: 64px; }

    /* Hero */
    .hero { min-height: 90vh; }
    .hero-content { padding: 0 20px; }
    .hero-badge { font-size: 11px; padding: 5px 16px; letter-spacing: 1px; margin-bottom: 18px; }
    .hero-title { font-size: clamp(28px, 8vw, 40px); margin-bottom: 16px; }
    .hero-desc { font-size: 14px; margin-bottom: 28px; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .stat-num { font-size: 16px; }
    .stat-label { font-size: 11px; }
    .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
    .btn { width: 100%; max-width: 280px; text-align: center; padding: 12px 28px; font-size: 15px; }

    /* Section Common */
    .section-header { margin-bottom: 36px; padding: 0 16px; }
    .section-title { font-size: clamp(22px, 6vw, 30px); }
    .section-desc { font-size: 14px; }

    /* Products */
    .products { padding: 60px 16px; }
    .product-grid { grid-template-columns: 1fr; gap: 20px; max-width: 400px; }
    .product-image { height: 220px; padding: 16px; }
    .product-info { padding: 18px; }
    .product-name { font-size: 19px; }
    .product-tagline { font-size: 13px; }
    .product-desc { font-size: 13px; }

    /* About */
    .about { padding: 60px 16px; }
    .about-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-card { position: static; padding: 24px; }
    .about-text { font-size: 14px; line-height: 1.8; }
    .about-values { gap: 16px; margin-top: 28px; }
    .value-item { min-width: 120px; }
    .value-icon { font-size: 24px; }

    /* Contact */
    .contact { padding: 60px 16px; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .contact-card { padding: 20px 12px; }
    .contact-icon { width: 48px; height: 48px; font-size: 24px; margin-bottom: 14px; }
    .contact-card h3 { font-size: 15px; }
    .contact-card p { font-size: 12px; margin-bottom: 10px; }
    .contact-qrcode { width: 110px; height: 110px; }
    .contact-logo-img { width: 40px; height: 40px; }
    .contact-logo-svg { width: 40px; height: 40px; }
    .contact-note { font-size: 11px; padding: 3px 10px; }

    /* Footer */
    .footer { padding: 30px 16px; }
    .footer-logo-img { height: 56px; }
    .footer-text { font-size: 12px; }
    .footer-icp { font-size: 11px; }

    /* Detail Page */
    .detail-page { padding: 80px 16px 40px; }
    .detail-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .detail-image { position: static; max-width: 360px; margin: 0 auto; }
    .detail-info h1 { font-size: 24px; }
    .detail-tagline { font-size: 15px; margin-bottom: 18px; }
    .detail-features { gap: 6px; margin-bottom: 18px; }
    .detail-desc { font-size: 14px; margin-bottom: 24px; }
    .spec-table th, .spec-table td { padding: 12px 14px; font-size: 13px; }
    .spec-table td:first-child { width: 38%; }
}

@media (max-width: 380px) {
    .contact-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 24px; }
    .product-image { height: 180px; }
    .contact-qrcode { width: 100px; height: 100px; }

    /* Detail Page */
    .detail-page { padding: 76px 12px 40px; }
    .detail-container { gap: 20px; }
    .detail-info h1 { font-size: 22px; }
    .detail-tagline { font-size: 14px; margin-bottom: 16px; }
    .detail-desc { font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
    .spec-table th, .spec-table td { padding: 10px 12px; font-size: 13px; }
    .spec-table td:first-child { width: 40%; font-size: 12px; }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.25s; }
.fade-in:nth-child(3) { animation-delay: 0.4s; }
