/* =============================================
   AI管理天下 · 个人品牌官网 - 全局样式表
   定位：AI时代自我管理知识创作者 / 管理学副教授 / 超级个体
   风格：温暖商务风 — 专业底色 + 亲和温度 + 真实接地气
   主色：#1A365D（深邃藏蓝） 暖调：#D4A373（暖金）
   背景：#FAFAF7（暖米白） 文字：#4A5568（柔灰）
   ============================================= */

/* ========== 基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "Source Han Sans CN", "Noto Sans SC", "PingFang SC", sans-serif;
    background-color: #FAFAF7;
    color: #4A5568;
    line-height: 1.85;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

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

/* ========== 通用容器 ========== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-grey {
    background-color: #F5F2EE;
}

/* ========== 排版规范 ========== */
.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #1A365D;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
}

.section-subtitle {
    font-size: 15px;
    color: #9CA3AF;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 1px;
}

.title-bar {
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, #D4A373, #1A365D);
    margin: 14px auto 40px;
    border-radius: 2px;
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    font-size: 18px;
    font-weight: 700;
    color: #1A365D;
    letter-spacing: 1px;
}

.nav-logo span {
    background: linear-gradient(135deg, #D4A373, #C4905A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-size: 14px;
    color: #4A5568;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    letter-spacing: 0.5px;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4A373, #1A365D);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1A365D;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* 移动端汉堡菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: #1A365D;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== 页面主体偏移 ========== */
.page-wrapper {
    padding-top: 68px;
}

/* ========== 首页横幅 Banner ========== */
.hero {
    background: linear-gradient(160deg, #1A365D 0%, #2A4A6B 40%, #3D5A75 100%);
    color: #fff;
    padding: 90px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-brand {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 16px;
    position: relative;
}

.hero-brand span {
    color: #D4A373;
}

.hero-tagline {
    font-size: 17px;
    letter-spacing: 2px;
    opacity: 0.88;
    margin-bottom: 30px;
    position: relative;
}

.hero-desc {
    font-size: 15px;
    opacity: 0.75;
    max-width: 640px;
    margin: 0 auto;
    line-height: 2;
    position: relative;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
    position: relative;
}

.hero-tag {
    padding: 8px 22px;
    border: 1px solid rgba(212, 163, 115, 0.5);
    border-radius: 2px;
    font-size: 13px;
    letter-spacing: 1px;
    color: #F5F2EE;
    transition: all 0.3s ease;
}

.hero-tag:hover {
    background-color: rgba(212, 163, 115, 0.18);
    border-color: rgba(212, 163, 115, 0.85);
}

/* ========== 页面内页头 ========== */
.page-header {
    background: linear-gradient(160deg, #1A365D 0%, #2A4A6B 60%, #3D5A75 100%);
    color: #fff;
    padding: 64px 0 44px;
    text-align: center;
}

.page-header h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 15px;
    opacity: 0.82;
    letter-spacing: 1px;
}

/* ========== 卡片布局 ========== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.card-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background-color: #fff;
    padding: 34px 28px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    border-top: 3px solid transparent;
}

.card:hover {
    box-shadow: 0 6px 24px rgba(26, 54, 93, 0.08);
    border-top-color: #D4A373;
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(212, 163, 115, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 20px;
}

.card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1A365D;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.8;
}

/* 暖调特色卡片 */
.card-warm {
    background-color: #FDF9F4;
    border-left: 4px solid #D4A373;
}

/* ========== 个人简介区（首页） ========== */
.intro-block {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 50px;
    align-items: center;
}

.intro-avatar {
    text-align: center;
}

.intro-avatar-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A365D 0%, #D4A373 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 3px;
}

.intro-avatar-sub {
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.8;
    letter-spacing: 1px;
}

.intro-text h2 {
    font-size: 22px;
    color: #1A365D;
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.intro-text h2 span {
    color: #D4A373;
}

.intro-text p {
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 14px;
    line-height: 1.9;
}

.intro-highlights {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.intro-highlight-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #1A365D;
    font-weight: 600;
}

.intro-highlight-dot {
    width: 8px;
    height: 8px;
    background-color: #D4A373;
    border-radius: 50%;
}

/* ========== 内容支柱区 ========== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.pillar-card {
    background-color: #fff;
    padding: 36px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #D4A373;
    transition: box-shadow 0.3s ease;
}

.pillar-card:hover {
    box-shadow: 0 6px 24px rgba(26, 54, 93, 0.08);
}

.pillar-card h3 {
    font-size: 17px;
    color: #1A365D;
    margin-bottom: 10px;
    font-weight: 700;
}

.pillar-card p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.85;
}

/* ========== 故事时间线 ========== */
.story-timeline {
    position: relative;
    padding-left: 32px;
}

.story-timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #D4A373, #1A365D, #D4A373);
}

.story-item {
    position: relative;
    padding-bottom: 32px;
}

.story-item:last-child {
    padding-bottom: 0;
}

.story-item::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #D4A373;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #D4A373;
}

.story-year {
    font-size: 13px;
    color: #D4A373;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.story-content h4 {
    font-size: 16px;
    color: #1A365D;
    margin-bottom: 5px;
    font-weight: 700;
}

.story-content p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.8;
}

/* ========== 内容体系四条支柱 ========== */
.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1A365D, #2A4A6B);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* ========== 表格样式 ========== */
.table-wrap {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.data-table thead {
    background-color: #1A365D;
}

.data-table thead th {
    color: #f5f0e8;
    font-size: 13px;
    font-weight: 600;
    padding: 14px 18px;
    text-align: left;
    letter-spacing: 1px;
    white-space: nowrap;
}

.data-table tbody tr {
    border-bottom: 1px solid #f0ebe0;
    transition: background-color 0.3s ease;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: #FDF9F4;
}

.data-table tbody td {
    padding: 12px 18px;
    font-size: 14px;
    color: #4A5568;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
}

.tag-blue {
    background-color: rgba(26, 54, 93, 0.1);
    color: #1A365D;
}

.tag-gold {
    background-color: rgba(212, 163, 115, 0.15);
    color: #B8860B;
}

.tag-green {
    background-color: rgba(47, 133, 90, 0.1);
    color: #2F855A;
}

/* ========== 清单式排版 ========== */
.list-block {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 34px 30px;
    margin-bottom: 28px;
}

.list-block h3 {
    font-size: 18px;
    color: #1A365D;
    margin-bottom: 18px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid #F5F2EE;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #F5F2EE;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(212, 163, 115, 0.15);
    color: #D4A373;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-item-body h4 {
    font-size: 15px;
    color: #1A365D;
    margin-bottom: 4px;
    font-weight: 700;
}

.list-item-body p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.8;
}

/* ========== 价值观区域 ========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.value-card:hover {
    box-shadow: 0 6px 24px rgba(26, 54, 93, 0.08);
}

.value-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(212, 163, 115, 0.12);
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.value-card h3 {
    font-size: 17px;
    color: #1A365D;
    margin-bottom: 10px;
    font-weight: 700;
}

.value-card p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.85;
}

/* ========== 数字统计区 ========== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 30px 14px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.stat-num {
    font-size: 30px;
    font-weight: 700;
    background: linear-gradient(135deg, #D4A373, #C4905A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: #9CA3AF;
}

/* ========== 引用区块 ========== */
.quote-section {
    background: linear-gradient(160deg, #1A365D 0%, #2A4A6B 100%);
    color: #fff;
    text-align: center;
    padding: 72px 0;
}

.quote-section p {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1.5px;
    max-width: 760px;
    margin: 0 auto;
    line-height: 2;
    color: #F5F2EE;
}

.quote-section .quote-author {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 16px;
    letter-spacing: 1px;
    color: #D4A373;
}

/* ========== 优先级磁贴 ========== */
.priority-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.priority-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.priority-card:hover {
    transform: translateY(-2px);
}

.priority-card.first {
    background: linear-gradient(135deg, #1A365D, #2A4A6B);
    color: #fff;
}

.priority-card.first h3,
.priority-card.first p {
    color: #F5F2EE;
}

.priority-card.second {
    background-color: #FDF9F4;
    border: 2px solid #D4A373;
}

.priority-card.third {
    background-color: #fff;
    border: 1px solid #E8D5B7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.priority-rank {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.7;
}

.priority-card.first .priority-rank {
    color: #D4A373;
}

.priority-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.priority-card.first h3 {
    color: #fff;
}

.priority-card.second h3 {
    color: #1A365D;
}

.priority-card.third h3 {
    color: #1A365D;
}

.priority-card p {
    font-size: 14px;
    line-height: 1.8;
}

.priority-card.first p {
    color: rgba(255, 255, 255, 0.78);
}

.priority-card.second p,
.priority-card.third p {
    color: #6B7280;
}

/* ========== 联系页面 ========== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
}

.contact-info-card {
    background-color: #FDF9F4;
    border-radius: 6px;
    border: 1px solid #F0EBE0;
    padding: 36px 30px;
}

.contact-info-card h3 {
    font-size: 18px;
    color: #1A365D;
    margin-bottom: 24px;
    font-weight: 700;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #F0EBE0;
}

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

.contact-info-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(212, 163, 115, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.contact-info-text h4 {
    font-size: 13px;
    color: #9CA3AF;
    margin-bottom: 3px;
    font-weight: 500;
}

.contact-info-text p {
    font-size: 14px;
    color: #1A365D;
    font-weight: 600;
}

/* ========== 留言表单 ========== */
.contact-form-card {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 36px 30px;
}

.contact-form-card h3 {
    font-size: 20px;
    color: #1A365D;
    margin-bottom: 22px;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    color: #1A365D;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E8D5B7;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    color: #4A5568;
    background-color: #FAFAF7;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4A373;
    background-color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-primary {
    display: inline-block;
    padding: 11px 36px;
    background-color: #1A365D;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2A4A6B;
}

.form-success {
    display: none;
    padding: 12px 16px;
    background-color: rgba(47, 133, 90, 0.1);
    color: #2F855A;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 18px;
    text-align: center;
}

.form-success.show {
    display: block;
}

/* ========== 底部 Footer ========== */
.footer {
    background-color: #1A365D;
    color: rgba(255, 255, 255, 0.75);
    padding: 48px 0 28px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 28px;
}

.footer-brand h3 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.9;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D4A373;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== 响应式适配 ========== */
@media (max-width: 1024px) {
    .card-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .intro-block {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .intro-avatar-circle {
        width: 150px;
        height: 150px;
        font-size: 32px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 18px 0;
        gap: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
        transform: translateY(-200%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 13px 24px;
        font-size: 15px;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-brand {
        font-size: 28px;
    }

    .hero-tagline {
        font-size: 15px;
    }

    .hero-tags {
        gap: 8px;
    }

    .hero-tag {
        padding: 6px 14px;
        font-size: 12px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 22px;
    }

    .card-grid,
    .card-grid-2,
    .pillars-grid,
    .values-grid,
    .priority-grid,
    .card-grid-4 {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .container {
        padding: 0 18px;
    }
}

@media (max-width: 480px) {
    .hero-brand {
        font-size: 24px;
    }

    .nav-logo {
        font-size: 16px;
    }

    .intro-highlights {
        flex-direction: column;
        gap: 10px;
    }
}
