/* 基础重置与变量 */
:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #7b61ff;
    --accent: #00f5d4;
    --bg-dark: #050b14;
    --bg-card: rgba(13, 25, 43, 0.72);
    --text-primary: #f0f5ff;
    --text-secondary: #9fb3d0;
    --text-muted: #6b8ab0;
    --border: rgba(0, 212, 255, 0.15);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

/* 背景动画 */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at top, #0a1628 0%, #050b14 60%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: float 18s ease-in-out infinite;
}

.orb-1 {
    width: 420px;
    height: 420px;
    background: var(--primary);
    top: -120px;
    right: -80px;
    animation-delay: 0s;
}

.orb-2 {
    width: 340px;
    height: 340px;
    background: var(--secondary);
    bottom: 10%;
    left: -100px;
    animation-delay: -6s;
}

.orb-3 {
    width: 280px;
    height: 280px;
    background: var(--accent);
    top: 45%;
    right: 15%;
    animation-delay: -12s;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 25px) scale(0.95); }
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(5, 11, 20, 0.82);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.05rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
}

.logo-text {
    white-space: nowrap;
}

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

.nav-link {
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 6px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero 主视觉 */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-placeholder {
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    letter-spacing: 4px;
    margin-bottom: 0;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 8px 28px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 212, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 通用区块 */
.section {
    padding: 80px 0;
    position: relative;
}

.section-dark {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.03) 50%, transparent 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 14px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* 关于我们与联系我们 */
.about-contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    max-width: 1000px;
    margin: 0 auto;
}

.about-contact-main {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    margin-bottom: 32px;
}

.about-name,
.contact-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.about-text strong {
    color: var(--primary);
    font-weight: 600;
}

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

.contact-part .contact-item {
    padding: 16px;
    background: rgba(0, 212, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.08);
}

/* 业务范围 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    backdrop-filter: blur(16px);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 14px;
    color: var(--primary);
    margin-bottom: 22px;
}

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

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 联系方式通用 */
.contact-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.contact-value {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-link {
    color: var(--primary);
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* 页脚 */
.footer {
    background: rgba(3, 8, 16, 0.92);
    border-top: 1px solid var(--border);
    padding: 28px 0;
    text-align: center;
}

.footer-line {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.8;
}

.footer-line a {
    color: inherit;
    transition: var(--transition);
}

.footer-line a:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 14px;
    }

    .nav {
        gap: 20px;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .hero {
        padding-top: 140px;
    }

    .about-contact-card {
        padding: 32px 24px;
    }

    .about-contact-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }


}
