/* ==========================================================
   FBADSMentor — 视觉风格参考 Samantha Digital
   森林绿 + 白色交替 · 金色强调 · 衬线大字 · 专业顾问调性
   ========================================================== */

/* ========== 颜色变量 ========== */
:root {
    --accent: #F3C35F;
    --accent-hover: #E8B442;
    --accent-light: #FEF9EC;
    --green: #488D55;
    --green-dark: #1A3D24;
    --green-card: #2D6B3A;
    --text-primary: #161616;
    --text-secondary: #5A6472;
    --text-on-dark: rgba(255, 255, 255, 0.72);
    --border: #E2E8F0;
    --bg-light: #F3F4F4;
}

/* ========== 全局 ========== */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
}

::selection {
    background: var(--green);
    color: #fff;
}

/* ========== 导航 ========== */
.nav-link {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-link:hover { color: #fff; }

/* ========== Hero ========== */
.hero-section {
    background: url('/static/images/hero-bg.jpg') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}
/* 遮罩层：中心暗 + 边缘通透 + 波浪线 */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='640' viewBox='0 0 1440 640' preserveAspectRatio='xMidYMid slice'%3E%3Cpath d='M-200,60 C200,0 500,130 800,60 C1100,-10 1250,100 1640,60' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1.5'/%3E%3Cpath d='M-200,160 C100,100 500,220 800,160 C1100,100 1300,200 1640,160' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='2'/%3E%3Cpath d='M-200,280 C150,210 500,350 800,280 C1100,210 1300,320 1640,280' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1.5'/%3E%3Cpath d='M-200,390 C200,330 480,430 800,390 C1120,350 1280,430 1640,390' fill='none' stroke='rgba(255,255,255,0.02)' stroke-width='2'/%3E%3Cpath d='M-200,490 C100,430 500,540 800,490 C1100,440 1280,510 1640,490' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1.5'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 70% 80% at 40% 50%, rgba(10,30,16,0.88) 0%, rgba(10,30,16,0.60) 55%, rgba(10,30,16,0.30) 100%),
        linear-gradient(160deg, rgba(9,26,15,0.70) 0%, rgba(20,60,30,0.45) 100%);
    pointer-events: none;
}
.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-headline {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.hero-sub {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.90);
    max-width: 38rem;
}

/* ========== 按钮 ========== */
.btn-primary {
    display: inline-block;
    padding: 0.8125rem 2rem;
    background: var(--accent);
    color: #161616;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    border-radius: 3rem;
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(243, 195, 95, 0.45);
}

.btn-outline {
    display: inline-block;
    padding: 0.8125rem 2rem;
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 3rem;
    transition: all 0.2s ease;
}
.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
    background: rgba(72, 141, 85, 0.06);
}

.btn-outline-light {
    display: inline-block;
    padding: 0.8125rem 2rem;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 3rem;
    transition: all 0.2s ease;
}
.btn-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.70);
    background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
    display: inline-block;
    padding: 0.8125rem 2rem;
    background: var(--green-dark);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 3rem;
    transition: all 0.2s ease;
}
.btn-dark:hover {
    background: var(--green-card);
}

/* ========== Section 标题 ========== */
.section-label {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--green);
    background: rgba(72, 141, 85, 0.10);
    border: 1.5px solid rgba(72, 141, 85, 0.35);
    padding: 0.5rem 1.4rem;
    border-radius: 2rem;
    margin-bottom: 1.25rem;
}

.section-label-dark {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    background: rgba(243, 195, 95, 0.15);
    border: 1.5px solid rgba(243, 195, 95, 0.35);
    padding: 0.5rem 1.4rem;
    border-radius: 2rem;
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 36rem;
}

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

/* ========== 卡片 — 白色背景 ========== */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
}
.card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 24px rgba(72, 141, 85, 0.08);
    transform: translateY(-2px);
}

/* ========== 卡片 — 深色背景 ========== */
.card-dark {
    background: var(--green-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
}
.card-dark:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* ========== 工具卡片 ========== */
.tool-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
}
.tool-card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 24px rgba(72, 141, 85, 0.10);
}

.tool-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    font-size: 1.125rem;
    border-radius: 0.625rem;
    margin-bottom: 1.25rem;
}

/* ========== 定价卡片 ========== */
.pricing-card {
    position: relative;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
}
.pricing-card.featured {
    border-color: var(--green);
    box-shadow: 0 0 0 1px var(--green), 0 8px 30px rgba(72, 141, 85, 0.12);
}
.pricing-card.featured::before {
    content: '推荐';
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    background: var(--green);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 2rem;
    letter-spacing: 0.05em;
}

