/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #7c3aed;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand h1 {
    font-size: 24px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero区域 */
.hero {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 10px;
    opacity: 0.9;
}

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

/* 三步操作流程 */
.steps {
    padding: 60px 0;
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 核心功能区域 */
.core-feature {
    padding: 60px 0;
    background: white;
}

.feature-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-box h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.input-group input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-primary {
    padding: 15px 40px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

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

.free-tip {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.auth-info {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-light);
}

.auth-info span {
    padding: 5px 12px;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

/* 痛点分析 */
.pain-points {
    padding: 60px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.pain-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pain-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.pain-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.pain-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* 终端支持 */
.terminal-support {
    padding: 60px 0;
    background: white;
}

.terminal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.terminal-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.terminal-card:hover {
    transform: translateY(-5px);
}

.terminal-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.terminal-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.terminal-tag {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.terminal-card p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.terminal-support-text {
    font-size: 14px;
    color: var(--success-color);
    font-weight: bold;
}

/* 对比优势 */
.comparison {
    padding: 60px 0;
    background: var(--bg-light);
}

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--gradient);
    color: white;
    padding: 20px;
    font-weight: bold;
    font-size: 18px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 25px 20px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.dimension {
    font-weight: bold;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.traditional, .our {
    padding: 0 15px;
}

.label {
    font-weight: bold;
    margin-bottom: 8px;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.traditional .label {
    background: #fee2e2;
    color: #dc2626;
}

.recommended-badge {
    background: #d1fae5;
    color: #059669;
}

.traditional p:last-child,
.our p:last-child {
    color: var(--text-light);
    font-size: 14px;
}

.our {
    background: #f0fdf4;
    border-radius: 8px;
}

.comparison-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
    color: var(--text-light);
}

.comparison-footer strong {
    color: var(--primary-color);
    font-size: 24px;
}

/* 平台支持矩阵 */
.platforms {
    padding: 60px 0;
    background: white;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.platform-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.platform-table thead {
    background: var(--gradient);
    color: white;
}

.platform-table th,
.platform-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.platform-table th {
    font-weight: bold;
    font-size: 16px;
}

.platform-table td:first-child {
    font-weight: bold;
    text-align: left;
    color: var(--text-dark);
}

.platform-table tbody tr:hover {
    background: var(--bg-light);
}

/* 功能特点 */
.features-detail {
    padding: 60px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.cta-box {
    text-align: center;
    padding: 30px;
    background: var(--gradient);
    color: white;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.cta-box:hover {
    transform: scale(1.02);
}

/* 定价方案 */
.pricing {
    padding: 60px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    background: var(--gradient);
    color: white;
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #fbbf24;
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.pricing-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.pricing-card.popular .pricing-desc {
    color: rgba(255, 255, 255, 0.9);
}

.price {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.pricing-card.popular .price {
    color: white;
}

.price span {
    font-size: 18px;
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.pricing-card.popular .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-note {
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-light);
}

.pricing-card.popular .pricing-note {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card button {
    width: 100%;
}

/* 用户评价 */
.reviews {
    padding: 60px 0;
    background: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.review-rating {
    color: #fbbf24;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
}

.review-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.review-author strong {
    color: var(--text-dark);
    font-size: 16px;
}

.review-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* 底部 */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .btn-primary {
        width: 100%;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .comparison-header > div:not(:first-child),
    .comparison-row > div:not(:first-child) {
        padding-left: 20px;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {
    .steps-grid,
    .pain-grid,
    .features-grid,
    .pricing-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h2 {
        font-size: 28px;
    }
}

/* 联系我们按钮 - 呼吸效果 */
.contact-link {
    color: #2563eb !important;
    font-weight: 600;
    position: relative;
    animation: breathe 2s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
    }
    50% {
        opacity: 0.7;
        text-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
    }
}

.contact-link:hover {
    animation: none;
    opacity: 1;
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.8);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s;
}

.modal-large {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #000;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #1f2937;
    font-size: 24px;
}

.modal-content p {
    margin: 15px 0;
    line-height: 1.8;
    color: #4b5563;
}

.modal-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 15px 0;
}

.modal-markdown {
    line-height: 1.8;
}

.modal-markdown h1 {
    font-size: 28px;
    margin: 20px 0 15px;
    color: #1f2937;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.modal-markdown h2 {
    font-size: 24px;
    margin: 18px 0 12px;
    color: #1f2937;
}

.modal-markdown h3 {
    font-size: 20px;
    margin: 15px 0 10px;
    color: #1f2937;
}

.modal-markdown strong {
    color: #1f2937;
    font-weight: 600;
}

.modal-markdown em {
    color: #4b5563;
    font-style: italic;
}
