/* ============================================================
   CSS 区块 — 固定深色主题
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #12121f;
    --bg-secondary: #1e1e32;
    --bg-card: rgba(30, 30, 50, 0.92);
    --text-primary: #e8e4de;
    --text-secondary: #c8c4be;
    --text-light: #e8e4de;
    --text-muted: #8a8a9e;
    --gold: #c9a84c;
    --gold-light: #e8d5a3;
    --gold-dark: #a8872e;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.40);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.55);
    --header-bg: rgba(18, 18, 31, 0.94);
    --header-text: #f5f0eb;
    --border-color: rgba(201, 168, 76, 0.20);
    --banner-overlay: rgba(18, 18, 31, 0.65);
    --radius: 12px;
    --transition: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-serif: '华文行楷', 'STXingkai', 'KaiTi', '楷体', 'Noto Serif SC', serif;
    --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    --footer-bg: #0a0a15;
    --footer-text: rgba(255, 255, 255, 0.7);
    --footer-border: rgba(201, 168, 76, 0.10);
    --footer-bottom-border: rgba(255, 255, 255, 0.03);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ===== 通用标题 ===== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.section-title h2::before,
.section-title h2::after {
    content: '◆';
    font-size: 1rem;
    color: var(--gold);
    opacity: 0.4;
    margin: 0 1rem;
    vertical-align: middle;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    font-weight: 300;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1rem auto 0;
}

/* ===== 按钮 ===== */
.btn-gold {
    display: inline-block;
    padding: 10px 32px;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all 0.4s ease;
    cursor: pointer;
    font-family: var(--font-sans);
    background: rgba(201, 168, 76, 0.06);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: 0;
    border-radius: 50px;
}

.btn-gold:hover {
    color: #1a1a2e;
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.15);
}

.btn-gold:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-gold span {
    position: relative;
    z-index: 1;
}

.btn-gold-filled {
    display: inline-block;
    padding: 10px 32px;
    background: var(--gold);
    border: 1.5px solid var(--gold);
    color: #1a1a2e;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all 0.4s ease;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 500;
}

.btn-gold-filled:hover {
    background: transparent;
    color: var(--gold);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.12);
}

/* ===== 顶部导航 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.5s ease, border-color 0.5s ease;
    height: 70px;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    flex-shrink: 0;
    height: 48px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    max-width: 180px;
    max-height: 48px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(88%) sepia(60%) saturate(600%) hue-rotate(3deg) brightness(98%) contrast(90%);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0 20px;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu ul li a {
    color: var(--header-text);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    font-weight: 300;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.nav-menu ul li a:hover {
    color: var(--gold);
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.lang-switch a {
    color: var(--header-text);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.6;
    letter-spacing: 0.03em;
    border: 1px solid transparent;
}

.lang-switch a:hover {
    opacity: 1;
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
}

.lang-switch a.active {
    opacity: 1;
    color: var(--gold);
    border-color: var(--gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--header-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Banner ===== */
.banner-section {
    margin-top: 70px;
    position: relative;
    height: 92vh;
    min-height: 520px;
    overflow: hidden;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--banner-overlay);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-light);
    max-width: 850px;
    animation: fadeUp 2s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.banner-slide.active .banner-content {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 8vw, 4.2rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.banner-content h1 .gold {
    color: var(--gold);
}

.banner-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    letter-spacing: 0.15em;
    font-weight: 300;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.banner-content .sub-desc {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
    font-weight: 300;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
    display: inline-block;
}

.banner-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 14px;
    align-items: center;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.5s ease;
    padding: 0;
}

.banner-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.banner-dot:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow:hover {
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--gold);
    color: var(--gold);
}

.banner-arrow.prev {
    left: 24px;
}
.banner-arrow.next {
    right: 24px;
}

/* ===== 服务项目 ===== */
.services-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-category {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 2px solid var(--gold);
    box-shadow: var(--shadow);
    transition: all 0.5s ease;
    backdrop-filter: blur(4px);
}

.service-category:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-light);
}

.service-category .cat-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.service-category .cat-methods {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.service-category .cat-methods strong {
    color: var(--text-primary);
}
.service-category .cat-logic {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}
.service-category .cat-diff {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px dashed var(--border-color);
    padding-top: 8px;
    margin-top: 6px;
}
.service-category .cat-diff strong {
    color: var(--text-secondary);
}

/* ===== 命理大师 ===== */
.masters-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.master-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px 20px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.5s ease;
    text-align: center;
    backdrop-filter: blur(4px);
}

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

