/* ========================================
   奥博数据 - 杭州佳启科技有限公司
   静态官网样式表
   ======================================== */

/* 全局重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --cyan: #06b6d4;
    --amber: #f59e0b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

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

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 0;
    height: 72px;
    display: flex;
    align-items: center;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    height: 72px;
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav-brand h1 {                                                                   
    font-size: 2rem;                                                            
    font-weight: 700;                                                             
    background: linear-gradient(135deg, var(--primary), var(--cyan));             
    -webkit-background-clip: text;                                                
    -webkit-text-fill-color: transparent;                                         
    background-clip: text;   
    padding-left: 5px;                                                     
}                                                                                 

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

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========================================
   Hero 区域 - 灰白风格
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #eef2f6 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(6,182,212,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-company {
    font-size: 0.9rem;
    color: var(--primary);
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Hero 右侧可视化 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.floating-circles {
    position: absolute;
    inset: 0;
}

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

.c1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(99,102,241,0.15);
    animation-delay: 0s;
}

.c2 {
    width: 220px;
    height: 220px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(6,182,212,0.12);
    animation-delay: -2s;
}

.c3 {
    width: 140px;
    height: 140px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(99,102,241,0.04);
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.08); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.grid-item {
    width: 100px;
    height: 100px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    animation: gridFloat 4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.5s);
}

.grid-item:hover {
    border-color: var(--primary);
    background: rgba(99,102,241,0.04);
    color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

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

/* ========================================
   业务概览
   ======================================== */
.overview {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
}

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

.overview-card {
    position: relative;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-white);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.overview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    color: var(--accent);
    margin-bottom: 8px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.overview-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-product {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
}

.overview-card p:not(.card-product) {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.card-arrow {
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: all 0.25s;
    align-self: flex-end;
}

.overview-card:hover .card-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* ========================================
   服务板块（通用）
   ======================================== */
.service-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.service-section.alt-bg {
    background: var(--bg-light);
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.service-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-slogan {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.service-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.service-desc > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-features li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border-left: 3px solid var(--feature-color, var(--primary));
    transition: all 0.2s;
}

.alt-bg .service-features li {
    background: var(--bg-white);
}

.service-features li strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.service-features li span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.service-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-white);
    transition: all 0.25s;
}

.alt-bg .stat-card {
    background: var(--bg-white);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

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

/* ========================================
   关于我们
   ======================================== */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

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

.about-contact {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.about-contact h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item span:last-child {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: #1e293b;
    color: #fff;
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #fff;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.beian-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 4px;
}
/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.6rem;
    }

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

    .hero-grid {
        gap: 12px;
    }

    .grid-item {
        width: 85px;
        height: 85px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* 导航 */
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        flex-direction: column;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        width: 100%;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border);
    }

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

    .nav-menu a {
        font-size: 1.1rem;
        display: block;
        padding: 12px 0;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .hero-subtitle br {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        height: 280px;
    }

    .grid-item {
        width: 80px;
        height: 80px;
    }

    .c1 { width: 240px; height: 240px; }
    .c2 { width: 180px; height: 180px; }
    .c3 { width: 120px; height: 120px; }

    /* 业务概览 */
    .overview-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

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

    /* 服务板块 */
    .service-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-header h2 {
        font-size: 1.8rem;
    }

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

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

    /* 关于 */
    .about-content {
        grid-template-columns: 1fr;
    }

    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

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

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

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .stat-card {
        padding: 24px 16px;
    }

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

    .about-contact {
        padding: 24px 20px;
    }
}
