/* ============================================
   青磐AI营销 - GEO优化网站样式表
   中国房地产GEO先行者
   ============================================ */

/* CSS Variables - 设计令牌（爱马仕橙） */
:root {
    --color-primary: #2b1810;
    --color-primary-light: #5c2e1a;
    --color-accent: #e66a1b;
    --color-accent-light: #f08c4a;
    --color-accent-dark: #c25416;
    --color-bg: #ffffff;
    --color-bg-soft: #fdf6f0;
    --color-bg-dark: #2b1810;
    --color-text: #2d1810;
    --color-text-light: #6b4a3a;
    --color-text-muted: #8a6b5a;
    --color-text-on-dark: #ffffff;
    --color-text-on-dark-muted: #f0d8c0;
    --color-border: #f0e0d4;
    --color-success: #16a34a;
    --color-danger: #dc2626;

    --gradient-primary: linear-gradient(135deg, #2b1810 0%, #5c2e1a 100%);
    --gradient-accent: linear-gradient(135deg, #e66a1b 0%, #f08c4a 100%);
    --gradient-hero: linear-gradient(135deg, #2b1810 0%, #5c2e1a 50%, #c25416 100%);

    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.10), 0 10px 10px -5px rgba(0,0,0,0.03);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
    --font-serif: "Georgia", "Songti SC", "宋体", serif;

    --container-max: 1200px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-accent-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-accent);
}

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

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text small {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-accent-dark);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-accent-dark);
    background: rgba(230, 106, 27, 0.08);
}

.nav-cta {
    padding: 9px 20px !important;
    background: var(--gradient-accent);
    color: #fff !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--color-accent-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-primary);
}

/* ===== Hero ===== */
.hero {
    background: var(--gradient-hero);
    color: var(--color-text-on-dark);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 106, 27,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(96,165,250,0.10) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(230, 106, 27, 0.15);
    border: 1px solid rgba(230, 106, 27, 0.4);
    border-radius: 999px;
    font-size: 13px;
    color: var(--color-accent-light);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--color-text-on-dark-muted);
    max-width: 680px;
    margin: 0 auto 36px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 106, 27, 0.35);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--color-text-on-dark);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

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

/* ===== Section ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
    line-height: 1.25;
}

.section-desc {
    font-size: 17px;
    color: var(--color-text-light);
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(230, 106, 27,0.12), rgba(230, 106, 27,0.04));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tag {
    padding: 4px 10px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 12px;
    color: var(--color-text-light);
}

/* ===== Stats / Why GEO ===== */
.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
}

.section-dark .section-title {
    color: var(--color-text-on-dark);
}

.section-dark .section-desc {
    color: var(--color-text-on-dark-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 56px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
}

.stat-number {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 15px;
    color: var(--color-text-on-dark-muted);
    margin-bottom: 6px;
}

.stat-source {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.geo-logic {
    max-width: 860px;
    margin: 0 auto;
    padding: 36px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-accent);
}

.geo-logic h4 {
    font-size: 18px;
    color: var(--color-accent-light);
    margin-bottom: 12px;
}

.geo-logic p {
    color: var(--color-text-on-dark-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* ===== Cases ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.case-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    border-color: var(--color-accent-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.case-cover {
    height: 180px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

.case-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(230, 106, 27,0.3), transparent 60%);
}

.case-cover .case-cover-title {
    position: relative;
    z-index: 2;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    padding: 0 20px;
}

.case-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 4px 10px;
    background: rgba(230, 106, 27,0.9);
    color: #fff;
    font-size: 12px;
    border-radius: 999px;
    font-weight: 500;
}

.case-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.case-body p {
    font-size: 14px;
    color: var(--color-text-light);
    flex: 1;
    margin-bottom: 16px;
}

.case-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.case-meta span {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ===== Process ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.process-step {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.process-step .step-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 64px;
    font-weight: 800;
    color: var(--color-bg-soft);
    line-height: 1;
}

.process-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(230, 106, 27,0.12), rgba(230, 106, 27,0.02));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
    z-index: 2;
}

.process-step h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.process-step p {
    font-size: 14px;
    color: var(--color-text-light);
    position: relative;
    z-index: 2;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: var(--gradient-primary);
    color: #fff;
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(230, 106, 27,0.15), transparent 60%);
}

.cta-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-banner h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 17px;
    color: var(--color-text-on-dark-muted);
    margin-bottom: 32px;
}