.master-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 14px;
    overflow: hidden;
    border: 2px solid var(--gold);
    padding: 3px;
    background: var(--bg-primary);
}

.master-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.master-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    font-weight: 400;
}

.master-card .master-skill {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin: 4px 0 8px;
    font-weight: 500;
}

.master-card .master-bio {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
    padding: 0 4px;
}

.master-card .btn-gold {
    padding: 6px 24px;
    font-size: 0.85rem;
}

/* ===== 测算对比 ===== */
.compare-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.compare-table-wrap {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    overflow-x: auto;
    backdrop-filter: blur(4px);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 600px;
}

.compare-table thead th {
    padding: 16px 12px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1rem;
}

.compare-table thead th:first-child {
    text-align: left;
    padding-left: 8px;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.compare-table thead th.col-human {
    background: rgba(201, 168, 76, 0.12);
    border-bottom: 3px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
}

.compare-table thead th.col-human::after {
    content: '◆';
    margin-left: 6px;
    font-size: 0.8rem;
}

.compare-table tbody td {
    padding: 12px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    vertical-align: middle;
}

.compare-table tbody td:first-child {
    text-align: left;
    padding-left: 8px;
    font-weight: 500;
    color: var(--text-primary);
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.compare-table tbody tr:hover td:first-child {
    border-left-color: var(--gold);
}

.compare-table tbody td.col-human {
    background: rgba(201, 168, 76, 0.06);
    font-weight: 500;
    color: var(--text-primary);
    border-left: 1px solid rgba(201, 168, 76, 0.15);
    border-right: 1px solid rgba(201, 168, 76, 0.15);
}

.compare-table tbody tr:hover td.col-human {
    background: rgba(201, 168, 76, 0.15);
}

.compare-table tbody td.col-ai,
.compare-table tbody td.col-data {
    transition: background 0.3s ease;
}

.compare-table tbody tr:hover td.col-ai {
    background: rgba(255, 255, 255, 0.06);
}
.compare-table tbody tr:hover td.col-data {
    background: rgba(255, 255, 255, 0.06);
}

.compare-table .check {
    color: #4caf50;
    font-size: 1.2rem;
}
.compare-table .cross {
    color: #e57373;
    font-size: 1.2rem;
}
.compare-table .highlight {
    color: var(--gold);
    font-weight: 600;
}

/* ===== 真实反馈 ===== */
.feedback-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.feedback-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.feedback-track {
    position: relative;
    height: 280px;
}

.feedback-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.6s ease;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 4px 0;
}

.feedback-slide.active {
    opacity: 1;
    z-index: 2;
}

.feedback-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
    height: 100%;
}

.feedback-item:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.feedback-item .f-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
    margin-bottom: 8px;
    flex-shrink: 0;
}

.feedback-item .f-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feedback-item .f-name {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.feedback-item .f-name .hidden {
    color: var(--text-muted);
    font-weight: 300;
}

.feedback-item .f-project {
    font-size: 0.78rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    margin: 2px 0 6px;
    background: rgba(201, 168, 76, 0.08);
    padding: 2px 14px;
    border-radius: 20px;
}

.feedback-item .f-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    display: flex;
    align-items: center;
}

.feedback-item .f-text::before {
    content: '"';
    color: var(--gold);
    font-size: 1.4rem;
    margin-right: 4px;
    opacity: 0.5;
}
.feedback-item .f-text::after {
    content: '"';
    color: var(--gold);
    font-size: 1.4rem;
    margin-left: 4px;
    opacity: 0.5;
}

.feedback-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    align-items: center;
}

.feedback-controls button {
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-controls button:hover {
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--gold);
    color: var(--gold);
}

.feedback-dots {
    display: flex;
    gap: 10px;
}

.feedback-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.4s ease;
}

.feedback-dots span.active {
    background: var(--gold);
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.25);
}

/* ===== 页脚 ===== */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 56px 0 0;
    border-top: 1px solid var(--footer-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--footer-bottom-border);
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    font-weight: 400;
}

