* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 浅色主题（默认） */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #e8e8e8;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6a6a6a;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-bg: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

/* 深色主题 */
[data-theme="dark"] {
    --primary-color: #ff8c5a;
    --secondary-color: #ffa940;
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f3460;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --border-color: #2a2a3e;
    --card-bg: #16213e;
    --card-shadow: rgba(0, 0, 0, 0.3);
    --gradient-bg: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px var(--card-shadow);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
    transition: filter 0.3s ease;
}

.logo:hover .logo-icon {
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.6));
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    font-weight: 300;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* 主题切换按钮 */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.theme-icon {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
    position: absolute;
    transition: all 0.3s ease;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.nav-links a:not(.btn-contact):hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn-contact)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-contact):hover::after {
    width: 100%;
}

.btn-contact {
    background: var(--gradient-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

/* 主横幅 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    /* 背景色根据主题切换 */
    background: var(--gradient-bg);
    overflow: hidden;
    transition: background 0.3s ease;
}

/* 模糊背景层 - 作为底层填充 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero-bg.svg') center center / cover no-repeat;
    filter: blur(30px);
    opacity: 0.3;
    z-index: 0;
}

/* 主图片层 - 完整显示，居中 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero-bg.svg') center center / contain no-repeat;
    z-index: 0;
    /* 左右渐变遮罩 */
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 15%,
            black 85%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 15%,
            black 85%,
            transparent 100%);
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 中心到四周的渐变遮罩，让图片边缘自然融入背景 */
    background: radial-gradient(ellipse at center, transparent 30%, rgba(26, 26, 46, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ==================== 雪花特效（全局） ==================== */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
}

.snowflake {
    position: absolute;
    top: -50px;
    font-size: 20px;
    color: #B0E0F6;
    text-shadow: 0 0 8px rgba(176, 224, 246, 0.9),
        0 0 15px rgba(135, 206, 235, 0.6);
    animation: snowFall linear infinite;
    opacity: 0;
}

/* 为每片雪花设置不同的位置和速度 */
.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
    font-size: 18px;
}

.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 15s;
    animation-delay: 2s;
    font-size: 24px;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 18s;
    animation-delay: 4s;
    font-size: 20px;
}

.snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 14s;
    animation-delay: 1s;
    font-size: 26px;
}

.snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 16s;
    animation-delay: 3s;
    font-size: 22px;
}

.snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 13s;
    animation-delay: 5s;
    font-size: 19px;
}

.snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 17s;
    animation-delay: 2.5s;
    font-size: 23px;
}

.snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 14s;
    animation-delay: 4.5s;
    font-size: 21px;
}

.snowflake:nth-child(9) {
    left: 15%;
    animation-duration: 16s;
    animation-delay: 1.5s;
    font-size: 25px;
}

.snowflake:nth-child(10) {
    left: 85%;
    animation-duration: 15s;
    animation-delay: 3.5s;
    font-size: 20px;
}

.snowflake:nth-child(11) {
    left: 25%;
    animation-duration: 13s;
    animation-delay: 0.5s;
    font-size: 24px;
}

.snowflake:nth-child(12) {
    left: 95%;
    animation-duration: 17s;
    animation-delay: 2.8s;
    font-size: 22px;
}

.snowflake:nth-child(13) {
    left: 35%;
    animation-duration: 14s;
    animation-delay: 1.2s;
    font-size: 19px;
}

.snowflake:nth-child(14) {
    left: 65%;
    animation-duration: 16s;
    animation-delay: 3.8s;
    font-size: 23px;
}

.snowflake:nth-child(15) {
    left: 45%;
    animation-duration: 15s;
    animation-delay: 0.8s;
    font-size: 21px;
}

.snowflake:nth-child(16) {
    left: 55%;
    animation-duration: 13s;
    animation-delay: 4.2s;
    font-size: 20px;
}

.snowflake:nth-child(17) {
    left: 75%;
    animation-duration: 18s;
    animation-delay: 1.8s;
    font-size: 24px;
}

.snowflake:nth-child(18) {
    left: 5%;
    animation-duration: 16s;
    animation-delay: 3.2s;
    font-size: 22px;
}

.snowflake:nth-child(19) {
    left: 90%;
    animation-duration: 14s;
    animation-delay: 2.4s;
    font-size: 18px;
}

.snowflake:nth-child(20) {
    left: 50%;
    animation-duration: 17s;
    animation-delay: 5s;
    font-size: 25px;
}

@keyframes snowFall {
    0% {
        top: -50px;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        top: 110vh;
        opacity: 0;
        transform: translateX(-50px) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.title-main {
    font-size: 4.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    /* 添加多层文字描边效果 */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 20px rgba(255, 107, 53, 0.4));
}

.title-sub {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: 8px;
    /* 文字描边效果 - 浅色主题 */
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, 0.8),
        1px -1px 0 rgba(255, 255, 255, 0.8),
        -1px 1px 0 rgba(255, 255, 255, 0.8),
        1px 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
}

