/* 考拉学长官网 - 阿里云风格蓝色商务设计 */
:root {
    --primary: #007aff;
    --primary-dark: #0056b3;
    --primary-light: #e6f2ff;
    --secondary: #00a0e9;
    --text: #333;
    --text-light: #666;
    --bg-light: #f5f7fa;
    --white: #fff;
    --border: #e1e5eb;
    --success: #52c41a;
    --shadow: 0 2px 8px rgba(0,122,255,0.1);
    --shadow-hover: 0 4px 16px rgba(0,122,255,0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    -webkit-tap-highlight-color: transparent;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* 图标样式 */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
}

.icon-lg { font-size: 2em; }
.icon-xl { font-size: 3em; }
.icon-2xl { font-size: 4em; }

/* 布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.section-title p {
    font-size: 16px;
    color: var(--text-light);
}

/* 按钮 - 阿里云风格长方形无光效 */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.btn:focus { outline: none; }
.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-white {
	background: var(--white);
	color: var(--primary);
	border: 1px solid var(--primary);
}
.btn-white:hover {
	background: var(--primary-light);
}

/* 头部 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s;
}
.header.scrolled { padding: 10px 0; }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo .icon { font-size: 32px; }
.logo-image {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}
.logo-text {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.nav { display: flex; gap: 30px; }
.nav a {
    font-size: 14px;
    color: var(--text);
    transition: color 0.3s;
    position: relative;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-actions { display: flex; gap: 15px; align-items: center; }
.header-phone {
  color: var(--text-light);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.header-phone .icon { color: var(--primary); }

/* 移动端菜单 */
.mobile-toggle { 
    display: none; 
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    position: absolute;
    left: 8px;
    transition: all 0.3s;
}
.mobile-toggle span:nth-child(1) { top: 12px; }
.mobile-toggle span:nth-child(2) { top: 19px; }
.mobile-toggle span:nth-child(3) { top: 26px; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 19px; }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 19px; }

.mobile-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
    animation: slideDown 0.3s ease;
}
.mobile-nav.active { display: block; }
.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: var(--primary-light); color: var(--primary); }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 横幅 */
.hero {
    padding-top: 120px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 50%, #e6f7ff 100%);
    min-height: 600px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,122,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}
.hero-text { flex: 1; }
.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text);
}
.hero-text h1 span { color: var(--primary); }
.hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.hero-tag {
    padding: 6px 16px;
    background: var(--white);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-light);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 5px;
}
.hero-image {
    flex: 1;
    text-align: right;
}
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin-left: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}
.hero-slide img,
.hero-image > img {
    display: block;
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    animation: float 6s ease-in-out infinite;
}
.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.hero-slider-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}
.hero-slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* 服务卡片 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}
.service-icon .icon { font-size: 32px; }
.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}
.service-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}
.service-card .btn {
    width: 100%;
}

/* 特色展示 */
.features {
    background: var(--bg-light);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}
.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.feature-item .num {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.feature-item h4 { font-size: 16px; margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: var(--text-light); }

/* 流程 */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--border);
}
.process-step {
    text-align: center;
    position: relative;
    flex: 1;
}
.process-step .step-num {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    margin: 0 auto 15px;
    position: relative;
    z-index: 1;
}
.process-step h4 {
    font-size: 15px;
    margin-bottom: 8px;
}
.process-step p {
    font-size: 13px;
    color: var(--text-light);
    padding: 0 10px;
}

