/* 现代简约风格 */
:root {
    --primary: #00d9ff;
    --primary-dark: #00b8d4;
    --accent: #00ffc8;
    --bg: #f8fafb;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f4f8;
    --hero-bg: #0a1628;
    --hero-dark: #050b14;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-hero: #ffffff;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* 首页 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-bg);
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 200, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero-background {
    display: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--text-hero);
    text-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 8px;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--shadow);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

/* 通用区块 */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 64px;
    text-align: center;
    letter-spacing: -1px;
    color: var(--text);
}

/* 关于我们 */
.about {
    background: var(--bg);
    color: var(--text);
}

.about .section-title {
    color: var(--text);
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
}

.about .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-left {
    max-width: 600px;
}

.about-intro {
    margin-bottom: 48px;
    text-align: left;
}

.about-intro h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.about-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.feature-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: 0 4px 12px var(--shadow);
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    stroke: var(--primary);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.about-right {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-circles {
    position: relative;
    width: 450px;
    height: 450px;
}

.circle {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
    box-shadow: 0 4px 12px var(--shadow);
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 中心最大 */
.circle-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    z-index: 2;
}

/* 外圈 - 8个头像圆形均匀分布，每隔45度 */
.circle-outer {
    width: 100px;
    height: 100px;
}

/* 半径150px，8个方向，减去自身半径50px */
.circle-1 {
    top: calc(50% - 150px - 50px);
    left: calc(50% - 50px);
}

.circle-2 {
    top: calc(50% - 106px - 50px);
    left: calc(50% + 106px - 50px);
}

.circle-3 {
    top: calc(50% - 50px);
    left: calc(50% + 150px - 50px);
}

.circle-4 {
    top: calc(50% + 106px - 50px);
    left: calc(50% + 106px - 50px);
}

.circle-5 {
    top: calc(50% + 150px - 50px);
    left: calc(50% - 50px);
}

.circle-6 {
    top: calc(50% + 106px - 50px);
    left: calc(50% - 106px - 50px);
}

.circle-7 {
    top: calc(50% - 50px);
    left: calc(50% - 150px - 50px);
}

.circle-8 {
    top: calc(50% - 106px - 50px);
    left: calc(50% - 106px - 50px);
}

/* 队长介绍 */
.leader {
    background: var(--bg-secondary);
}

.leader-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.leader-avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
    box-shadow: 0 8px 24px var(--shadow);
}

.leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.leader-title {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}

.leader-description {
    margin-bottom: 32px;
}

.leader-description p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.leader-skills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.skill-tag {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.leader-contact {
    display: flex;
    gap: 16px;
}

.leader-qq {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--bg-tertiary);
    border: 2px solid var(--primary);
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
}

.leader-qq svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    flex-shrink: 0;
}

/* 服务项目 */
.services {
    background: var(--bg-tertiary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    padding: 48px 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* 作品展示 */
.portfolio {
    background: var(--bg-secondary);
}

.portfolio-grid {
    max-width: 1100px;
    margin: 0 auto;
}

.portfolio-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 64px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 32px;
}

.portfolio-link {
    display: contents;
    text-decoration: none;
    color: inherit;
}

.portfolio-image {
    aspect-ratio: 16/10;
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.portfolio-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-link:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-link:hover .portfolio-overlay {
    opacity: 1;
}

.visit-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transform: translateY(10px);
    transition: transform 0.3s;
}

.portfolio-link:hover .visit-btn {
    transform: translateY(0);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-icon {
    width: 80px;
    height: 80px;
    opacity: 0.2;
}

.portfolio-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.portfolio-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.portfolio-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s;
}

.portfolio-link:hover {
    color: var(--primary-dark);
}

.more-projects {
    text-align: center;
    padding: 48px;
    background: var(--bg);
    border: 2px dashed var(--border);
    border-radius: 16px;
    color: var(--text-secondary);
}

.more-projects svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    opacity: 0.3;
}

.more-projects h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.more-projects p {
    font-size: 15px;
}

/* 联系我们 */
.contact {
    background: var(--bg-tertiary);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.contact-info p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 24px;
    height: 24px;
}

.contact-method span:last-child {
    font-size: 16px;
    color: var(--text-secondary);
}

/* 页脚 */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 48px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    margin-top: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 52px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-left {
        max-width: 100%;
    }

    .about-right {
        height: 400px;
    }

    .team-circles {
        width: 350px;
        height: 350px;
    }

    .circle-center {
        width: 110px;
        height: 110px;
    }

    .circle-outer {
        width: 80px;
        height: 80px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 48px;
    }

    .leader-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .leader-avatar {
        margin: 0 auto;
    }

    .leader-skills {
        justify-content: center;
    }

    .leader-contact {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        padding: 32px 24px;
        gap: 24px;
        border-top: 1px solid var(--border);
        transition: left 0.3s;
        box-shadow: 0 4px 6px var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        color: var(--text);
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
        letter-spacing: 4px;
    }

    .section-title {
        font-size: 36px;
    }

    section {
        padding: 64px 0;
    }

    .about-wrapper {
        gap: 32px;
    }

    .about-right {
        height: 280px;
    }

    .team-circles {
        width: 260px;
        height: 260px;
    }

    .circle-center {
        width: 80px;
        height: 80px;
    }

    .circle-outer {
        width: 55px;
        height: 55px;
    }

    /* 手机端半径90px，头像半径27.5px，斜角偏移63.6px */
    .circle-1 {
        top: calc(50% - 90px - 27.5px);
        left: calc(50% - 27.5px);
    }

    .circle-2 {
        top: calc(50% - 63.6px - 27.5px);
        left: calc(50% + 63.6px - 27.5px);
    }

    .circle-3 {
        top: calc(50% - 27.5px);
        left: calc(50% + 90px - 27.5px);
    }

    .circle-4 {
        top: calc(50% + 63.6px - 27.5px);
        left: calc(50% + 63.6px - 27.5px);
    }

    .circle-5 {
        top: calc(50% + 90px - 27.5px);
        left: calc(50% - 27.5px);
    }

    .circle-6 {
        top: calc(50% + 63.6px - 27.5px);
        left: calc(50% - 63.6px - 27.5px);
    }

    .circle-7 {
        top: calc(50% - 27.5px);
        left: calc(50% - 90px - 27.5px);
    }

    .circle-8 {
        top: calc(50% - 63.6px - 27.5px);
        left: calc(50% - 63.6px - 27.5px);
    }

    .about-features {
        gap: 16px;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .portfolio-item {
        padding: 32px 24px;
    }

    .leader-content {
        gap: 32px;
    }

    .leader-avatar {
        width: 180px;
        height: 180px;
    }

    .leader-info h3 {
        font-size: 22px;
    }

    .leader-title {
        font-size: 15px;
    }

    .leader-description p {
        font-size: 15px;
    }

    .leader-skills {
        gap: 8px;
    }

    .skill-tag {
        font-size: 13px;
        padding: 6px 12px;
    }

    .leader-qq {
        font-size: 15px;
        padding: 10px 20px;
    }

    .leader-qq svg {
        width: 20px;
        height: 20px;
    }

    .contact-methods {
        flex-direction: column;
        gap: 24px;
    }
}