/* ================================================================
   广州美未科技有限公司 官网样式表
   绿色主题 · 响应式设计 · 全部内容 HTML 可编辑
   ================================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
    --primary: #1a9e5b;
    --primary-dark: #0d7a42;
    --primary-light: #e8f8f0;
    --primary-bg: #f0faf5;
    --accent: #ff8c3d;
    --accent-dark: #e07020;

    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-light: #b2bec3;

    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f0f2f5;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.12);

    --header-h: 72px;
    --container: 1200px;

    --ease: cubic-bezier(.4,0,.2,1);
    --transition: all .3s var(--ease);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 3. 顶部导航 ---------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #eef1f3;
    z-index: 1000;
    transition: box-shadow .3s var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 12px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.logo img { height: 36px; }

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 24px;
}
.nav-link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-link.active {
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-gray);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}
.search-box:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px var(--primary);
}
.search-box i { color: var(--text-light); font-size: 14px; }
.search-box input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    width: 120px;
    color: var(--text-primary);
}
.search-box input::placeholder { color: var(--text-light); }

.user-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-full);
    background: var(--bg-gray);
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition);
}
.user-icon:hover { background: var(--primary-light); color: var(--primary); }

/* 移动端汉堡菜单 */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    margin-left: auto;
}
.mobile-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- 4. Hero 首屏 ---------- */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-h);
    overflow: hidden;
    background: var(--bg-light);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/banner.jpg') center/cover no-repeat;
    
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 24px;
}

.hero-subtitle {
    font-size: 16px;
    letter-spacing: 6px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 28px;
    text-shadow: 0 2px 12px rgba(255,255,255,.6);
}

.hero-tags {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 10px 28px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: 0 4px 16px rgba(255,140,61,.3);
}
.hero-tags span { padding: 0 6px; }
.hero-tags span + span::before {
    content: '/';
    opacity: .5;
    padding-right: 6px;
}

/* ---------- 5. 全过程可追溯 ---------- */
.traceability {
    padding: 80px 0 60px;
    background: var(--bg-white);
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}
.section-title-white { color: #fff; }
.section-subtitle-white { color: rgba(255,255,255,.85); }

.trace-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}
.trace-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.trace-icon {
    width: 80px; height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-size: 32px;
    transition: var(--transition);
    border: 2px solid transparent;
}
.trace-step:hover .trace-icon {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26,158,91,.25);
}
.trace-label {
    margin-top: 14px;
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}
.trace-line {
    flex: 1;
    height: 2px;
    margin-top: 40px;
    min-width: 40px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary-light) 0,
        var(--primary-light) 6px,
        transparent 6px,
        transparent 12px
    );
}

/* ---------- 6. 品质承诺 ---------- */
.quality {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}
.quality-inner {
    max-width: 700px;
    margin: 0 auto;
}
.quality-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
}
.quality-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
}

/* 通用按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: var(--radius-xl);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-green {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(26,158,91,.3);
}
.btn-green:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26,158,91,.4);
}
.btn-phone i { font-size: 16px; }

/* ---------- 7. 美未服务 ---------- */
.services {
    padding: 80px 0 80px;
    background: linear-gradient(160deg, var(--primary) 0%, #14854d 50%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}
/* 背景装饰叶片 */
.services::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,.04);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
}
.services::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 250px; height: 250px;
    background: rgba(255,255,255,.03);
    border-radius: 50% 0 50% 50%;
    transform: rotate(-30deg);
}

.services-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

/* 二维码卡片 */
.services-qr {
    display: flex;
    gap: 28px;
    flex-shrink: 0;
}
.qr-card {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255,255,255,.15);
    transition: var(--transition);
}
.qr-card:hover {
    background: rgba(255,255,255,.18);
    transform: translateY(-4px);
}
.qr-heading {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}
.qr-code {
    width: 140px; height: 140px;
    background: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
}
.qr-placeholder i { font-size: 48px; color: var(--primary); }
.qr-hint {
    color: rgba(255,255,255,.7);
    font-size: 13px;
    margin-top: 12px;
}

/* 手机模型 */
.services-phones {
    display: flex;
    gap: 0;
    align-items: flex-end;
    position: relative;
}

