/* ========================================
   基线广告官网 - 样式表
   ======================================== */

/* 图片优化 - 预加载关键样式 */
.contact-img {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* CSS Variables */
:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --accent-light: #ff6b6b;
    --gold: #f4a261;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-dark: #1a1a2e;
    --bg-dark: #0f0f1a;
    --bg-light: #f8f9fa;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 25px 80px rgba(0, 0, 0, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.2;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 0.1em;
   
}

.logo-sub-top {
    font-size: 0.86rem;
    color: var(--accent);
    letter-spacing: 0.3em;
    font-weight: 500;
    
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 广告工具箱 - 凸出效果 */
.nav-links a[href="http://wwww.111yin.com"] {
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.1) 0%, rgba(233, 69, 96, 0.1) 100%);
    border: 2px solid var(--gold);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.nav-links a[href="http://wwww.111yin.com"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
}

.nav-links a[href="http://wwww.111yin.com"]:hover {
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 100%);
    border-color: var(--accent-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(244, 162, 97, 0.3);
}

.nav-links a[href="http://wwww.111yin.com"]:hover::before {
    width: 300px;
    height: 300px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(26, 26, 46, 0.9) 0%, rgba(15, 15, 26, 1) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.sphere-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-1);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-2);
    bottom: -15%;
    left: -10%;
    animation-delay: -7s;
}

.sphere-3 {
    width: 400px;
    height: 400px;
    background: var(--gradient-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleReveal 1s ease-out forwards;
    opacity: 0;
    transform: translateY(40px);
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
    animation: fadeInUp 1s ease-out 0.7s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.cta-button:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}

.cta-button svg {
    transition: var(--transition);
}

.cta-button:hover svg {
    transform: translateY(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 1s ease-out 1s forwards;
    opacity: 0;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ========================================
   Section Common Styles
   ======================================== */
section {
    padding: 80px 0;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 服务卡片延迟动画 */
.service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.service-card:nth-child(4) {
    transition-delay: 0.4s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 服务卡片悬停时的内容动画 */
.service-card:hover .card-body {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(233, 69, 96, 0.2);
}


/* 添加闪烁光效 */
.service-card {
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s;
    pointer-events: none;
}

.service-card:hover::after {
    transform: rotate(45deg) translateY(100%);
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--primary) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.03) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-intro {
    animation: fadeInUp 0.8s ease-out;
}

/* 公司介绍文字排版优化 */
.company-intro {
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
    animation: fadeInUp 0.8s ease-out;
}

.intro-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    position: relative;
}

.intro-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 2px;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
}

.intro-year {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 400;
}

.company-mission {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.company-mission p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    text-align: justify;
    text-indent: 2em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.stat-item {
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

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

.visual-card {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1.25;
    background: var(--gradient-1);
    border-radius: 30px;
    padding: 3px;
    position: relative;
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
    margin: 0 auto 80px;
    border-radius: 3px;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(10px);
    opacity: 0.5;
}

.card-content {
    width: 100%;
    background: var(--primary);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px;
    text-align: center;
    box-sizing: border-box;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box svg {
    width: 30px;
    height: 30px;
    color: white;
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.concept-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 15px;
    margin-top: 15px;
}

.concept-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    border-radius: 14px;
}

.visual-card:hover .concept-img {
    transform: scale(1.05);
}

.values-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.value-item {
    text-align: center;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.value-item:hover::before {
    opacity: 1;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-15px);
    border-color: rgba(233, 69, 96, 0.4);
    box-shadow: 0 20px 40px rgba(233, 69, 96, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--gradient-1);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(233, 69, 96, 0.3);
}

.value-icon svg {
    width: 35px;
    height: 35px;
    color: var(--text-primary);
    transition: var(--transition);
}

.value-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    background: var(--primary);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(233, 69, 96, 0.3);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 320px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px 24px 0 0;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) saturate(1.2);
    border-radius: 4px;
}

/* 图片滤镜效果 - 不同业务类型使用不同的色调 */
.service-card:nth-child(1) .service-image {
    filter: brightness(1.05) saturate(1.2) contrast(1.05);
}

.service-card:nth-child(2) .service-image {
    filter: brightness(1.05) saturate(1.25) hue-rotate(-10deg) contrast(1.05);
}

.service-card:nth-child(3) .service-image {
    filter: brightness(1.05) saturate(1.2) hue-rotate(15deg) contrast(1.05);
}

.service-card:nth-child(4) .service-image {
    filter: brightness(1.05) saturate(1.3) contrast(1.05);
}

/* 添加发光边框效果 */
.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #e94560, #667eea, #4facfe, #e94560);
    background-size: 400% 400%;
    border-radius: 26px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.6s ease;
    animation: gradient-rotate 3s ease infinite;
}

@keyframes gradient-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 增强的悬停效果 */
.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    z-index: 10;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-image {
    transform: scale(1.08);
    filter: brightness(1.15) saturate(1.3) contrast(1.15);
}

@media (max-width: 768px) {
    .service-card:hover .service-image {
        transform: scale(1.05);
    }
}



/* 添加点击波纹效果 */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.service-card:active::after {
    width: 600px;
    height: 600px;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.card-body > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: linear-gradient(180deg, var(--primary) 0%, var(--bg-dark) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.contact-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.2) 0%, rgba(233, 69, 96, 0.05) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Contact Image Section
   ======================================== */
.contact-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 450px;
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.contact-image:hover .contact-img {
    transform: scale(1.05);
}

/* 添加渐变叠加效果 */
.contact-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        transparent 0%,
        transparent 50%,
        rgba(15, 15, 26, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ========================================
   Contact CTA Section
   ======================================== */
.contact-cta {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

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

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    letter-spacing: 0.02em;
}

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

.cta-phone,
.cta-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-phone::before,
.cta-email::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.cta-phone:hover::before,
.cta-email:hover::before {
    left: 100%;
}

.cta-phone:hover,
.cta-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.3);
}

.cta-phone svg,
.cta-email svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cta-phone span,
.cta-email span {
    white-space: nowrap;
}

/* ========================================
   Footer Enhancements
   ======================================== */
.footer-shapes {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent 0%, var(--bg-dark) 100%);
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 50%;
    animation: float-shape 20s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    bottom: -20px;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    bottom: -15px;
    right: 20%;
    animation-delay: 5s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    bottom: -10px;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.8;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-dark);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.03) 0%, transparent 70%);
    animation: rotate 40s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 2px;
}

