/* ==========================================================================
   优思博学 - Scholarly Achievement Design System
   四川成人学历提升专业服务平台
   ========================================================================== */

/* ===== CSS Variables ===== */
:root {
    --navy: #1a2744;
    --navy-light: #2a3a5c;
    --navy-dark: #0f1830;
    --gold: #c9a227;
    --gold-light: #e0bc3e;
    --gold-dark: #a08515;
    --cream: #f8f6f1;
    --cream-2: #f0ede5;
    --teal: #1a6b5c;
    --teal-light: #2e8b7a;
    --charcoal: #2c2c2c;
    --muted: #6b7280;
    --border: #e5e0d8;
    --white: #ffffff;

    --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
    --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

    --container: 1200px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-sm: 4px;
    --shadow-sm: 0 1px 3px rgba(26,39,68,0.06);
    --shadow: 0 4px 16px rgba(26,39,68,0.08);
    --shadow-lg: 0 12px 40px rgba(26,39,68,0.12);
    --shadow-gold: 0 4px 20px rgba(201,162,39,0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--navy);
    text-decoration: none;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

svg {
    display: inline-block;
    vertical-align: middle;
}

.icon-sm {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

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

.page-body {
    min-height: 60vh;
}

section {
    padding: 64px 0;
}

.section-pad-sm { padding: 40px 0; }
.section-pad-lg { padding: 80px 0; }

/* ===== Section Headers ===== */
.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head .section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    position: relative;
    padding-left: 40px;
}

.section-head .section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.section-head h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 12px;
}

.section-head p {
    color: var(--muted);
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.top-bar-item:hover {
    color: var(--gold-light);
}

.top-bar-phone {
    font-weight: 500;
    color: var(--gold-light);
}

.top-bar-wechat {
    color: #7bc77b;
    font-weight: 500;
}

/* ===== Header ===== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    transition: var(--transition);
}

.site-header.scrolled .header-inner {
    height: 60px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    width: 100%;
    height: 100%;
}

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

.logo-brand {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 500;
    text-transform: uppercase;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-link:hover {
    color: var(--gold-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

.nav-link.active {
    color: var(--gold-dark);
    font-weight: 700;
}

.nav-cta {
    margin-left: 12px;
}

/* Hamburger */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: var(--radius-sm);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,24,48,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-sans);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1.4;
}

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

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(201,162,39,0.35);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-light);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--navy);
    color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold-dark);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
}

.btn-wechat {
    background: linear-gradient(135deg, #2e8b7a, #1a6b5c);
    color: var(--white);
}

.btn-wechat:hover {
    background: linear-gradient(135deg, #1a6b5c, #135448);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,107,92,0.3);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    color: var(--white);
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(201,162,39,0.15), transparent 60%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.04;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.5) 35px, rgba(255,255,255,0.5) 36px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,0.5) 35px, rgba(255,255,255,0.5) 36px);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(201,162,39,0.15);
    border: 1px solid rgba(201,162,39,0.3);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 24px;
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    background: var(--gold-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 44px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero h1 .accent {
    color: var(--gold-light);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: left;
}

.hero-stat-num {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-num .unit {
    font-size: 18px;
    font-weight: 400;
    margin-left: 2px;
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* ===== Comparison Cards ===== */
.compare-section {
    background: var(--cream);
}

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

.compare-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.compare-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.compare-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

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

.compare-card.featured {
    border-color: var(--gold);
    background: linear-gradient(180deg, var(--white) 0%, #fdfbf5 100%);
}

.compare-card.featured::before {
    transform: scaleX(1);
}

.compare-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gold);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.compare-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.compare-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gold-light);
}

.compare-card h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.compare-card .compare-sub {
    font-size: 14px;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 16px;
}

.compare-card .compare-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.compare-features {
    margin-bottom: 28px;
}

.compare-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--charcoal);
    border-bottom: 1px dashed var(--border);
}

.compare-features li:last-child {
    border-bottom: none;
}

.compare-features .check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.compare-features .check svg {
    width: 12px;
    height: 12px;
}

