/* ============================================================
   邢台猎取网络科技有限公司 - 企业官网样式
   科技商务蓝白风格 | 响应式设计
   ============================================================ */

/* ---------- CSS 变量 ---------- */
:root {
    --primary: #1a56db;
    --primary-dark: #123fa6;
    --primary-light: #3b82f6;
    --accent: #06b6d4;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow: 0 4px 20px rgba(0,0,0,.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 通用分段 ---------- */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    margin-top: 16px;
}

/* ---------- 导航栏 ---------- */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
    padding: 16px 0;
}
.header.scrolled {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.25rem; font-weight: 700;
    color: var(--white);
    transition: color var(--transition);
}
.header.scrolled .logo { color: var(--gray-900); }
.logo-icon {
    width: 38px; height: 38px;
    background: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--white);
}
.nav-list { display: flex; gap: 4px; }
.nav-link {
    display: block; padding: 8px 20px;
    font-size: .95rem; font-weight: 500;
    color: rgba(255,255,255,.85);
    border-radius: 8px;
    transition: all var(--transition);
}
.header.scrolled .nav-link { color: var(--gray-600); }
.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,.15);
}
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(26,86,219,.08);
}

/* 移动端菜单按钮 */
.mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px; z-index: 1001;
}
.mobile-toggle span {
    display: block; width: 26px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: all var(--transition);
}
.header.scrolled .mobile-toggle span { background: var(--gray-900); }

/* ---------- Hero 首屏 ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0f1729 0%, #1a3a6b 40%, #1a56db 70%, #2563eb 100%);
    overflow: hidden;
    text-align: center;
    color: var(--white);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .5;
}
.hero-particles {
    position: absolute; inset: 0; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 24px; }
.hero-subtitle {
    font-size: 1.15rem; letter-spacing: 6px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 20px; opacity: 0;
    animation: fadeUp .8s ease forwards;
}
.hero-title {
    font-size: 3rem; font-weight: 800; line-height: 1.3; margin-bottom: 24px;
    opacity: 0; animation: fadeUp .8s ease .15s forwards;
}
.hero-desc {
    font-size: 1.1rem; opacity: .85; line-height: 1.9; margin-bottom: 40px;
    opacity: 0; animation: fadeUp .8s ease .3s forwards;
}
.hero-actions {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    opacity: 0; animation: fadeUp .8s ease .45s forwards;
}

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

/* 按钮 */
.btn { display: inline-block; padding: 14px 36px; border-radius: 50px; font-size: 1rem; font-weight: 600; transition: all var(--transition); cursor: pointer; border: 2px solid transparent; text-align: center; }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,86,219,.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); transform: translateY(-2px); }
.btn-sm { padding: 10px 24px; font-size: .9rem; }

/* 滚动指示器 */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2;
}
.scroll-indicator span {
    display: block; width: 26px; height: 42px;
    border: 2px solid rgba(255,255,255,.4); border-radius: 14px;
    position: relative;
}
.scroll-indicator span::after {
    content: ''; width: 4px; height: 10px; background: rgba(255,255,255,.8); border-radius: 2px;
    position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 22px; opacity: .3; }
}

/* ---------- 服务卡片网格 ---------- */
.services { background: var(--gray-50); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(26,86,219,.08), rgba(6,182,212,.08));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; color: var(--primary);
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}
.service-title { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.service-desc { font-size: .95rem; color: var(--gray-500); line-height: 1.7; }

/* ---------- 统计数字 ---------- */
.stats { background: linear-gradient(135deg, var(--primary), #1e40af); color: var(--white); position: relative; overflow: hidden; }
.stats::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
    text-align: center; position: relative; z-index: 1;
}
.stat-number { font-size: 3rem; font-weight: 800; display: block; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 1rem; opacity: .85; }

/* ---------- 关于我们 ---------- */
.about-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content .section-title { text-align: left; }
.about-content .section-title::after { left: 0; transform: none; }
.about-text { font-size: 1rem; color: var(--gray-600); margin-bottom: 16px; line-height: 1.8; }
.about-text strong { color: var(--gray-900); }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.feature-item { font-size: .95rem; color: var(--gray-700); display: flex; align-items: center; gap: 8px; }
.feature-check { color: var(--primary); font-weight: 700; font-size: 1.1rem; }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.about-card-icon { font-size: 2rem; color: var(--primary); display: block; margin-bottom: 12px; }
.about-card-inner h3 { font-size: 1.8rem; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.about-card-inner p { font-size: .9rem; color: var(--gray-500); }

/* ---------- 联系我们 ---------- */
.contact { background: var(--gray-50); }
.contact-wrapper { max-width: 800px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
    display: flex; align-items: center; gap: 24px;
    background: var(--white); border-radius: var(--radius-lg);
    padding: 28px 32px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.contact-icon {
    width: 60px; height: 60px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(26,86,219,.08), rgba(6,182,212,.08));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.contact-detail h4 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.contact-value { font-size: 1.05rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--gray-900); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-links h4, .footer-contact h4 { font-size: 1rem; color: var(--white); margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links li { font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-contact p { font-size: .9rem; margin-bottom: 8px; }
.footer-contact .btn { margin-top: 12px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0; text-align: center; font-size: .85rem;
}

/* ---------- 滚动渐入动画 ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: .95rem; }
    .section { padding: 70px 0; }
    .section-title { font-size: 1.7rem; }
    .services-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .about-visual { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }

    /* 移动端导航 */
    .mobile-toggle { display: flex; }
    .nav {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--white); padding: 80px 30px 30px;
        transition: right var(--transition);
        box-shadow: -4px 0 20px rgba(0,0,0,.15);
    }
    .nav.open { right: 0; }
    .nav-list { flex-direction: column; gap: 4px; }
    .nav-link { color: var(--gray-700); padding: 12px 16px; }
    .nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(26,86,219,.06); }
    .header.scrolled .nav-link { color: var(--gray-700); }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: .9rem; letter-spacing: 3px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }
    .stats-grid { gap: 24px; }
    .stat-number { font-size: 2.2rem; }
    .about-visual { grid-template-columns: 1fr; }
    .contact-card { flex-direction: column; text-align: center; }
}
