/* ===================================
   即刻美甲化妆服务中心 - 高级视觉设计
   =================================== */

/* 设计系统变量 */
:root {
    /* 主色调 - 渐变粉色系 */
    --primary-gradient: linear-gradient(135deg, #ff6b8b 0%, #ff8e53 50%, #ffb347 100%);
    --primary-light: #fff0f3;
    --primary-medium: #ffccd5;
    --primary-dark: #ff6b8b;
    --accent-gold: #ffd700;
    
    /* 中性色 */
    --text-primary: #2d2d2d;
    --text-secondary: #5a5a5a;
    --text-light: #888888;
    --bg-white: #ffffff;
    --bg-off-white: #fafafa;
    --bg-warm: #fff9f5;
    
    /* 阴影系统 */
    --shadow-sm: 0 2px 8px rgba(255, 107, 139, 0.08);
    --shadow-md: 0 8px 30px rgba(255, 107, 139, 0.12);
    --shadow-lg: 0 20px 60px rgba(255, 107, 139, 0.15);
    --shadow-xl: 0 30px 90px rgba(255, 107, 139, 0.2);
    --shadow-hover: 0 15px 50px rgba(255, 107, 139, 0.25);
    
    /* 圆角系统 */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    
    /* 间距系统 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    
    /* 动效 */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 平滑滚动偏移 */
section[id] {
    scroll-margin-top: 80px;
}

/* 文字选择效果 */
::selection {
    background-color: #ff6b8b;
    color: #fff;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   导航栏 - 毛玻璃效果
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    height: 72px;
}

/* 品牌 Logo - 渐变效果 */
.logo {
    font-size: 26px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 30px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 139, 0.3));
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 12px;
    position: relative;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-dark);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px 3px 0 0;
    transition: width var(--transition-base);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 80%;
}

.nav-menu a i {
    font-size: 16px;
    opacity: 0.8;
}

/* 导航按钮 */
.nav-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    transition: transform var(--transition-fast);
}

.nav-toggle:active {
    transform: scale(0.9);
}

.btn-call {
    background: var(--primary-gradient);
    color: white;
    padding: 11px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(255, 107, 139, 0.3);
    letter-spacing: 0.5px;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 139, 0.4);
}

.btn-call i {
    font-size: 15px;
}

/* ===================================
   Banner 区域 - 渐变背景 + 粒子效果
   =================================== */
.banner {
    min-height: 100vh;
    background: linear-gradient(135deg, #fff0f3 0%, #ffe6ea 50%, #ffccd5 100%);
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 72px;
    overflow: hidden;
}

/* 装饰性背景元素 */
.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 139, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 142, 83, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.banner-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.banner-content {
    text-align: center;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}

.banner-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: none;
}

.banner-subtitle {
    font-size: 22px;
    margin-bottom: 48px;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮样式 - 高级质感 */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(255, 107, 139, 0.35);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 139, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all var(--transition-base);
    border: 2px solid rgba(255, 107, 139, 0.3);
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: white;
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   通用分区样式
   =================================== */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 650px;
    margin: 20px auto 0;
    line-height: 1.7;
}

/* ===================================
   关于我们部分
   =================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

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

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    padding: 12px 16px;
    background: var(--bg-off-white);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.feature-item:hover {
    background: var(--primary-light);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary-dark);
    font-size: 20px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, #ffe6ea 0%, #ffccd5 100%);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 80px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translate(-30%, -30%) rotate(0deg); }
    100% { transform: translate(30%, 30%) rotate(0deg); }
}

.image-placeholder p {
    margin-top: 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ===================================
   服务项目部分 - 卡片悬浮效果
   =================================== */
.services {
    background: var(--bg-warm);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 107, 139, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 107, 139, 0.2);
}