/* 案例卡片 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.case-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
}
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.case-card .case-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), #e6f7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.case-card .case-img .icon { font-size: 60px; }
.case-card .case-info {
    padding: 20px;
}
.case-card .case-country {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 8px;
}
.case-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}
.case-card .case-school {
    font-size: 13px;
    color: var(--text-light);
}

/* 关于我们 */
.about-section {
    background: var(--bg-light);
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}
.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.about-stat {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
}
.about-stat .num {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}
.about-stat p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}
.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
}
.about-home-media {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    background: #0f172a;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}
.about-home-placeholder {
    min-height: 320px;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
}

/* 顾问团队 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.team-card {
    text-align: center;
}
.team-avatar {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-light), #e6f7ff);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.team-avatar .icon { font-size: 60px; }
.team-card h4 {
    font-size: 18px;
    margin-bottom: 5px;
}
.team-card .title {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 10px;
}
.team-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* 在线评估 */
.evaluation-form {
    max-width: 860px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-group textarea {
    min-height: 100px;
    resize: vertical;
}
.evaluation-form .btn {
    width: 100%;
}

/* 联系方式 */
.contact-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}
.contact-section .section-title h2,
.contact-section .section-title p {
    color: var(--white);
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}
.contact-info > p {
    opacity: 0.9;
    margin-bottom: 18px;
}
.contact-info p {
    opacity: 0.9;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.contact-item .icon-wrap {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.contact-item .icon-wrap .icon { font-size: 20px; }
.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
}
.contact-form h4 {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 18px;
}
.contact-form .form-group input {
    border-color: var(--border);
}
.contact-form .btn {
    width: 100%;
    background: var(--primary);
}
.contact-form .btn.btn-white {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-indent: 0;
    white-space: normal;
}
.contact-form .btn.btn-white:hover {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

/* 微信客服浮窗 */
.chat-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
}
.chat-float-btn {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
}
.chat-float-btn:hover {
    transform: scale(1.1);
}
.chat-float-btn .icon { font-size: 28px; }
.chat-box {
    position: absolute;
    right: 0;
    bottom: 80px;
    width: 380px;
    height: 500px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
}
.chat-box.active { display: flex; }
.chat-header {
    background: var(--primary);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-header h4 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.chat-header .close {
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}
.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: var(--bg-light);
}
.chat-msg {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}
.chat-msg .avatar {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}
.chat-msg .avatar .icon { font-size: 18px; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-msg.user .avatar {
    background: var(--success);
}
.chat-msg .content {
    max-width: 75%;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}
.chat-msg.bot .content {
    background: var(--white);
    border-bottom-left-radius: 4px;
}
.chat-msg.user .content {
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
}
.chat-input {
    padding: 15px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
}
.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.chat-input input:focus {
    outline: none;
    border-color: var(--primary);
}
.chat-input button {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}
.chat-input button .icon { font-size: 18px; }

/* 微信二维码弹窗 */
.wechat-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}
.wechat-modal.active { display: flex; }
.wechat-modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
}
.wechat-modal-content h3 {
    margin-bottom: 20px;
    font-size: 20px;
}
.wechat-modal-content .qrcode {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border-radius: 8px;
    overflow: hidden;
}
.wechat-modal-content .qrcode .icon { font-size: 80px; }
.wechat-modal-content .qrcode.has-image {
    background: var(--white);
    padding: 10px;
    border: 1px solid var(--border);
}
.wechat-modal-content .qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.wechat-modal-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}
.wechat-modal-content .btn {
    width: 100%;
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: var(--white);
    padding: 60px 0 30px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}
.footer-brand p {
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.8;
}
.footer h4 {
    font-size: 16px;
    margin-bottom: 20px;
}
.footer ul li {
    margin-bottom: 12px;
}
.footer ul li a {
    opacity: 0.7;
    font-size: 14px;
    transition: opacity 0.3s;
}
.footer ul li a:hover { opacity: 1; }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    opacity: 0.6;
}

