@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;800&family=Noto+Serif+SC:wght@600;700&display=swap");

:root {
    --bg-warm-white: #fdf8f3;
    --bg-cream: #f5efe6;
    --bg-light-cream: #faf6f1;
    --bg-white: #ffffff;
    --navy-blue: #1b365d;
    --navy-blue-light: #2a4a7f;
    --navy-blue-dark: #142850;
    --text-primary: #1b365d;
    --text-dark: #333333;
    --text-body: #4a4a4a;
    --text-secondary: #6b6b6b;
    --text-light: #888888;
    --text-white: #ffffff;
    --gold: #c9a962;
    --gold-light: #d4af37;
    --gold-pale: #f5edd8;
    --gray-100: #e8e4de;
    --gray-200: #d4cfc7;
    --gray-300: #c0bab0;
    --shadow-sm: 0 2px 8px rgba(27, 54, 93, 0.06);
    --shadow-md: 0 4px 16px rgba(27, 54, 93, 0.1);
    --shadow-lg: 0 8px 32px rgba(27, 54, 93, 0.12);
    --shadow-card: 0 4px 20px rgba(27, 54, 93, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50%;
    --transition: all 0.3s ease;
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-bold: 700;
    /* 与 assets/images/logo.svg 右侧字标一致 */
    --brand-logo-ink: #284678;
    --brand-logo-mist: #9fb2cc;
    --surface-glass: rgba(255, 255, 255, 0.72);
    --surface-border: rgba(255, 255, 255, 0.55);
    --theme-bg-start: #fffdfa;
    --theme-bg-middle: var(--bg-warm-white);
    --theme-bg-end: #f8f2ea;
    --theme-accent-a: rgba(212, 175, 55, 0.15);
    --theme-accent-b: rgba(42, 74, 127, 0.12);
    --theme-accent-c: rgba(201, 169, 98, 0.12);
}

body[data-theme="deep-ocean"] {
    --theme-bg-start: #f7faff;
    --theme-bg-middle: #eff5ff;
    --theme-bg-end: #e8f0fc;
    --theme-accent-a: rgba(37, 102, 182, 0.16);
    --theme-accent-b: rgba(22, 60, 112, 0.14);
    --theme-accent-c: rgba(212, 175, 55, 0.11);
}

body[data-theme="golden-dusk"] {
    --theme-bg-start: #fffcf8;
    --theme-bg-middle: #fdf7ee;
    --theme-bg-end: #f5ebdf;
    --theme-accent-a: rgba(224, 174, 74, 0.16);
    --theme-accent-b: rgba(35, 67, 112, 0.14);
    --theme-accent-c: rgba(201, 169, 98, 0.14);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-body);
    background:
        radial-gradient(circle at 15% 20%, var(--theme-accent-a), transparent 30%),
        radial-gradient(circle at 85% 15%, var(--theme-accent-b), transparent 28%),
        radial-gradient(circle at 70% 80%, var(--theme-accent-c), transparent 26%),
        linear-gradient(180deg, var(--theme-bg-start) 0%, var(--theme-bg-middle) 55%, var(--theme-bg-end) 100%);
    background-attachment: fixed;
}

h1, h2, h3, .section-title {
    font-family: "Noto Serif SC", "Noto Sans SC", serif;
    letter-spacing: 0.01em;
}

section {
    position: relative;
}

section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(27, 54, 93, 0.04) 0.6px, transparent 0.6px);
    background-size: 18px 18px;
    pointer-events: none;
    opacity: 0.25;
}

section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.25), transparent 34%, rgba(44, 91, 151, 0.05));
    pointer-events: none;
    opacity: 0.6;
}

section > .container {
    position: relative;
    z-index: 1;
}

.hero::before,
.hero::after,
.footer::before,
.footer::after {
    opacity: 0.9;
}

svg {
    stroke-linecap: round;
    stroke-linejoin: round;
    shape-rendering: geometricPrecision;
}

.value-icon,
.recorded-icon,
.highlight-icon,
.audience-icon,
.benefit-icon,
.credential-icon,
.hero-feature-icon {
    box-shadow: 0 10px 22px rgba(27, 54, 93, 0.14);
    border: 1px solid rgba(201, 169, 98, 0.28);
    background-image: linear-gradient(140deg, rgba(255, 255, 255, 0.35), rgba(201, 169, 98, 0.12));
}

.value-icon svg,
.recorded-icon svg,
.highlight-icon svg,
.audience-icon svg,
.benefit-icon svg,
.credential-icon svg,
.hero-feature-icon svg,
.section-tag-icon,
.about-tag-icon,
.footer-social-icon {
    filter: drop-shadow(0 2px 6px rgba(27, 54, 93, 0.18));
}