.compare-card .btn {
    width: 100%;
}

/* ===== Process Steps ===== */
.process-section {
    background: var(--navy);
    color: var(--white);
}

.process-section .section-head h2 {
    color: var(--white);
}

.process-section .section-head p {
    color: rgba(255,255,255,0.6);
}

.process-section .section-head .section-eyebrow {
    color: var(--gold-light);
}

.process-section .section-head .section-eyebrow::before {
    background: var(--gold-light);
}

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

.process-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201,162,39,0.3), rgba(201,162,39,0.3), transparent);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--navy-dark);
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-light);
    transition: var(--transition);
}

.process-step:hover .process-num {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.05);
}

.process-step h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

/* ===== Majors Grid ===== */
.majors-section {
    background: var(--cream);
}

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

.major-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.major-card-head {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.major-card-head::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
}

.major-level {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.major-level.undergrad {
    background: rgba(26,107,92,0.1);
    color: var(--teal);
}

.major-level.associate {
    background: rgba(26,39,68,0.08);
    color: var(--navy);
}

.major-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
}

.major-card-body {
    padding: 20px 24px;
    flex: 1;
}

.major-info-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.major-info-row .label {
    color: var(--muted);
    flex-shrink: 0;
    font-weight: 500;
}

.major-info-row .value {
    color: var(--charcoal);
}

.major-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
}

.major-stars .star-label {
    font-size: 13px;
    color: var(--muted);
    margin-right: 4px;
}

.major-stars .star {
    color: var(--gold);
    font-size: 16px;
}

.major-card-foot {
    padding: 0 24px 24px;
}

.major-card .btn {
    width: 100%;
}

/* ===== Advantages ===== */
.advantage-section {
    background: var(--white);
}

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

.advantage-card {
    text-align: center;
    padding: 36px 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    background: var(--cream);
    border: 1px solid transparent;
}

.advantage-card:hover {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.advantage-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    transform: rotate(-5deg) scale(1.05);
}

.advantage-icon svg {
    width: 34px;
    height: 34px;
    color: var(--white);
}

.advantage-card h3 {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* ===== Article List ===== */
.news-section {
    background: var(--cream);
}

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

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--cream-2);
}

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

.news-card:hover .news-thumb img {
    transform: scale(1.06);
}

.news-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.news-thumb-placeholder svg {
    width: 48px;
    height: 48px;
    color: rgba(201,162,39,0.5);
}

.news-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
}

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

.news-card-body h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover .news-card-body h3 {
    color: var(--gold-dark);
}

.news-card-body .news-summary {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

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

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,162,39,0.12), transparent 70%);
    border-radius: 50%;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-banner-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.cta-banner-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
}

.cta-banner-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ===== Page Banner (sub pages) ===== */
.page-banner {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: var(--white);
    padding: 60px 0 56px;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(201,162,39,0.12), transparent 60%);
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-banner-inner {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    max-width: 640px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.5);
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

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

.breadcrumb .sep {
    color: rgba(255,255,255,0.3);
}

/* ===== Content Sections ===== */
.content-section {
    padding: 56px 0;
}

.content-section.alt {
    background: var(--white);
}

.info-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 32px;
}

.info-block-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-block-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gold);
    border-radius: 2px;
}

.info-block p {
    margin-bottom: 14px;
    line-height: 1.85;
    color: var(--charcoal);
}

.info-block ul, .info-block ol {
    margin: 16px 0;
    padding-left: 0;
}

.info-block ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    line-height: 1.8;
}

.info-block ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.info-block ol {
    counter-reset: ol-counter;
    list-style: none;
}

.info-block ol li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 12px;
    line-height: 1.8;
    counter-increment: ol-counter;
}

.info-block ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.info-table th {
    background: var(--navy);
    color: var(--white);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.info-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--charcoal);
}

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

.info-table tr:hover td {
    background: var(--cream);
}

/* Highlight box */
.highlight-box {
    background: linear-gradient(135deg, rgba(201,162,39,0.08), rgba(201,162,39,0.03));
    border: 1px solid rgba(201,162,39,0.2);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 20px 0;
}

