/* 番茄社区 官网 全站通用样式 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    color: #2c2c2c;
    background-color: #fafaf8;
    line-height: 1.8;
    font-size: 16px;
}

a {
    color: #e54d42;
    text-decoration: none;
}
a:hover {
    color: #c93a30;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 顶部导航 */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    font-size: 22px;
    font-weight: 700;
    color: #e54d42;
}
.logo .logo-sub {
    font-size: 13px;
    color: #666;
    font-weight: 400;
    margin-left: 8px;
}
.site-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}
.site-nav a {
    color: #333;
    font-size: 15px;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}
.site-nav a:hover,
.site-nav a.current {
    color: #e54d42;
    border-bottom-color: #e54d42;
    text-decoration: none;
}

/* 面包屑 */
.breadcrumb {
    background: #f3f3f1;
    padding: 14px 0;
    font-size: 14px;
    color: #666;
}
.breadcrumb a {
    color: #555;
}
.breadcrumb .sep {
    margin: 0 6px;
    color: #bbb;
}
.breadcrumb .current {
    color: #333;
}

/* 主视觉 Banner */
.hero {
    background: linear-gradient(135deg, #fff4f0 0%, #ffeae2 100%);
    padding: 80px 0 70px;
}
.hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-text {
    flex: 1;
    min-width: 320px;
}
.hero-text h1 {
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 18px;
    color: #2b2b2b;
}
.hero-text .lead {
    font-size: 17px;
    color: #555;
    margin-bottom: 28px;
}
.hero-btn {
    display: inline-block;
    background: #e54d42;
    color: #fff;
    padding: 14px 30px;
    border-radius: 6px;
    margin-right: 14px;
    font-size: 16px;
    font-weight: 500;
}
.hero-btn.ghost {
    background: #fff;
    color: #e54d42;
    border: 1px solid #e54d42;
}
.hero-btn:hover { text-decoration: none; }
.hero-visual {
    flex: 1;
    min-width: 320px;
    text-align: center;
}
.hero-visual img {
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(229, 77, 66, 0.15);
    margin: 0 auto;
}

/* 通用区块 */
.section {
    padding: 64px 0;
}
.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 8px;
    color: #2b2b2b;
}
.section-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 40px;
    font-size: 15px;
}

/* 特色 Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-item {
    background: #fff;
    padding: 32px 28px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}
.feature-item h3 {
    font-size: 18px;
    color: #e54d42;
    margin-bottom: 12px;
}
.feature-item p {
    color: #555;
    font-size: 14px;
}

/* 图文穿插 */
.media-row {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.media-row.reverse .media-text { order: 2; }
.media-row.reverse .media-visual { order: 1; }
.media-text, .media-visual { flex: 1; min-width: 300px; }
.media-text h2 {
    font-size: 26px;
    margin-bottom: 16px;
    color: #2b2b2b;
}
.media-text p {
    color: #555;
    font-size: 15px;
    margin-bottom: 14px;
}
.media-visual img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* 列表表格 */
.basic-list {
    list-style: none;
    padding: 0;
}
.basic-list li {
    padding: 8px 0;
    color: #444;
    border-bottom: 1px dashed #eee;
}
.basic-list li::before {
    content: "•";
    color: #e54d42;
    margin-right: 10px;
    font-size: 20px;
}

.table-wrap {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-top: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.table-wrap th,
.table-wrap td {
    border: 1px solid #eee;
    padding: 14px 18px;
    text-align: left;
    font-size: 14px;
}
.table-wrap th {
    background: #fff4f0;
    color: #e54d42;
    font-weight: 600;
}

/* 下载卡片 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.download-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.download-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.download-card p {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}
.download-card .big-btn {
    display: inline-block;
    background: #e54d42;
    color: #fff;
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
}
.download-card .big-btn:hover { text-decoration: none; background: #c93a30; }

/* 信息卡 */
.info-card {
    background: #fff;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    margin-bottom: 24px;
}
.info-card h3 {
    font-size: 18px;
    color: #e54d42;
    margin-bottom: 12px;
}

/* 底部 */
.site-footer {
    background: #2b2b2b;
    color: #c9c9c9;
    padding: 52px 0 28px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 36px;
    margin-bottom: 28px;
}
.footer-grid h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 16px;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid ul li a { color: #b8b8b8; }
.footer-grid ul li a:hover { color: #ff7b72; text-decoration: none; }
.footer-brand p {
    font-size: 14px;
    line-height: 1.9;
}
.contact-line {
    font-size: 14px;
    margin-bottom: 8px;
}
.copy {
    border-top: 1px solid #3a3a3a;
    padding-top: 18px;
    font-size: 13px;
    text-align: center;
    color: #888;
}

/* 小屏适配 */
@media (max-width: 900px) {
    .feature-grid { grid-template-columns: 1fr; }
    .download-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .site-nav ul { gap: 16px; font-size: 14px; }
    .hero-text h1 { font-size: 30px; }
}
@media (max-width: 640px) {
    .header-inner { flex-wrap: wrap; height: auto; padding: 12px 24px; }
    .site-nav ul { flex-wrap: wrap; gap: 10px; }
    .hero { padding: 48px 0 40px; }
    .section { padding: 40px 0; }
    .footer-grid { grid-template-columns: 1fr; }
}
