/* ============================================
   葳蕤科技 - 纳米AI GEO服务落地页样式 V2
   Weirui Technology - Nano AI GEO Landing Page
   明亮渐变风格 | Bright Gradient Style
   ============================================ */

/* CSS Variables & Design Tokens */
:root {
    /* 明亮渐变色系 - 参考图片风格 */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.4);
    --secondary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* 背景色系 - 明亮渐变 */
    --bg-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.85);

    /* 文字色系 */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #45556c;
    --text-dark: #0f172a;
    --text-light: #94a3b8;

    /* 边框色系 */
    --border-color: rgba(99, 102, 241, 0.15);
    --border-light: rgba(99, 102, 241, 0.1);

    /* 渐变定义 */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-hero-2: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-text: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-cool: linear-gradient(135deg, #30cfd0 0%, #330867 100%);

    /* 阴影定义 - 增强层次感 */
    --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.08);
    --shadow-md: 0 4px 20px rgba(99, 102, 241, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 40px rgba(99, 102, 241, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 60px rgba(99, 102, 241, 0.2), 0 8px 20px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* 过渡动画 */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --container-max: 1280px;
    --container-padding: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons - 更现代的样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    outline: none;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

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

.btn-outline {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    border: 2px solid white;
    backdrop-filter: blur(10px);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 13px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    
}

/* ============================================
   NAVIGATION - 玻璃拟态效果
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled .nav-link {
    color: var(--text-secondary);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    transition: all var(--transition-base);
}

.navbar.scrolled .nav-logo {
    color: var(--primary);
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: transform var(--transition-base);
}

.nav-logo:hover img {
    transform: scale(1.05) rotate(-5deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 100px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 24px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: inherit;
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================
   HERO SECTION - 全新设计
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 24px 100px;
    background: linear-gradient(135deg, #3640e8 0%, #793db6 50%, #fbaf93 100%);
}

/* ============================================
   HERO BACKGROUND LAYERS - 多层动态背景
   ============================================ */
.hero-bg-layers {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* 渐变光晕层 */
.glow-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.glow-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(250,112,154,0.7) 0%, rgba(254,225,64,0.3) 50%, transparent 70%);
    top: -20%;
    right: -15%;
    animation: glow-pulse-1 10s ease-in-out infinite;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(48,207,208,0.7) 0%, rgba(51,8,103,0.4) 50%, transparent 70%);
    bottom: -25%;
    left: -20%;
    animation: glow-pulse-2 12s ease-in-out infinite;
}

@keyframes glow-pulse-1 {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    50% { transform: scale(1.15) rotate(90deg); opacity: 0.8; }
}

@keyframes glow-pulse-2 {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(-90deg); opacity: 0.75; }
}

/* 流动波浪层 */
.wave-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    animation: wave-flow 25s linear infinite;
    bottom: 0;
    opacity: 0.6;
}

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

/* 几何形状层 */
.geo-shapes {
    position: absolute;
    inset: 0;
}

.geo-shape {
    position: absolute;
    animation: geo-float 20s ease-in-out infinite;
}

.geo-ring {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    top: 55%;
    right: 10%;
    animation-delay: 0s;
}

.geo-ring::before {
    content: '';
    position: absolute;
    inset: 25px;
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 50%;
}

.geo-square {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255,255,255,0.1);
    transform: rotate(45deg);
    bottom: 10%;
    left: 10%;
    animation-delay: -10s;
}

@keyframes geo-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* 飘动文案层 */
.floating-texts {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.floating-text {
    position: absolute;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.25);
    /* letter-spacing: 2px; */
    text-transform: uppercase;
    white-space: nowrap;
    animation: text-float 18s ease-in-out infinite;
    pointer-events: none;
}

.floating-text:nth-child(1) { top: 15%; left: 5%; animation-delay: 0s; animation-duration: 20s; }
.floating-text:nth-child(2) { top: 25%; right: 8%; animation-delay: -3s; animation-duration: 22s; }
.floating-text:nth-child(3) { top: 70%; left: 8%; animation-delay: -6s; animation-duration: 19s; }
.floating-text:nth-child(4) { top: 80%; right: 12%; animation-delay: -9s; animation-duration: 21s; }
.floating-text:nth-child(5) { top: 40%; left: 3%; animation-delay: -12s; animation-duration: 23s; }
.floating-text:nth-child(6) { top: 60%; right: 5%; animation-delay: -15s; animation-duration: 20s; }

@keyframes text-float {
    0%, 100% { 
        transform: translateY(0) translateX(0); 
        opacity: 0.2;
    }
    25% { 
        transform: translateY(-40px) translateX(20px); 
        opacity: 0.35;
    }
    50% { 
        transform: translateY(-20px) translateX(-10px); 
        opacity: 0.25;
    }
    75% { 
        transform: translateY(-50px) translateX(15px); 
        opacity: 0.3;
    }
}

