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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.logo-domain {
    font-size: 1.2rem;
    font-weight: 400;
    color: #00d4ff;
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00d4ff;
}

/* 英雄区域样式 */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.gradient-text {
    background: linear-gradient(135deg, #00d4ff 0%, #7c4dff 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #7c4dff 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

/* AI球体动画 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-orb {
    position: relative;
    width: 300px;
    height: 300px;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c4dff 100%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: rotate 6s linear infinite;
}

.orb-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.orb-particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.orb-particle:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.orb-particle:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 2s;
}

/* 功能区域样式 */
.features {
    padding: 80px 0;
    background: rgba(10, 10, 10, 0.5);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 212, 255, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* 关于区域样式 */
.about {
    padding: 80px 0;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* 页脚样式 */
.footer {
    background: rgba(10, 10, 10, 0.9);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    margin-bottom: 1rem;
}

/* 动画关键帧 */
@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.7;
    }
}

/* 功能页面特定样式 */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 46, 0.8) 100%);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
}

.detailed-features {
    padding: 80px 0;
}

.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-detail.reverse {
    direction: rtl;
}

.feature-detail.reverse > * {
    direction: ltr;
}

.feature-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.feature-content p {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #00d4ff;
    font-weight: 500;
}

.feature-list li::before {
    content: "✓";
    margin-right: 0.5rem;
    color: #7c4dff;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-demo {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.chat-message {
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.ai-message {
    background: rgba(0, 212, 255, 0.1);
    border-left: 4px solid #00d4ff;
}

.user-message {
    background: rgba(124, 77, 255, 0.1);
    border-left: 4px solid #7c4dff;
    margin-left: 2rem;
}

.art-preview {
    width: 100%;
    max-width: 300px;
}

.art-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.art-item {
    aspect-ratio: 1;
    background: linear-gradient(45deg, #00d4ff, #7c4dff);
    border-radius: 6px;
    opacity: 0.8;
}

.art-item:nth-child(2) {
    background: linear-gradient(45deg, #7c4dff, #ff6b6b);
}

.art-item:nth-child(3) {
    background: linear-gradient(45deg, #ff6b6b, #00d4ff);
}

.art-item:nth-child(4) {
    background: linear-gradient(45deg, #00d4ff, #ff6b6b);
}

.data-visualization {
    display: flex;
    align-items: end;
    gap: 0.8rem;
    height: 200px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.chart-bar {
    width: 30px;
    background: linear-gradient(to top, #00d4ff, #7c4dff);
    border-radius: 4px 4px 0 0;
    animation: grow 2s ease-out;
}

.tech-architecture {
    padding: 80px 0;
    background: rgba(10, 10, 10, 0.5);
}

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

.tech-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.3);
}

.tech-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.tech-item p {
    color: #b0b0b0;
}

@keyframes grow {
    from {
        height: 0%;
    }
}

/* 关于页面特定样式 */
.company-intro {
    padding: 80px 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin: 3rem 0 1.5rem 0;
}

.intro-content h2:first-child {
    margin-top: 0;
}

.intro-content p {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.team-section {
    padding: 80px 0;
    background: rgba(10, 10, 10, 0.5);
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.3);
}

.member-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00d4ff, #7c4dff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.team-member h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #00d4ff;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-desc {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.timeline-section {
    padding: 80px 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #00d4ff, #7c4dff);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

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

.timeline-date {
    flex: 1;
    text-align: center;
    font-weight: 600;
    color: #00d4ff;
    font-size: 1.1rem;
}

.timeline-content {
    flex: 2;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #b0b0b0;
    line-height: 1.6;
}

.values-section {
    padding: 80px 0;
    background: rgba(10, 10, 10, 0.5);
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.value-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.value-item p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* 联系页面特定样式 */
.contact-form-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #7c4dff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #b0b0b0;
    margin: 0;
}

.form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #fff;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

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

.faq-section {
    padding: 80px 0;
    background: rgba(10, 10, 10, 0.5);
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* 实时数据统计 */
.stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 技术优势 */
.tech-advantages {
    padding: 4rem 0;
    background: #0f172a;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: #6366f1;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tech-specs {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.tech-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
}

.tech-specs li:last-child {
    border-bottom: none;
}

/* API演示区 */
.api-demo {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.demo-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.demo-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.demo-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.demo-output {
    min-height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.output-placeholder {
    text-align: center;
    color: #9ca3af;
    padding: 3rem;
}

.demo-loading {
    text-align: center;
    color: #60a5fa;
    font-size: 1.1rem;
    padding: 3rem;
}

.demo-result {
    color: white;
}

.demo-result h4 {
    margin-bottom: 1rem;
    color: #00d4ff;
    font-size: 1.2rem;
}

.demo-result p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.result-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #9ca3af;
}

.sentiment-chart {
    margin: 1.5rem 0;
}

.sentiment-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #d1d5db;
}

/* 客户案例 */
.case-studies {
    padding: 4rem 0;
    background: #0f172a;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-3px);
    border-color: #6366f1;
}

.case-logo {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.case-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #9ca3af;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 0 0 1rem 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .ai-orb {
        width: 200px;
        height: 200px;
    }
    
    .orb-core {
        width: 80px;
        height: 80px;
    }
    
    .orb-ring {
        width: 150px;
        height: 150px;
    }
    
    .feature-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .feature-detail.reverse {
        direction: ltr;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 60px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column;
    }
    
    .timeline-date {
        text-align: left;
        margin-bottom: 1rem;
    }

    /* 新模块响应式设计 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .advantage-card {
        padding: 1.5rem;
    }

    .demo-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .demo-select {
        margin-bottom: 1rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .case-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .result-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sentiment-labels {
        flex-direction: column;
        gap: 0.5rem;
    }
}