/* ===== 医卓天成官网公共样式（浅色医学风）=====
   全站三页共用：index.html / aismonitor.html / veriecg.html */

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #1a1a2e;
    background: #f8f9fc;
    line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Nav ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav-logo { font-size: 1.15rem; font-weight: 700; color: #0f4c81; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: #555; transition: color 0.2s; }
.nav-links a:hover { color: #0f4c81; }
.nav-links a.active { color: #0f4c81; font-weight: 700; }
.nav-links .nav-btn {
    background: #0f4c81; color: #fff !important;
    padding: 0.4rem 1.1rem; border-radius: 20px; font-weight: 600;
}
.nav-links .nav-btn:hover { background: #1a6db5; }

/* ===== Hero ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 30%, #f0f4ff 60%, #eaf2f8 100%);
    text-align: center; padding: 6rem 2rem 4rem;
}
.hero-content { max-width: 800px; }
.hero-badge {
    display: inline-block;
    background: rgba(15, 76, 129, 0.06);
    color: #0f4c81;
    padding: 0.35rem 1.4rem;
    border: 1px solid rgba(15, 76, 129, 0.22);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
}
.hero-badge.hot {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #fff;
    box-shadow: 0 2px 12px rgba(230,126,34,0.3);
}
.hero h1 { font-size: 2.8rem; font-weight: 800; color: #0a2540; line-height: 1.3; margin-bottom: 1rem; }
.hero h1 span { color: #0f4c81; }
.hero-subtitle { font-size: 1.15rem; color: #5a6a7e; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== 数字卖点带 ===== */
.stats-band {
    background: #0a2540;
    color: #fff;
    padding: 2.5rem 2rem;
}
.stats-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    text-align: center;
}
.stat-num { font-size: 2.4rem; font-weight: 800; color: #7fb3e6; line-height: 1.2; }
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-top: 0.3rem; }
@media (max-width: 768px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* ===== Sections ===== */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
    text-align: center; font-size: 0.8rem; font-weight: 700; color: #0f4c81;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.75rem;
}
.section-title {
    text-align: center; font-size: 2rem; font-weight: 800; color: #0a2540;
    margin-bottom: 1rem;
}
.section-desc { text-align: center; color: #5a6a7e; max-width: 650px; margin: 0 auto 3rem; font-size: 1rem; }

/* ===== Features Grid ===== */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: #fff; border-radius: 16px; padding: 2rem 1.75rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.feature-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: #0a2540; margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.9rem; color: #5a6a7e; line-height: 1.7; }

/* ===== Advantages ===== */
.advantages-list {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 2rem;
}
.adv-item {
    background: #fff; border-radius: 12px; padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    text-align: center;
}
.adv-item .emoji { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; }
.adv-item strong { display: block; font-size: 1rem; color: #0a2540; margin-bottom: 0.25rem; }
.adv-item span { font-size: 0.85rem; color: #6b7c93; }

/* ===== Scenarios ===== */
.scenario-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 2rem; }
.scenario-table th, .scenario-table td {
    padding: 1rem 1.25rem; text-align: left;
}
.scenario-table thead th {
    background: #0f4c81; color: #fff; font-weight: 600; font-size: 0.9rem;
}
.scenario-table thead th:first-child { border-radius: 10px 0 0 0; }
.scenario-table thead th:last-child { border-radius: 0 10px 0 0; }
.scenario-table tbody td {
    background: #fff; border-bottom: 1px solid #eef2f7; font-size: 0.9rem; color: #4a5568;
}
.scenario-table tbody tr:last-child td:first-child { border-radius: 0 0 0 10px; }
.scenario-table tbody tr:last-child td:last-child { border-radius: 0 0 10px 0; }
.scenario-table tbody tr:hover td { background: #f0f5ff; }

/* ===== Dual Mode ===== */
.dual-images {
    display: flex; justify-content: center; align-items: flex-start;
    gap: 2rem; margin-top: 2rem;
}
.dual-images img {
    height: 360px; width: auto; object-fit: contain;
    border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}
@media (max-width: 768px) {
    .dual-images { flex-direction: column; align-items: center; }
    .dual-images img { height: auto; max-height: 360px; width: 100%; }
}

.dual-text {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem;
}
@media (max-width: 768px) { .dual-text { grid-template-columns: 1fr; } }
.dual-text-item {
    background: #fff; border-radius: 16px; padding: 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04); text-align: center;
}
.dual-text-item h3 { font-size: 1.15rem; color: #0a2540; margin-bottom: 0.75rem; }
.dual-text-item p { font-size: 0.9rem; color: #5a6a7e; line-height: 1.7; }

/* ===== Screenshots ===== */
.screenshot-showcase {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; margin-top: 3rem;
}
.screenshot-showcase.single { grid-template-columns: 1fr; }
.screenshot-showcase.single img {
    max-width: 700px; margin: 0 auto;
}
@media (max-width: 768px) { .screenshot-showcase { grid-template-columns: 1fr; } }
.screenshot-showcase img {
    width: 100%; border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.screenshot-showcase img:hover { transform: scale(1.02); }
.screenshot-showcase video {
    width: 100%; border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.video-wrapper {
    position: relative; display: inline-block; width: 100%;
    cursor: pointer;
}
.video-wrapper::after {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    background: rgba(15,76,129,0.8);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.video-wrapper::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-40%, -50%);
    width: 0; height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    z-index: 1;
}
.video-wrapper.playing::after,
.video-wrapper.playing::before { display: none; }

.video-hint {
    text-align: center; color: #8a97a8; font-size: 0.82rem;
    margin-top: 0.5rem;
}

.mode-card img {
    width: 100%; border-radius: 10px;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.scenario-table td.scenario-img-cell {
    width: 330px; padding: 0.75rem; vertical-align: middle; text-align: center;
}
.scenario-table td.scenario-img-cell img {
    width: 100%; border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* ===== 产品矩阵（公司门户） ===== */
.product-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2.5rem; margin-top: 1rem;
}
@media (max-width: 768px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.product-card-img { position: relative; }
.product-card-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.product-card-body { padding: 1.75rem 2rem 2rem; text-align: center; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { font-size: 1.4rem; font-weight: 800; color: #0a2540; margin-bottom: 0.5rem; }
.product-card-body .p-sub { font-size: 0.85rem; font-weight: 600; color: #0f4c81; margin-bottom: 0.9rem; }
.product-card-body p { font-size: 0.92rem; color: #5a6a7e; line-height: 1.8; margin-bottom: 1.5rem; }
.product-card-body .p-btn {
    margin-top: auto;
    display: inline-block;
    background: #0f4c81; color: #fff;
    padding: 0.6rem 2.2rem; border-radius: 24px;
    font-weight: 600; font-size: 0.95rem;
    align-self: center;
    transition: background 0.2s;
}
.product-card-body .p-btn:hover { background: #1a6db5; }
.product-tag {
    position: absolute; top: 14px; left: 14px;
    background: rgba(230,126,34,0.92); color: #fff;
    font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.9rem;
    border-radius: 14px; letter-spacing: 1px;
}

/* ===== 价格详情（弱化样式，纯文字不抢视觉） ===== */
/* price-item 宽度 166px = 二维码 150px + 白底 16px，与下方二维码列中心对齐 */
.price-row {
    display: flex; justify-content: center; align-items: center;
    gap: 3rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.price-item { width: 166px; text-align: center; }
.price-name { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-bottom: 0.25rem; }
.price-value { font-size: 1.05rem; color: rgba(255,255,255,0.85); }
.price-value strong { color: #fff; font-weight: 600; }

/* ===== 段位体系 ===== */
.stage-note {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem;
}
@media (max-width: 768px) { .stage-note { grid-template-columns: 1fr; } }
.stage-note-item {
    background: #fff; border-radius: 12px; padding: 1.4rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03); text-align: center;
}
.stage-note-item .emoji { font-size: 1.6rem; display: block; margin-bottom: 0.4rem; }
.stage-note-item strong { display: block; font-size: 1rem; color: #0a2540; margin-bottom: 0.2rem; }
.stage-note-item span { font-size: 0.85rem; color: #6b7c93; }

/* ===== Contact CTA ===== */
.cta-section {
    background: linear-gradient(135deg, #0a2540 0%, #0f4c81 100%);
    color: #fff; text-align: center; padding: 4rem 2rem;
}
.cta-section h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; }
.cta-subtitle { color: rgba(255,255,255,0.8); margin-bottom: 3rem; font-size: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.contact-cards {
    display: flex; justify-content: center; align-items: flex-end;
    gap: 3rem; flex-wrap: wrap;
}
.contact-item { text-align: center; }

.contact-item {
    display: flex; flex-direction: column; align-items: center;
}
.contact-item-body {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    margin-bottom: 0.6rem;
}

.qr-box {
    display: inline-block; background: rgba(255,255,255,0.95);
    border-radius: 12px; padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.qr-box img { width: 150px; height: 150px; display: block; border-radius: 6px; }

.qr-label { font-size: 0.85rem; color: rgba(255,255,255,0.85); font-weight: 500; }

/* ===== Footer ===== */
.footer {
    background: #f0f3f8; padding: 2rem 2rem; text-align: center;
    font-size: 0.82rem; color: #8a97a8;
}
.nav-icon { width: 22px; height: 22px; vertical-align: text-bottom; margin-right: 0.4rem; display: inline-block; }
.footer .company { font-weight: 600; color: #0f4c81; margin-bottom: 0.3rem; }
.footer-icon { width: 18px; height: 18px; vertical-align: text-bottom; margin-right: 0.3rem; display: inline-block; }
.footer .email { color: #5a6a7e; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { display: none; }
    .section { padding: 3rem 1.25rem; }
    .advantages-list { grid-template-columns: repeat(2, 1fr); }
    .qr-box img { width: 128px; height: 128px; }
    .scenario-table th:last-child,
    .scenario-table .scenario-img-cell { display: none; }
}
@media (max-width: 480px) {
    .advantages-list { grid-template-columns: 1fr; }
}
