/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-soft: #60a5fa;
    --primary-hover: #1d4ed8;
    --accent: #7c3aed;
    --text-color: #0f172a;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 40px -10px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 0 1px rgba(37, 99, 235, 0.08), 0 20px 50px -20px rgba(37, 99, 235, 0.25);
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 20px;
}

.nav-brand h1 {
    font-size: 1.35rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    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 ease;
}

/* Hero区域 */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 20px 90px;
    background: linear-gradient(145deg, #1e3a8a 0%, #4c1d95 42%, #312e81 100%);
    color: white;
    overflow: hidden;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 100%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-orb-a {
    width: min(480px, 90vw);
    height: min(480px, 90vw);
    top: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.9) 0%, transparent 70%);
}

.hero-orb-b {
    width: min(360px, 70vw);
    height: min(360px, 70vw);
    bottom: -5%;
    left: -5%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.85) 0%, transparent 70%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 45%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.7s ease;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease 0.05s both;
}

.hero-brand {
    background: linear-gradient(135deg, #fff 0%, #c4d4ff 45%, #e9d5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    opacity: 0.88;
    line-height: 1.65;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: #fff;
    color: var(--primary-hover);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--bg-white);
}

/* 章节标题 */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.section-head .section-lead {
    margin-top: 0.35rem;
}

.section-head-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.65rem;
}

.section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    text-align: inherit;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-head .section-title {
    text-align: inherit;
}

.section-lead {
    text-align: inherit;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 400;
    margin: 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* 服务区域 */
.services {
    padding: 3.5rem 20px 5rem;
    background: linear-gradient(180deg, #f8fafc 0%, var(--bg-white) 24%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    position: relative;
    background: var(--bg-white);
    padding: 2rem 1.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-align: center;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrap {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.08) 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.service-icon {
    font-size: 1.85rem;
    line-height: 1;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 应用分类区域 */
.applications {
    padding: 5rem 20px;
    background: linear-gradient(180deg, var(--bg-light) 0%, #e8eef5 50%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.applications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        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='%233b82f6' 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: 0.5;
    pointer-events: none;
}

.applications::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    pointer-events: none;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.app-category {
    position: relative;
    background: var(--bg-white);
    padding: 1.85rem 1.5rem 1.75rem;
    border-radius: var(--radius-lg);
    text-align: left;
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.app-category::after {
    content: '';
    position: absolute;
    left: 0;
    top: 1.25rem;
    bottom: 1.25rem;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, var(--primary-color), var(--accent));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.app-category:hover {
    transform: translateY(-4px) translateX(2px);
    box-shadow: var(--shadow-md);
}

.app-category:hover::after {
    opacity: 1;
}

.app-icon-wrap {
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.app-icon {
    font-size: 1.5rem;
    line-height: 1;
    display: block;
}

.app-category h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.app-category p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* 关于我们区域 */
.about {
    padding: 5rem 20px;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -8%;
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.03) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    text-indent: 1.75em;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem auto 0;
    width: 80%;
    max-width: 100%;
}

.about-feature {
    padding: 1.5rem 1.25rem;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.about-feature strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.about-feature p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 联系我们区域 */
.contact {
    padding: 5rem 20px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    color: #e2e8f0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.contact .section-eyebrow {
    color: var(--primary-soft);
}

.contact .section-title {
    color: #f8fafc;
}

.contact-intro-text {
    color: #94a3b8;
    margin-top: 0.5rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-panel-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.contact-email {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.5) 0%, rgba(124, 58, 237, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    word-break: break-all;
}

.contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.contact-hours {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* 页脚 */
.footer {
    background: #020617;
    color: #94a3b8;
    padding: 3rem 20px 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f8fafc;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-copy {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.75;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

