/* ========================================
   东莞市塘厦菡橙商贸商行 官方网站样式
   响应式设计，支持多分辨率自适应
======================================== */

/* CSS变量定义 */
:root {
    /* 主色调 */
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --primary-light: #ff8c5a;
    --secondary-color: #2d3748;
    --accent-color: #4299e1;
    
    /* 中性色 */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --text-white: #ffffff;
    
    /* 背景色 */
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
    --bg-dark: #1a202c;
    
    /* 边框和阴影 */
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* 圆角 */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* 字体 */
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* 响应式字体大小 */
    --font-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --font-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --font-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --font-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --font-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --font-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --font-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --font-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (min-width: 1536px) {
    .container {
        max-width: 1440px;
    }
}

/* ========================================
   导航栏
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: clamp(60px, 8vh, 80px);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-size: var(--font-lg);
    font-weight: 500;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-sm);
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* ========================================
   Hero区域
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(66, 153, 225, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(118, 75, 162, 0.3) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: clamp(80px, 15vh, 120px) 0;
}

.hero-title {
    margin-bottom: var(--spacing-lg);
}

.title-line {
    display: block;
    font-size: var(--font-2xl);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-sm);
}

.title-highlight {
    display: block;
    font-size: var(--font-4xl);
    font-weight: 700;
    color: var(--text-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: var(--font-xl);
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.hero-description {
    font-size: var(--font-base);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-3xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    font-size: var(--font-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.btn svg {
    width: 1.25em;
    height: 1.25em;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
}

.btn-block {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: clamp(2rem, 5vw, 4rem);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-3xl);
    font-weight: 700;
    color: var(--text-white);
}

.stat-suffix {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--spacing-xs);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

.hero-wave path {
    fill: var(--bg-white);
}

/* ========================================
   通用区域标题
======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header.light .section-title,
.section-header.light .section-desc {
    color: var(--text-white);
}

.section-header.light .section-tag {
    color: rgba(255, 255, 255, 0.7);
}

.section-tag {
    display: inline-block;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: var(--font-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.section-desc {
    font-size: var(--font-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   关于我们
======================================== */
.about {
    padding: clamp(60px, 10vh, 100px) 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-md);
}

.placeholder-icon svg {
    width: 100%;
    height: 100%;
}

.image-placeholder span {
    font-size: var(--font-2xl);
    font-weight: 700;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.badge-text {
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

.about-text h3 {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.about-intro {
    font-size: var(--font-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-white);
}

.feature-content h4 {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.feature-content p {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-mission blockquote {
    font-size: var(--font-xl);
    font-weight: 500;
    color: var(--primary-color);
    font-style: italic;
    padding-left: var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
}

/* ========================================
   服务项目
======================================== */
.services {
    padding: clamp(60px, 10vh, 100px) 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.service-card {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

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

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
}

.service-card.featured::before {
    display: none;
}

.service-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 600;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.service-card.featured .service-icon svg {
    color: var(--text-white);
}

.service-card h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.service-card.featured h3 {
    color: var(--text-white);
}

.service-card > p {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.service-card.featured > p {
    color: rgba(255, 255, 255, 0.9);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.service-list li {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    padding-left: var(--spacing-lg);
    position: relative;
}

.service-card.featured .service-list li {
    color: rgba(255, 255, 255, 0.85);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.service-card.featured .service-list li::before {
    background: var(--text-white);
}

/* ========================================
   核心优势
======================================== */
.advantages {
    padding: clamp(60px, 10vh, 100px) 0;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.advantage-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    transition: all var(--transition);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.advantage-number {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    font-size: var(--font-3xl);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.advantage-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-white);
}

.advantage-card h3 {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
}

.advantage-card p {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ========================================
   合作平台
======================================== */
.partners {
    padding: clamp(60px, 10vh, 100px) 0;
    background: var(--bg-white);
    overflow: hidden;
}

.partners-wrapper {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: var(--spacing-xl);
    animation: scroll 30s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.partner-item:hover .partner-logo {
    background: var(--primary-color);
    color: var(--text-white);
    transform: scale(1.1);
}

.partner-item span {
    font-size: var(--font-xs);
    color: var(--text-light);
}

/* ========================================
   服务流程
======================================== */
.process {
    padding: clamp(60px, 10vh, 100px) 0;
    background: var(--bg-light);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.process-item {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.process-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-white);
}

.process-step {
    display: block;
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.process-content h4 {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.process-content p {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   联系我们
======================================== */
.contact {
    padding: clamp(60px, 10vh, 100px) 0;
    background: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-3xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.info-card {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.info-card:hover {
    background: var(--bg-gray);
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-white);
}

.info-content h4 {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.info-content p {
    font-size: var(--font-base);
    color: var(--text-secondary);
}

.info-content a {
    color: var(--primary-color);
}

.info-content a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
}

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

.contact-form > p {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    font-size: var(--font-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-white);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    margin-top: var(--spacing-md);
}

/* ========================================
   页脚
======================================== */
.footer {
    background: var(--bg-dark);
    padding: clamp(40px, 8vh, 60px) 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-3xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.footer-logo .logo-icon {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

.footer-logo .logo-text {
    color: var(--text-white);
}

.footer-desc {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--text-white);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-column h4 {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--spacing-lg);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-column li a {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-column li a:hover {
    color: var(--primary-color);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.6);
}

.contact-list svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-bottom p {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .icp-info {
    margin-top: var(--spacing-sm);
    line-height: 1.8;
}

.footer-bottom .icp-info a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.footer-bottom .icp-info a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.06);
}

/* ========================================
   回到顶部按钮
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    color: var(--text-white);
}

/* ========================================
   浮动联系按钮
======================================== */
.floating-contact {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
}

.float-btn {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 107, 53, 0);
    }
}

.float-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.float-btn svg {
    width: 24px;
    height: 24px;
    color: var(--text-white);
}

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

/* 大屏幕 (1280px以上) */
@media (min-width: 1280px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 中等屏幕 (1024px - 1279px) */
@media (max-width: 1279px) {
    .about-content {
        gap: var(--spacing-2xl);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 平板设备 (768px - 1023px) */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--spacing-xl) var(--spacing-xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        gap: var(--spacing-md);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-badge {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 小型平板和大屏手机 (640px - 767px) */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
}

/* 手机设备 (639px以下) */
@media (max-width: 639px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-content {
        padding: clamp(100px, 20vh, 120px) 0 clamp(60px, 10vh, 80px);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .back-to-top,
    .floating-contact {
        right: 15px;
    }
    
    .back-to-top {
        bottom: 15px;
        width: 44px;
        height: 44px;
    }
    
    .floating-contact {
        bottom: 75px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
    }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Windows高DPI缩放支持 */
@media (min-resolution: 120dpi) {
    html {
        font-size: calc(16px * (96 / 120));
    }
}

@media (min-resolution: 144dpi) {
    html {
        font-size: calc(16px * (96 / 144));
    }
}

@media (min-resolution: 192dpi) {
    html {
        font-size: calc(16px * (96 / 192) * 1.5);
    }
}

/* 打印样式 */
@media print {
    .header,
    .back-to-top,
    .floating-contact,
    .hero-wave {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    body {
        font-size: 12pt;
    }
}
