@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* ============================================
   搜同网 — 设计系统 v1.0
   风格：东方浮世绘 × 现代杂志
   色彩：宣纸米白 × 朱砂红 × 松石绿 × 金箔
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    overflow-x: hidden;
    background: #faf6ee;
    color: #4a3f35;
    line-height: 1.75;
    letter-spacing: 0.02em;
}

/* ---------- 核心布局 ---------- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
    position: relative;
}

.section:nth-child(even) {
    background: #f5efe3;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e4572e, transparent);
}

/* ---------- 装饰纹理 ---------- */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(230, 87, 46, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(36, 123, 124, 0.04) 0%, transparent 40%);
}

/* ---------- 导航固定顶栏 ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 246, 238, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(228, 87, 46, 0.12);
    transition: box-shadow 0.3s ease;
}

.site-header:hover {
    box-shadow: 0 4px 24px rgba(228, 87, 46, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.35rem;
    text-decoration: none;
    color: #3d3a2f;
    letter-spacing: 0.04em;
    font-family: 'Noto Serif SC', serif;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #e4572e, #f4a340);
    border-radius: 50% 50% 50% 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #faf6ee;
    box-shadow: 0 2px 8px rgba(228, 87, 46, 0.3);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a3f35;
    transition: color 0.3s;
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e4572e;
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #e4572e;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 9px 22px;
    border-radius: 30px;
    color: #faf6ee !important;
    font-weight: 600;
    background: linear-gradient(135deg, #e4572e, #d64524);
    box-shadow: 0 2px 12px rgba(228, 87, 46, 0.25);
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(228, 87, 46, 0.35);
}

.menu-toggle {
    display: none;
}

/* ---------- Hero 区域 ---------- */

.hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #faf6ee 0%, #f0e8d8 60%, #e8ddc8 100%);
    padding-top: 72px;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.hero::after {
    content: '搜';
    position: absolute;
    right: 4%;
    bottom: 10%;
    font-family: 'Noto Serif SC', serif;
    font-size: 22rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(228, 87, 46, 0.06);
    z-index: 0;
    pointer-events: none;
    letter-spacing: -0.05em;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 18px;
    background: rgba(36, 123, 124, 0.12);
    color: #247b7c;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid rgba(36, 123, 124, 0.16);
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.25;
    margin-bottom: 20px;
    font-family: 'Noto Serif SC', serif;
    font-weight: 900;
    color: #3d3a2f;
    letter-spacing: -0.01em;
}

.hero h1 .text-accent {
    color: #e4572e;
    position: relative;
    display: inline-block;
}

.hero h1 .text-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(228, 87, 46, 0.12);
    z-index: -1;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 560px;
    margin-bottom: 32px;
    font-weight: 300;
    color: #5a4f43;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 24px 48px rgba(74, 63, 53, 0.12);
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* ---------- 按钮 ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.btn-primary {
    color: #faf6ee;
    background: linear-gradient(135deg, #e4572e, #d64524);
    box-shadow: 0 4px 16px rgba(228, 87, 46, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(228, 87, 46, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #247b7c;
    color: #247b7c;
}

.btn-outline:hover {
    background: rgba(36, 123, 124, 0.06);
    transform: translateY(-2px);
}

/* ---------- 标签/标题 ---------- */

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    margin-bottom: 12px;
    color: #e4572e;
    text-transform: uppercase;
    position: relative;
    padding-left: 22px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 1.5px;
    background: #e4572e;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 14px;
    font-family: 'Noto Serif SC', serif;
    font-weight: 900;
    color: #3d3a2f;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.section-desc {
    max-width: 600px;
    opacity: 0.7;
    margin-bottom: 48px;
    font-weight: 300;
    color: #5a4f43;
}

/* ---------- 卡片网格 ---------- */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.category-card {
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid rgba(74, 63, 53, 0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e4572e, #f4a340, #247b7c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(74, 63, 53, 0.08);
    background: #ffffff;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(228, 87, 46, 0.1), rgba(36, 123, 124, 0.1));
    color: #e4572e;
}

.card-link {
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    color: #247b7c;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 8px;
    color: #e4572e;
}

/* ---------- 特性块 ---------- */

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.feature-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(74, 63, 53, 0.1);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-text {
    padding: 20px 0;
}

.feature-list {
    list-style: none;
    margin-top: 16px;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    color: #5a4f43;
}

.feature-list li::before {
    content: '✦';
    font-weight: 700;
    color: #e4572e;
    font-size: 0.8rem;
}

/* ---------- 数据条 ---------- */

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 36px 24px;
    border-radius: 16px;
    border: 1px solid rgba(74, 63, 53, 0.08);
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(74, 63, 53, 0.06);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    font-family: 'Noto Serif SC', serif;
    color: #e4572e;
    line-height: 1.2;
}

.stat-number::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #247b7c;
    margin: 8px auto 0;
    border-radius: 2px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 8px;
    font-weight: 300;
}

/* ---------- 内容墙 ---------- */

.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.content-wall-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(74, 63, 53, 0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #fff;
}

.content-wall-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(74, 63, 53, 0.08);
}