/* 响应式 */
@media (max-width: 992px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 36px; }
    .hero-image { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-content { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .official-channel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-toggle { display: block; }
    .hero { padding-top: 100px; min-height: auto; padding-bottom: 40px; }
    .hero-text h1 { font-size: 28px; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 24px; }
    .process-steps { flex-direction: column; gap: 30px; }
    .process-steps::before { display: none; }
    .cases-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
    .logo-image { max-width: 140px; height: 38px; }
    .official-channel-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .official-channel-qr {
        width: 96px;
        height: 96px;
    }
    .chat-box {
      width: 100vw;
      height: 50vh;
      right: 0;
      bottom: 0;
      left: 0;
      border-radius: 12px 12px 0 0;
      position: fixed;
    }
    .chat-float { right: 20px; bottom: 20px; }
    .chat-float-btn { width: 50px; height: 50px; }
    .footer-content { grid-template-columns: 1fr; }
    .header-actions { display: none; }
}

/* 动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 提示消息 */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-success { background: #f6ffed; color: #52c41a; border: 1px solid #b7eb8f; }
.alert-error { background: #fff2f0; color: #ff4d4f; border: 1px solid #ffccc7; }
.alert-info { background: #e6f7ff; color: var(--primary); border: 1px solid #91d5ff; }

/* 页面标题 */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
    text-align: center;
}
.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}
.page-header p {
    font-size: 16px;
    color: var(--text-light);
}

/* 详情页 */
.detail-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}
.detail-content h1 {
    font-size: 28px;
    margin-bottom: 20px;
}
.detail-content .meta {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.detail-content .content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}
.detail-content .content p {
    margin-bottom: 20px;
}
.detail-back {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

/* 国家标签图标 */
.country-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.country-icon .icon { font-size: 16px; }

/* 首页动态扩展 */
.hero-tip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0 16px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    color: rgba(255,255,255,0.92);
    font-size: 14px;
    line-height: 1.4;
    backdrop-filter: blur(8px);
}
.hero-country-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-country-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f7faff;
    border: 1px solid #d9ecff;
    border-radius: 999px;
    color: var(--text);
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.hero-country-tag:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.hero-country-flag {
    display: none;
    font-size: 16px;
    line-height: 1;
}
.hero-country-code {
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--primary);
    opacity: 1;
}
.hero-country-name {
    display: inline-flex;
    font-weight: 600;
    color: inherit;
}
.service-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.service-icon-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.service-submenu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 12px;
}
.service-submenu-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}
.service-country-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.country-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: #f7faff;
    border: 1px solid #d9ecff;
    border-radius: 999px;
    color: var(--text);
    font-size: 12px;
    line-height: 1.4;
    transition: all 0.3s ease;
}
.country-chip:hover,
.country-chip.active {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
}
.case-card .case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.stats-grid-1 { grid-template-columns: 1fr; }
.stats-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-grid-5,
.stats-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.advisor-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.advisor-socials span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    background: var(--bg-light);
    border-radius: 999px;
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.3;
}
.advisor-qr-preview {
    width: 110px;
    height: 110px;
    margin: 16px auto 0;
    padding: 8px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.advisor-qr-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.about-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}
