/* =============================================================================
   RICKY SERVICES - MAIN CSS FILE
   13年专业园艺服务网站样式
   优化版本 - 清晰的代码结构，无重复样式
============================================================================= */

/* =============================================================================
   CSS VARIABLES (自定义属性)
============================================================================= */
:root {
    /* Colors */
    --primary-color: #2E7D32;
    --secondary-color: #4CAF50;
    --accent-color: #FF6B35;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #e55a2b 100%);

    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.2);

    /* Border Radius */
    --border-radius: 10px;
    --border-radius-large: 20px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.4s ease;

    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =============================================================================
   RESET & BASE STYLES
============================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* =============================================================================
   TYPOGRAPHY
============================================================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* =============================================================================
   UTILITY CLASSES
============================================================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Text Colors */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.text-muted { color: var(--text-muted); }

/* Background Colors */
.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }

/* Display */
.hidden { display: none !important; }
.visible { display: block !important; }

/* Spacing */
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* =============================================================================
   BUTTONS
============================================================================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    margin: 0.5rem;
    box-shadow: var(--shadow-light);
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* =============================================================================
   NAVIGATION STYLES
============================================================================= */

/* 基础导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-slow);
    padding: 0.6rem 0;
    backdrop-filter: blur(0px);
}

/* 滚动后的导航栏样式 */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* 导航容器 */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    position: relative;
    transition: var(--transition-slow);
}

/* Logo 样式 */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 40px;
    width: auto;
    transition: var(--transition-slow);
    object-fit: contain;
}

.header.scrolled .logo-image {
    height: 40px;
}

/* 右侧内容容器 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

/* 滚动后的导航链接颜色 */
.header.scrolled .nav-link {
    color: var(--text-dark);
    text-shadow: none;
}

/* 导航链接悬停效果 */
.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.header.scrolled .nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

/* 激活状态的导航链接 */
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.header.scrolled .nav-link.active {
    background: var(--primary-color);
    color: white;
}

/* 联系信息区域 */
.nav-contact {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.7rem;
    color: white;
    transition: var(--transition);
    justify-content: center;
    align-items: flex-start;
    margin-left: 1rem;
}

.header.scrolled .nav-contact {
    color: var(--text-dark);
}

.nav-phone {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-color);
}

.nav-email {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
}

.header.scrolled .nav-email {
    color: var(--text-muted);
}

/* 语言切换器样式 */
.language-switcher {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    margin-left: 0.8rem;
}

.lang-btn {
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header.scrolled .lang-btn {
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    gap: 3px;
    transition: var(--transition);
    align-self: center;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
    background: var(--text-dark);
}

/* 汉堡菜单动画 */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =============================================================================
   HERO SECTION
============================================================================= */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grass" patternUnits="userSpaceOnUse" width="100" height="100"><rect fill="%234CAF50" width="100" height="100"/><path fill="%232E7D32" d="M20,80 Q30,60 40,80 M60,80 Q70,60 80,80"/></pattern></defs><rect fill="url(%23grass)" width="1200" height="600" opacity="0.1"/></svg>') center/cover;
    opacity: 0.1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 3rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease 0.2s both;
    font-weight: 700;
}

.hero-title .highlight {
    color: white;
    display: block;
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    width: 100%;
    animation: fadeInUp 1s ease 0.8s both;
}

.talk-to-us-hero-btn {
    background: white;
    color: #333;
    border: none;
    padding: 1.5rem 4rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    position: relative;
    overflow: hidden;
}

.talk-to-us-hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s;
}

.talk-to-us-hero-btn:hover::before {
    left: 100%;
}

