/* 设计系统变量 */
:root {
    --block-gap: 48px;
    --type-size-lg: 32px;
    --neon-green: #39FF14;
    --purple: #BF00FF;
    --purple-text: #D24DFF;
    --pink: #FF1493;
    --cyan: #00FFFF;
    --orange: #FFAA00;
    --pink-alt: #FF006E;
    --lime: #CCFF00;
    --text-primary: #0A0A0A;
    --bg-primary: #0D0A14;
    --bg-light: #1A1A1A;
    --border-radius: 12px;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--bg-primary);
    border-bottom: 2px solid var(--neon-green);
    z-index: 1000;
    padding: 16px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-green);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--neon-green);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--neon-green);
    transition: all 0.3s ease;
}

/* Hero 区域 */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--block-gap);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--purple-text);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: #888;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
}

.geometric-shape {
    position: absolute;
    border-radius: var(--border-radius);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background-color: var(--neon-green);
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background-color: var(--purple);
    top: 150px;
    right: 100px;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background-color: var(--pink);
    bottom: 50px;
    left: 150px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* 信息条 */
.info-chips {
    padding: 32px 0;
    background-color: var(--bg-light);
}

.chips-wrapper {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.chip {
    padding: 8px 16px;
    background-color: transparent;
    border: 2px solid var(--neon-green);
    border-radius: var(--border-radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--neon-green);
}

/* 通用区域样式 */
section {
    padding: var(--block-gap) 0;
}

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

/* 特性卡片 */
.features {
    background-color: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-4px);
}

.feature-icon {
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    text-align: center;
}

.btn-primary {
    background-color: var(--neon-green);
    color: var(--text-primary);
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
}

.btn-secondary:hover {
    background-color: var(--neon-green);
    color: var(--text-primary);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-primary);
    border: none;
    text-decoration: underline;
}

.btn-ghost:hover {
    color: var(--neon-green);
}

/* 控件展示区 */
.controls-showcase {
    background-color: var(--bg-light);
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--block-gap);
}

.control-group h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.button-showcase {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.toggle-badge-showcase {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

/* 开关 */
.toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    border: 2px solid var(--neon-green);
    border-radius: var(--border-radius);
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: var(--neon-green);
    border-radius: var(--border-radius);
    transition: 0.3s;
}

.toggle input:checked + .toggle-slider {
    background-color: var(--neon-green);
}

.toggle input:checked + .toggle-slider:before {
    transform: translateX(28px);
    background-color: var(--text-primary);
}

/* 徽标 */
.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-transform: uppercase;
}

.badge-primary {
    background-color: var(--neon-green);
    color: var(--text-primary);
}

.badge-secondary {
    background-color: var(--purple);
    color: var(--text-primary);
}

.badge-accent {
    background-color: var(--pink);
    color: var(--text-primary);
}

/* 表单 */
.form-showcase {
    background-color: var(--bg-primary);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    background-color: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚 */
.footer {
    background-color: var(--bg-light);
    padding: 48px 0 24px;
    border-top: 2px solid var(--neon-green);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand span {
    font-size: 16px;
    font-weight: 700;
    color: var(--neon-green);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    text-decoration: none;
    color: #888;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 14px;
    color: #888;
}

/* 页面标题 */
.page-header {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-light) 100%);
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 18px;
    color: #888;
}

/* 关于我们页面 */
.about-intro {
    background-color: var(--bg-primary);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--block-gap);
    align-items: center;
}

.intro-content p {
    font-size: 16px;
    color: #888;
    margin-bottom: 16px;
    line-height: 1.6;
}

.intro-visual {
    position: relative;
    height: 300px;
}

/* 企业理念 */
.values-section {
    background-color: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.value-card {
    background-color: var(--bg-primary);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--purple);
    transform: translateY(-4px);
}

.value-icon {
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-card p {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
}

/* 发展历程 */
.timeline-section {
    background-color: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--neon-green);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 24px 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    background-color: var(--neon-green);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--bg-primary);
}

.timeline-content {
    width: 45%;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 2px solid var(--neon-green);
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--neon-green);
}

.timeline-content p {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
}

/* 产品页面 */
.products-section {
    background-color: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--purple);
    transform: translateY(-4px);
}

.product-visual {
    margin-bottom: 16px;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.product-card p {
    font-size: 15px;
    color: #888;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* 服务优势 */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.service-item {
    background-color: var(--bg-primary);
    padding: 24px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--neon-green);
}

.service-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--neon-green);
    margin-bottom: 12px;
}

.service-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-item p {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
}

/* 团队页面 */
.team-section {
    background-color: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.team-card {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: var(--pink);
    transform: translateY(-4px);
}

.team-avatar {
    margin-bottom: 16px;
}

.team-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.team-role {
    font-size: 14px;
    color: var(--neon-green);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-desc {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
}

/* 员工团队 */
.staff-section {
    background-color: var(--bg-light);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.staff-item {
    background-color: var(--bg-primary);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.staff-item:hover {
    border-color: var(--cyan);
}

.staff-icon {
    margin-bottom: 16px;
}

.staff-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.staff-item p {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
}

/* 团队文化 */
.culture-section {
    background-color: var(--bg-primary);
}

.culture-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.culture-item {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: var(--border-radius);
    border-top: 4px solid var(--purple);
}

.culture-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.culture-item p {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: 32px 24px;
        transition: left 0.3s ease;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        width: 100%;
        height: 300px;
    }

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

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row;
        padding-left: 60px;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-content {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* 减弱动效 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}