/* 深色主题下的标题样式 */
[data-theme="dark"] .title-sub {
    color: var(--text-primary);
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.8),
        1px -1px 0 rgba(0, 0, 0, 0.8),
        -1px 1px 0 rgba(0, 0, 0, 0.8),
        1px 1px 0 rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 500;
    /* 文字描边效果 - 浅色主题 */
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, 0.8),
        1px -1px 0 rgba(255, 255, 255, 0.8),
        -1px 1px 0 rgba(255, 255, 255, 0.8),
        1px 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-description {
    color: var(--text-secondary);
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.8),
        1px -1px 0 rgba(0, 0, 0, 0.8),
        -1px 1px 0 rgba(0, 0, 0, 0.8),
        1px 1px 0 rgba(0, 0, 0, 0.8),
        0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.hero-features {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
}

.feature-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
    color: var(--text-primary);
    /* 增强描边效果 */
    text-shadow:
        -2px -2px 0 rgba(255, 255, 255, 1),
        2px -2px 0 rgba(255, 255, 255, 1),
        -2px 2px 0 rgba(255, 255, 255, 1),
        2px 2px 0 rgba(255, 255, 255, 1),
        -1px -1px 0 rgba(255, 255, 255, 1),
        1px -1px 0 rgba(255, 255, 255, 1),
        -1px 1px 0 rgba(255, 255, 255, 1),
        1px 1px 0 rgba(255, 255, 255, 1),
        0 2px 10px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .feature-text h3 {
    text-shadow:
        -2px -2px 0 rgba(0, 0, 0, 1),
        2px -2px 0 rgba(0, 0, 0, 1),
        -2px 2px 0 rgba(0, 0, 0, 1),
        2px 2px 0 rgba(0, 0, 0, 1),
        -1px -1px 0 rgba(0, 0, 0, 1),
        1px -1px 0 rgba(0, 0, 0, 1),
        -1px 1px 0 rgba(0, 0, 0, 1),
        1px 1px 0 rgba(0, 0, 0, 1),
        0 2px 10px rgba(0, 0, 0, 0.8);
}

.feature-text p {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    /* 增强描边效果 */
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, 1),
        1px -1px 0 rgba(255, 255, 255, 1),
        -1px 1px 0 rgba(255, 255, 255, 1),
        1px 1px 0 rgba(255, 255, 255, 1),
        0 2px 8px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .feature-text p {
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 1),
        1px -1px 0 rgba(0, 0, 0, 1),
        -1px 1px 0 rgba(0, 0, 0, 1),
        1px 1px 0 rgba(0, 0, 0, 1),
        0 2px 8px rgba(0, 0, 0, 0.8);
}

/* 区域标题 */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title span {
    font-size: 2.5rem;
    font-weight: 700;
    display: inline-block;
}

.section-title.light span {
    color: var(--text-light);
}

.title-decoration {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* 服务项目 */
.services {
    padding: 6rem 0;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    box-shadow: 0 4px 20px var(--card-shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.2);
}

.service-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card>p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.service-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* 价格表 */
.prices {
    padding: 6rem 0;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

/* 价格表切换标签 */
.price-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.price-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: 'Noto Sans SC', sans-serif;
}

.price-tab:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px var(--card-shadow);
}

.price-tab.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.tab-icon {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.tab-text {
    font-weight: 600;
}

.price-display {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* 价格图片容器 - 用于叠层显示 */
.price-image-container {
    position: relative;
    width: 100%;
    min-height: 400px;
}

.price-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px var(--card-shadow);
    opacity: 0;
    visibility: hidden;
    transform: rotateY(90deg) scale(0.8);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.price-image-wrapper.active {
    opacity: 1;
    visibility: visible;
    transform: rotateY(0deg) scale(1);
    position: relative;
}

.price-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.price-image-wrapper:hover .price-image {
    transform: scale(1.02);
}

.price-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.9) 0%, transparent 100%);
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.price-image-wrapper:hover .price-overlay {
    opacity: 1;
}

.price-overlay p {
    color: white;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 600;
}

.price-notes {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 20px var(--card-shadow);
}

.price-notes h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.price-notes ul {
    list-style: none;
}

.price-notes li {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.price-notes li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
}

.price-tip {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.price-tip p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* 为什么选择我们 */
.why-us {
    padding: 6rem 0;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 20px var(--card-shadow);
}

.why-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.why-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.why-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 联系我们 */
.contact {
    padding: 6rem 0;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    text-align: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.qr-code-large {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.qr-code-large img {
    width: 250px;
    height: 250px;
    display: block;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 10px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
}

.full-width {
    width: 100%;
}

/* 页脚 */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p,
.footer-section li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* 悬浮聊天按钮 */
.floating-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(255, 107, 53, 0.6);
    }
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-button svg {
    width: 30px;
    height: 30px;
    color: white;
}

.chat-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    width: 280px;
}

.floating-chat:hover .chat-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-popup-header h4 {
    color: var(--dark-bg);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.chat-popup-header p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.chat-popup-qr {
    text-align: center;
}

.chat-popup-qr img {
    width: 180px;
    height: 180px;
    border-radius: 10px;
}

/* 图片模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .title-sub {
        font-size: 1.3rem;
    }

    .hero-features {
        flex-direction: column;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .price-display,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .price-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .price-tab {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .price-image-container {
        min-height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .floating-chat {
        bottom: 20px;
        right: 20px;
    }

    .chat-button {
        width: 50px;
        height: 50px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选择文本颜色 */
::selection {
    background: var(--primary-color);
    color: white;
}