.highlight-box p {
    margin-bottom: 0;
}

.highlight-box strong {
    color: var(--gold-dark);
}

/* Two column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

/* Feature list card */
.feature-list-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-list-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.feature-list-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list-card h3 .icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(201,162,39,0.12);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-list-card h3 .icon svg {
    width: 20px;
    height: 20px;
}

/* ===== Article Detail Layout ===== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 48px 24px;
}

.article-main {
    min-width: 0;
}

.article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.article-header .article-cat {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.article-header h1 {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--muted);
    flex-wrap: wrap;
}

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

.article-cover {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    background: var(--cream-2);
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article content typography */
.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--charcoal);
}

.article-content h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin: 32px 0 16px;
    padding-left: 14px;
    border-left: 4px solid var(--gold);
    line-height: 1.4;
}

.article-content h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin: 28px 0 14px;
}

.article-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--navy-light);
    margin: 24px 0 12px;
}

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

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 20px auto;
    display: block;
}

.article-content blockquote {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 16px 24px;
    margin: 20px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--muted);
    font-style: italic;
}

.article-content blockquote p {
    margin-bottom: 0;
}

.article-content ul, .article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-content ul li {
    position: relative;
    padding-left: 8px;
    margin-bottom: 8px;
    list-style: disc;
    color: var(--charcoal);
}

.article-content ol li {
    margin-bottom: 8px;
    list-style: decimal;
    color: var(--charcoal);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.article-content table th {
    background: var(--navy);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.article-content table td {
    padding: 10px 16px;
    border: 1px solid var(--border);
}

.article-content table tr:nth-child(even) td {
    background: var(--cream);
}

.article-content a {
    color: var(--teal);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--gold-dark);
}

.article-content strong {
    color: var(--navy);
    font-weight: 700;
}

.article-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 28px 0;
}

.article-content video,
.article-content iframe {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 20px 0;
}

.article-content pre {
    background: var(--navy-dark);
    color: var(--cream);
    padding: 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 20px 0;
    font-size: 14px;
}

.article-content code {
    background: var(--cream-2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}

/* Article share */
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    margin-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.article-share .share-label {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

.article-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    color: var(--navy);
    transition: var(--transition);
}

.article-share a:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.article-share a svg {
    width: 18px;
    height: 18px;
}

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

.article-nav-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
}

.article-nav-item:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

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

.article-nav-item .nav-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-nav-item.next .nav-label {
    justify-content: flex-end;
}

.article-nav-item .nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    display: block;
    line-height: 1.4;
}

.article-nav-item.placeholder {
    visibility: hidden;
}

/* Article CTA box */
.article-cta-box {
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 32px;
    text-align: center;
}

.article-cta-box h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 8px;
}

.article-cta-box p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 20px;
}

.article-cta-box .btn-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.faq-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gold);
    border-radius: 2px;
}

.faq-item {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:first-of-type {
    padding-top: 4px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}

.faq-item h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
    line-height: 1.5;
}

.faq-item h3::before {
    content: 'Q';
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
}

.faq-item p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--charcoal);
    padding-left: 32px;
    margin-bottom: 0;
    position: relative;
}

.faq-item p::before {
    content: 'A';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
}

@media (max-width: 768px) {
    .faq-section {
        padding: 28px 20px;
    }

    .faq-item h3 {
        font-size: 16px;
    }

    .faq-item h3,
    .faq-item p {
        padding-left: 30px;
    }
}

