/* ========================================
   统计群官网 - 微信风格样式
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #07c160;
    --primary-dark: #06ad56;
    --primary-light: #e8f8ef;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-gray: #f7f7f7;
    --bg-dark: #1a1a1a;
    --border: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.btn-white {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-white:hover {
    background: var(--bg-gray);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ---------- Section Common ---------- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    height: 64px;
    overflow: visible;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo i {
    color: var(--primary);
    font-size: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

/* ---------- Hero ---------- */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-gray) 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px;
}

.graphic-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 0 0 20px rgba(7, 193, 96, 0.1), 0 0 0 40px rgba(7, 193, 96, 0.05);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 20px rgba(7, 193, 96, 0.1), 0 0 0 40px rgba(7, 193, 96, 0.05); }
    50% { box-shadow: 0 0 0 30px rgba(7, 193, 96, 0.15), 0 0 0 60px rgba(7, 193, 96, 0.08); }
}

.graphic-card {
    position: absolute;
    background: white;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 6s ease-in-out infinite;
}

.graphic-card i {
    font-size: 24px;
    color: var(--primary);
}

.card-1 {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.card-2 {
    bottom: 60px;
    left: 0;
    animation-delay: 2s;
}

.card-3 {
    bottom: 60px;
    right: 0;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-1 { animation-name: float1; }
@keyframes float1 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ---------- Products ---------- */
.products {
    padding: 100px 0;
    background: var(--bg-white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-light) 100%);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.product-icon.manual {
    background: #e8f0fe;
    color: #4285f4;
}

.product-icon.auto {
    background: var(--primary-light);
    color: var(--primary);
}

.product-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.product-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-features {
    margin-bottom: 32px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.product-features li i {
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
}

.product-price {
    margin-bottom: 24px;
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
}

.price-unit {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* ---------- Product Showcase ---------- */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 60px;
}

.showcase-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: white;
    transition: var(--transition);
}

.showcase-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.showcase-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
}

.showcase-label i {
    color: var(--primary);
    font-size: 18px;
}

.showcase-image {
    aspect-ratio: 8 / 5;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-img {
    text-align: center;
    color: var(--text-light);
}

.placeholder-img i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
    color: #ccc;
}

.placeholder-img p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.placeholder-img small {
    font-size: 13px;
    color: var(--text-light);
}

/* ---------- Product Video ---------- */
.product-video {
    margin-top: 60px;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
}

.video-wrapper video,
.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

.placeholder-video {
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.placeholder-video i {
    font-size: 64px;
    margin-bottom: 16px;
    color: var(--primary);
    opacity: 0.8;
}

.placeholder-video p {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.placeholder-video small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- Compare ---------- */
.compare {
    padding: 100px 0;
    background: var(--bg-gray);
}

.compare-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 700px;
}

.compare-table th,
.compare-table td {
    padding: 20px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.compare-table thead th {
    background: var(--bg-gray);
    padding: 0;
}

.plan-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    font-weight: 700;
    font-size: 16px;
}

.plan-header i {
    font-size: 28px;
}

.plan-header.manual {
    color: #4285f4;
}

.plan-header.auto {
    color: var(--primary);
}

.plan-header.feature {
    color: #ff9500;
}

.feature-name {
    text-align: center !important;
    font-weight: 500;
    color: var(--text-primary);
}

.compare-table td {
    font-size: 14px;
    color: var(--text-secondary);
}

.check {
    color: var(--primary);
    margin-right: 6px;
}

.cross {
    color: #ddd;
}

.price-row {
    background: var(--primary-light);
}

.price-row td {
    font-size: 18px;
    color: #ff0000;
    font-weight: 700;
    border-bottom: none;
}

/* ---------- Pricing ---------- */
.pricing {
    padding: 100px 0;
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 24px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

.pricing-header {
    padding: 40px 32px 20px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

.pricing-body {
    padding: 0 32px 32px;
}

.price {
    text-align: center;
    margin-bottom: 8px;
}

.currency {
    font-size: 24px;
    font-weight: 700;
    vertical-align: top;
    line-height: 1.4;
    color: #ff0000;
}

.amount {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: #ff0000;
}

.period {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

.price-note {
    text-align: center;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 32px;
    font-weight: 500;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--bg-gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    font-size: 14px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.pricing-features li:not(.disabled) i {
    color: var(--primary);
}

.pricing-features li.disabled {
    color: var(--text-light);
}

.pricing-features li.disabled i {
    color: #ddd;
}

.pricing-footer {
    padding: 0 32px 32px;
}

/* ---------- Download ---------- */
.download {
    padding: 80px 0;
    background: var(--primary);
}

.download-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.download-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.download-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.download-options {
    display: flex;
    gap: 24px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.download-item i {
    font-size: 20px;
}

.download-action {
    text-align: center;
    flex-shrink: 0;
}

.download-note {
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- FAQ ---------- */
.faq {
    padding: 100px 0;
    background: var(--bg-gray);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-item p {
    font-size: 15px;
    color: var(--text-secondary);
}

.info-note {
    font-size: 13px !important;
    color: var(--text-light) !important;
    margin-top: 2px;
}

/* Form */
.contact-form {
    background: var(--bg-gray);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--text-primary);
    background: white;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 16px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand .logo i {
    color: var(--primary);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

    .product-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .product-showcase {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 60px auto 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .download-box {
        flex-direction: column;
        text-align: center;
    }

    .download-options {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

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

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Menu */
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        padding: 16px 24px 24px;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border-top: 1px solid var(--border);
        z-index: 999;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    .nav-links.active li {
        width: 100%;
    }

    .nav-links.active a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--bg-gray);
    }

    .nav-links.active a::after {
        display: none;
    }

    .hero {
        padding: 120px 0 80px;
    }

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

    .hero-desc {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

    .section-title {
        font-size: 28px;
    }

    .section-desc {
        font-size: 16px;
    }

    .products,
    .compare,
    .pricing,
    .faq,
    .contact {
        padding: 70px 0;
    }

    .product-card {
        padding: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px 16px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-links h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .footer-links ul li {
        margin-bottom: 8px;
    }

    .footer-links ul a {
        font-size: 13px;
    }

    .download-content h2 {
        font-size: 24px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    /* ===== 对比表移动端卡片化 ===== */
    .compare-table-wrapper {
        box-shadow: none;
        overflow: visible;
    }

    .compare-table {
        min-width: 0;
        background: transparent;
        border-collapse: separate;
        border-spacing: 0 12px;
    }

    .compare-table thead,
    .compare-table tbody,
    .compare-table tr {
        display: block;
        width: 100%;
    }

    /* 隐藏表头 */
    .compare-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    /* 每行变成一张卡片 */
    .compare-table tbody tr {
        background: white;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        padding: 16px;
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .compare-table tbody tr.price-row {
        background: var(--primary-light);
    }

    /* 所有 td 统一变为 block */
    .compare-table td {
        display: block;
        border-bottom: none;
        padding: 0;
        text-align: center;
    }

    /* 功能名：占满整行，居中 */
    .compare-table td.feature-name {
        width: 100%;
        font-size: 15px;
        font-weight: 700;
        color: var(--text-primary);
        text-align: center;
        padding-bottom: 12px;
        margin-bottom: 12px;
        border-bottom: 1px solid var(--border);
    }

    .price-row td.feature-name {
        border-bottom-color: rgba(7, 193, 96, 0.2);
    }

    /* 两个数据列各占一半，并排 */
    .compare-table td[data-label] {
        width: 50%;
        padding-top: 4px;
        font-size: 13px;
        color: var(--text-secondary);
        box-sizing: border-box;
    }

    .compare-table td[data-label]:first-of-type {
        border-right: 1px solid var(--border);
        padding-right: 8px;
    }

    .compare-table td[data-label]:last-of-type {
        padding-left: 8px;
    }

    .price-row td[data-label] {
        font-size: 16px;
        font-weight: 700;
        color: var(--text-primary);
    }

    /* data-label 伪元素显示版本名 */
    .compare-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 600;
        margin-bottom: 6px;
        letter-spacing: 0.5px;
    }

    .compare-table td[data-label]:first-of-type::before {
        color: #4285f4;
    }

    .compare-table td[data-label]:last-of-type::before {
        color: var(--primary);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .amount {
        font-size: 44px;
    }

    .pricing-card {
        padding: 0;
    }

    .pricing-header {
        padding: 32px 24px 16px;
    }

    .pricing-body {
        padding: 0 24px 24px;
    }

    .pricing-footer {
        padding: 0 24px 24px;
    }
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