/* ===== Page Hero (内页头部) ===== */
.page-hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: 120px 0 56px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 800;
    margin-bottom: 14px;
}

.page-hero p {
    font-size: 17px;
    color: var(--color-text-on-dark-muted);
    max-width: 680px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--color-text-on-dark-muted);
}

.breadcrumb a {
    color: var(--color-accent-light);
}

/* ===== Article / Case Detail ===== */
.article-body {
    max-width: 820px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.85;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 40px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
}

.article-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 28px 0 12px;
}

.article-body h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-accent-dark);
    margin: 20px 0 8px;
}

.article-body p {
    margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
    margin: 16px 0 16px 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--color-bg-soft);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.info-table th,
.info-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
}

.info-table th {
    background: var(--color-bg-soft);
    font-weight: 600;
    color: var(--color-text);
    width: 200px;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.result-card {
    padding: 24px;
    background: linear-gradient(135deg, rgba(230, 106, 27,0.06), rgba(230, 106, 27,0.01));
    border: 1px solid rgba(230, 106, 27,0.2);
    border-radius: var(--radius-md);
    text-align: center;
}

.result-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-accent-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.result-label {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 4px;
    font-weight: 600;
}

.result-desc {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Challenge List */
.challenge-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.challenge-list li {
    padding: 16px 20px;
    background: var(--color-bg-soft);
    border-left: 3px solid var(--color-danger);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.challenge-list strong {
    color: var(--color-primary);
}

/* Solution Block */
.solution-block {
    margin: 24px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    border-top: 3px solid var(--color-accent);
}

.solution-block h4 {
    color: var(--color-accent-dark);
    margin-bottom: 8px;
}

/* ===== Ranking Box (排名展示) ===== */
.ranking-box {
    margin: 32px 0;
    padding: 32px;
    background: linear-gradient(135deg, #fdf6f0 0%, #fff 100%);
    border: 1px solid var(--color-accent-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.ranking-box-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ranking-box-subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ranking-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.ranking-list li:hover {
    border-color: var(--color-accent-light);
    box-shadow: var(--shadow-sm);
}

.ranking-list li.rank-1 {
    background: linear-gradient(135deg, #fdf6f0, #fce8d5);
    border-color: var(--color-accent);
    border-width: 2px;
}

.rank-badge {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
}

.rank-1 .rank-badge {
    background: var(--gradient-accent);
    box-shadow: 0 4px 12px rgba(230, 106, 27,0.4);
}

.rank-2 .rank-badge {
    background: #94a3b8;
}

.rank-3 .rank-badge {
    background: #b08968;
}

.rank-content {
    flex: 1;
}

.rank-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.rank-1 .rank-name {
    color: var(--color-accent-dark);
}

.rank-desc {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.ranking-analysis {
    margin-top: 20px;
    padding: 20px;
    background: rgba(10,22,40,0.03);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-accent);
}

.ranking-analysis h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.ranking-analysis p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== News List ===== */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.news-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: var(--color-accent-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.news-cover {
    height: 180px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.news-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(230, 106, 27,0.35), transparent 70%);
}

.news-cover .news-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 4px 12px;
    background: rgba(230, 106, 27,0.95);
    color: #fff;
    font-size: 12px;
    border-radius: 999px;
    font-weight: 500;
}

.news-cover .news-cover-text {
    position: relative;
    z-index: 2;
    font-size: 40px;
    opacity: 0.5;
}

.news-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.news-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-body p {
    font-size: 14px;
    color: var(--color-text-light);
    flex: 1;
    margin-bottom: 16px;
}

.news-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent-dark);
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(230, 106, 27,0.12), rgba(230, 106, 27,0.02));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 16px;
    color: var(--color-primary);
    font-weight: 600;
}

.contact-form {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: #fff;
    color: var(--color-text);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(230, 106, 27,0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--color-primary);
    color: var(--color-text-on-dark-muted);
    padding: 56px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--color-text-on-dark-muted);
}

.footer-col a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.footer-bottom a {
    color: var(--color-text-on-dark-muted);
}

/* ===== Article Meta ===== */
.article-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Article Nav */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.article-nav a {
    padding: 20px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.article-nav a:hover {
    border-color: var(--color-accent-light);
    background: #fff;
}

.article-nav .nav-label {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.article-nav .nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
}

.article-nav .nav-next {
    text-align: right;
}

/* ===== Advantages ===== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.advantage-card {
    padding: 32px 28px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    background: #fff;
    border-color: var(--color-accent-light);
    box-shadow: var(--shadow-lg);
}

.advantage-card .stat-number {
    font-size: 36px;
    margin-bottom: 8px;
}

.advantage-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .article-nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        padding: 14px 16px;
        border-bottom: 1px solid var(--color-border);
    }

    .menu-toggle {
        display: block;
    }

    section {
        padding: 56px 0;
    }

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

    .info-table th {
        width: 130px;
    }
}

/* Print */
@media print {
    .site-header, .site-footer, .cta-banner, .menu-toggle {
        display: none;
    }
}

/* ============================================
   管理后台样式
   ============================================ */

/* 管理入口按钮 */
.admin-entry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(230, 106, 27, 0.08);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--color-accent-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.admin-entry:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* 登录弹窗 */
.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 36, 97, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-overlay.open {
    display: flex;
}

.login-modal {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
    padding: 40px 36px;
    position: relative;
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--color-bg-soft);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: var(--color-text-light);
    line-height: 1;
}

.login-modal h2 {
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 8px;
    text-align: center;
}

.login-modal .login-sub {
    font-size: 14px;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 28px;
}

.login-modal .form-group {
    margin-bottom: 18px;
}

.login-modal .login-hint {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
}

.login-error {
    color: var(--color-danger);
    font-size: 13px;
    margin-top: 8px;
    text-align: center;
    min-height: 18px;
}

/* 管理后台布局 */
.admin-layout {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
}

.admin-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.admin-bar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.admin-bar-user .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
}

.admin-bar-actions {
    display: flex;
    gap: 12px;
}

.admin-btn {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.admin-btn-primary:hover {
    background: var(--color-accent-dark);
    color: #fff;
}

.admin-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}

.admin-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.admin-btn-danger {
    background: transparent;
    color: #fecaca;
    border: 1px solid rgba(254,202,202,0.3);
}

.admin-btn-danger:hover {
    background: rgba(220,38,38,0.2);
    color: #fff;
}

/* 管理面板 */
.admin-panel {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.admin-panel-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 管理列表项 */
.admin-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.admin-list-item:hover {
    border-color: var(--color-accent-light);
    box-shadow: var(--shadow-sm);
}

.admin-list-item-info {
    flex: 1;
    min-width: 0;
}

.admin-list-item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-list-item-meta {
    font-size: 12px;
    color: var(--color-text-muted);
}

.admin-list-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.admin-mini-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.admin-mini-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
}

.admin-mini-btn.danger:hover {
    border-color: var(--color-danger);
    color: var(--color-danger);
    background: rgba(220,38,38,0.05);
}

/* 编辑器表单 */
.editor-form {
    display: grid;
    gap: 20px;
}

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

.editor-form textarea {
    min-height: 120px;
}

.editor-form .editor-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.editor-form .full {
    grid-column: 1 / -1;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--color-text-muted);
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
}