.section-title-left {
    text-align: left;
    margin-bottom: 28px;
}
.about-block-title {
    font-size: 24px;
    margin-bottom: 16px;
}
.about-page-content {
    align-items: stretch;
}
.about-media-card {
    display: flex;
    flex-direction: column;
}
.about-media-ratio {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 20px;
    background: #0f172a;
    box-shadow: var(--shadow-hover);
}
.about-media-video,
.about-media-fallback {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    display: block;
}
.about-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    color: rgba(255,255,255,0.92);
    text-align: center;
}
.about-media-placeholder strong {
    font-size: 22px;
}
.advisor-card-extended {
    padding: 28px 22px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.about-empty-state {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: 16px;
    color: var(--text-light);
    box-shadow: var(--shadow);
}
.evaluation-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}
.evaluation-intro-card {
    position: sticky;
    top: 110px;
    padding: 28px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.evaluation-intro-card h2 {
    font-size: 26px;
    margin-bottom: 18px;
}
.evaluation-intro-list {
    margin: 0;
    padding-left: 20px;
    color: var(--text-light);
    line-height: 1.8;
}
.evaluation-contact-card {
    margin-top: 22px;
    padding: 18px;
    background: var(--bg-light);
    border-radius: 14px;
    color: var(--text);
    line-height: 1.8;
}
.evaluation-form-page {
    max-width: none;
}
.news-page-section {
    background: var(--bg-light);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.news-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.news-card-cover {
    aspect-ratio: 16 / 10;
    background: #eef5ff;
}
.news-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
}
.news-card-body {
    padding: 24px;
}
.news-card-date {
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 13px;
}
.news-card-body h2 {
    font-size: 22px;
    margin-bottom: 14px;
}
.news-card-body p {
    color: var(--text-light);
    line-height: 1.8;
}
.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 700;
}
.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}
.news-detail-main,
.news-sidebar-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.news-detail-main {
    padding: 32px;
}
.news-detail-cover {
    margin-bottom: 24px;
    border-radius: 18px;
    overflow: hidden;
}
.news-detail-cover img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.news-detail-summary {
    margin-bottom: 22px;
    padding: 18px 20px;
    border-left: 4px solid var(--primary);
    background: var(--bg-light);
    color: var(--text);
    line-height: 1.8;
}
.news-detail-content {
    color: var(--text);
    line-height: 1.9;
    font-size: 16px;
    word-break: break-word;
}
.news-detail-content > *:first-child {
    margin-top: 0;
}
.news-detail-content > *:last-child {
    margin-bottom: 0;
}
.news-detail-content p,
.news-detail-content ul,
.news-detail-content ol,
.news-detail-content blockquote,
.news-detail-content table,
.news-detail-content figure,
.news-detail-content hr,
.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4,
.news-detail-content h5,
.news-detail-content h6 {
    margin: 0 0 18px;
}
.news-detail-content br {
    margin-bottom: 14px;
}
.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4,
.news-detail-content h5,
.news-detail-content h6 {
    color: #0f172a;
    line-height: 1.4;
    font-weight: 700;
}
.news-detail-content h1 { font-size: 34px; }
.news-detail-content h2 { font-size: 28px; }
.news-detail-content h3 { font-size: 24px; }
.news-detail-content h4 { font-size: 20px; }
.news-detail-content h5 { font-size: 18px; }
.news-detail-content h6 { font-size: 16px; }
.news-detail-content ul,
.news-detail-content ol {
    padding-left: 24px;
}
.news-detail-content ul {
    list-style: disc;
}
.news-detail-content ol {
    list-style: decimal;
}
.news-detail-content li + li {
    margin-top: 8px;
}
.news-detail-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.news-detail-content strong,
.news-detail-content b {
    font-weight: 700;
}
.news-detail-content blockquote {
    padding: 18px 20px;
    border-left: 4px solid var(--primary);
    background: linear-gradient(180deg, rgba(0,122,255,0.08), rgba(0,122,255,0.02));
    color: var(--text-light);
    border-radius: 0 14px 14px 0;
}
.news-detail-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 22px auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.news-detail-content figure {
    margin-left: 0;
    margin-right: 0;
}
.news-detail-content figcaption {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 14px;
    text-align: center;
}
.news-detail-content table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px var(--border);
}
.news-detail-content th,
.news-detail-content td {
    padding: 12px 14px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.news-detail-content thead th {
    background: var(--primary-light);
    color: var(--primary-dark);
}
.news-detail-content hr {
    border: none;
    border-top: 1px solid var(--border);
}
@media (max-width: 768px) {
    .news-detail-content {
        font-size: 15px;
        line-height: 1.85;
    }
    .news-detail-content h1 { font-size: 28px; }
    .news-detail-content h2 { font-size: 24px; }
    .news-detail-content h3 { font-size: 21px; }
    .news-detail-content h4 { font-size: 18px; }
    .news-detail-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
.news-detail-gallery {
    margin-top: 32px;
}
.news-detail-gallery h2 {
    margin-bottom: 18px;
    font-size: 24px;
}
.news-detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.news-detail-gallery-item {
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: var(--shadow);
}
.news-detail-gallery-item img {
    width: 100%;
    display: block;
}
.news-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}
.news-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.news-sidebar-card {
    padding: 24px;
}
.news-sidebar-card h3 {
    margin-bottom: 16px;
    font-size: 22px;
}
.news-sidebar-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}
.news-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-related-list li + li {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.news-related-list a {
    display: block;
    color: var(--text);
    font-weight: 600;
    line-height: 1.6;
}
.news-related-list span {
    display: block;
    margin-top: 6px;
    color: var(--text-light);
    font-size: 13px;
}
.service-filter-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}
.service-filter-note {
    width: 100%;
    color: var(--text-light);
    font-size: 14px;
}
.process-empty,
.service-empty-state {
    text-align: center;
    padding: 28px 20px;
    background: var(--white);
    border-radius: 12px;
    color: var(--text-light);
    box-shadow: var(--shadow);
}
.official-channel-list {
    display: grid;
    gap: 12px;
    margin-top: 25px;
}
.official-channel-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px;
}
.official-channel-item strong {
    min-width: 72px;
    font-size: 14px;
}
.official-channel-item span {
    opacity: 0.92;
    line-height: 1.6;
    word-break: break-all;
}
.official-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.official-channel-card {
    align-items: center;
    background: rgba(255,255,255,0.16);
}
.official-channel-qr {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.96);
    padding: 6px;
}
.official-channel-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}
.official-channel-meta {
    display: grid;
    gap: 6px;
}
.detail-intro-card,
.detail-side-card,
.service-submenu-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.detail-intro-card {
    padding: 30px;
}
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 32px;
    align-items: start;
}
.detail-side {
    display: grid;
    gap: 24px;
}
.detail-cover {
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
}
.detail-cover img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    display: block;
}
.detail-meta-list {
    display: grid;
    gap: 14px;
    margin: 20px 0 0;
}
.detail-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.detail-meta-item .icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.detail-meta-item p {
    margin: 4px 0 0;
    color: var(--text-light);
    font-size: 14px;
}
.service-submenu-card,
.detail-side-card {
    padding: 24px;
}
.service-submenu-card h3,
.detail-side-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
}
.service-submenu-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.service-submenu-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--bg-light);
    color: var(--text);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-size: 13px;
}
.service-submenu-link:hover,
.service-submenu-link.active {
    color: var(--primary);
    border-color: #cfe7ff;
    background: var(--primary-light);
}
.process-section-subtitle {
    margin-top: 10px;
    color: var(--text-light);
    text-align: center;
}
@media (max-width: 992px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .stats-grid-4,
    .stats-grid-5,
    .stats-grid-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-tip {
        display: flex;
        margin-top: 18px;
        border-radius: 16px;
        text-align: left;
    }
    .hero-country-tags {
        justify-content: center;
    }
    .hero-country-tag {
        padding: 9px 14px;
        font-size: 13px;
        gap: 6px;
    }
    .hero-country-flag {
        display: inline-flex;
        font-size: 15px;
    }
    .hero-country-code {
        font-size: 11px;
    }
    .service-icon-image,
    .service-icon-text {
        border-radius: 8px;
    }
    .service-filter-panel {
        margin-bottom: 22px;
    }
    .official-channel-item {
        padding: 12px 14px;
    }
    .official-channel-item strong {
        min-width: 64px;
    }
    .detail-intro-card,
    .detail-side-card,
    .service-submenu-card {
        padding: 20px;
        border-radius: 14px;
    }
    .detail-cover img {
        max-height: 220px;
    }
    .advisor-qr-preview {
        width: 96px;
        height: 96px;
    }
    .about-home-actions,
    .news-detail-actions {
        flex-direction: column;
    }
    .evaluation-layout,
    .news-detail-layout {
        grid-template-columns: 1fr;
    }
    .evaluation-intro-card {
        position: static;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-detail-gallery-grid {
        grid-template-columns: 1fr;
    }
}