.service-icon {
    font-size: 56px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    height: 100px;
    width: 100px;
    background: linear-gradient(135deg, rgba(255, 107, 139, 0.1), rgba(255, 142, 83, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    -webkit-text-fill-color: initial;
}

.service-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 15px;
}

.service-list {
    list-style: none;
    text-align: left;
    padding: 20px;
    background: var(--bg-off-white);
    border-radius: var(--radius-sm);
}

.service-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px dashed rgba(255, 107, 139, 0.15);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li::before {
    content: '✓';
    color: var(--primary-dark);
    font-weight: 700;
}

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

/* ===================================
   团队部分
   =================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.team-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 107, 139, 0.08);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.team-avatar {
    font-size: 80px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    -webkit-text-fill-color: initial;
}

.team-name {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
}

.team-position {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.team-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.7;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.team-social a {
    color: var(--text-light);
    font-size: 20px;
    transition: all var(--transition-fast);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-off-white);
}

.team-social a:hover {
    color: white;
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

/* ===================================
   作品展示部分
   =================================== */
.gallery {
    background: var(--bg-warm);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.gallery-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 107, 139, 0.08);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.gallery-img {
    font-size: 72px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    height: 140px;
    width: 140px;
    background: linear-gradient(135deg, rgba(255, 107, 139, 0.12), rgba(255, 142, 83, 0.12));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    -webkit-text-fill-color: initial;
}

.gallery-item p {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

/* ===================================
   联系部分
   =================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 32px;
    color: var(--text-primary);
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    padding: 24px;
    background: var(--bg-off-white);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.contact-item:hover {
    background: white;
    border-color: rgba(255, 107, 139, 0.2);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    font-size: 26px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 4px;
    -webkit-text-fill-color: initial;
}

.contact-item h4 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 6px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-item p {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-form h3 {
    font-size: 32px;
    margin-bottom: 32px;
    color: var(--text-primary);
    font-weight: 700;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 16px 20px;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: all var(--transition-fast);
    background: var(--bg-off-white);
    color: var(--text-primary);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 139, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
}

.contact-form button {
    align-self: flex-start;
    margin-top: 8px;
}

/* ===================================
   底部样式 - 深色高级感
   =================================== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 24px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-section p {
    color: #b0b0b0;
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: var(--primary-dark);
    padding-left: 8px;
}

.footer-section ul li a::before {
    content: '›';
    font-size: 18px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.footer-section ul li a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(255, 107, 139, 0.3);
}

.qr-hint {
    font-size: 13px;
    color: #888;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-bottom a {
    color: var(--primary-dark);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===================================
   弹窗样式
   =================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    padding: 60px 50px;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 450px;
    width: 90%;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content i {
    font-size: 72px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    -webkit-text-fill-color: initial;
}

.modal-content h3 {
    font-size: 30px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
}

/* ===================================
   回到顶部按钮
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 54px;
    height: 54px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all var(--transition-base);
    box-shadow: 0 8px 30px rgba(255, 107, 139, 0.35);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 107, 139, 0.45);
}

/* ===================================
   响应式设计
   =================================== */

/* 平板端 */
@media (max-width: 992px) {
    .banner-title {
        font-size: 48px;
    }
    
    .banner-subtitle {
        font-size: 19px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

/* 手机端 */
@media (max-width: 768px) {
    /* 导航栏 */
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        padding: 16px 20px;
        border-bottom: 1px solid #f0f0f0;
        display: block;
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .btn-call {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    /* Banner */
    .banner {
        margin-top: 72px;
        min-height: auto;
        padding: 80px 0;
    }
    
    .banner-content {
        padding: 30px 20px;
    }
    
    .banner-title {
        font-size: 36px;
        letter-spacing: 0;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .banner-buttons {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 15px 30px;
        font-size: 15px;
    }
    
    /* 分区 */
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    /* 网格布局 */
    .services-grid,
    .team-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 15px;
    }
    
    /* 卡片 */
    .service-card,
    .team-card,
    .gallery-item {
        padding: 32px 24px;
    }
    
    /* 关于我们 */
    .about-text h3 {
        font-size: 26px;
    }
    
    .about-text p {
        font-size: 15px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .image-placeholder {
        height: 250px;
        font-size: 56px;
    }
    
    /* 联系 */
    .contact-item {
        padding: 18px;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .contact-form button {
        width: 100%;
    }
    
    /* 底部 */
    .footer {
        padding: 50px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 0 20px;
    }
    
    .footer-bottom {
        padding: 24px 20px;
        font-size: 13px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .navbar .container {
        padding: 12px 16px;
        height: 64px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo i {
        font-size: 24px;
    }
    
    .banner {
        min-height: auto;
        padding: 60px 0;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-subtitle {
        font-size: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .service-icon,
    .gallery-img {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    
    .team-avatar {
        font-size: 64px;
    }
    
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 24px;
        right: 24px;
        font-size: 20px;
    }
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
    .nav-menu a {
        min-height: 48px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-call {
        min-height: 48px;
    }
    
    .service-card:hover,
    .team-card:hover,
    .gallery-item:hover {
        transform: none;
    }
    
    .contact-item:hover {
        transform: none;
    }
}