.content-wall-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-wall-item:hover img {
    transform: scale(1.04);
}

.content-wall-body {
    padding: 24px;
}

/* ---------- FAQ ---------- */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(74, 63, 53, 0.1);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(74, 63, 53, 0.05);
}

.faq-item .faq-question {
    padding: 18px 24px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #3d3a2f;
    font-size: 1rem;
}

.faq-item .faq-question::after {
    content: '＋';
    font-size: 1.2rem;
    color: #247b7c;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    content: '−';
    transform: rotate(180deg);
    color: #e4572e;
}

.faq-item .faq-answer {
    padding: 0 24px 18px;
    display: none;
    opacity: 0.7;
    font-weight: 300;
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 0.7; transform: translateY(0); }
}

/* ---------- CTA横幅 ---------- */

.cta-banner {
    padding: 64px 24px;
    text-align: center;
    border-radius: 20px;
    color: #faf6ee;
    background: linear-gradient(135deg, #e4572e 0%, #d64524 60%, #c43a1e 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 10%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.cta-banner h2 {
    color: #faf6ee;
    font-family: 'Noto Serif SC', serif;
    font-size: 2rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    position: relative;
    z-index: 1;
    opacity: 0.9;
    margin-bottom: 28px;
}

.cta-banner .btn-primary {
    background: #faf6ee;
    color: #e4572e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.cta-banner .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ---------- 页脚 ---------- */

.site-footer {
    padding: 72px 0 32px;
    background: #f0e8d8;
    border-top: 1px solid rgba(74, 63, 53, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand {
    padding-right: 24px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.7;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #3d3a2f;
    font-family: 'Noto Serif SC', serif;
}

.footer-col a {
    text-decoration: none;
    color: #5a4f43;
    font-size: 0.9rem;
    font-weight: 300;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col a:hover {
    color: #e4572e;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(74, 63, 53, 0.12);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
    font-weight: 300;
}

/* ---------- 工具类 ---------- */

.text-accent {
    color: #e4572e;
}

.text-center {
    text-align: center;
}

.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0.7;
    font-weight: 300;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 装饰分割线 ---------- */

.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #e4572e, #f4a340);
    margin: 32px auto;
    border-radius: 2px;
}

/* ---------- Logo动画 ---------- */

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.logo-icon {
    animation: breathe 4s ease-in-out infinite;
}

/* ---------- Hero入场动画 ---------- */

@keyframes heroIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
    animation: heroIn 0.8s ease both;
}

.hero-content > *:nth-child(2) { animation-delay: 0.1s; }
.hero-content > *:nth-child(3) { animation-delay: 0.2s; }
.hero-content > *:nth-child(4) { animation-delay: 0.3s; }

/* ---------- 响应式 ---------- */

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .section { padding: 72px 0; }
    .hero h1 { font-size: 2rem; }
    .hero { min-height: 70vh; }
    .hero::after { font-size: 10rem; right: -10%; }
    .section-title { font-size: 1.8rem; }
    
    .feature-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        cursor: pointer;
        gap: 5px;
    }
    
    .menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: #4a3f35;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #faf6ee;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 12px 32px rgba(74, 63, 53, 0.1);
        border-bottom: 2px solid #e4572e;
    }
    
    .main-nav.open a {
        font-size: 1rem;
        padding: 8px 0;
    }
    
    .nav-cta {
        text-align: center;
        margin-top: 8px;
    }
    
    .feature-image {
        order: -1;
    }
    
    .faq-item .faq-question {
        font-size: 0.95rem;
        padding: 16px 18px;
    }
}

@media (max-width: 480px) {
    .cards-grid,
    .content-wall,
    .stats-bar {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .cta-banner {
        padding: 48px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-banner h2 {
        font-size: 1.5rem;
    }
}

/* ---------- 滚动条 ---------- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf6ee;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e4572e, #f4a340);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d64524, #e09030);
}

/* ---------- 文本选择 ---------- */

::selection {
    background: rgba(228, 87, 46, 0.2);
    color: #4a3f35;
}

/* ---------- 卡片背景 ---------- */

.section:nth-child(odd) .category-card,
.section:nth-child(odd) .content-wall-item {
    background: #faf6ee;
}

.section:nth-child(even) .category-card,
.section:nth-child(even) .content-wall-item {
    background: #f5efe3;
}

/* ---------- 装饰句 ---------- */

.hero .text-accent {
    color: #247b7c;
}

/* ---------- 品牌强调 ---------- */

.logo span:last-child {
    color: #e4572e;
}

/* ---------- 图片渐变遮罩 ---------- */

.content-wall-item {
    position: relative;
}

.content-wall-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(228, 87, 46, 0) 60%, rgba(228, 87, 46, 0.03));
    z-index: 1;
    pointer-events: none;
}