/* ===== Sidebar ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget h3 .icon {
    color: var(--gold);
}

.sidebar-list li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}

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

.sidebar-list li a {
    display: block;
    font-size: 14px;
    color: var(--charcoal);
    line-height: 1.5;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-list li a:hover {
    color: var(--gold-dark);
}

.sidebar-list .sidebar-meta {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.sidebar-popular li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}

.sidebar-popular li:last-child {
    border-bottom: none;
}

.sidebar-popular .rank {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: var(--cream-2);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-popular li:nth-child(1) .rank {
    background: var(--gold);
    color: var(--white);
}

.sidebar-popular li:nth-child(2) .rank {
    background: var(--navy);
    color: var(--white);
}

.sidebar-popular li:nth-child(3) .rank {
    background: var(--teal);
    color: var(--white);
}

.sidebar-cat-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

.sidebar-cat-list li:last-child {
    border-bottom: none;
}

.sidebar-cat-list .count {
    font-size: 12px;
    color: var(--muted);
    background: var(--cream-2);
    padding: 2px 8px;
    border-radius: 10px;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
}

.sidebar-cta h3 {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.15);
}

.sidebar-cta p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}

.sidebar-cta .phone {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-light);
    display: block;
    margin-bottom: 16px;
}

/* ===== Article List Page Layout ===== */
.article-list-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 48px 24px;
}

.article-list-main {
    min-width: 0;
}

.article-list-item {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    transition: var(--transition);
}

.article-list-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.article-list-thumb {
    width: 260px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--cream-2);
}

.article-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-list-thumb-placeholder {
    width: 100%;
    height: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.article-list-thumb-placeholder svg {
    width: 40px;
    height: 40px;
    color: rgba(201,162,39,0.4);
}

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

.article-list-body .cat-badge {
    display: inline-block;
    background: rgba(201,162,39,0.1);
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.article-list-body h3 {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: var(--transition);
}

.article-list-item:hover .article-list-body h3 {
    color: var(--gold-dark);
}

.article-list-body .summary {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-list-body .meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
}

/* Category filter */
.cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.cat-filter a {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    background: var(--cream);
    transition: var(--transition);
}

.cat-filter a:hover,
.cat-filter a.active {
    background: var(--navy);
    color: var(--white);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--charcoal);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.page-link:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.page-link.active {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.page-ellipsis {
    padding: 0 8px;
    color: var(--muted);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.65);
    padding: 56px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-links li a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-contact li a {
    color: rgba(255,255,255,0.5);
}

.footer-contact li a:hover {
    color: var(--gold-light);
}

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

.footer-wechat-btn {
    margin-top: 16px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    line-height: 1.8;
}

.footer-icp a {
    color: rgba(255,255,255,0.35);
}

/* ===== Floating Buttons ===== */
.float-actions {
    position: fixed;
    right: 16px;
    bottom: 24px;
    z-index: 900;
    display: none;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: var(--transition);
    font-size: 11px;
    gap: 2px;
}

.float-btn svg {
    width: 22px;
    height: 22px;
}

.float-btn span {
    font-size: 10px;
}

.float-phone {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.float-phone:hover {
    transform: scale(1.08);
    color: var(--white);
}

.float-wechat {
    background: linear-gradient(135deg, #2e8b7a, #1a6b5c);
}

.float-wechat:hover {
    transform: scale(1.08);
    color: var(--white);
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 899;
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--font-sans);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--charcoal);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}

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

/* ===== About Page ===== */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

.about-hero-text h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 16px;
}

.about-hero-text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--charcoal);
    margin-bottom: 14px;
}

.about-hero-visual {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius-lg);
    padding: 48px;
    color: var(--white);
    text-align: center;
}

.about-hero-visual .big-num {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 8px;
}

.about-hero-visual .num-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.value-card .value-num {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}

.value-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.contact-method {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

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

.contact-method-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 26px;
    height: 26px;
    color: var(--white);
}