/* 粒子层 */
.particle-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particle-float 12s infinite ease-in-out;
}

.particle.star {
    width: 4px;
    height: 4px;
    background: white;
    box-shadow: 0 0 10px 2px rgba(255,255,255,0.8);
}

.particle.ring {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.particle.diamond {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    transform: rotate(45deg);
    box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.particle.plus {
    width: 12px;
    height: 12px;
    background: transparent;
    position: relative;
}

.particle.plus::before,
.particle.plus::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 6px rgba(255,255,255,0.5);
}

.particle.plus::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.particle.plus::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes particle-float {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg) scale(1); 
        opacity: 0.4; 
    }
    25% { 
        transform: translateY(-60px) translateX(30px) rotate(90deg) scale(1.2); 
        opacity: 1; 
    }
    50% { 
        transform: translateY(-120px) translateX(-20px) rotate(180deg) scale(0.8); 
        opacity: 0.6; 
    }
    75% { 
        transform: translateY(-60px) translateX(-40px) rotate(270deg) scale(1.1); 
        opacity: 0.9; 
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    font-size: 14px;
    color: white;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    font-size: 18px;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
    color: white;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, #fff 0%, #ff61a6 50%, #ffd655 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease 0.6s both;
    flex-wrap: wrap;
}

/* Hero Stats Cards - 新设计 */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.stat-number {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #fed6e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: 28px;
    font-weight: 700;
    color: #fed6e3;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn 1s ease 1.2s both;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.scroll-indicator:hover {
    color: white;
    transform: translateY(5px);
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 13px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/bg.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    padding: 0;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.5) 50%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(99, 102, 241, 0.08);
    backdrop-filter: blur(10px);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B5CF6, #06B6D4);
    z-index: 2;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(99, 102, 241, 0.12);
}

.about-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 28px 0px 28px 28px;
}

.about-icon {
    width: 60px;
    height: 60px;
    color: white;
    padding: 16px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    border-radius: 16px;
    transition: all var(--transition-base);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
    flex-shrink: 0;
}

.about-card:hover .about-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.45);
}

.about-title-wrap {
    display: flex;
    flex-direction: column;
    /* gap: 4px; */
}

.about-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.about-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #baa4ee;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 0 28px 28px;
    margin: 0;
}

/* AI Models Section */
.ai-models-section {
    margin-top: 60px;
    padding: 2px 0;
    position: relative;
    z-index: 1;
}

.ai-models-title {
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.ai-models-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.ai-model-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-base);
}

.ai-model-item:hover {
    transform: translateY(-5px);
}

.ai-model-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
}

