/* 科猎工作室 - 高级科技风 */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent: #06b6d4;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --glow: 0 0 40px rgba(37,99,235,0.15);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(37,99,235,0.2); }
    50% { box-shadow: 0 0 40px rgba(37,99,235,0.4); }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226,232,240,0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.logo:hover { transform: scale(1.02); }

.logo-icon {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 32px;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 100%; }

/* Hero */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, #1e3a8a 50%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::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%);
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.4);
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    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;
    margin-bottom: 20px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.btn {
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 30px rgba(37,99,235,0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37,99,235,0.4);
}

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

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Section */
.section { padding: 100px 0; }

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-desc {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 60px;
}

/* Services */
.services {
    background: white;
    position: relative;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, #fff 0%, var(--bg-light) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    transition: height 0.4s ease;
}

.service-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg), var(--glow);
    transform: translateX(12px);
}

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

.service-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

.service-content { flex: 1; }

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h3 { color: var(--primary); }

.service-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tags span {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(6,182,212,0.08));
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(37,99,235,0.15);
    transition: all 0.3s ease;
}

.tags span:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.price {
    font-size: 1.15rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About */
.about {
    background: linear-gradient(180deg, var(--bg-light) 0%, #f1f5f9 100%);
    position: relative;
}

.about-text {
    max-width: 750px;
    margin: 0 auto 50px;
}

.about-text p {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-text strong {
    color: var(--primary);
    position: relative;
}

.about-text strong::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(37,99,235,0.1);
    z-index: -1;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 750px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Contact */
.contact {
    background: white;
}

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

.contact-card {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, #fff 0%, var(--bg-light) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg), var(--glow);
    transform: translateY(-8px) scale(1.02);
}

a.contact-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg), var(--glow);
    transform: translateY(-8px) scale(1.02);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.contact-card:nth-child(2) .contact-icon { animation-delay: 0.5s; }
.contact-card:nth-child(3) .contact-icon { animation-delay: 1s; }

.contact-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.contact-value {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

/* Footer */
.footer {
    padding: 50px 0 40px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: rgba(255,255,255,0.7);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-divider {
    color: rgba(255,255,255,0.3);
}

.police-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.police-link:hover {
    color: white;
}

.police-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.police-link:hover .police-icon { filter: brightness(1); }

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

.footer a:hover { color: white; }

/* Mobile */
@media (max-width: 768px) {
    .nav { display: none; }
    
    .hero { padding: 140px 0 80px; }
    
    .service-card {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-card:hover {
        transform: translateY(-4px);
    }
    
    .contact-grid,
    .stats {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .footer p {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-divider { display: none; }
}