.phone-mockup {
    flex-shrink: 0;
}
.phone-frame {
    width: 220px;
    height: 440px;
    background: #1a1a1a;
    border-radius: 32px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 1px 1px rgba(255,255,255,.1);
    position: relative;
}
.phone-notch {
    width: 80px; height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 14px 14px;
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.phone-screen {
    width: 100%; height: 100%;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-back { margin-left: -30px; z-index: 0; }
.phone-front { z-index: 1; }

/* 模拟 APP 界面 */
.mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 10px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.mock-header i { font-size: 14px; }

.mock-banner {
    background: linear-gradient(135deg, var(--primary), #26de81);
    color: #fff;
    padding: 20px 14px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.mock-section-title {
    padding: 12px 14px 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.mock-products {
    display: flex;
    gap: 8px;
    padding: 0 14px;
    flex: 1;
}
.mock-product {
    flex: 1;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.mock-product-img {
    height: 60px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}
.mock-product-name {
    padding: 6px 8px 2px;
    font-size: 11px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-product-price {
    padding: 0 8px 8px;
    font-size: 12px;
    font-weight: 700;
    color: #e74c3c;
}

.mock-categories {
    flex: 1;
    padding: 8px 0;
    overflow: hidden;
}
.mock-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--bg-gray);
}
.mock-cat i {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 14px;
}

.mock-tabbar {
    display: flex;
    border-top: 1px solid #eee;
    padding: 8px 0 4px;
    background: #fff;
}
.mock-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: var(--text-light);
}
.mock-tab i { font-size: 16px; }
.mock-tab.active { color: var(--primary); }

/* ---------- 8. 关于我们 ---------- */
.about {
    padding: 80px 0;
    background: var(--bg-white);
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 64px;
}

.about-photo { border-radius: var(--radius-lg); overflow: hidden; }
.photo-placeholder {
    width: 100%;
    height: 360px;
    background: linear-gradient(135deg, #e8f8f0, #d4f1e8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--primary);
    border-radius: var(--radius-lg);
}
.photo-placeholder i { font-size: 56px; opacity: .5; }
.photo-placeholder span { font-size: 15px; color: var(--text-light); }

.about-info {
    position: relative;
    padding-left: 20px;
}
.about-green-bar {
    position: absolute;
    left: 0; top: 0;
    width: 4px; height: 100%;
    background: var(--primary);
    border-radius: 2px;
}
.about-company-name {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}
.about-company-en {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.about-desc {
    font-size: 16px;
    line-height: 2;
    color: var(--text-secondary);
}

/* 使命·愿景·价值观·态度 */
.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}
.value-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}
.value-card:hover {
    background: #fff;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.value-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 22px;
}
.value-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.value-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 资质证书 */
.certificates { margin-top: 20px; }
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cert-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.cert-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.cert-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #fdf6e3, #f5edd6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px dashed #d4c5a0;
    border-radius: var(--radius-md);
}
.cert-placeholder i { font-size: 40px; color: #c9a96e; }
.cert-placeholder span {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    padding: 0 12px;
}

/* ---------- 9. 产品中心 ---------- */
.products {
    padding: 80px 0;
    background: var(--bg-light);
}
.products .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.product-category {
    margin-bottom: 48px;
 
}
.product-category:last-child { margin-bottom: 0; }

.cat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.cat-title-bar {
    flex-shrink: 0;
}
.cat-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    padding-left: 14px;
    border-left: 4px solid var(--primary);
}
.cat-banner-img {
    flex: 1;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    font-size: 28px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #eef1f3;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.product-img {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 28px;
    /*
     * 替换为真实产品图片:
     * background: url('path/to/image.jpg') center/cover no-repeat;
     * 并将 <i> 标签移除
     */
}
.product-name {
    padding: 10px 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 10. 联系我们 ---------- */
.contact {
    padding: 80px 0;
    background: var(--bg-white);
}
.contact .section-title {
    text-align: center;
    margin-bottom: 48px;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
}
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { padding-bottom: 0; }
.contact-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 18px;
}
.contact-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}
.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.6;
}
.contact-divider {
    height: 1px;
    background: #e8ecee;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 380px;
}
.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f0fe, #d4e5fc);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: var(--radius-lg);
    border: 1px dashed #b8d4f0;
}
.map-placeholder i { font-size: 48px; color: #4a90d9; }
.map-placeholder span { font-size: 15px; color: var(--text-secondary); }
.map-placeholder small { font-size: 12px; color: var(--text-light); }

/* ---------- 11. 页脚 ---------- */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 32px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    margin:  10px  0;
    align-items: flex-start;
}
.footer-left p {
    font-size: 14px;
    line-height: 2;
    opacity: .9;
}
.footer-left strong {
    font-size: 16px;
    opacity: 1;
}
.footer-left a {
    color: #fff;
    opacity: .8;
    transition: opacity .2s;
}
.footer-left a:hover { opacity: 1; text-decoration: underline; }

