/* Page background - light blue */
body { background: #e8f0fe !important; }





/* ============================================
   锦溪教育官网 ─ 统一完整样式
   Palette: 深海蓝 #0a2a44 + 暖金 #d4a843
   Font: system Chinese (PingFang / Microsoft YaHei)
   ============================================ */

:root {
    --blue:       #0a2a44;
    --blue-light: #1a4060;
    --blue-mid:   #2a5a7a;
    --gold:       #d4a843;
    --gold-light: #e8c46a;
    --white:      #ffffff;
    --bg:         #f5f6f8;
    --card:       #ffffff;
    --border:     #e8e8ea;
    --text:       #1e2a3a;
    --text-l:     #5a6a7a;
    --text-m:     #8a9aaa;
    --shadow:     0 2px 8px rgba(10,42,68,0.06);
    --shadow-md:  0 4px 16px rgba(10,42,68,0.08);
    --shadow-lg:  0 8px 30px rgba(10,42,68,0.12);
    --radius:     8px;
    --radius-lg:  12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    color: var(--text); background: var(--white); line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.navbar { background: var(--white); border-bottom: 1px solid var(--border); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--blue); }
.logo i { font-size: 22px; color: var(--gold); }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a { padding: 7px 13px; font-size: 13px; color: var(--text-l); border-radius: 6px; transition: .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: #eef2f6; }
.nav-contact { display: flex; align-items: center; gap: 6px; color: var(--blue); font-size: 13px; font-weight: 600; }
.hamburger { display: none; }
@media (max-width: 900px) { .nav-links { display:none; } .hamburger { display:flex; flex-direction:column; gap:4px; cursor:pointer; } .hamburger span { width:20px; height:2px; background:var(--text); border-radius:2px; } }

/* ===== TYPBAR / COUNTDOWN ===== */
.countdown-bar {
    background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 45%, #7c3aed 100%);
    padding: 10px 20px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(37,99,235,0.28);
}
.countdown-bar b {
    display: inline-block;
    background: rgba(11,30,84,0.34);
    padding: 2px 10px;
    border-radius: 6px;
    margin: 0 2px;
    min-width: 35px;
}

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #0a2a44 0%, #1a4060 50%, #2a5a7a 100%); color: #fff; padding: 48px 20px 36px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -30%; left: -20%; right: -20%; bottom: -30%; background: radial-gradient(ellipse at 30% 40%, rgba(212,168,67,0.08) 0%, transparent 55%); pointer-events: none; }
.hero-overlay { display: none; }
.hero-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; padding: 70px 20px 35px; }
.hero-badge { display: block; background: #1a4060; border: 1px solid rgba(255,255,255,0.2); padding: 5px 18px; border-radius: 20px; font-size: 13px; margin-bottom: 14px; color: #fff; font-weight: 500; }
.hero h1, .hero-slogan { font-size: 34px; font-weight: 800; margin-bottom: 6px; letter-spacing: .5px; background: #0a2a44; padding: 8px 20px; border-radius: 6px; display: inline-block; }
.hero-highlight { font-size: 20px; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.hero-desc { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 22px; }
.hero-stats { display: flex; justify-content: center; gap: 30px; margin: 20px 0; flex-wrap: wrap; }
.stat-item { text-align: center; min-width: 80px; }
.stat-number { font-size: 28px !important; font-weight: 800 !important; display: block; color: #fff !important; }
.stat-label { font-size: 13px !important; color: rgba(255,255,255,.8) !important; display: block; margin-top: 3px; }
.hero-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: .2s; text-decoration: none; }
.btn-primary { background: #fff; color: var(--blue); }
.btn-primary:hover { background: var(--gold); color: var(--blue); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); }
.btn-secondary:hover { border-color: rgba(255,255,255,.6); }
.btn-quiz { background: linear-gradient(135deg, #dc2626, #b91c1c) !important; color: #fff !important; }
.btn-quiz:hover { transform: translateY(-1px); }
.btn-large { padding: 10px 24px; }
.btn-small { padding: 7px 16px; font-size: 13px; }
.btn-official { background: linear-gradient(135deg, #1e88e5, #1565c0); color: #fff; border-radius: 6px; }
.btn-service { background: var(--blue); color: #fff; padding: 8px 20px; font-size: 13px; }
.btn-service:hover { background: var(--blue-light); }
.hero-trust { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-trust span { font-size: 12px; color: rgba(255,255,255,.7); }
.hero-trust i { color: var(--gold); margin-right: 4px; }
.scroll-indicator { display: none; }

/* ===== SECTIONS COMMON ===== */
section { padding: 44px 0; }
.section-header { text-align: center; margin-bottom: 26px; }
.section-header h2 { font-size: 20px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.section-header h2::after { content: ''; display: block; width: 36px; height: 3px; background: var(--gold); margin: 8px auto 0; border-radius: 2px; }
.section-header p { font-size: 14px; color: var(--text-m); margin-top: 8px; }

/* ===== ADVANTAGES ===== */
.advantages-quick { background: var(--bg); }
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.advantage-item { background: var(--card); border-radius: var(--radius); padding: 20px 14px; text-align: center; box-shadow: var(--shadow); }
.advantage-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: var(--gold); font-size: 17px; }
.advantage-item h4 { font-size: 14px; color: var(--text); margin-bottom: 4px; }
.advantage-item p { font-size: 12px; color: var(--text-m); }

/* ===== SERVICES ===== */
.services-hot { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 16px; }
.service-card { background: var(--bg); border-radius: var(--radius-lg); padding: 26px 18px; text-align: center; position: relative; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card.hot { border: 2px solid var(--blue); background: linear-gradient(#fff,#fff) padding-box, linear-gradient(135deg,var(--blue),var(--blue-light)) border-box; }
.service-badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,#dc2626,#b91c1c); color:#fff; padding: 3px 14px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.service-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--gold); font-size: 20px; }
.service-card h3 { font-size: 16px; color: var(--text); margin-bottom: 6px; }
.service-card p { font-size: 13px; color: var(--text-m); margin-bottom: 12px; }
.service-features { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 14px; }
.service-features span { font-size: 11px; color: var(--text-l); background: #fff; padding: 3px 10px; border-radius: 8px; }

/* ===== ABOUT ===== */
.about { background: var(--bg); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.about-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-text h3 { font-size: 20px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.about-text p { font-size: 14px; color: var(--text-l); margin-bottom: 12px; line-height: 1.7; }
.about-features { display: grid; gap: 8px; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-l); }
.feature-item i { color: var(--gold); font-size: 15px; }
.about-contact { margin-top: 20px; padding: 12px 16px; background: var(--blue); color: #fff; border-radius: var(--radius); font-size: 16px; text-align: center; box-shadow: 0 3px 12px rgba(10,42,68,.25); }
.about-contact strong { font-size: 20px; color: var(--gold); }
.about-contact i { margin-right: 6px; }

/* ===== FEATURES ===== */
.features { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { background: var(--bg); border-radius: var(--radius-lg); padding: 26px 20px; border: 1px solid var(--border); transition: .3s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--gold); font-size: 18px; }
.feature-card h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.feature-card p { font-size: 12px; color: var(--text-m); line-height: 1.6; }

/* ===== TEACHERS ===== */
.teachers { background: var(--bg); }
.teachers-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 16px; }
.teacher-card { background: var(--card); border-radius: var(--radius); padding: 22px 14px; text-align: center; box-shadow: var(--shadow); }
.teacher-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: var(--gold); font-size: 22px; }
.teacher-card h4 { font-size: 14px; color: var(--text); margin-bottom: 2px; }
.teacher-title { font-size: 12px; color: var(--gold); font-weight: 600; }
.teacher-desc { font-size: 12px; color: var(--text-m); margin-top: 4px; line-height: 1.5; }
.teachers-note { text-align: center; font-size: 13px; color: var(--text-m); margin-top: 16px; }

/* ===== PRODUCTS ===== */
.products { background: var(--white); }
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.product-card { background: var(--bg); border-radius: var(--radius); padding: 22px 16px; text-align: center; box-shadow: var(--shadow); }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--gold); font-size: 22px; }
.product-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.product-card p { font-size: 13px; color: var(--text-m); margin-bottom: 8px; }
.product-link { font-size: 13px; color: var(--blue-mid); font-weight: 600; }
.product-link:hover { color: var(--blue); }
.enrollment-guide { text-align: center; padding: 24px; background: #eef2f6; border-radius: 10px; border: 1px solid #d0d4da; margin-top: 10px; }
.enrollment-guide p { font-size: 14px; color: #1a2a3a; margin-bottom: 8px; line-height: 1.6; }
.enrollment-guide .hint { font-size: 13px; color: #8a9aaa; }
.enrollment-guide .btn-primary { display: inline-flex; align-items: center; gap: 6px; background: #0a2a44; color: #ffffff; padding: 10px 24px; font-size: 14px; font-weight: 600; border-radius: 8px; text-decoration: none; margin-top: 12px; border: none; }
.enrollment-guide .btn-primary:hover { background: #1a4060; }

/* ===== ENVIRONMENT ===== */
.environment { background: var(--bg); }
.environment-gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery-main { width: 100%; border-radius: var(--radius-lg); overflow: hidden; max-height: 300px; cursor: pointer; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; height: 200px; position: relative; cursor: pointer; transition: .25s; }
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px; background: linear-gradient(transparent, rgba(10,42,68,.7)); color: #fff; font-size: 12px; font-weight: 500; }
.gallery-placeholder { background: var(--card); border-radius: var(--radius); padding: 30px; text-align: center; color: var(--text-m); }
.gallery-placeholder i { font-size: 36px; color: var(--border); margin-bottom: 10px; }
.environment-note { text-align: center; font-size: 13px; color: var(--text-m); margin-top: 14px; }

/* ===== COLLEGES ===== */
.colleges { background: var(--white); }
.city-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; justify-content: center; }
.city-btn { padding: 5px 14px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); cursor: pointer; font-size: 12px; color: var(--text-l); transition: .2s; }
.city-btn.active, .city-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.colleges-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.college-card { background: var(--card); border-radius: var(--radius); padding: 14px; border: 1px solid var(--border); transition: .25s; }
.college-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.college-card.hidden, .college-card.collapsed { display: none; }
.college-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.college-header h3 { font-size: 14px; font-weight: 600; flex: 1; }
.college-badge { display: inline-block; padding: 2px 7px; border-radius: 8px; font-size: 10px; font-weight: 700; vertical-align: middle; margin-right: 3px; }
.college-badge.hot { background: linear-gradient(135deg,#dc2626,#b91c1c); color: #fff; }
.college-location { font-size: 12px; color: var(--text-m); white-space: nowrap; }
.college-type { font-size: 12px; color: var(--blue-mid); font-weight: 500; margin-bottom: 4px; }
.college-desc { font-size: 12px; color: var(--text-l); margin-bottom: 8px; }
.college-majors-preview { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.major-tag { padding: 2px 8px; background: #eef2f6; color: var(--blue-mid); border-radius: 6px; font-size: 11px; }
.major-tag.more { background: transparent; color: var(--text-m); }
.college-detail-btn { width: 100%; padding: 7px; background: var(--blue); color: #fff; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; }
.college-detail-btn:hover { background: var(--blue-light); }
.colleges-toggle { text-align: center; margin-top: 14px; }
.hint { font-size: 12px; color: var(--text-m); }
.official-url-section { text-align: center; padding: 8px; }
.official-url-section .hint { margin-top: 12px; }
.major-category {
    font-size: 14px;
    color: #0a2a44;
    font-weight: 700;
    margin: 16px 0 8px;
    padding: 12px 14px;
    background: #eef2f6;
    border-radius: 8px;
    border-left: 3px solid #d4a843;
}
.major-note {
    font-size: 13px !important;
    color: #8a9aaa !important;
    margin-top: 6px !important;
    font-weight: 400 !important;
}
.majors-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.major-category h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0a2a44;
}
.major-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #ffffff;
    color: #1a4060;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #d0d4da;
    margin: 3px 4px;
}
.major-tag.more {
    background: transparent;
    color: #8a9aaa;
    border-style: dashed;
}
.hot { color: #dc2626; }
.location-info {
    background: #f5f6f8;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #e8e8ea;
}
.location-info .addr-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}
.location-info .addr-line i {
    color: #d4a843;
    font-size: 16px;
    margin-top: 3px;
    min-width: 16px;
}
.location-info .addr-line span {
    font-size: 14px;
    color: #1a2a3a;
    line-height: 1.7;
}
.location-info .addr-line strong {
    font-weight: 700;
    color: #0a2a44;
}
.location-info .transit-line {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eef2f6;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}
.location-info .transit-line i {
    color: #0a2a44;
    font-size: 16px;
}
.location-info .transit-line span {
    font-size: 14px;
    color: #1a2a3a;
    font-weight: 500;
}
.location-info .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0a2a44;
    color: #ffffff;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    width: 100%;
    transition: all 0.2s;
}
.location-info .btn-primary:hover {
    background: #1a4060;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10,42,68,0.15);
}
.
/* Location map image */
.location-map-image {
    background: #f5f6f8;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    border: 1px solid #e8e8ea;
}
.location-map-image img {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    display: block;
}
.location-map-image p {
    font-size: 14px !important;
    color: #4a5a6a !important;
    margin-top: 10px !important;
    font-weight: 500 !important;
}

dormitory-info, .employment-info { display: none; }

/* ===== FOOTER ===== */
.footer {
    background: #061220;
    padding: 24px 0 0;
    color: rgba(255,255,255,0.55);
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo {
    margin-bottom: 14px;
}
.footer-brand .logo i {
    font-size: 22px;
    color: #d4a843;
}
.footer-brand .logo span {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}
.footer-brand h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 14px !important;
}
.footer-brand p {
    font-size: 13px !important;
    color: rgba(255,255,255,0.55) !important;
    line-height: 1.9 !important;
    margin-bottom: 8px !important;
}
.footer-links h4 {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
}
.footer-links h4::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: #d4a843;
    margin-top: 8px;
    border-radius: 1px;
}
.footer-links a {
    display: block;
    padding: 7px 0 !important;
    font-size: 15px !important;
    color: rgba(255,255,255,0.5) !important;
    transition: color 0.2s;
    text-decoration: none;
}
.footer-links a:hover { color: #d4a843 !important; }
.footer-contact h4 {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
}
.footer-contact h4::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: #d4a843;
    margin-top: 8px;
    border-radius: 1px;
}
.footer-contact p {
    font-size: 15px !important;
    color: rgba(255,255,255,0.55) !important;
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-contact i {
    width: 18px !important;
    color: #d4a843 !important;
    font-size: 14px !important;
    text-align: center;
}
.footer-bottom {
    padding: 18px 0 !important;
    text-align: center !important;
}
.footer-bottom p {
    font-size: 14px !important;
    color: rgba(255,255,255,0.7) !important;
    margin: 0 !important;
}

/* ===== MODAL ===== */
.modal { display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(10,42,68,.45); z-index:2000; align-items:center; justify-content:center; padding:20px; }
.modal.active { display:flex; }
.modal-content { background:var(--card); max-width:780px; width:100%; max-height:85vh; overflow-y:auto; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }
.modal-header { display:flex; justify-content:space-between; align-items:center; padding:16px 20px; background:var(--blue); color:#fff; border-radius:var(--radius-lg) var(--radius-lg) 0 0; }
.modal-header h2 { font-size:17px; }
.modal-close { background:transparent; border:none; color:rgba(255,255,255,.7); font-size:20px; cursor:pointer; }
.modal-close:hover { color:#fff; }
.modal-body { padding:20px; }
.modal-body h3 { font-size: 15px; color: var(--text); margin-bottom: 10px; margin-top: 14px; }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { font-size: 13px; color: var(--text-l); margin-bottom: 8px; line-height: 1.6; }
.modal-contact { background: var(--blue-light); color: #fff; padding: 12px 16px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px; font-size: 14px; }
.modal-contact strong { font-size: 18px; color: var(--gold); }
.modal-section { margin-bottom: 14px; }
.modal-section h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.modal-section h3 i { color: var(--blue); }
.modal-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }

/* ===== AI CHATBOT ===== */
.ai-customer-service {
    position: fixed;
    right: 20px;
    bottom: 40px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
/* Consultation button - redesigned as pill with text */
.ai-service-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0a2a44;
    color: #ffffff;
    padding: 12px 20px 12px 16px;
    border-radius: 30px;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 16px rgba(10,42,68,0.25);
    transition: all 0.2s;
    position: relative;
}
.ai-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10,42,68,0.35);
    background: #1a4060;
}
.ai-btn-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #d4a843;
}
.ai-btn-text {
    display: flex !important;
    flex-direction: column;
    line-height: 1.2;
}
.ai-btn-text span {
    font-size: 14px;
    font-weight: 700;
}
.ai-btn-text small {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
}
.ai-btn-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc2626;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(220,38,38,0.3);
}
.ai-chat-window { position: fixed; bottom: 90px; right: 20px; width: 360px; height: 400px; background: var(--card); border-radius: 14px; box-shadow: 0 8px 30px rgba(10,42,68,.18); z-index: 9998; display: none; flex-direction: column; overflow: hidden; }
.ai-chat-window.active { display: flex; }
.ai-chat-header { background: var(--blue); padding: 8px 14px; display: flex; justify-content: space-between; align-items: center; }
.ai-header-info { display: flex; align-items: center; gap: 8px; }
.ai-avatar { width: 26px; height: 26px; background: rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; }
.ai-header-text h4 { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.2; }
.ai-status { font-size: 11px; color: rgba(255,255,255,.7); line-height: 1.2; }
.ai-status i { color: #22c55e; font-size: 7px; margin-right: 3px; }
.ai-close-btn { cursor: pointer; color: rgba(255,255,255,.7); font-size: 18px; background: none; border: none; padding: 0; }
.ai-close-btn:hover { color: #fff; }
.ai-chat-messages { flex: 1; padding: 16px; overflow-y: auto; background: #f8f9fb; display: flex; flex-direction: column; justify-content: flex-start; }
.ai-message { margin-bottom: 8px; }
.ai-bot-message { margin-bottom: 10px; }
.ai-message-avatar { display: none; }
.ai-message-content { padding: 10px 14px; background: #eef2f6; border-radius: 8px; display: block; font-size: 14px; color: var(--text); max-width: 90%; line-height: 1.6; }
.ai-message-content p { margin-bottom: 3px; }
.ai-chat-footer { display: flex; gap: 6px; padding: 8px 12px; border-top: 1px solid var(--border); }
.ai-chat-input { flex: 1; padding: 8px 12px; border: 2px solid var(--border); border-radius: 18px; outline: none; font-size: 13px; font-family: inherit; }
.ai-chat-input:focus { border-color: var(--blue-mid); }
.ai-send-btn { width: 34px; height: 34px; background: var(--blue); color: var(--gold); border: none; border-radius: 50%; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.ai-send-btn:hover { transform: scale(1.05); }
.ai-quick-questions { padding: 8px 0 0; background: transparent; display: flex; gap: 6px; flex-wrap: wrap; }
.ai-quick-questions button { cursor: pointer; padding: 6px 14px; background: #ffffff; border: 1px solid #d0d4da; border-radius: 16px; font-size: 12px; color: #1a2a3a; font-family: inherit; transition: all 0.15s; }
.ai-quick-questions button:hover { border-color: #0a2a44; color: #0a2a44; background: #eef2f6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1, .hero-slogan { font-size: 34px; }
    .hero-stats { gap: 16px; }
    .stat-number { font-size: 24px !important; }
    .about-content { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2,1fr); }
    .colleges-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2,1fr); }
    .contact-content { flex-direction: column; }
    .footer-content { grid-template-columns: 1fr; }
    .ai-chat-window { width: calc(100vw - 32px); }
}
@media (max-width: 480px) {
    section { padding: 44px 0; }
    .hero { padding: 36px 16px 28px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .gallery-grid { grid-template-columns: 1fr; }
}

.ai-header-text { flex: 1; }
.dormitory-info { display: none; }
.employment-info { display: none; }


/* ============================================
   全局可读性增强（覆盖所有冲突）
   ============================================ */

/* 确保主页所有文字清晰 */
section, section * {
    font-size: inherit;
}

/* Hero */
.hero * { color: #fff !important; }

/* Section headers */
.section-header h2 { font-size: 26px !important; color: #0a2a44 !important; }
.section-header p { font-size: 15px !important; color: #5a6a7a !important; }

/* Feature cards */
.feature-card h3 { font-size: 16px !important; color: #0a2a44 !important; }
.feature-card p { font-size: 14px !important; color: #4a5a6a !important; line-height: 1.7 !important; }

/* Service cards */
.service-card h3 { font-size: 17px !important; color: #0a2a44 !important; }
.service-card p { font-size: 14px !important; color: #4a5a6a !important; }

/* About */
.about-text h3 { font-size: 22px !important; color: #0a2a44 !important; }
.about-text p { font-size: 15px !important; color: #4a5a6a !important; line-height: 1.8 !important; }
.feature-item { font-size: 15px !important; color: #4a5a6a !important; }

/* Teachers */
.teacher-card h4 { font-size: 16px !important; color: #0a2a44 !important; }
.teacher-title { font-size: 14px !important; color: #d4a843 !important; }
.teacher-desc { font-size: 14px !important; color: #5a6a7a !important; }

/* Products */
.product-card h3 { font-size: 16px !important; color: #0a2a44 !important; }
.product-card p { font-size: 14px !important; color: #5a6a7a !important; }
.product-link { font-size: 14px !important; color: #2a5a7a !important; }

/* Advantage */
.advantage-item h4 { font-size: 15px !important; color: #0a2a44 !important; }
.advantage-item p { font-size: 13px !important; color: #5a6a7a !important; }

/* Colleges */
.college-header h3 { font-size: 15px !important; color: #0a2a44 !important; }
.college-desc { font-size: 13px !important; color: #4a5a6a !important; }
.college-type { font-size: 13px !important; color: #2a5a7a !important; }
.major-tag { font-size: 12px !important; color: #1a4060 !important; }
.college-detail-btn { font-size: 14px !important; }

/* Gallery */
.gallery-label { font-size: 14px !important; color: #fff !important; }

/* Nav */
.nav-links a { font-size: 14px !important; color: #4a5a6a !important; }

/* Contact */
.contact-left p { font-size: 15px !important; color: rgba(255,255,255,0.9) !important; }

/* Footer */
.footer-brand p { font-size: 14px !important; color: rgba(255,255,255,0.6) !important; }
.footer-links a { font-size: 14px !important; color: rgba(255,255,255,0.5) !important; }
.footer-contact p { font-size: 14px !important; color: rgba(255,255,255,0.5) !important; }

/* Modal */
.modal-body p { font-size: 14px !important; color: #4a5a6a !important; line-height: 1.7 !important; }
.modal-body h3 { font-size: 16px !important; color: #0a2a44 !important; }

/* Type bar inline override */
.countdown-bar { font-size: 14px !important; color: #fff !important; }

/* All buttons */
.btn { font-size: 14px !important; }
.btn-large { font-size: 15px !important; }

/* Scroll indicator - hide */
.scroll-indicator { display: none !important; }

/* Hero overlay - hide */
.hero-overlay { display: none !important; }




/* Contact - single column */
.contact-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 36px !important;
    align-items: start !important;
}

.location-image {
    background: #f5f6f8;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    border: 1px solid #e8e8ea;
    margin-bottom: 16px;
}
.location-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* Page background - light blue */
body { background: #e8f0fe; }

/* Sections below hero - transparent so body shows through */
.advantages-quick,
.services-hot,
.about,
.features,
.teachers,
.products,
.environment,
.colleges {
    background: transparent !important;
}

/* ===== 蓝天色主题（覆盖所有冲突） ===== */
.hero {
    background: linear-gradient(180deg, #1E3A5F 0%, #2B6CB0 50%, #4A90D9 100%) !important;
}
.hero .hero-slogan {
    background: rgba(255,255,255,0.15) !important;
}
.hero .hero-badge {
    background: rgba(255,255,255,0.9) !important;
    color: #1a3a5c !important;
    border-color: rgba(255,255,255,0.5) !important;
}
.hero .hero-highlight {
    color: #B8D8F0 !important;
}
.hero .btn-secondary {
    border-color: rgba(255,255,255,0.5) !important;
    color: #fff !important;
}

/* ===== 手机端紧凑布局 V4（终极紧凑） ===== */
@media (max-width: 768px) {
    section { padding: 6px 0 !important; }
    .container { padding: 0 12px !important; }
    .section-header { margin-bottom: 8px !important; }
    .section-header h2 { font-size: 16px !important; margin-bottom: 2px !important; }
    .section-header h2::after { margin: 3px auto !important; height: 2px !important; width: 24px !important; }
    .section-header p { font-size: 11px !important; margin-top: 2px !important; }

    /* ===== 核心优势 ===== */
    .features-grid { gap: 6px !important; grid-template-columns: 1fr 1fr !important; }
    .feature-card { padding: 8px !important; border-radius: 6px !important; }
    .feature-card i { font-size: 22px !important; margin-bottom: 4px !important; }
    .feature-card h3 { font-size: 13px !important; margin-bottom: 2px !important; }
    .feature-card p { font-size: 11px !important; line-height: 1.3 !important; }

    /* ===== 咨询服务 ===== */
    .products-grid { gap: 6px !important; }
    .product-card { padding: 10px !important; }
    .product-card i { font-size: 24px !important; margin-bottom: 6px !important; }
    .product-card h3 { font-size: 13px !important; margin-bottom: 4px !important; }
    .product-card p { font-size: 11px !important; line-height: 1.3 !important; }
    .product-card .btn { padding: 6px 12px !important; font-size: 11px !important; margin-top: 6px !important; }

    /* ===== 热门服务 ===== */
    .services-grid { gap: 6px !important; }
    .service-card { padding: 10px !important; }
    .service-card .service-icon i { font-size: 24px !important; }
    .service-card .service-badge { font-size: 10px !important; padding: 2px 8px !important; top: 6px !important; right: 6px !important; }
    .service-card h3 { font-size: 13px !important; margin-bottom: 4px !important; }
    .service-card p { font-size: 11px !important; line-height: 1.3 !important; }
    .service-features { gap: 4px !important; margin: 6px 0 !important; }
    .service-features span { font-size: 10px !important; padding: 2px 6px !important; }
    .service-card .btn-service { padding: 6px 14px !important; font-size: 11px !important; }

    /* ===== 专业顾问团队 ===== */
    .teachers-grid { gap: 6px !important; }
    .teacher-card { padding: 8px !important; }
    .teacher-card .teacher-avatar { width: 40px !important; height: 40px !important; margin-bottom: 6px !important; }
    .teacher-card h3 { font-size: 13px !important; margin-bottom: 2px !important; }
    .teacher-card .teacher-title { font-size: 11px !important; margin-bottom: 2px !important; }
    .teacher-card .teacher-desc { font-size: 11px !important; line-height: 1.3 !important; }
    .teachers-note { margin-top: 6px !important; }
    .teachers-note p { font-size: 11px !important; padding: 6px !important; }

    /* ===== 优势快捷入口 ===== */
    .advantages-grid { gap: 6px !important; grid-template-columns: 1fr 1fr 1fr !important; }
    .advantage-item { padding: 8px !important; }
    .advantage-item .advantage-icon i { font-size: 20px !important; }
    .advantage-item h4 { font-size: 12px !important; margin: 4px 0 2px !important; }
    .advantage-item p { font-size: 10px !important; line-height: 1.2 !important; display: none !important; }

    /* ===== AI聊天窗口 ===== */
    .ai-chat-window { display: flex; flex-direction: column !important; overflow: hidden; max-height: calc(100vh - 190px) !important; }
    .ai-chat-header { flex-shrink: 0 !important; padding: 6px 10px !important; }
    .ai-chat-header .ai-avatar { width: 28px !important; height: 28px !important; }
    .ai-chat-header .ai-header-info div:first-child + div { font-size: 12px !important; }
    .ai-chat-messages { flex: 1 !important; height: auto !important; min-height: 30px !important; overflow-y: auto !important; padding: 6px 8px !important; }
    .ai-chat-messages .ai-message-content { padding: 5px 8px !important; font-size: 11px !important; }
    .ai-quick-questions { flex-shrink: 0 !important; padding: 3px 10px 2px !important; margin: 0 !important; gap: 3px !important; }
    .ai-quick-questions button { font-size: 9px !important; padding: 2px 6px !important; }
    .ai-chat-footer { flex-shrink: 0 !important; padding: 4px 10px 6px !important; }
    .ai-chat-input input { font-size: 11px !important; padding: 6px 8px !important; }
    .ai-send-btn { width: 30px !important; height: 30px !important; font-size: 12px !important; }

    /* ===== 其他 ===== */
    .hero-content { padding: 20px 10px 10px !important; }
    .hero-slogan { font-size: 18px !important; }
    .hero-highlight { font-size: 15px !important; }
    .hero-badge { font-size: 10px !important; padding: 2px 8px !important; }
    .hero-stats { gap: 2px !important; }
    .stat-number { font-size: 15px !important; }
    .stat-label { font-size: 9px !important; }
    .hero-buttons { gap: 6px !important; }
    .hero-buttons .btn { padding: 8px 16px !important; font-size: 12px !important; }
    .colleges-grid { gap: 4px !important; }
    .college-item { padding: 5px 6px !important; font-size: 11px !important; }
    .environment-gallery { gap: 6px !important; }
    .gallery-grid { gap: 3px !important; }
    .gallery-item { height: 100px !important; }
    .navbar .container { padding: 0 10px !important; height: 48px !important; }
    .countdown-bar { font-size: 10px !important; padding: 3px 6px !important; top: 48px !important; }
    .footer { padding: 8px 0 0 !important; }
    .footer-content { gap: 8px !important; padding-bottom: 6px !important; }
    .footer-brand .logo { margin-bottom: 2px !important; }
    .footer-brand .logo i { font-size: 16px !important; }
    .footer-brand .logo span { font-size: 13px !important; }
    .footer-brand p { font-size: 10px !important; margin: 0 0 1px 0 !important; line-height: 1.2 !important; }
    .footer-links { margin-right: 10px !important; }
    .footer-links h4, .footer-contact h4 { font-size: 11px !important; margin-bottom: 2px !important; }
    .footer-links li { padding: 1px 0 !important; }
    .footer-links a { font-size: 10px !important; padding: 1px 0 !important; }
    .footer-contact p { font-size: 10px !important; margin: 0 !important; }
    .footer-bottom { padding: 4px 0 !important; margin-top: 4px !important; }
    .footer-bottom p { font-size: 9px !important; }
}

@media (max-width: 480px) {
    section { padding: 4px 0 !important; }
    .container { padding: 0 10px !important; }
    .section-header { margin-bottom: 6px !important; }
    .section-header h2 { font-size: 14px !important; }
    .section-header h2::after { height: 2px !important; width: 20px !important; }
    .section-header p { font-size: 10px !important; }

    .feature-card { padding: 6px !important; }
    .feature-card i { font-size: 18px !important; }
    .feature-card h3 { font-size: 12px !important; }
    .feature-card p { font-size: 10px !important; }

    .product-card { padding: 8px !important; }
    .product-card h3 { font-size: 12px !important; }
    .product-card p { font-size: 10px !important; }

    .service-card { padding: 8px !important; }
    .service-card h3 { font-size: 12px !important; }
    .service-card p { font-size: 10px !important; }
    .service-features span { font-size: 9px !important; padding: 1px 5px !important; }

    .teacher-card { padding: 6px !important; }
    .teacher-card .teacher-avatar { width: 40px !important; height: 40px !important; }
    .teacher-card h3 { font-size: 12px !important; }
    .teacher-card .teacher-desc { font-size: 10px !important; }

    .advantages-grid { gap: 4px !important; }
    .advantage-item { padding: 6px !important; }
    .advantage-item h4 { font-size: 11px !important; }

    .ai-chat-window { display: flex; flex-direction: column !important; overflow: hidden; max-height: calc(100vh - 170px) !important; }
    .ai-chat-messages { flex: 1 !important; height: auto !important; min-height: 25px !important; }
    .ai-quick-questions button { font-size: 8px !important; padding: 2px 5px !important; }
    .ai-chat-footer { padding: 3px 8px 5px !important; }
    .ai-chat-input input { font-size: 10px !important; padding: 5px 7px !important; }
    .ai-send-btn { width: 28px !important; height: 28px !important; font-size: 11px !important; }

    .gallery-item { height: 80px !important; }
    .college-item { font-size: 10px !important; padding: 4px 5px !important; }
    .footer { padding: 6px 0 0 !important; }
    .footer-content { gap: 6px !important; padding-bottom: 4px !important; }
    .footer-brand p { font-size: 9px !important; }
    .footer-links h4, .footer-contact h4 { font-size: 10px !important; }
    .footer-links a { font-size: 9px !important; }
    .footer-contact p { font-size: 9px !important; }
    .footer-bottom { padding: 3px 0 !important; }
    .footer-bottom p { font-size: 8px !important; }
}

@media (max-width: 375px) {
    section { padding: 6px 0 !important; }
    .container { padding: 0 8px !important; }
    .section-header h2 { font-size: 13px !important; }
    .section-header p { font-size: 9px !important; }

    .feature-card { padding: 5px !important; }
    .feature-card i { font-size: 16px !important; }
    .feature-card h3 { font-size: 11px !important; }
    .feature-card p { font-size: 9px !important; }

    .product-card { padding: 6px !important; }
    .product-card h3 { font-size: 11px !important; }
    .product-card p { font-size: 9px !important; }

    .service-card { padding: 6px !important; }
    .service-card h3 { font-size: 11px !important; }
    .service-card p { font-size: 9px !important; }
    .service-card .service-icon i { font-size: 20px !important; }

    .teacher-card { padding: 5px !important; }
    .teacher-card .teacher-avatar { width: 36px !important; height: 36px !important; }
    .teacher-card h3 { font-size: 11px !important; }
    .teacher-card .teacher-desc { font-size: 9px !important; }

    .advantages-grid { gap: 3px !important; }
    .advantage-item { padding: 4px !important; }
    .advantage-item .advantage-icon i { font-size: 16px !important; }
    .advantage-item h4 { font-size: 10px !important; }

    .ai-chat-window { display: flex !important; flex-direction: column !important; overflow: hidden !important; max-height: calc(100vh - 150px) !important; }
    .ai-chat-messages { flex: 1 !important; height: auto !important; min-height: 20px !important; }

    .gallery-item { height: 65px !important; }
    .footer { padding: 4px 0 0 !important; }
    .footer-content { gap: 4px !important; }
    .footer-brand .logo span { font-size: 12px !important; }
    .footer-brand p { font-size: 8px !important; }
    .footer-links h4, .footer-contact h4 { font-size: 9px !important; }
    .footer-links a { font-size: 8px !important; }
    .footer-contact p { font-size: 8px !important; }
    .footer-bottom { padding: 2px 0 !important; }
    .footer-bottom p { font-size: 7px !important; }
}

/* ===== Mobile viewport hardening 2026-07-07 ===== */
@media (max-width: 768px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box !important;
    }

    img,
    video,
    canvas,
    iframe,
    table {
        max-width: 100% !important;
    }

    .container,
    .navbar .container,
    .hero-content,
    .hero-copy,
    .hero-action-panel,
    .hero-quick-panel,
    .advantages-grid,
    .home-news-section,
    .home-news-inner,
    .home-news-grid,
    .news-columns,
    .home-college-service,
    .home-college-head,
    .home-college-guide,
    .home-college-tools,
    .home-college-grid,
    .home-college-card,
    .home-college-actions,
    .services-grid,
    .features-grid,
    .products-grid,
    .teachers-grid,
    .colleges-grid,
    .contact-content,
    .footer-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    html body #ksTypeBar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 8px 10px !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        overflow: hidden !important;
    }

    html body #ksTypeBar span,
    html body #ksTypeBar a {
        max-width: 100% !important;
        white-space: nowrap !important;
    }

    html body #ksTypeBar span:first-child {
        flex: 0 0 100% !important;
        text-align: center !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    html body #ksTypeBar span:nth-child(2),
    html body #ksTypeBar a {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 7px 8px !important;
        font-size: 12px !important;
        text-align: center !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    html body .navbar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
    }

    html body .navbar .container {
        height: auto !important;
        min-height: 50px !important;
        padding: 8px 12px !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }

    html body .logo {
        min-width: 0 !important;
        max-width: calc(100vw - 70px) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 16px !important;
    }

    html body .logo span {
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    html body .nav-contact {
        display: none !important;
    }

    html body .hamburger {
        display: none !important;
    }

    html body .nav-links {
        display: grid !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
        padding: 4px 0 2px !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    html body .nav-links li {
        width: 100% !important;
        min-width: 0 !important;
    }

    html body .nav-links a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 34px !important;
        white-space: normal !important;
        word-break: keep-all !important;
        text-align: center !important;
        line-height: 1.2 !important;
        font-size: 11px !important;
        padding: 6px 5px !important;
        border-radius: 12px !important;
        background: #f3f8f6 !important;
    }

    html body .countdown-bar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        white-space: normal !important;
        line-height: 1.7 !important;
        font-size: 11px !important;
        padding: 6px 8px !important;
        text-align: center !important;
    }

    html body .countdown-bar b {
        display: inline-block !important;
        min-width: 24px !important;
        padding: 1px 5px !important;
        margin: 0 1px !important;
    }

    html body section.hero {
        padding: 16px 0 14px !important;
        overflow: hidden !important;
    }

    html body section.hero .hero-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 12px !important;
    }

    html body .hero h1,
    html body .hero-slogan {
        display: block !important;
        width: 100% !important;
        font-size: 24px !important;
        line-height: 1.22 !important;
        padding: 0 !important;
        margin: 0 0 6px !important;
        background: transparent !important;
        letter-spacing: 0 !important;
        word-break: break-word !important;
    }

    html body .hero-highlight {
        font-size: 17px !important;
        line-height: 1.35 !important;
    }

    html body .hero-desc {
        font-size: 13px !important;
        line-height: 1.7 !important;
        margin-bottom: 14px !important;
    }

    html body .hero-buttons {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

    html body .hero-buttons .btn {
        width: 100% !important;
        min-width: 0 !important;
        justify-content: center !important;
        padding: 10px 12px !important;
        white-space: normal !important;
    }

    html body .hero-trust {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    html body .hero-action-panel {
        display: block !important;
    }

    html body .hero-visual-card {
        width: 100% !important;
        min-width: 0 !important;
        border-radius: 12px !important;
    }

    html body .hero-visual-card img {
        width: 100% !important;
        height: auto !important;
        min-height: 160px !important;
        object-fit: cover !important;
    }

    html body .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
    }

    html body .hero-stats .stat-item {
        min-width: 0 !important;
        padding: 8px 4px !important;
    }

    html body .hero-quick-panel {
        display: none !important;
    }

    html body .advantages-grid,
    html body .features-grid,
    html body .services-grid,
    html body .products-grid,
    html body .teachers-grid,
    html body .colleges-grid {
        grid-template-columns: 1fr !important;
    }

    html body .home-news-section,
    html body .home-college-section,
    html body .colleges,
    html body section {
        overflow: hidden !important;
    }

    html body .home-news-inner,
    html body .home-college-service {
        border-radius: 14px !important;
        padding: 14px 12px !important;
    }

    html body .home-news-grid,
    html body .news-columns,
    html body .home-college-head,
    html body .home-college-guide,
    html body .home-college-tools,
    html body .home-college-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    html body .home-college-head h3 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    html body .home-college-stats {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
    }

    html body .home-college-stats div {
        min-width: 0 !important;
        padding: 8px 4px !important;
    }

    html body .home-college-guide div {
        display: grid !important;
        grid-template-columns: 32px 1fr !important;
        grid-template-areas:
            "icon title"
            "icon desc" !important;
        gap: 3px 8px !important;
        align-items: center !important;
        padding: 12px !important;
    }

    html body .home-college-guide i {
        grid-area: icon !important;
    }

    html body .home-college-guide strong {
        grid-area: title !important;
        min-width: 0 !important;
    }

    html body .home-college-guide span {
        grid-area: desc !important;
        min-width: 0 !important;
        line-height: 1.5 !important;
    }

    html body .home-college-search,
    html body .home-city-select,
    html body .home-college-search-btn,
    html body .home-toggle-btn,
    html body .home-full-link {
        width: 100% !important;
        min-width: 0 !important;
    }

    html body .home-college-top {
        display: flex !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    html body .home-college-top h4 {
        min-width: 0 !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
        word-break: break-word !important;
    }

    html body .home-college-meta,
    html body .home-major-tags {
        gap: 6px !important;
    }

    html body .home-card-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    html body .home-detail-link {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    html body .home-college-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    html body .quiz-floating-btn,
    html body .ai-floating-btn {
        right: 12px !important;
        left: auto !important;
        max-width: calc(100vw - 24px) !important;
        transform: none !important;
    }

    html body .home-news-section .news-list li,
    html body .news-list li {
        grid-template-columns: minmax(0, 1fr) 46px !important;
        gap: 8px !important;
        align-items: start !important;
    }

    html body .home-news-section .news-list a,
    html body .news-list a {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: break-word !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        line-height: 1.45 !important;
    }

    html body .home-news-section .news-list time,
    html body .news-list time {
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    html body .ai-customer-service {
        right: 14px !important;
        left: auto !important;
        max-width: calc(100vw - 28px) !important;
    }

    html body .ai-service-btn {
        max-width: calc(100vw - 28px) !important;
    }

    html body .ai-btn-badge {
        right: -2px !important;
    }
}

@media (max-width: 430px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    html body .hero h1,
    html body .hero-slogan {
        font-size: 22px !important;
    }

    html body .home-college-service {
        padding: 12px 10px !important;
    }

    html body .home-college-head h3 {
        font-size: 19px !important;
    }

    html body .home-college-guide div {
        grid-template-columns: 30px 1fr !important;
        padding: 11px 10px !important;
    }
}