/* 管理徽章 */
.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(230, 106, 27, 0.1);
    color: var(--color-accent-dark);
    font-size: 11px;
    border-radius: 999px;
    font-weight: 600;
}

/* 自定义案例卡片标记 */
.custom-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    padding: 4px 10px;
    background: rgba(230, 106, 27,0.95);
    color: #fff;
    font-size: 11px;
    border-radius: 999px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .editor-form .form-row-2 {
        grid-template-columns: 1fr;
    }
    .admin-bar {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .admin-list-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   FAQ 板块样式（提升 AI 采信与引用率）
   ============================================ */
.faq-section {
    margin: 48px 0 32px;
    padding: 36px 32px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.faq-section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-section-subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--color-bg-soft);
    transition: all 0.25s ease;
}

.faq-item:hover {
    border-color: var(--color-accent-light);
    box-shadow: var(--shadow-sm);
}

.faq-item.open {
    border-color: var(--color-accent);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.5;
    user-select: none;
}

.faq-question .q-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.25s ease;
}

.faq-item.open .q-icon {
    transform: rotate(45deg);
    background: var(--color-accent-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 22px;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 22px 20px;
}

.faq-answer-inner {
    padding-top: 4px;
    border-top: 1px dashed var(--color-border);
    padding-top: 16px;
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.85;
}

.faq-answer-inner strong {
    color: var(--color-accent-dark);
}

.faq-answer-inner a {
    color: var(--color-accent-dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 24px 20px;
    }
    .faq-question {
        font-size: 15px;
        padding: 16px 18px;
    }
}