/* ================================================================
   13. 版本价格页面 (editionPrice.html)
   ================================================================ */

/* ---------- 版本价格 Hero ---------- */
.pricing-hero {
    margin-top: var(--header-h);
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #f4f8fb 0%, #fff 100%);
}
.pricing-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.pricing-hero-text h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 12px;
}
.pricing-hero-tag {
    font-size: 22px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}
.pricing-hero-slogan {
    margin-top: 16px;
    font-size: 18px;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* CSS 绘制示意图 */
.pricing-hero-illust {
    position: relative;
    width: 320px;
    height: 260px;
    flex-shrink: 0;
}
.illust-cloud {
    position: absolute;
    top: 20px; right: 40px;
    text-align: center;
}
.illust-cloud > i {
    font-size: 100px;
    color: #4a90d9;
    opacity: .85;
    filter: drop-shadow(0 4px 12px rgba(74,144,217,.2));
}
.illust-bars {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}
.illust-bars span {
    display: block;
    width: 10px;
    background: linear-gradient(180deg, var(--primary), #26de81);
    border-radius: 3px;
}
.illust-bars span:nth-child(1) { height: 18px; }
.illust-bars span:nth-child(2) { height: 28px; }
.illust-bars span:nth-child(3) { height: 22px; }

.illust-server {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
}
.illust-server i {
    font-size: 60px;
    color: #636e72;
    opacity: .6;
}
.illust-orbit {
    position: absolute;
    top: 50%; left: 50%;
    width: 200px; height: 200px;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(74,144,217,.2);
    border-radius: 50%;
}

/* ---------- 三档定价卡片 ---------- */
.pricing-plans {
    padding: 40px 0 60px;
    background: var(--bg-white);
}
.plan-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.plan-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}
.plan-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.plan-featured {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 2px solid var(--primary);
    transform: scale(1.08);
    box-shadow: 0 20px 50px rgba(26,158,91,.18), 0 0 0 4px rgba(26,158,91,.06);
    padding: 48px 24px 44px;
    overflow: hidden;
}
.plan-featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #26de81, var(--accent));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.plan-featured:hover {
    transform: scale(1.08) translateY(-6px);
    box-shadow: 0 28px 60px rgba(26,158,91,.24), 0 0 0 4px rgba(26,158,91,.1);
}
.plan-badge {
    position: absolute;
    top: 18px; right: -30px;
    transform: rotate(45deg);
    background: linear-gradient(90deg, var(--accent), #ff6b35);
    color: #fff;
    padding: 4px 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(255,140,61,.3);
}
.plan-icon {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--accent);
}
.plan-featured .plan-icon { color: var(--primary); }
.plan-featured .plan-name { color: var(--primary-dark); font-size: 22px; }
.plan-featured .plan-amount { color: var(--primary); }
.plan-featured .plan-period { opacity: .5; }
.plan-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}
.plan-price {
    margin-bottom: 24px;
}
.plan-currency {
    font-size: 20px;
    font-weight: 600;
    vertical-align: top;
    line-height: 2.4;
}
.plan-amount {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
}
.plan-period {
    font-size: 15px;
    opacity: .6;
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 32px;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.plan-featured .btn-outline {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}
.plan-featured .btn-outline:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ---------- 功能对比矩阵 ---------- */
.pricing-matrix {
    padding: 60px 0 80px;
    background: var(--bg-light);
}
.pricing-matrix .section-title {
    text-align: center;
    margin-bottom: 40px;
}
.matrix-group {
    margin-bottom: 36px;
}
.matrix-group:last-child { margin-bottom: 0; }
.matrix-group-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.matrix-group-title i {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.matrix-table thead th {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    background: var(--primary-light);
    color: var(--text-primary);
    text-align: center;
    border-bottom: 2px solid #e0f0e8;
}
.matrix-table thead th:first-child {
    text-align: left;
    width: 40%;
}
.matrix-table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid #f0f2f5;
    text-align: center;
    transition: background .2s;
}
.matrix-table tbody td:first-child {
    text-align: left;
    color: var(--text-secondary);
    font-weight: 500;
}
.matrix-table tbody tr:last-child td { border-bottom: none; }
.matrix-table tbody tr:hover td { background: #fafffe; }

td.yes i {
    color: var(--primary);
    font-size: 16px;
}
td.no i {
    color: #ddd;
    font-size: 16px;
}

/* ================================================================
   12. 响应式适配
   ================================================================ */

/* 平板 ≤1024px */
@media (max-width: 1024px) {
    :root { --container: 960px; }

    .nav { gap: 0; }
    .nav-link { padding: 8px 10px; font-size: 14px; }

    .search-box input { width: 80px; }

    .hero-title { font-size: 42px; }

    .about-intro { gap: 28px; }
    .about-values { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }

    .product-grid { grid-template-columns: repeat(4, 1fr); }

    .services-content { flex-direction: column; gap: 40px; }

    .contact-content { grid-template-columns: 1fr; }
    .contact-map { height: 300px; }

    /* 版本价格 */
    .pricing-hero-inner { flex-direction: column; text-align: center; }
    .pricing-hero-text h1 { font-size: 32px; }
    .pricing-hero-illust { width: 260px; height: 200px; }
    .illust-cloud > i { font-size: 80px; }
    .plan-cards { gap: 16px; }
    .plan-featured { transform: scale(1.04); }
}

/* 手机 ≤768px */
@media (max-width: 768px) {
    :root { --header-h: 60px; --container: 100%; }
    .container { padding: 0 16px; }

    /* 导航变为汉堡菜单 */
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform .3s var(--ease);
        z-index: 999;
    }
    .nav.open { transform: translateY(0); }
    .nav-link {
        padding: 12px 16px;
        border-radius: var(--radius-md);
        font-size: 16px;
    }
    .header-actions { display: none; }
    .mobile-toggle { display: flex; }

    /* Hero */
    .hero { min-height: 400px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 13px; letter-spacing: 3px; }
    .hero-tags { font-size: 14px; padding: 8px 20px; }

    /* 追溯步骤 */
    .trace-steps { flex-wrap: wrap; gap: 12px; justify-content: center; }
    .trace-line { display: none; }
    .trace-icon { width: 60px; height: 60px; font-size: 24px; }
    .trace-steps .trace-step { flex: 0 0 calc(33.33% - 8px); }
    .section-title { font-size: 26px; }

    /* 品质承诺 */
    .quality { padding: 60px 0; }
    .quality-title { font-size: 28px; }
    .quality-desc { font-size: 16px; }

    /* 服务 */
    .services { padding: 60px 0 80px; }
    .services-qr { flex-direction: column; gap: 20px; }
    .services-phones { flex-direction: column; align-items: center; gap: 20px; }
    .phone-back { margin-left: 0; }
    .phone-frame { width: 180px; height: 360px; border-radius: 26px; }
    .phone-screen { border-radius: 18px; }

    /* 关于我们 */
    .about { padding: 60px 0; }
    .about-intro { grid-template-columns: 1fr; gap: 24px; }
    .photo-placeholder { height: 240px; }
    .about-values { grid-template-columns: 1fr; gap: 16px; }
    .value-card { padding: 24px 16px; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* 产品 */
    .products { padding: 60px 0; }
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .cat-title { font-size: 18px; }

    /* 联系 */
    .contact { padding: 60px 0; }
    .contact-info { padding: 24px; }
    .contact-map { height: 240px; }

    /* 页脚 */
    .footer-content { flex-direction: column; gap: 20px; }
    .footer-left p { font-size: 13px; }

    /* 版本价格 - 手机 */
    .pricing-hero { padding: 40px 0 20px; }
    .pricing-hero-text h1 { font-size: 26px; }
    .pricing-hero-tag { font-size: 18px; }
    .pricing-hero-slogan { font-size: 15px; }
    .pricing-hero-illust { display: none; }
    .plan-cards { grid-template-columns: 1fr; max-width: 360px; }
    .plan-featured { transform: none; }
    .plan-amount { font-size: 36px; }
    .matrix-table { font-size: 13px; }
    .matrix-table thead th,
    .matrix-table tbody td { padding: 10px 8px; }
    .matrix-group-title { font-size: 16px; }
}

/* 小手机 ≤480px */
@media (max-width: 480px) {
    .hero-title { font-size: 26px; }
    .hero-tags { font-size: 12px; padding: 6px 14px; }
    .trace-steps .trace-step { flex: 0 0 calc(50% - 6px); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .quality-title { font-size: 24px; }
    .btn { padding: 12px 24px; font-size: 16px; }
}