.footer-logo .logo-text {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-align: center;
    display: block;
    width: 100%;
}

.footer-logo .logo-sub {
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    font-weight: 500;
    margin-top: 5px;
    text-align: center;
    display: block;
    width: 100%;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 20px;
    position: relative;
    
}

.footer-tagline::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: var(--accent);
    font-family: Georgia, serif;
    opacity: 0.5;
}

/* Footer CTA Section */
.footer-cta {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.footer-cta .cta-button {
    display: flex;
    justify-content: center;
}

.footer-cta .cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-cta .cta-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.footer-cta .cta-phone:hover::before {
    left: 100%;
}

.footer-cta .cta-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.3);
}

.footer-cta .cta-phone svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-cta .cta-phone span {
    white-space: nowrap;
}

/* 社交媒体链接 - 简化版 */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3);
}

.social-link svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-bottom .separator {
    display: inline-block;
    margin: 0 15px;
    opacity: 0.3;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 15, 26, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }

    .intro-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .company-intro {
        padding-left: 0;
        border-left: none;
        border-top: 3px solid var(--accent);
        padding-top: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-text {
        gap: 30px;
    }

    .stats-grid {
        gap: 25px;
    }

    .about-visual {
        order: -1;
    }

    .visual-card {
        max-width: 280px;
        margin: 0 auto;
        aspect-ratio: 1.3;
    }

    .concept-image {
        height: 140px;
    }

    .values-section {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-main {
        flex-direction: column;
        gap: 40px;
    }

    .contact-image {
        min-height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-logo::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-tagline::before {
        display: none;
    }

    .footer-brand .social-links {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 250px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .intro-heading {
        font-size: 1.8rem;
    }

    .intro-year {
        font-size: 1.5rem;
    }

    .company-mission {
        padding: 20px;
    }

    .company-mission p {
        text-indent: 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .value-item {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .hero-title .title-line {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .about {
        padding: 80px 0;
    }

    .about-content {
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-item {
        padding: 10px 5px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .value-item {
        padding: 40px 25px;
    }

    .value-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .value-icon svg {
        width: 35px;
        height: 35px;
    }

    .value-item h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .value-item p {
        font-size: 0.9rem;
    }

    .section-divider {
        width: 60px;
        height: 2px;
        margin: 0 auto 60px;
    }

    .contact-image {
        min-height: 250px;
    }
}

    .info-card {
        padding: 25px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-links {
        gap: 12px;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .link-group a {
        margin-bottom: 12px;
        font-size: 0.85rem;
    }

    .contact-info {
        
        font-size: 0.85rem;
        
    }

    .footer-logo .logo-text {
        font-size: 1.8rem;
    }

    .footer-logo .logo-sub {
        font-size: 0.65rem;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    /* 强制确保3个stat-item在一行显示 */
    .stats-grid {
        grid-template-columns: repeat(3, minmax(80px, 1fr));
        gap: 12px;
    }

    .stat-item {
        min-width: 0;
        padding: 10px 6px;
    }

    .stat-number {
        font-size: 1.4rem;
        line-height: 1;
    }

    .stat-plus {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.8rem;
        margin-top: 3px;
    }
}
