/* =====================================================
   中港家族律师协会 - 官网样式
   配色：深藏青 #001020 + 香槟金 #a08060
   ===================================================== */

:root {
    --primary-dark: #001020;
    --primary-deep: #000010;
    --primary-mid: #0a1a2e;
    --gold: #a08060;
    --gold-light: #c0a080;
    --gold-bright: #d4b896;
    --text-light: #e8e8e8;
    --text-muted: #909090;
    --text-gray: #b0b0b0;
}

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

body {
    font-family: '思源宋体 CN', 'Source Han Serif CN', 'Noto Serif SC', 'Source Han Serif SC', 'STSong', serif;
    background: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

/* ===== Header ===== */
#site-header {
    background: rgba(0, 16, 32, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(160, 128, 96, 0.1);
    transition: all 0.3s ease;
}

#site-header.scrolled {
    background: rgba(0, 16, 32, 0.95);
    border-bottom: 1px solid rgba(160, 128, 96, 0.2);
}

.logo-text div:first-child {
    font-family: 'Noto Serif SC', serif;
    transition: color 0.3s;
}

.nav-link {
    color: var(--text-gray);
    font-size: 14px;
    letter-spacing: 0.08em;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.nav-active {
    color: var(--gold-light);
}

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

.mobile-nav-link {
    color: var(--text-gray);
    padding: 12px 0;
    border-bottom: 1px solid rgba(160,128,96,0.1);
    font-size: 15px;
    display: block;
}

.lang-switch a {
    color: var(--text-muted);
    font-size: 15px;
    transition: color 0.3s;
}

.lang-switch a.active,
.lang-switch a:hover {
    color: var(--gold-light);
}

/* ===== Hero / Banner ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8%;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,16,32,0.85) 0%, rgba(0,16,32,0.6) 50%, rgba(0,16,32,0.85) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 640px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-slide-title {
    font-size: 44px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-slide-subtitle {
    font-size: 20px;
    color: var(--gold-light);
    margin-bottom: 32px;
    letter-spacing: 0.15em;
    font-weight: 300;
}

.hero-slide-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 12px 36px;
    font-size: 14px;
    letter-spacing: 0.1em;
    border: 1px solid var(--gold);
    color: var(--gold-light) !important;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
}

a.hero-btn,
a.hero-btn:visited {
    color: var(--gold-light) !important;
    text-decoration: none !important;
}

.hero-btn:hover {
    background: var(--gold);
    color: var(--primary-dark) !important;
}

/* Slider Controls */
.hero-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 30px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: var(--gold);
    width: 50px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(0,16,32,0.4);
    border: 1px solid rgba(160,128,96,0.3);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 20px;
}