.talk-to-us-hero-btn:hover {
    background: #f5f5f5;
    color: #222;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.talk-to-us-hero-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* =============================================================================
   SECTION STYLES
============================================================================= */
.services,
.about,
.portfolio,
.testimonials,
.contact {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================================================
   SERVICES SECTION
============================================================================= */
.service-card-new {
    background: var(--bg-white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-new:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.service-card-new:hover .service-img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.service-card-new:hover .service-overlay {
    opacity: 1;
}

/* 图片占位符样式 */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    position: relative;
}

.garden-image { background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%); }
.tree-image { background: linear-gradient(135deg, #8BC34A 0%, #4CAF50 100%); }
.construction-image { background: linear-gradient(135deg, #FF6B35 0%, #e55a2b 100%); }

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.placeholder-text {
    font-size: 1rem;
    opacity: 0.8;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.service-card-new:hover .image-placeholder::before {
    opacity: 1;
}

.service-content {
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.service-text-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
    text-align: center;
    padding: 0 1rem;
    flex-grow: 1;
}

.service-button-container {
    margin-top: auto;
    padding-top: 1rem;
}

.service-link,
.learn-more-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    margin-top: auto;
    align-self: center;
}

.service-link:hover,
.learn-more-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 服务网格布局 */
.main-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    align-items: stretch;
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: stretch;
}

/* =============================================================================
   ABOUT SECTION
============================================================================= */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.commitment-list {
    margin-top: 2rem;
}

.commitment-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.commitment-icon {
    font-size: 1.5rem;
    min-width: 30px;
    color: var(--secondary-color);
}

.commitment-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.commitment-item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-image {
    position: relative;
}

.about-image .image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-medium);
}

.placeholder-content {
    text-align: center;
}

/* 团队照片样式 */
.team-photo-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.team-photo-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: filter 0.3s ease;
}

.team-photo-container:hover .team-photo {
    filter: brightness(1.05) contrast(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team-photo-container:hover .photo-overlay {
    transform: translateY(0);
}

.team-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

/* 统计数据部分 */
.stats-section {
    margin-top: 5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-large);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

/* =============================================================================
   PORTFOLIO SECTION
============================================================================= */
.portfolio {
    padding: 100px 0;
    background: var(--bg-light);
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: var(--bg-white);
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--bg-white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.portfolio-image {
    height: 250px;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* =============================================================================
   TESTIMONIALS SECTION
============================================================================= */
.testimonials {
    padding: 100px 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    position: relative;
    border-left: 5px solid var(--accent-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.quote-mark {
    font-size: 4rem;
    color: var(--secondary-color);
    position: absolute;
    top: 1rem;
    left: 2rem;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: 1rem;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
}

.author-info h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-location {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =============================================================================
   CONTACT SECTION
============================================================================= */
.contact {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: white;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    min-width: 40px;
}

.contact-details h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-details strong {
    font-weight: 700;
}

.contact-details small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.service-highlights {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(10px);
}

.service-highlights h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.highlights-list {
    list-style: none;
    padding: 0;
}

.highlights-list li {
    color: white;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: var(--bg-white);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: white;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    background: var(--gradient-accent);
    color: white;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: var(--shadow-light);
}

.submit-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Contact Page Specific Styles */
.contact-page .service-hero-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.contact-page .service-hero-subtitle {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.contact-page .talk-to-us-hero-btn {
    background: linear-gradient(45deg, #FF6B35, #FF8E53);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-page .talk-to-us-hero-btn:hover {
    background: linear-gradient(45deg, #E55A2B, #FF6B35);
}

/* 联系方式网格布局 */
.contact-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* 联系卡片样式 */
.contact-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

/* 联系图标样式 */
.contact-card .contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem auto;
    color: white;
    box-shadow: var(--shadow-light);
}

.phone-icon {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
}

.email-icon {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.contact-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Contact Details Box */
.contact-details-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    border-left: 4px solid var(--accent-color);
    text-align: left;
}

.contact-details-box p {
    margin: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.contact-details-box strong {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* 按钮样式 */
.talk-to-us-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
}

.talk-to-us-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* =============================================================================
   FOOTER STYLES
============================================================================= */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 25px 0 12px;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1.5fr 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 1.5rem;
    align-items: start;
    justify-content: center;
}

.footer-company {
    padding-right: 1.5rem;
}

.footer-company h3 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    line-height: 1.1;
}

.footer-company p {
    color: #ccc;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact-compact {
    margin-top: 1rem;
}

.footer-contact-compact p {
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.2;
}

.footer-contact-compact strong {
    color: var(--accent-color);
    font-weight: 600;
    min-width: 20px;
}

.footer-services h3,
.footer-areas h3 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    line-height: 1.1;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    padding: 0.3rem 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    line-height: 1.2;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-areas ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-areas li {
    color: #ccc;
    padding: 0.3rem 0;
    font-size: 0.95rem;
    line-height: 1.2;
}

.footer-newsletter {
    padding-left: 1.5rem;
}

.footer-newsletter h3 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    line-height: 1.1;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.newsletter-input {
    padding: 0.7rem 1rem;
    border: 1px solid #444;
    border-radius: 8px;
    background: #333;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
    height: 40px;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #404040;
}

.newsletter-input::placeholder {
    color: #888;
}

.newsletter-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 600;
    height: 40px;
}

.newsletter-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1.2rem;
    justify-content: flex-start;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #333;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.footer-bottom p {
    color: #888;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-bottom-links {
    display: flex;
    gap: 2.5rem;
}

.footer-bottom-links a {
    color: #888;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* =============================================================================
   FLOATING ELEMENTS
============================================================================= */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-phone {
    background: var(--gradient-accent);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    animation: pulse 2s infinite;
    transition: var(--transition);
}

.floating-phone:hover {
    transform: scale(1.1);
    color: white;
}

.floating-quote {
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-light);
    animation: float 3s ease-in-out infinite;
    transition: var(--transition);
    white-space: nowrap;
}

.floating-quote:hover {
    transform: translateY(-5px);
    color: white;
    box-shadow: var(--shadow-medium);
}

/* =============================================================================
   ANIMATIONS
============================================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 页面加载动画 */
.header {
    animation: fadeInDown 0.8s ease 0.2s both;
}

/* =============================================================================
   RESPONSIVE DESIGN
============================================================================= */

/* 大桌面优化 */
@media (min-width: 1400px) {
    .nav-container {
        max-width: 1400px;
        padding: 0 3rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .hero-title {
        font-size: 3.8rem;
    }
}

/* 平板设备 */
@media (max-width: 1024px) {
    .nav-contact {
        display: none;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }

    .nav-right {
        gap: 1rem;
    }

    .language-switcher {
        margin-left: 0.6rem;
    }

    .lang-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
        min-width: 28px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .main-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .additional-services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }

    .about-content {
        gap: 3rem;
    }

    .contact-content {
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
        gap: 3rem;
    }

    .footer .container,
    .footer-bottom-content {
        padding: 0 2rem;
    }
}

/* 移动设备 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-contact {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 20px 20px;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .nav-link {
        color: var(--text-dark);
        text-align: center;
        padding: 1rem 2rem;
        border-radius: 10px;
        font-size: 1.1rem;
        background: transparent;
        transition: var(--transition);
        width: 100%;
        animation: slideInFromRight 0.3s ease forwards;
        opacity: 0;
        transform: translateX(50px);
    }

    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu.active .nav-link:nth-child(6) { animation-delay: 0.6s; }
    .nav-menu.active .language-switcher { animation-delay: 0.7s; }

    .nav-menu .nav-link:hover {
        background: rgba(0, 0, 0, 0.05);
        color: var(--primary-color);
        transform: translateX(0);
    }

    .nav-menu .nav-link.active {
        background: var(--primary-color);
        color: white;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-menu .language-switcher {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1.5rem;
        padding-top: 0;
        border-top: none;
        width: 100%;
        gap: 1rem;
    }

    .nav-menu .lang-btn {
        background: rgba(0, 0, 0, 0.05);
        color: var(--text-dark);
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        border-radius: 25px;
        min-width: 80px;
        transition: var(--transition);
    }

    .nav-menu .lang-btn:hover,
    .nav-menu .lang-btn.active {
        background: var(--accent-color);
        color: white;
        border-color: var(--accent-color);
        transform: translateY(-2px);
    }

    .header.scrolled .nav-menu {
        top: 70px;
    }

    .hero {
        padding: 100px 0 50px;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .services,
    .about,
    .portfolio,
    .testimonials,
    .contact {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .main-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .additional-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: none;
    }

    .service-content {
        padding: 2rem 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-photo-container {
        height: 300px;
    }

    .photo-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }

    .team-badge {
        padding: 0.8rem 1.2rem;
    }

    .badge-text {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .portfolio-tabs {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .contact-card {
        padding: 2.5rem 2rem;
    }

    .contact-card .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .contact-card h3 {
        font-size: 1.5rem;
    }

    .contact-details-box {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }

    .talk-to-us-btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        row-gap: 3rem;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
        padding-left: 0;
        margin-top: 1rem;
        text-align: center;
    }

    .newsletter-form {
        max-width: 400px;
        margin: 0 auto 2rem auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
    }

    .floating-phone {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .floating-quote {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}

/* 小屏移动设备 */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
        min-height: 60px;
    }

    .logo-image {
        height: 40px;
    }

    .header.scrolled .logo-image {
        height: 35px;
    }

    .mobile-menu-btn {
        padding: 0.5rem;
        gap: 4px;
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 3px;
        border-radius: 2px;
    }

    .nav-menu {
        padding: 1.5rem;
    }

    .nav-menu .nav-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .nav-menu .language-switcher {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .nav-menu .lang-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        min-width: 70px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .main-services-grid {
        margin-bottom: 2rem;
    }

    .contact-form-container,
    .service-content,
    .testimonial-card {
        padding: 1.5rem;
    }

    .team-photo-container {
        height: 250px;
    }

    .team-badge {
        padding: 0.6rem 1rem;
        gap: 0.6rem;
    }

    .badge-icon {
        font-size: 1.2rem;
    }

    .badge-text {
        font-size: 0.85rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-card .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .contact-card h3 {
        font-size: 1.3rem;
    }

    .contact-card p {
        font-size: 0.95rem;
    }

    .contact-details-box {
        padding: 1rem;
        text-align: center;
    }

    .talk-to-us-btn {
        width: 100%;
        padding: 1rem;
    }

    .floating-contact {
        bottom: 15px;
        right: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-company {
        padding-right: 0;
        margin-bottom: 0.5rem;
    }

    .footer-newsletter {
        margin-top: 0.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 2rem;
    }

    .footer .container,
    .footer-bottom-content {
        padding: 0 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        padding: 0.7rem;
        height: 40px;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
    }

    .footer-bottom-links {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

/* 超小屏设备 */
@media (max-width: 360px) {
    .nav-menu .language-switcher {
        flex-direction: row;
        gap: 1rem;
    }

    .nav-menu .lang-btn {
        flex: 1;
        max-width: 80px;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

/* =============================================================================
   ACCESSIBILITY & PERFORMANCE OPTIMIZATIONS
============================================================================= */

/* Focus 状态增强 */
.nav-link:focus,
.lang-btn:focus,
.mobile-menu-btn:focus,
.btn:focus,
.submit-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .nav-menu .nav-link:focus,
    .nav-menu .lang-btn:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: more) {
    .header.scrolled {
        background: white;
        border-bottom: 2px solid #000;
    }

    .header.scrolled .nav-link {
        color: #000;
    }

    .header.scrolled .nav-link:hover {
        background: #000;
        color: white;
    }

    @media (max-width: 768px) {
        .nav-menu {
            background: white;
            border: 2px solid #000;
        }

        .nav-menu .nav-link {
            color: #000;
            border: 1px solid #ccc;
        }

        .nav-menu .nav-link:hover {
            background: #000;
            color: white;
        }
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .header,
    .nav-link,
    .logo-image,
    .mobile-menu-btn span,
    .nav-menu,
    .lang-btn,
    .service-card-new,
    .testimonial-card,
    .portfolio-item,
    .floating-phone,
    .floating-quote {
        transition: none;
        animation: none;
    }

    .fade-in,
    .slide-left,
    .slide-right {
        opacity: 1;
        transform: none;
    }
}

/* GPU 加速 */
.header,
.nav-menu,
.logo-image,
.nav-link,
.lang-btn,
.service-card-new,
.floating-contact {
    will-change: transform;
    transform: translateZ(0);
}

/* 减少重绘 */
.nav-link,
.lang-btn,
.btn {
    contain: layout style paint;
}

/* 小红书模态框样式 */
.xiaohongshu-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.xiaohongshu-modal-content {
    background-color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    min-height: 400px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    animation: modalAppear 0.3s ease-out forwards;
}

@keyframes modalAppear {
    to {
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
}

.close-modal:hover {
    color: #fff;
    background: #ff5252;
}

.xiaohongshu-qr {
    width: 280px;
    height: 280px;
    margin: 25px auto;
    border: 2px solid #FF2442;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 36, 66, 0.2);
}

.xiaohongshu-modal h3 {
    color: #FF2442;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.xiaohongshu-modal p {
    font-size: 16px;
    margin: 15px 0;
    color: #333;
}

.xiaohongshu-modal p:last-child {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.xiaohongshu-modal a {
    color: #FF2442;
    text-decoration: none;
    font-weight: 500;
}

.xiaohongshu-modal a:hover {
    text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 600px) {
    .xiaohongshu-modal-content {
        max-width: 95%;
        padding: 40px 30px;
        min-height: 350px;
    }

    .xiaohongshu-qr {
        width: 220px;
        height: 220px;
    }

    .xiaohongshu-modal h3 {
        font-size: 20px;
    }
}

/* 社交媒体链接样式 */
.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-links a[aria-label="小红书"]:hover {
    background: linear-gradient(135deg, #FF2442, #E91E63);
}

.social-links svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    z-index: 2;
}

.social-links a:hover svg {
    fill: white !important;
    transform: scale(1.1);
}
/* Line模态框样式 */
.line-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.line-modal-content {
    background-color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    min-height: 400px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    animation: modalAppear 0.3s ease-out forwards;
}

.line-qr {
    width: 280px;
    height: 280px;
    margin: 25px auto;
    border: 2px solid #00C300;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 195, 0, 0.2);
}

.line-modal h3 {
    color: #00C300;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.line-modal p {
    font-size: 16px;
    margin: 15px 0;
    color: #333;
}

.line-modal a {
    color: #00C300;
    text-decoration: none;
    font-weight: 500;
}

.line-modal a:hover {
    text-decoration: underline;
}

/* 微信模态框样式 */
.wechat-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.wechat-modal-content {
    background-color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    min-height: 400px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    animation: modalAppear 0.3s ease-out forwards;
}

@keyframes modalAppear {
    to {
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
}

.close-modal:hover {
    color: #fff;
    background: #ff5252;
}

.wechat-qr {
    width: 280px;
    height: 280px;
    margin: 25px auto;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wechat-modal h3 {
    color: #2E7D32;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.wechat-modal p {
    font-size: 16px;
    margin: 15px 0;
    color: #333;
}

.wechat-modal p:last-child {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.wechat-modal a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 500;
}

.wechat-modal a:hover {
    text-decoration: underline;
}

/* 社交媒体图标样式 */
.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-links a[aria-label="Facebook"]:hover {
    background: linear-gradient(135deg, #1877F2, #4267B2);
}

.social-links a[aria-label="Instagram"]:hover {
    background: linear-gradient(135deg, #E4405F, #F56040, #FCAF45);
}

.social-links a[aria-label="WhatsApp"]:hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-links a[aria-label="Line"]:hover {
    background: linear-gradient(135deg, #00C300, #00B900);
}

.social-links a[aria-label="微信"]:hover {
    background: linear-gradient(135deg, #07C160, #00A854);
}

.social-links svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    z-index: 2;
}

.social-links a:hover svg {
    fill: white !important;
    transform: scale(1.1);
}

/* 移动端适配 */
@media (max-width: 600px) {
    .wechat-modal-content, .line-modal-content {
        max-width: 95%;
        padding: 40px 30px;
        min-height: 350px;
    }

    .wechat-qr, .line-qr {
        width: 220px;
        height: 220px;
    }

    .wechat-modal h3, .line-modal h3 {
        font-size: 20px;
    }

    .social-links {
        gap: 15px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
    }

    .social-links svg {
        width: 20px;
        height: 20px;
    }
}