.footer-col p,
.footer-col li {
    font-size: 0.9rem;
    line-height: 2.2;
    opacity: 0.8;
    font-weight: 300;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li a {
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.footer-col .list-icon {
    margin-right: 6px;
    color: var(--gold);
    opacity: 0.5;
    font-size: 0.7rem;
}

.footer-col .logo-foot {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 6px;
}

.footer-col .logo-foot small {
    font-size: 0.9rem;
    display: block;
    opacity: 0.7;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
}

.footer-col .foot-desc {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.8;
    max-width: 280px;
}

.footer-bottom {
    padding: 20px 0 16px;
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.6;
    letter-spacing: 0.05em;
}

.footer-bottom .disclaimer {
    font-size: 0.78rem;
    opacity: 0.5;
    max-width: 800px;
    margin: 0 auto 10px;
    line-height: 1.8;
    border-top: 1px solid var(--footer-bottom-border);
    padding-top: 16px;
}

/* ===== 固定按钮 ===== */
.fixed-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.fixed-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(30, 30, 50, 0.92);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.fixed-btn:hover {
    transform: scale(1.08);
    border-color: var(--gold-light);
    box-shadow: var(--shadow-hover);
}

.fixed-btn .tooltip {
    position: absolute;
    right: 58px;
    background: rgba(18, 18, 31, 0.95);
    color: var(--text-light);
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fixed-btn:hover .tooltip {
    opacity: 1;
}

.fixed-btn img {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
    filter: none;
}

#backTop {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

#backTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .masters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        padding: 0 4%;
    }
    .logo {
        height: 40px;
    }
    .logo img {
        height: 100%;
        max-width: 140px;
    }
    .nav-menu ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--header-bg);
        backdrop-filter: blur(20px);
        padding: 20px 24px 28px;
        gap: 14px;
        border-bottom: 1px solid var(--border-color);
        margin: 0;
    }
    .nav-menu ul.open {
        display: flex;
    }
    .nav-menu ul li a {
        font-size: 1rem;
    }
    .hamburger {
        display: flex;
    }
    .lang-switch {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .lang-switch a {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    .banner-section {
        height: 70vh;
        min-height: 400px;
    }
    .banner-content h1 {
        font-size: 2.4rem;
        letter-spacing: 0.15em;
    }
    .banner-content p {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }
    .banner-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .banner-arrow.prev {
        left: 8px;
    }
    .banner-arrow.next {
        right: 8px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .masters-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .master-card {
        padding: 18px 12px;
    }
    .master-avatar {
        width: 72px;
        height: 72px;
    }
    .master-card h3 {
        font-size: 1.05rem;
    }
    .master-card .master-bio {
        font-size: 0.8rem;
    }
    .feedback-track {
        height: 340px;
    }
    .feedback-slide {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .feedback-slide .feedback-item:last-child {
        display: none;
    }
    .feedback-controls button {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        min-width: 44px;
        min-height: 44px;
    }
    .compare-table-wrap {
        padding: 16px 12px;
    }
    .compare-table {
        font-size: 0.82rem;
        min-width: 480px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-col .foot-desc {
        max-width: 100%;
    }
    .section-title h2 {
        font-size: 2rem;
        letter-spacing: 0.15em;
    }
    .section-title h2::before,
    .section-title h2::after {
        margin: 0 8px;
        font-size: 0.8rem;
    }
    .fixed-buttons {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }
    .fixed-btn {
        width: 42px;
        height: 42px;
    }
    .fixed-btn img {
        width: 24px;
        height: 24px;
    }
    .fixed-btn .tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }
    .banner-content p {
        font-size: 0.85rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-category {
        padding: 20px 16px;
    }
    .service-category .cat-title {
        font-size: 1.4rem;
    }
    .masters-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .feedback-track {
        height: 360px;
        position: relative;
    }
    .feedback-slide {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 4px 0;
    }
    .feedback-item {
        height: auto;
        padding: 16px 14px;
        min-height: 140px;
    }
    .feedback-item .f-avatar {
        width: 44px;
        height: 44px;
    }
    .feedback-item .f-name {
        font-size: 0.85rem;
    }
    .feedback-item .f-project {
        font-size: 0.7rem;
        padding: 1px 10px;
    }
    .feedback-item .f-text {
        font-size: 0.82rem;
        line-height: 1.5;
    }
    .feedback-item .f-text::before,
    .feedback-item .f-text::after {
        font-size: 1.2rem;
    }
    .feedback-item:nth-child(3) {
        display: none;
    }

    .feedback-controls {
        margin-top: 16px;
    }
    .feedback-controls button {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        min-width: 44px;
        min-height: 44px;
    }

    .section-title h2 {
        font-size: 1.6rem;
        letter-spacing: 0.1em;
    }
    .section-title h2::before,
    .section-title h2::after {
        display: none;
    }
    .container {
        padding: 0 4%;
    }
    .compare-table {
        font-size: 0.72rem;
        min-width: 360px;
    }
    .compare-table thead th,
    .compare-table tbody td {
        padding: 8px 6px;
    }
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}