.hero-arrow:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-eyebrow {
    font-size: 15px;
    color: var(--gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 34px;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.section-title .en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--text-muted);
    display: block;
    margin-top: 8px;
    font-style: italic;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Cards ===== */
.gold-card {
    background: rgba(0, 16, 32, 0.6);
    border: 1px solid rgba(160, 128, 96, 0.15);
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gold-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.gold-card:hover {
    border-color: rgba(160, 128, 96, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.gold-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 24px;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.gold-card:hover .card-icon {
    background: var(--gold);
    color: var(--primary-dark);
}

.card-title {
    font-size: 20px;
    color: var(--gold-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.card-text {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
}

/* ===== Philosophy Section ===== */
.philosophy-circle {
    width: 280px;
    height: 280px;
    border: 1px solid rgba(160,128,96,0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    transition: all 0.4s ease;
}

.philosophy-circle::after {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 1px solid rgba(160,128,96,0.1);
    border-radius: 50%;
}

.philosophy-circle:hover {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(160,128,96,0.2);
}

.philosophy-icon {
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 16px;
}

.philosophy-title {
    font-size: 24px;
    color: var(--gold-light);
    margin-bottom: 8px;
}

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

/* ===== Service Grid ===== */
.service-item {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid rgba(160,128,96,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    background: rgba(160,128,96,0.05);
    border-color: rgba(160,128,96,0.3);
}

.service-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 12px;
}

.service-item-title {
    font-size: 18px;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.service-item-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== Expert Cards ===== */
.expert-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: rgba(0,16,32,0.6);
    border: 1px solid rgba(160,128,96,0.15);
    transition: all 0.3s ease;
}

.expert-card:hover {
    border-color: rgba(160,128,96,0.4);
    transform: translateY(-4px);
}

.expert-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--primary-mid), var(--primary-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.expert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.expert-card:hover .expert-photo img {
    transform: scale(1.05);
}

.expert-photo-placeholder {
    font-size: 60px;
    color: rgba(160,128,96,0.3);
}

.expert-info {
    padding: 20px;
    text-align: center;
}

.expert-name {
    font-size: 20px;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.expert-name-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.expert-title {
    font-size: 15px;
    color: var(--text-gray);
}

/* Expert Modal */
.expert-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.expert-modal.active {
    display: flex;
}

.expert-modal-content {
    background: var(--primary-dark);
    border: 1px solid rgba(160,128,96,0.3);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
}

.expert-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    background: rgba(160,128,96,0.1);
    color: var(--gold-light);
    border: 1px solid rgba(160,128,96,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
}

.expert-modal-close:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

/* ===== Advantages ===== */
.advantage-item {
    display: flex;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(160,128,96,0.1);
}

.advantage-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 50px;
    color: var(--gold);
    opacity: 0.4;
    line-height: 1;
    min-width: 60px;
}

.advantage-content h4 {
    font-size: 20px;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.advantage-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== Advantage Cards (横向卡片式) ===== */
.advantage-card {
    background: rgba(0, 16, 32, 0.6);
    border: 1px solid rgba(160, 128, 96, 0.15);
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.advantage-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.advantage-card:hover {
    border-color: rgba(160, 128, 96, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.advantage-card:hover::before { opacity: 1; }

.advantage-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.advantage-card-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 22px;
    transition: all 0.3s;
}
.advantage-card:hover .advantage-card-icon {
    background: var(--gold);
    color: var(--primary-dark);
}
.advantage-card-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
}
.advantage-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 12px;
}
.advantage-card-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Light theme - Advantage Cards */
body.theme-light .advantage-card {
    background: #fff;
    border-color: rgba(138, 110, 80, 0.15);
}
body.theme-light .advantage-card:hover { border-color: rgba(138, 110, 80, 0.4); }
body.theme-light .advantage-card-icon { border-color: #8a6e50; color: #8a6e50; }
body.theme-light .advantage-card:hover .advantage-card-icon { background: #8a6e50; color: #fff; }
body.theme-light .advantage-card-num { color: #8a6e50; }
body.theme-light .advantage-card-title { color: #6b5436; }
body.theme-light .advantage-card-desc { color: #666; }

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid rgba(160,128,96,0.15);
}

.faq-question {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--gold-light);
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light);
    padding-right: 20px;
}

.faq-question .faq-icon {
    color: var(--gold);
    font-size: 20px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--text-gray);
    font-size: 14px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-deep), var(--primary-mid));
    border-top: 1px solid rgba(160,128,96,0.2);
    border-bottom: 1px solid rgba(160,128,96,0.2);
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(160,128,96,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-light) !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
    position: relative;
    z-index: 1;
}

a.cta-btn,
a.cta-btn:visited {
    color: var(--gold-light) !important;
    text-decoration: none !important;
}

.cta-btn:hover {
    background: var(--gold);
    color: var(--primary-dark) !important;
    letter-spacing: 0.15em;
}

/* ===== Stats ===== */
.stats-section {
    padding: 60px 0;
    border-top: 1px solid rgba(160,128,96,0.1);
    border-bottom: 1px solid rgba(160,128,96,0.1);
    background: var(--primary-deep);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 50px;
    color: var(--gold);
    font-weight: 300;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 8px;
}

/* ===== Footer ===== */
.footer-section {
    background: var(--primary-deep);
    border-top: 1px solid rgba(160,128,96,0.15);
}

.footer-title {
    font-size: 18px;
    color: var(--gold-light);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.footer-text {
    font-size: 15px;
    color: var(--text-muted);
}

.footer-slogan {
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 0.15em;
    font-style: italic;
}

.footer-badge {
    font-size: 12px;
    color: var(--gold);
    border: 1px solid rgba(160,128,96,0.3);
    padding: 3px 12px;
}

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 15px;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-contact li {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 12px;
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 3px;
}

.footer-qr {
    margin-top: 16px;
    text-align: left;
}
.footer-qr img {
    width: 25px !important;
    height: 25px !important;
    max-width: 25px !important;
    max-height: 25px !important;
    object-fit: cover !important;
    border: 1px solid rgba(160,128,96,0.3);
    padding: 1px;
    background: rgba(255,255,255,0.05);
}
.footer-qr-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 0.05em;
}

body.theme-light .footer-qr img { border-color: rgba(138,110,80,0.3); background: rgba(255,255,255,0.8); }
body.theme-light .footer-qr-label { color: #999; }

.footer-bottom {
    border-color: rgba(160,128,96,0.1);
}

/* ===== Page Banner (inner pages) ===== */
.page-banner {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-deep));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    position: relative;
    margin-top: 80px;
    padding-left: 8%;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,16,32,0.88) 0%, rgba(0,16,32,0.6) 50%, rgba(0,16,32,0.85) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 300;
    color: var(--gold-light);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.page-banner p {
    color: var(--text-muted);
    font-size: 15px;
    letter-spacing: 0.2em;
}

.breadcrumb {
    margin-top: 16px;
    font-size: 15px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover { opacity: 0.7; }

/* ===== Forms ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 15px;
    color: var(--gold-light);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.form-label .required {
    color: #ef4444;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0,16,32,0.5);
    border: 1px solid rgba(160,128,96,0.2);
    color: var(--text-light);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(0,16,32,0.7);
    box-shadow: 0 0 0 3px rgba(160,128,96,0.1);
}

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

.form-select option {
    background: var(--primary-dark);
    color: var(--text-light);
}

.form-submit {
    background: var(--gold);
    color: var(--primary-dark);
    border: none;
    padding: 14px 40px;
    font-size: 14px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(160,128,96,0.3);
}

/* ===== News ===== */
.news-card {
    background: rgba(0,16,32,0.5);
    border: 1px solid rgba(160,128,96,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.news-card:hover {
    border-color: rgba(160,128,96,0.3);
    transform: translateY(-4px);
}

.news-card-image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-mid), var(--primary-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 24px;
}

.news-date {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.news-card-title {
    font-size: 18px;
    color: var(--gold-light);
    margin-bottom: 10px;
    line-height: 1.5;
    font-weight: 500;
}

.news-card-summary {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.news-card-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 15px;
    color: var(--gold);
    transition: all 0.3s;
}

.news-card-link:hover {
    color: var(--gold-light);
    padding-right: 4px;
}

/* ===== Course Items ===== */
.course-card {
    background: rgba(0,16,32,0.5);
    border: 1px solid rgba(160,128,96,0.15);
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.course-card:hover {
    border-color: rgba(160,128,96,0.35);
}

.course-category {
    display: inline-block;
    font-size: 12px;
    color: var(--gold);
    border: 1px solid rgba(160,128,96,0.3);
    padding: 2px 10px;
    margin-bottom: 16px;
}

.course-title {
    font-size: 19px;
    color: var(--gold-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.course-focus {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.course-meta i {
    color: var(--gold);
    margin-right: 4px;
}

/* ===== Buttons ===== */
.btn-gold {
    display: inline-block;
    padding: 10px 30px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.btn-gold-fill {
    background: var(--gold);
    color: var(--primary-dark);
}

.btn-gold-fill:hover {
    background: var(--gold-light);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--primary-deep); }
::-webkit-scrollbar-thumb {
    background: var(--gold);
    opacity: 0.5;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ===== Utilities ===== */
.text-gold { color: var(--gold); }
.text-gold-light { color: var(--gold-light); }
.text-muted { color: var(--text-muted); }
.text-gray { color: var(--text-gray); }
.bg-dark { background: var(--primary-dark); }
.bg-deep { background: var(--primary-deep); }
.border-gold { border-color: var(--gold) !important; }

.gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 26px; }
    .hero-slide-title { font-size: 30px; }
    .hero-slide-subtitle { font-size: 16px; }
    .page-banner { height: 300px; margin-top: 80px; }
    .page-banner h1 { font-size: 30px; }
    .philosophy-circle { width: 200px; height: 200px; }
    .stat-number { font-size: 40px; }
    .expert-modal-content { padding: 24px; }
}

/* ===== Alert ===== */
.alert {
    padding: 16px 24px;
    margin-bottom: 20px;
    border: 1px solid;
    font-size: 14px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ===== Partners ===== */
.partner-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 16, 32, 0.6);
    border: 1px solid rgba(160, 128, 96, 0.15);
    transition: all 0.3s ease;
}
.partner-card:hover {
    border-color: rgba(160, 128, 96, 0.4);
    transform: translateY(-4px);
}
.partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.partner-logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.partner-card:hover .partner-logo img {
    filter: grayscale(0%);
    opacity: 1;
}
.partner-name {
    font-size: 20px;
    color: var(--gold-light);
    margin-bottom: 8px;
    font-weight: 500;
}
.partner-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Light theme - Partners */
body.theme-light .partner-card {
    background: #fff;
    border-color: rgba(138, 110, 80, 0.15);
}
body.theme-light .partner-card:hover { border-color: rgba(138, 110, 80, 0.4); }
body.theme-light .partner-name { color: #6b5436; }
body.theme-light .partner-desc { color: #888; }

/* =====================================================
   标题字号覆盖（+10px，加粗）
   ===================================================== */
.hero-slide-title { font-size: 54px !important; font-weight: 700 !important; }
.hero-slide-subtitle { font-size: 30px !important; font-weight: 700 !important; }
.section-title { font-size: 38px !important; font-weight: 700 !important; }
.section-title .en { font-size: 32px !important; font-weight: 700 !important; }
.section-eyebrow { font-size: 25px !important; font-weight: 700 !important; }
.page-banner h1 { font-size: 46px !important; font-weight: 700 !important; }
.cta-title { font-size: 46px !important; font-weight: 700 !important; }
.card-title { font-size: 26px !important; font-weight: 700 !important; }
.expert-name { font-size: 28px !important; font-weight: 700 !important; }
.news-card-title { font-size: 28px !important; font-weight: 700 !important; }
.course-title { font-size: 29px !important; font-weight: 700 !important; }
.faq-question h4 { font-size: 22px !important; font-weight: 700 !important; }
.footer-title { font-size: 28px !important; font-weight: 700 !important; }
.service-item-title { font-size: 28px !important; font-weight: 700 !important; }
.service-num { font-size: 48px !important; font-weight: 700 !important; }
.philosophy-title { font-size: 34px !important; font-weight: 700 !important; }
.advantage-content h4 { font-size: 30px !important; font-weight: 700 !important; }
.advantage-num { font-size: 60px !important; font-weight: 700 !important; }
.stat-number { font-size: 60px !important; font-weight: 700 !important; }

@media (max-width: 768px) {
    .hero-slide-title { font-size: 40px !important; }
    .hero-slide-subtitle { font-size: 26px !important; }
    .section-title { font-size: 30px !important; }
    .section-title .en { font-size: 24px !important; }
    .page-banner h1 { font-size: 36px !important; }
    .stat-number { font-size: 50px !important; }
    .cta-title { font-size: 36px !important; }
    .card-title { font-size: 24px !important; }
    .expert-name { font-size: 24px !important; }
    .news-card-title { font-size: 22px !important; }
    .course-title { font-size: 23px !important; }
    .faq-question h4 { font-size: 22px !important; }
    .footer-title { font-size: 22px !important; }
    .service-item-title { font-size: 22px !important; }
    .advantage-content h4 { font-size: 24px !important; }
    .philosophy-title { font-size: 28px !important; }
}

/* =====================================================
   浅色配色方案（由后台 color_scheme 设置控制）
   主基调不变：深藏青+香槟金，浅色模式为辅助方案
   ===================================================== */
body.theme-light {
    background: #f5f3ee;
    color: #2a2a3e;
}

body.theme-light #site-header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(138, 110, 80, 0.15);
}
body.theme-light #site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
}
body.theme-light .nav-link { color: #666; }
body.theme-light .nav-link:hover,
body.theme-light .nav-link.nav-active { color: #8a6e50; }
body.theme-light .nav-link::after { background: #8a6e50; }
body.theme-light .lang-switch a { color: #999; }
body.theme-light .lang-switch a.active,
body.theme-light .lang-switch a:hover { color: #8a6e50; }
body.theme-light .mobile-nav-link { color: #555; border-bottom-color: rgba(138,110,80,0.1); }

/* Sections */
body.theme-light .section { background: #f5f3ee; color: #2a2a3e; }
body.theme-light .section-title { color: #1a1a2e; }
body.theme-light .section-title .en { color: #888; }
body.theme-light .section-eyebrow { color: #8a6e50; }
body.theme-light .section-subtitle { color: #666; }
body.theme-light .section-divider { background: #8a6e50; }

/* Stats */
body.theme-light .stats-section { background: #ebe8e0; border-color: rgba(138,110,80,0.15); }
body.theme-light .stat-number { color: #8a6e50; }
body.theme-light .stat-label { color: #666; }

/* Cards */
body.theme-light .gold-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(138, 110, 80, 0.15);
}
body.theme-light .gold-card:hover {
    border-color: rgba(138, 110, 80, 0.4);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
body.theme-light .card-icon { border-color: #8a6e50; color: #8a6e50; }
body.theme-light .gold-card:hover .card-icon { background: #8a6e50; color: #fff; }
body.theme-light .card-title { color: #6b5436; }
body.theme-light .card-text { color: #666; }

/* Philosophy */
body.theme-light .philosophy-circle { border-color: rgba(138,110,80,0.3); }
body.theme-light .philosophy-circle::after { border-color: rgba(138,110,80,0.1); }
body.theme-light .philosophy-circle:hover { border-color: #8a6e50; box-shadow: 0 0 30px rgba(138,110,80,0.15); }
body.theme-light .philosophy-icon { color: #8a6e50; }
body.theme-light .philosophy-title { color: #6b5436; }
body.theme-light .philosophy-desc { color: #888; }

/* Services */
body.theme-light .service-item { border-color: rgba(138,110,80,0.1); }
body.theme-light .service-item:hover { background: rgba(138,110,80,0.05); border-color: rgba(138,110,80,0.3); }
body.theme-light .service-num { color: #8a6e50; }
body.theme-light .service-item-title { color: #6b5436; }
body.theme-light .service-item-desc { color: #888; }

/* Experts */
body.theme-light .expert-card { background: #fff; border-color: rgba(138,110,80,0.15); }
body.theme-light .expert-card:hover { border-color: rgba(138,110,80,0.4); }
body.theme-light .expert-photo { background: linear-gradient(135deg, #ebe8e0, #f5f3ee); }
body.theme-light .expert-photo-placeholder { color: rgba(138,110,80,0.3); }
body.theme-light .expert-name { color: #1a1a2e; }
body.theme-light .expert-name-en { color: #999; }
body.theme-light .expert-title { color: #888; }

/* News */
body.theme-light .news-card { background: #fff; border-color: rgba(138,110,80,0.1); }
body.theme-light .news-card:hover { border-color: rgba(138,110,80,0.3); }
body.theme-light .news-card-image { background: linear-gradient(135deg, #ebe8e0, #f5f3ee); }
body.theme-light .news-date { color: #8a6e50; }
body.theme-light .news-card-title { color: #1a1a2e; }
body.theme-light .news-card-summary { color: #888; }
body.theme-light .news-card-link { color: #8a6e50; }

/* Courses */
body.theme-light .course-card { background: #fff; border-color: rgba(138,110,80,0.15); }
body.theme-light .course-card:hover { border-color: rgba(138,110,80,0.35); }
body.theme-light .course-category { color: #8a6e50; border-color: rgba(138,110,80,0.3); }
body.theme-light .course-title { color: #1a1a2e; }
body.theme-light .course-focus { color: #888; }
body.theme-light .course-meta { color: #aaa; }
body.theme-light .course-meta i { color: #8a6e50; }

/* FAQ */
body.theme-light .faq-item { border-bottom-color: rgba(138,110,80,0.15); }
body.theme-light .faq-question { color: #555; }
body.theme-light .faq-question:hover { color: #8a6e50; }
body.theme-light .faq-question h4 { color: #1a1a2e; }
body.theme-light .faq-question .faq-icon { color: #8a6e50; }
body.theme-light .faq-answer { color: #666; }

/* Advantages */
body.theme-light .advantage-item { border-bottom-color: rgba(138,110,80,0.1); }
body.theme-light .advantage-num { color: #8a6e50; }
body.theme-light .advantage-content h4 { color: #6b5436; }
body.theme-light .advantage-content p { color: #666; }

/* CTA */
body.theme-light .cta-section { background: linear-gradient(135deg, #ebe8e0, #f5f3ee); border-color: rgba(138,110,80,0.2); }
body.theme-light .cta-title { color: #6b5436; }
body.theme-light .cta-btn { border-color: #8a6e50; color: #6b5436; }
body.theme-light .cta-btn:hover { background: #8a6e50; color: #fff; }

/* Buttons */
body.theme-light .btn-gold { border-color: #8a6e50; color: #6b5436; }
body.theme-light .btn-gold:hover { background: #8a6e50; color: #fff; }
body.theme-light .btn-gold-fill { background: #8a6e50; color: #fff; }
body.theme-light .btn-gold-fill:hover { background: #6b5436; }

/* Hero buttons */
body.theme-light a.hero-btn,
body.theme-light a.hero-btn:visited { color: #c0a080 !important; }
body.theme-light .hero-btn { border-color: #c0a080; }
body.theme-light .hero-btn:hover { background: #c0a080; color: #1a1a2e !important; }

/* Forms */
body.theme-light .form-input,
body.theme-light .form-textarea,
body.theme-light .form-select {
    background: rgba(255,255,255,0.8);
    border-color: rgba(138,110,80,0.2);
    color: #2a2a3e;
}
body.theme-light .form-input:focus,
body.theme-light .form-textarea:focus,
body.theme-light .form-select:focus {
    border-color: #8a6e50;
    background: #fff;
}
body.theme-light .form-label { color: #6b5436; }
body.theme-light .form-submit { background: #8a6e50; color: #fff; }
body.theme-light .form-submit:hover { background: #6b5436; }

/* Footer */
body.theme-light .footer-section { background: #ebe8e0; border-top-color: rgba(138,110,80,0.15); }
body.theme-light .footer-title { color: #6b5436; }
body.theme-light .footer-text { color: #888; }
body.theme-light .footer-slogan { color: #8a6e50; }
body.theme-light .footer-badge { color: #8a6e50; border-color: rgba(138,110,80,0.3); }
body.theme-light .footer-links a { color: #888; }
body.theme-light .footer-links a:hover { color: #8a6e50; }
body.theme-light .footer-contact li { color: #888; }
body.theme-light .footer-contact i { color: #8a6e50; }
body.theme-light .footer-bottom { border-color: rgba(138,110,80,0.1); }

/* Page Banner */
body.theme-light .page-banner { background-color: #ebe8e0; background-size: cover; background-position: center; }
body.theme-light .page-banner::before { background: linear-gradient(135deg, rgba(235,232,224,0.85) 0%, rgba(245,243,238,0.6) 50%, rgba(235,232,224,0.85) 100%); }
body.theme-light .page-banner h1 { color: #6b5436; }
body.theme-light .page-banner p { color: #999; }
body.theme-light .breadcrumb { color: #aaa; }
body.theme-light .breadcrumb a { color: #8a6e50; }

/* Expert Modal */
body.theme-light .expert-modal { background: rgba(255,255,255,0.9); }
body.theme-light .expert-modal-content { background: #fff; border-color: rgba(138,110,80,0.3); }

/* Text utilities */
body.theme-light .text-gold { color: #8a6e50 !important; }
body.theme-light .text-gold-light { color: #6b5436 !important; }
body.theme-light .text-muted { color: #999 !important; }
body.theme-light .text-gray { color: #888 !important; }

/* Scrollbar */
body.theme-light ::-webkit-scrollbar-track { background: #ebe8e0; }
body.theme-light ::-webkit-scrollbar-thumb { background: #8a6e50; }

/* Gold line */
body.theme-light .gold-line { background: linear-gradient(90deg, transparent, #8a6e50, transparent); }

/* Course category badge */
body.theme-light .course-category { color: #8a6e50; border-color: rgba(138,110,80,0.3); }

/* Alert */
body.theme-light .alert-success { background: rgba(16,185,129,0.05); }
body.theme-light .alert-error { background: rgba(239,68,68,0.05); }
