/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --glow-color: rgba(37, 99, 235, 0.5);
}

/* 动画定义 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px var(--glow-color);
    }
    50% {
        box-shadow: 0 0 40px var(--glow-color), 0 0 60px var(--glow-color);
    }
}

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

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

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

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s both;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-brand img {
    height: 55px;
    width: auto;
    transition: transform 0.3s;
}

.nav-brand:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s;
}

/* 主横幅 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: white;
    padding: 120px 20px 180px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    background: linear-gradient(45deg, #fff, #e0e7ff, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s linear infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.btn-glow {
    animation: glow 2s ease-in-out infinite;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* 章节标题 */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    width: 100%;
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* 服务介绍 */
.services {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
    border-color: var(--primary-color);
}

.service-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: -1;
}

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

.service-card h3,
.service-card p {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.4s;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.4));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 关于我们 */
.about {
    padding: 80px 20px;
    position: relative;
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content-single {
    max-width: 800px;
    margin: 0 auto;
}

.about-text-center {
    text-align: center;
}

.about-text-center p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-actions {
    margin-top: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-light), white);
    border-radius: 15px;
    transition: all 0.4s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* 优势特点 */
.features {
    padding: 80px 20px;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feature-item:hover::after {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 案例展示 */
.cases {
    padding: 80px 20px 100px;
    background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.06) 0%, transparent 55%),
                #ffffff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* 能力卡片样式 */
.capability-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s;
}

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

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.capability-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.capability-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.capability-icon-wrapper.frontend {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
}

.capability-icon-wrapper.backend {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
}

.capability-icon-wrapper.mobile {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.1));
}

.capability-card:hover .capability-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.capability-icon {
    width: 45px;
    height: 45px;
    color: var(--primary-color);
    transition: all 0.4s;
}

.capability-header h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.capability-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s;
}

.capability-card:hover .tech-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.capability-visual {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    overflow: hidden;
}

.capability-card:hover .capability-visual {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
    transform: scale(1.02);
}

.capability-svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.capability-desc {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.case-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.35);
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

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

.case-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    margin-right: 0.4rem;
}

.case-mockup {
    border-radius: 14px;
    background: linear-gradient(145deg, #f9fafb, #e5e7eb);
    padding: 0.75rem 0.75rem 1rem;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.4);
    margin-bottom: 1.2rem;
}

.case-mockup.dark {
    background: radial-gradient(circle at 0% 0%, #1e293b, #020617);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.7);
}

.case-mockup.mobile {
    display: flex;
    justify-content: center;
    background: radial-gradient(circle at 50% 0%, rgba(59,130,246,0.2), rgba(15,23,42,1));
}

.case-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.6rem;
}

.case-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e7eb;
}

.case-mockup.dark .case-bar span {
    background: #4b5563;
}

.case-url {
    flex: 1;
    margin-left: 4px;
    height: 18px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    font-size: 0.7rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    padding: 0 0.6rem;
}

.case-mockup.dark .case-url {
    background: rgba(15, 23, 42, 0.9);
    color: rgba(209, 213, 219, 0.9);
}

.case-body {
    display: flex;
    gap: 1rem;
}

.case-left,
.case-right {
    flex: 1;
}

.case-title-block {
    margin-bottom: 0.65rem;
}

.case-title-line {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.8), rgba(129, 140, 248, 0.8));
    margin-bottom: 0.35rem;
}

.case-title-line.short {
    width: 60%;
}

.case-text-line {
    height: 7px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.5);
    margin-bottom: 0.25rem;
}

.case-text-line.short {
    width: 70%;
}

.case-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.4rem;
}

.case-badges span {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1f2937;
}

.case-hero {
    height: 70px;
    border-radius: 12px;
    background: radial-gradient(circle at 0% 0%, #4f46e5, #22d3ee);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
    margin-bottom: 0.6rem;
}

.case-thumb-row {
    display: flex;
    gap: 0.35rem;
}

.case-thumb-row .thumb {
    flex: 1;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(145deg, #e5e7eb, #f9fafb);
}

.case-metric {
    margin-bottom: 0.8rem;
}

.metric-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f97316;
}

.metric-label {
    font-size: 0.8rem;
    color: rgba(209, 213, 219, 0.9);
}

.case-chart {
    height: 70px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.3), rgba(45, 212, 191, 0.2));
    position: relative;
    overflow: hidden;
}