.price-number {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* ========== 信任数字（深色背景） ========== */
.trust-card {
    background: var(--green-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.trust-number {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.trust-label {
    font-size: 0.8125rem;
    color: var(--text-on-dark);
    margin-top: 0.5rem;
}

.trust-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 195, 95, 0.18);
    color: var(--accent);
    border-radius: 0.5rem;
    margin: 0 auto 1rem;
    font-size: 1rem;
}

/* ========== 服务板块 ========== */
.service-section {
    background: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem;
}

.service-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}
.service-item:last-child { border-bottom: none; }

.service-price {
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
    font-size: 0.875rem;
}

/* ========== 文章卡片 ========== */
.article-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.article-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ========== 特性列表 ========== */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.feature-item:last-child { border-bottom: none; }

.feature-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 195, 95, 0.18);
    color: var(--accent);
    border-radius: 0.5rem;
    flex-shrink: 0;
    font-size: 0.875rem;
}

/* ========== 痛点卡片 ========== */
.pain-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.pain-card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 28px rgba(72,141,85,0.10);
    transform: translateY(-3px);
}
.pain-card--accent {
    background: var(--green-dark);
    border-color: rgba(255,255,255,0.08);
}
.pain-card--accent:hover {
    border-color: rgba(255,255,255,0.20);
    box-shadow: 0 8px 28px rgba(0,0,0,0.20);
}
.pain-card-num {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(72,141,85,0.18);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.pain-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.pain-card-desc {
    font-size: 0.875rem;
    color: #3D4550;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.pain-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    background: rgba(72,141,85,0.08);
    color: var(--green);
    border: 1px solid rgba(72,141,85,0.15);
    border-radius: 2rem;
}

@media (max-width: 640px) {
    .pain-card { padding: 1.25rem; }
    .pain-card-num { font-size: 2.5rem; margin-bottom: 0.5rem; }
    .pain-card-desc { margin-bottom: 0.75rem; }
}

/* ========== CTA 区域 ========== */
.cta-section {
    background: var(--green);
}

/* ========== 页脚 ========== */
.footer-link {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8125rem;
    transition: color 0.2s ease;
}
.footer-link:hover { color: var(--accent); }

/* ========== Quiz 区背景 ========== */
.quiz-section {
    background-color: #1A3D24;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.18) 1.5px, transparent 1.5px),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(72,141,85,0.30) 0%, transparent 70%);
    background-size: 24px 24px, 100% 100%;
    position: relative;
}

.quiz-card {
    background: linear-gradient(160deg, #fffdf7 0%, #ffffff 60%, #f6faf7 100%);
    border-radius: 1.25rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 24px 64px rgba(0,0,0,0.30), 0 1px 0 rgba(255,255,255,0.08);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #F3C35F 0%, #488D55 100%) 1;
    border-image-slice: 1;
    position: relative;
    overflow: hidden;
}
.quiz-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F3C35F 0%, #488D55 100%);
    border-radius: 1.25rem 1.25rem 0 0;
}
.quiz-hint-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.quiz-hint-num {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(243, 195, 95, 0.15);
    color: #F3C35F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.quiz-card::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(72,141,85,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ========== Hero 标签 ========== */
.hero-tag {
    display: inline-block;
    padding: 0.3rem 0.875rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 2rem;
    backdrop-filter: blur(4px);
}

/* ========== Dashboard 卡片 ========== */
.dashboard-card {
    background: rgba(6, 18, 10, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1.75rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.06);
}

.dash-metric {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.625rem;
    padding: 0.875rem 1rem;
}
.dash-metric-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.375rem;
}
.dash-metric-value {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.625rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}
.dash-metric-sub {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.30);
    margin-top: 0.25rem;
}

.dash-diag-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.5rem;
    padding: 0.625rem 0.75rem;
}
.dash-diag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ========== 渐变装饰条 ========== */
.gradient-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--green) 100%);
    border-radius: 2px;
}

/* ========== 动画 ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
}
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }

/* ========== 响应式 ========== */
@media (max-width: 640px) {
    .hero-section {
        min-height: auto !important;
        align-items: flex-start !important;
    }
    .btn-primary, .btn-outline, .btn-outline-light, .btn-dark {
        width: 100%;
        text-align: center;
    }
    .card, .card-dark, .tool-card, .pricing-card {
        padding: 1.5rem;
    }
    .hero-sub {
        font-size: 1rem;
        line-height: 1.65;
    }
    .suggestion-btn {
        font-size: 13px;
        min-height: 36px;
    }
    .section-title {
        font-size: clamp(1.5rem, 6vw, 1.75rem);
    }
}