.ai-model-item:hover .ai-model-logo {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.ai-model-logo svg,
.ai-model-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ai-model-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

@media (max-width: 1023px) {
    .ai-models-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (max-width: 639px) {
    .ai-models-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .ai-model-logo {
        width: 48px;
        height: 48px;
    }
    
    /* 移动端隐藏hero效果层 */
    .hero-bg-layers {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 60px 0;
    background: 
        radial-gradient(ellipse at 0% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
        linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.service-card.featured {
    border-color: #f16383;
    background: linear-gradient(44deg, rgba(255, 222, 211) 0%, rgba(255, 255, 255, 1) 100%);
    transform: scale(1.02);
}

.service-card.featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
}

.service-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.service-content {
    padding: 20px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    text-align: center;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-content > p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
    margin-top: auto;
}

.service-features li {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 4px 12px;
    background: rgba(255, 107, 53, 0.08);
    border-radius: 100px;
}

.service-features li::before {
    /* content: '✓'; */
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   ADVANTAGES SECTION
   ============================================ */
.advantages {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/bg2.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.advantages .container {
    position: relative;
    z-index: 1;
}

.advantages::after {
    content: '';
    position: absolute;
    top: 100px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.advantages-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.advantage-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: default;
    box-shadow: var(--shadow-card);
}

.advantage-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.advantage-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 60px;
    font-family: 'Segoe UI', sans-serif;
    opacity: 0.8;
}

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

.advantage-info p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    padding: 60px 0;
    background: 
        radial-gradient(ellipse at 100% 0%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.06) 0%, transparent 70%),
        linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.process::after {
    content: '';
    position: absolute;
    bottom: 100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 80px;
    right: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    border-radius: 3px;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    font-size: 28px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    position: relative;
    transition: all var(--transition-base);
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    transition: all var(--transition-base);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}

.process-step:hover .step-number::after {
    inset: -10px;
    opacity: 0.3;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   CASES SECTION
   ============================================ */
.cases {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cases::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/bg3.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.cases .container {
    position: relative;
    z-index: 1;
}

.cases::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Service Industries Section */
.service-industries {
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.service-industries-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.service-industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
}

.industry-item {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.industry-icon {
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.industry-icon svg,
.industry-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-name {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    background: white;
}

@media (max-width: 1023px) {
    .service-industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .industry-icon {
        height: 90px;
    }
}

@media (max-width: 639px) {
    .service-industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .industry-icon {
        height: 80px;
    }
    
    .industry-name {
        padding: 10px 12px;
        font-size: 13px;
    }
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

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

.case-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
}

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

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.case-industry {
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.case-result {
    font-size: 32px;
    font-weight: 900;
    color: var(--success);
    text-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
}

.case-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.case-card > p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.case-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    position: relative;
    overflow: hidden;
}



.cta-content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-content h2 .gradient-text {
    background: linear-gradient(135deg, #fff 0%, #fed6e3 50%, #fee140 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.cta-content > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

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

.cta-guarantee {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.guarantee-item {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.guarantee-item::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 60px 0;
    background: 
        radial-gradient(ellipse at 0% 0%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -100px;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    flex-shrink: 0;
    padding: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-item:hover .contact-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.contact-detail h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.contact-detail p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-form-wrapper {
    padding: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all var(--transition-fast);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: none;
    outline: none;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: white;
    color: var(--text-primary);
}

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

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 0;
    background: var(--text-dark);
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.8fr 1.2fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-links-wrapper {
    display: flex;
    gap: 48px;
}

.footer-links-wrapper .footer-links {
    flex: 1;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-brand .footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand > p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 80%;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--text-light);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

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

.footer-links h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 15px;
    color: var(--text-light);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-contact h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-light);
}

.footer-contact li svg {
    color: var(--warning);
    flex-shrink: 0;
}

.footer-contact li span {
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.footer-contact li:hover span {
    color: white;
}

.footer-bottom {
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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





/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantage-main {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process-timeline {
        flex-wrap: wrap;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step {
        flex: 0 0 calc(50% - 12px);
    }

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

/* Mobile (< 768px) */
@media (max-width: 767px) {
    :root {
        --container-padding: 16px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 8px;
        transition: right var(--transition-base);
        border-left: 1px solid var(--border-light);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 14px 20px;
        font-size: 16px;
        width: 100%;
        color: var(--text-secondary);
        border-radius: var(--radius-md);
    }

    .nav-link:hover {
        background: rgba(99, 102, 241, 0.1);
        color: var(--primary);
    }

    .hero {
        padding: 120px 16px 80px;
    }

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

    .stat-item {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 28px;
    }

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

    .advantage-item {
        flex-direction: column;
        gap: 16px;
    }

    .advantage-number {
        font-size: 36px;
    }

    .process-step {
        flex: 0 0 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-guarantee {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

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

    .about,
    .services,
    .advantages,
    .process,
    .cases,
    .contact {
        padding: 80px 0;
    }

    .contact-form-wrapper {
        padding: 28px;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {

    .guarantee-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

    .ai-models-section {
    margin-top: 40px;
    padding: 2px 0;
    position: relative;
    z-index: 1;
    }

    .ai-models-title {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 32px;
    }

    .section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: justify;
    }

    .hero-scroll {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn 1s ease 1.2s both;
    }

    .stat-label {
    display: contents;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
        padding: 0px 10px 0px 10px;
    }

    .hero-badge {
        padding: 4px 12px;
        font-size: 12px;
    }

    .hero-badge .badge-icon {
        font-size: 14px;
    }

    .title-line {
        font-size: 52px;
        line-height: 1.2;
        padding-bottom: 6px;
    }

    .title-line.highlight {
        font-size: 30px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-cta .btn {
        width: 80%;
        padding: 14px 24px;
        font-size: 18px;
        display: block;
        margin: 0 auto;
    }

    .hero-cta .btn svg {
        vertical-align: middle;
        /* margin-left: 6px; */
        margin-top: -2px;
    }

    .stat-item {
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 24px;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
        width: 100%;
    }

    /* Hero Stats */
    .hero-stats {
        gap: 12px;
    }

    /* About Section */
    .about {
        padding: 40px 10px;
    }

    .about-card {
        padding: 16px;
        border-radius: 16px;
        box-shadow: 0 2px 15px rgba(99, 102, 241, 0.06);
    }

    .about-header {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        margin-bottom: 12px;
        padding: 10px 0px 0px 0px;
    }

    .about-card h3 {
        font-size: 18px;
    }

    .about-card p {
        font-size: 14px;
        line-height: 1.6;
        padding: 0;
    }

    .about-icon {
        width: 50px;
        height: 50px;
    }

    .about-subtitle {
        font-size: 11px;
    }

    /* Services Section */
    .services {
        padding: 40px 10px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        flex-direction: column;
    }

    .service-image img {
        height: 100%;
    }

    .service-content {
        padding: 20px;
    }

    /* Advantages Section */
    .advantages {
        padding: 40px 10px;
    }

    .advantage-item {
        padding: 16px;
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    .advantage-number {
        font-size: 50px;
        font-weight: 300;
        line-height: 1;
        flex-shrink: 0;
    }

    .advantage-info {
        flex: 1;
    }

    .advantage-info h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .advantage-info p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Process Section */
    .process {
        padding: 40px 10px;
    }

    .process-timeline {
        flex-direction: column;
        gap: 0;
        position: relative;
        padding-left: 28px;
    }

    .process-timeline::before {
        content: '';
        position: absolute;
        left: 19px;
        top: 24px;
        bottom: 24px;
        width: 2px;
        background: linear-gradient(180deg, #8B5CF6 0%, #06B6D4 50%, #8B5CF6 100%);
        border-radius: 2px;
    }

    .process-step {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 0 0 32px 0;
        background: transparent;
        border: none;
        box-shadow: none;
        position: relative;
    }

    .process-step:last-child {
        padding-bottom: 0;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
        font-weight: 700;
        background: linear-gradient(135deg, #8B5CF6, #06B6D4);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15), 0 4px 15px rgba(139, 92, 246, 0.3);
        position: relative;
        z-index: 1;
        margin-left: -28px;
    }

    .step-content {
        flex: 1;
        text-align: left;
        background: rgba(255, 255, 255, 0.7);
        padding: 16px 20px;
        border-radius: 12px;
        border: 1px solid rgba(139, 92, 246, 0.1);
        backdrop-filter: blur(10px);
    }

    .step-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
        color: #1F2937;
        font-weight: 600;
    }

    .step-content p {
        font-size: 13px;
        line-height: 1.5;
        color: #6B7280;
        margin: 0;
    }

    /* Cases Section */
    .cases {
        padding: 40px 10px;
        position: relative;
    }

    .cases::before {
        background-image: url('../images/bg4.jpg');
    }

    .service-industries-grid {
        gap: 16px;
    }

    .industry-item {
        flex: 0 0 calc(50% - 8px);
    }

    .cases-grid {
        gap: 20px;
    }

    .case-card {
        padding: 20px;
    }

    /* CTA Section */
    .cta-section {
        padding: 40px 0;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 80%;
    }

    .cta-guarantee {
        flex-direction: row;
        gap: 8px;
    }

    /* Contact Section */
    .contact {
        padding: 40px 10px;
    }

    .contact-grid {
        flex-direction: column;
        gap: 32px;
    }

    .contact-info {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 0px;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-bottom: 32px;
        padding: 0px 10px;
    }

    .footer-brand {
        /* text-align: center; */
    }

    .footer-brand-header {
        /* justify-content: center; */
        margin-bottom: 16px;
    }

    .footer-brand > p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 0;
        color: rgba(255, 255, 255, 0.7);
        max-width: 100%;
    }

    /* 快速链接和服务项目并排 */
    .footer-links-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 16px;
        margin-bottom: 16px;
        color: white;
        font-weight: 600;
    }

    .footer-links ul {
        gap: 12px;
    }

    .footer-links a {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.7);
    }

    /* 联系方式 */
    .footer-contact ul {
        gap: 14px;
    }

    .footer-contact li {
        font-size: 14px;
        gap: 10px;
    }

    .footer-contact li svg {
        width: 18px;
        height: 18px;
        color: #F59E0B;
    }

    .footer-bottom {
        padding-top: 20px;
        text-align: center;
        font-size: 12px;
    }
}

/* Large Desktop (> 1280px) */
@media (min-width: 1280px) {
    .hero-content {
        max-width: 1000px;
    }

    .services-grid {
        gap: 32px;
    }

    .cases-grid {
        gap: 32px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: rgba(0, 0, 0, 0.3);
        --text-muted: #374151;
    }
}

/* ============================================
   FLOATING ELEMENTS ANIMATION
   ============================================ */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.floating {
    animation: float-gentle 6s ease-in-out infinite;
}

.floating-delay-1 { animation-delay: -1s; }
.floating-delay-2 { animation-delay: -2s; }
.floating-delay-3 { animation-delay: -3s; }
.floating-delay-4 { animation-delay: -4s; }

/* Glow effect for interactive elements */
.glow-on-hover {
    transition: box-shadow var(--transition-base);
}

.glow-on-hover:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}