.case-chart::before {
    content: '';
    position: absolute;
    inset: 12px 10px 12px 10px;
    border-radius: 999px;
    border: 1px dashed rgba(148, 163, 184, 0.7);
}

.case-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-top: 0.5rem;
}

.case-chart-bars span {
    flex: 1;
    border-radius: 999px;
    background: linear-gradient(180deg, #22c55e, #15803d);
}

.case-chart-bars span:nth-child(1) { height: 12px; }
.case-chart-bars span:nth-child(2) { height: 20px; }
.case-chart-bars span:nth-child(3) { height: 30px; }
.case-chart-bars span:nth-child(4) { height: 24px; }

.mobile-frame {
    width: 170px;
    height: 320px;
    border-radius: 32px;
    padding: 10px;
    background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.9), rgba(148, 163, 184, 0.7));
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
    display: flex;
    flex-direction: column;
}

.mobile-status {
    height: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.4);
    margin: 0 auto 8px;
    width: 40%;
}

.mobile-screen {
    flex: 1;
    border-radius: 24px;
    background: #0f172a;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-banner {
    height: 60px;
    border-radius: 16px;
    background: radial-gradient(circle at 0 0, #4f46e5, #22c55e);
}

.mobile-card {
    height: 48px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.8);
}

.mobile-card.small {
    height: 36px;
    opacity: 0.85;
}

.case-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.4rem;
}

.case-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    animation: fadeIn 1s ease-out;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    animation: fadeIn 1s ease-out 0.3s both;
}

/* 关于我们详情页 */
.about-detail {
    padding: 60px 20px;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: linear-gradient(135deg, var(--bg-light), white);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.4s;
    border: 2px solid transparent;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-color);
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary-color), 0 0 20px rgba(37, 99, 235, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 服务详情页 */
.services-detail {
    padding: 60px 20px;
}

.service-detail-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.5s;
}

.service-detail-card:hover::before {
    left: 100%;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-color);
}

.service-detail-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-detail-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-detail-card > p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    padding-left: 0;
}

.service-features li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* 服务流程 */
.service-process {
    padding: 60px 20px;
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.4s;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.process-step p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 联系页面 */
.contact {
    padding: 60px 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-light), white);
    border-radius: 15px;
    transition: all 0.4s;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.contact-icon {
    font-size: 2rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s;
}

.contact-form-container:hover {
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s;
}

.form-group textarea {
    resize: vertical;
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 20px 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* 技术栈可视化 */
.tech-stack-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-category {
    background: linear-gradient(135deg, var(--bg-light), white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tech-category::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    transition: all 0.6s;
    opacity: 0;
}

.tech-category:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-color);
}

.tech-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 15px;
    transition: all 0.4s;
}

.tech-category:hover .tech-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.2));
}

.tech-icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    transition: all 0.4s;
}

.tech-category:hover .tech-icon {
    transform: scale(1.1);
}

.tech-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.tech-tag {
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.tech-category p {
    color: var(--text-light);
    line-height: 1.8;
    margin-top: 1rem;
}

/* 服务详情页视觉元素 */
.service-visual-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.service-visual {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    height: 150px;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.service-detail-card:hover .service-visual {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
    transform: scale(1.02);
}

.service-svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

@media (max-width: 768px) {
    .service-visual-wrapper {
        flex-direction: column;
    }
    
    .service-visual {
        width: 100%;
        max-width: 100%;
    }
    
    .tech-stack-visual {
        grid-template-columns: 1fr;
    }
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
    animation: float 2s ease-in-out infinite;
}

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

/* 滚动动画 */
[data-aos] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

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

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

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

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

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

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

    .process-steps {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
    }
}