.contact-method-icon.phone {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.contact-method-icon.wechat {
    background: linear-gradient(135deg, #2e8b7a, #1a6b5c);
}

.contact-method-icon.location {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.contact-method-icon.clock {
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
}

.contact-method-info h4 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.contact-method-info p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.contact-method-info .big-text {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1.2;
    margin-bottom: 4px;
}

.contact-wechat-banner {
    background: linear-gradient(135deg, #2e8b7a, #1a6b5c);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(26,107,92,0.25);
}

.contact-wechat-banner h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-wechat-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin-bottom: 24px;
}

.contact-wechat-banner .btn {
    background: var(--white);
    color: var(--teal);
    font-size: 16px;
    padding: 14px 36px;
}

.contact-wechat-banner .btn:hover {
    background: var(--cream);
    color: var(--teal);
    transform: translateY(-2px);
}

/* ===== Animations ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== Responsive: <= 1024px ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .compare-grid,
    .majors-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .process-grid::before {
        display: none;
    }

    .article-layout,
    .article-list-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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

    .footer-about {
        grid-column: 1 / -1;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Responsive: <= 768px ===== */
@media (max-width: 768px) {
    section {
        padding: 48px 0;
    }

    .top-bar-hide-mobile {
        display: none;
    }

    .top-bar-left .top-bar-item:first-child {
        font-size: 12px;
    }

    /* Mobile navigation */
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 80vw;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        gap: 0;
        box-shadow: -4px 0 30px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 14px 16px;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        background: var(--cream);
        color: var(--gold-dark);
    }

    .nav-cta {
        margin: 16px 0 0;
        width: 100%;
    }

    /* Hero */
    .hero {
        padding: 56px 0 64px;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        gap: 28px;
    }

    .hero-stat-num {
        font-size: 28px;
    }

    /* Section heads */
    .section-head h2 {
        font-size: 26px;
    }

    .section-head {
        margin-bottom: 36px;
    }

    /* Grids */
    .compare-grid,
    .majors-grid,
    .news-grid,
    .advantage-grid,
    .about-values-grid {
        grid-template-columns: 1fr;
    }

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

    .sidebar {
        grid-template-columns: 1fr;
    }

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

    /* Article */
    .article-cover {
        height: 240px;
    }

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

    .article-content h2 {
        font-size: 20px;
    }

    .article-list-item {
        flex-direction: column;
    }

    .article-list-thumb {
        width: 100%;
        height: 200px;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .article-nav-item.next {
        text-align: left;
    }

    .article-nav-item.next .nav-label {
        justify-content: flex-start;
    }

    /* Info blocks */
    .info-block {
        padding: 28px 20px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    /* CTA banner */
    .cta-banner {
        padding: 40px 0;
    }

    .cta-banner-title {
        font-size: 22px;
    }

    .cta-banner-actions {
        width: 100%;
    }

    .cta-banner-actions .btn {
        flex: 1;
    }

    /* Page banner */
    .page-banner {
        padding: 40px 0;
    }

    .page-banner h1 {
        font-size: 26px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Show float buttons */
    .float-actions {
        display: flex;
    }

    .back-to-top {
        bottom: 90px;
        right: 20px;
    }
}

/* ===== Responsive: <= 480px ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .top-bar {
        padding: 6px 0;
    }

    .top-bar-left {
        gap: 12px;
    }

    .top-bar-right {
        gap: 12px;
    }

    .logo-brand {
        font-size: 18px;
    }

    .logo-sub {
        font-size: 9px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .hero {
        padding: 40px 0 48px;
    }

    .hero h1 {
        font-size: 24px;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-num {
        font-size: 24px;
    }

    .section-head h2 {
        font-size: 22px;
    }

    .compare-card,
    .feature-list-card {
        padding: 28px 20px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-banner-actions {
        flex-direction: column;
    }

    .article-cover {
        height: 180px;
    }

    .article-header h1 {
        font-size: 20px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }

    .contact-method {
        flex-direction: column;
        gap: 12px;
    }

    .info-block-title {
        font-size: 20px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
    }
}

/* ===== Responsive: <= 375px ===== */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 21px;
    }

    .hero-eyebrow {
        font-size: 12px;
    }

    .section-head h2 {
        font-size: 20px;
    }

    .top-bar-item span:nth-child(2) {
        font-size: 12px;
    }

    .logo-text {
        display: none;
    }

    .compare-card h3,
    .major-card h3 {
        font-size: 18px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 12px 20px;
    }
}

/* ===== Print ===== */
@media print {
    .top-bar, .site-header, .float-actions, .back-to-top,
    .cta-banner, .mobile-overlay, .hamburger {
        display: none !important;
    }

    body {
        background: white;
    }
}
