/* ================================
   专业现代网页设计 - 重新开始
   ================================ */

/* 重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 动态背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(219, 39, 119, 0.1) 0%, transparent 50%);
    animation: backgroundMove 20s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

/* 射线动效背景 */
body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg, 
            transparent 0deg, 
            rgba(147, 51, 234, 0.05) 10deg, 
            transparent 20deg,
            transparent 30deg,
            rgba(219, 39, 119, 0.05) 40deg,
            transparent 50deg,
            transparent 60deg,
            rgba(147, 51, 234, 0.05) 70deg,
            transparent 80deg,
            transparent 90deg,
            rgba(219, 39, 119, 0.05) 100deg,
            transparent 110deg,
            transparent 120deg,
            rgba(147, 51, 234, 0.05) 130deg,
            transparent 140deg,
            transparent 150deg,
            rgba(219, 39, 119, 0.05) 160deg,
            transparent 170deg,
            transparent 180deg,
            rgba(147, 51, 234, 0.05) 190deg,
            transparent 200deg,
            transparent 210deg,
            rgba(219, 39, 119, 0.05) 220deg,
            transparent 230deg,
            transparent 240deg,
            rgba(147, 51, 234, 0.05) 250deg,
            transparent 260deg,
            transparent 270deg,
            rgba(219, 39, 119, 0.05) 280deg,
            transparent 290deg,
            transparent 300deg,
            rgba(147, 51, 234, 0.05) 310deg,
            transparent 320deg,
            transparent 330deg,
            rgba(219, 39, 119, 0.05) 340deg,
            transparent 350deg,
            transparent 360deg
        );
    transform: translate(-50%, -50%);
    animation: rayRotate 60s linear infinite;
    z-index: -2;
    pointer-events: none;
    opacity: 0.6;
}

/* 浮动粒子动效 */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(147, 51, 234, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(219, 39, 119, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(147, 51, 234, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 90% 10%, rgba(219, 39, 119, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 20% 90%, rgba(147, 51, 234, 0.06) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 60px 60px, 90px 90px, 70px 70px;
    animation: particleFloat 25s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes backgroundMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

@keyframes rayRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px);
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
    50% { 
        transform: translateY(-10px) translateX(-15px);
        opacity: 0.6;
    }
    75% { 
        transform: translateY(-30px) translateX(5px);
        opacity: 0.9;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(219, 39, 119, 0.4);
    }
}

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

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
    z-index: 1000;
    padding: 1rem 0;
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.3s ease;
}

header:hover {
    background: rgba(15, 15, 35, 0.95);
    border-bottom-color: rgba(147, 51, 234, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #9333ea, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9333ea, #db2777);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(147, 51, 234, 0.1);
    transform: translateY(-2px);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 80%;
}

.nav-links a.active {
    color: #ffffff;
    background: rgba(147, 51, 234, 0.15);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 主要内容 */
main {
    margin-top: 80px;
}

/* 通用板块样式 */
.section {
    padding: 5rem 0;
}

/* 标题样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #9333ea, #db2777);
    border-radius: 2px;
    animation: fadeInScale 1s ease-out 0.5s both;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* 首页英雄区 */
.hero {
    padding: 8rem 0 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: pulse 4s ease-in-out infinite;
    z-index: -1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #9333ea, #db2777);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(147, 51, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 卡片样式 */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s ease;
    animation: fadeInScale 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(147, 51, 234, 0.5);
    animation: glow 2s ease-in-out infinite;
}

/* 网格布局 */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

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

/* 网格项目交错动画 */
.grid .card:nth-child(1) { animation-delay: 0.1s; }
.grid .card:nth-child(2) { animation-delay: 0.2s; }
.grid .card:nth-child(3) { animation-delay: 0.3s; }
.grid .card:nth-child(4) { animation-delay: 0.4s; }
.grid .card:nth-child(5) { animation-delay: 0.5s; }
.grid .card:nth-child(6) { animation-delay: 0.6s; }

/* 问题与机遇部分 */
.problem-section {
    background: rgba(0, 0, 0, 0.2);
}

.problem-card, .opportunity-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.problem-list, .opportunity-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-item, .opportunity-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.problem-item i, .opportunity-item i {
    color: #9333ea;
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    display: inline-block;
}

.problem-item h4, .opportunity-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.problem-item p, .opportunity-item p {
    color: #d1d5db;
    line-height: 1.6;
}

/* 解决方案部分 */
.solution-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.solution-intro h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #9333ea, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.solution-intro p {
    font-size: 1.125rem;
    color: #d1d5db;
    max-width: 800px;
    margin: 0 auto;
}

.example-card {
    text-align: center;
    padding: 2rem;
}

.example-card i {
    font-size: 2.5rem;
    color: #db2777;
    margin-bottom: 1rem;
}

.example-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.example-card p {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.stat-container {
    margin-top: 1rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #9333ea, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 团队部分 */
.team-card {
    text-align: center;
    padding: 2rem;
}

.team-member-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.team-member-role {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 联系表单 */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

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

/* 页脚 */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem 0 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #9333ea, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-info p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-quick a:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}

.footer-links {
    margin-top: 1.5rem;
}

.footer-follow-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-follow-grid {
    display: flex;
    gap: 1rem;
}

.follow-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.follow-icon:hover {
    background: rgba(147, 51, 234, 0.2);
    transform: translateY(-2px);
}

.follow-icon > img {
    width: 24px;
    height: 24px;
}

/* 二维码弹出层 */
.qr-popup {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 120px;
}

.qr-popup::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.follow-icon:hover .qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.qr-popup img {
    width: 100px;
    height: 100px;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    border: 2px solid rgba(147, 51, 234, 0.3);
}

.qr-popup p {
    color: #ffffff;
    font-size: 0.75rem;
    margin: 0;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 0.875rem;
}

/* 移动端二维码处理 */
@media (max-width: 768px) {
    .follow-icon:active .qr-popup,
    .follow-icon.show-qr .qr-popup {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-5px);
    }
    
    .qr-popup {
        bottom: 45px;
        padding: 0.75rem;
    }
    
    .qr-popup img {
        width: 80px;
        height: 80px;
    }
    
    .qr-popup p {
        font-size: 0.7rem;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem 2rem;
        border-top: 1px solid rgba(147, 51, 234, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.mobile-active {
        display: flex;
    }
    
    .nav-links a {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        border-radius: 0.5rem;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .mobile-menu-button.active {
        color: #9333ea;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 15, 35, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #9333ea, #db2777);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c3aed, #be185d);
}