.card, .hero-card, .product-card, .course-card, .audience-card, .highlight-card, .curriculum-card, .benefit-card, .recorded-card, .value-card {
    backdrop-filter: blur(2px);
    background-color: var(--surface-glass);
    border-color: var(--surface-border);
}

.section-tag {
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wechat-tooltip {
    border: 1px solid rgba(201, 169, 98, 0.25);
}

/* 统一品牌 Logo 样式（头部 + 页脚） */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.logo-mark img {
    display: block;
    width: 52px;
    height: auto;
    max-height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(22, 59, 107, 0.12));
}

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

.logo-text span:first-child {
    font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--brand-logo-ink);
    line-height: 1.15;
}

.logo-text span:last-child {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--brand-logo-mist);
    line-height: 1.25;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-mark img {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.footer-brand .logo-text span:first-child {
    color: #f2f6fb;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.footer-brand .logo-text span:last-child {
    color: rgba(186, 204, 224, 0.96);
}

.footer-contact {
    margin-top: 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-contact-label {
    color: var(--gold-pale);
    font-size: 0.86rem;
    letter-spacing: 0.06em;
}

.footer-contact-qr {
    width: 88px;
    height: 88px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: #ffffff;
    padding: 3px;
    box-shadow: 0 6px 14px rgba(20, 40, 80, 0.22);
}

/* Footer 紧凑化，避免二维码拉高整体高度 */
.footer {
    padding: 48px 0 20px;
}

.footer-content {
    gap: 36px;
    margin-bottom: 28px;
    align-items: start;
}

/* Footer 文案层级：正文更亮，版权更低调 */
.footer .footer-brand p,
.footer .footer-links a {
    color: rgba(255, 255, 255, 0.84);
}

.footer .footer-links h4 {
    color: rgba(255, 255, 255, 0.97);
}

.footer .footer-links a:hover {
    color: var(--text-white);
}

.footer-links ul {
    gap: 10px;
}

.footer-bottom {
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.56);
}

.footer-bottom p {
    font-size: 0.74rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 0.72;
}

.footer-social a {
    opacity: 0.8;
    transform: scale(0.94);
}

.footer-social a:hover {
    opacity: 1;
    transform: scale(0.98);
}

.footer-follow-inline {
    margin-top: 20px;
}

.footer-follow-title {
    color: var(--gold-pale);
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    display: inline-block;
    margin-bottom: 10px;
}

.footer-follow-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.footer-follow-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--gray-200);
    font-size: 0.84rem;
    transition: var(--transition);
}

.footer-follow-item:hover {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.15);
}

.footer-follow-icon {
    opacity: 0.95;
}

.footer-follow-icon--brand {
    flex-shrink: 0;
    display: block;
}

/* 卡片悬浮时，内部图标统一转为金色 */
.product-card:hover svg,
.course-card:hover svg,
.recorded-card:hover svg,
.value-card:hover svg,
.highlight-card:hover svg,
.audience-card:hover svg,
.benefit-card:hover svg,
.curriculum-card:hover svg,
.credential-item:hover svg,
.about-tag:hover svg {
    color: var(--gold);
    stroke: var(--gold);
    fill: var(--gold);
}

.hero-title,
.section-title,
.about-text h2,
.section-header h2 {
    text-wrap: balance;
}

.hero-title {
    letter-spacing: 0.015em;
}

.hero-title span {
    background: linear-gradient(120deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header p,
.course-description,
.about-text p,
.benefit-desc,
.highlight-desc {
    max-width: 68ch;
}

.section-header p {
    margin-left: auto;
    margin-right: auto;
}

/* 移动端精修：降低密度，突出主标题和按钮 */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    .hero-title,
    .section-title,
    .section-header h2 {
        line-height: 1.35;
    }

    .hero-card,
    .course-card,
    .product-card,
    .audience-card,
    .highlight-card,
    .curriculum-card,
    .benefit-card,
    .recorded-card {
        border-radius: 14px;
    }

    .hero-buttons,
    .hero-features {
        gap: 12px;
    }

    .btn,
    .hero-cta,
    .course-cta {
        width: 100%;
        justify-content: center;
    }

    .footer {
        padding: 42px 0 18px;
    }

    .footer-content {
        gap: 24px;
        margin-bottom: 24px;
    }

    .footer-contact {
        align-items: flex-start;
    }

    .footer-contact-qr {
        width: 82px;
        height: 82px;
    }

    .footer-follow-links {
        gap: 8px;
    }

    .footer-follow-item {
        font-size: 0.8rem;
        padding: 6px 9px;
    }
}
