* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6C5CE7;
    --secondary-color: #00D9FF;
    --dark-bg: #0A0E27;
    --card-bg: #1A1F3A;
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
}

.logo i {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* 按钮 */
.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

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

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

/* 英雄区域 */
.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(108, 92, 231, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #6C5CE7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

.hero-buttons .btn-primary i {
    margin-right: 8px;
}

.ai-circle {
    width: 400px;
    height: 400px;
    position: relative;
}

#heroCanvas {
    border-radius: 50%;
    box-shadow: 0 0 100px rgba(108, 92, 231, 0.5);
    animation: float 6s ease-in-out infinite;
}

#robotCanvas {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.4);
    animation: float 6s ease-in-out infinite;
}

.project-canvas {
    width: 100%;
    height: 250px;
    display: block;
}

#ctaCanvas {
    margin: 0 auto 30px;
    animation: pulse 2s ease-in-out infinite;
}

#voiceCanvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

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

/* 统计区域 */
.stats {
    background: var(--gradient);
    padding: 60px 0;
    margin: 50px 0;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
}

.stat-item h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    opacity: 0.9;
}

/* 服务区域 */
.services {
    padding: 100px 0;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 20px;
    color: var(--secondary-color);
    font-size: 14px;
    margin-bottom: 20px;
}

.services h2 {
    font-size: 48px;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.3);
}

.service-card.featured {
    background: var(--gradient);
}

.service-card .icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card.featured .icon {
    color: white;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.service-card.featured .learn-more {
    color: white;
}

/* AI展示区域 */
.ai-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, transparent 100%);
}

.ai-showcase .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-content h2 {
    font-size: 48px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.showcase-content p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 30px;
}

.showcase-image {
    position: relative;
}

.robot-container {
    width: 300px;
    height: 400px;
    position: relative;
}

.robot-cta {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.rating-card {
    position: absolute;
    bottom: 50px;
    right: 0;
    background: var(--card-bg);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rating span {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
}

.stars {
    color: #FFD700;
    font-size: 20px;
}

/* 项目展示 */
.projects {
    padding: 100px 0;
}

.projects h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: none;
}

.project-info {
    padding: 30px;
}

.project-tag {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(108, 92, 231, 0.2);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 12px;
    margin-bottom: 15px;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-secondary);
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: rgba(26, 31, 58, 0.5);
}

.faq h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(108, 92, 231, 0.1);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-secondary);
}

/* CTA */
.cta {
    padding: 100px 0;
    background: var(--gradient);
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.robot-cta {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

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

/* 页脚 */
footer {
    background: var(--card-bg);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* 语音模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--card-bg);
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-secondary);
}

.close:hover {
    color: var(--primary-color);
}

.voice-interface {
    text-align: center;
    padding: 40px 0;
}

.voice-visualizer {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.pulse-ring {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s ease-out infinite;
    opacity: 0;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.mic-button {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    cursor: pointer;
    font-size: 48px;
    color: white;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.mic-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.5);
}

.mic-button.active {
    animation: pulse 1s ease-in-out infinite;
}

#voiceStatus {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.transcript, .response {
    background: rgba(108, 92, 231, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    min-height: 60px;
    color: var(--text-primary);
}

.response {
    background: rgba(0, 217, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero .container,
    .ai-showcase .container {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}


/* Company Info */
.company-info {
    margin: 20px 0;
}

.company-info p {
    margin: 10px 0;
    font-size: 16px;
}

/* AWS Stack Section */
.aws-stack {
    padding: 100px 0;
    background: rgba(26, 31, 58, 0.5);
    text-align: center;
}

.aws-stack h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.aws-stack > .container > p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 50px;
}

.aws-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.aws-card {
    background: var(--card-bg);
    padding: 40px 20px;
    border-radius: 16px;
    transition: all 0.3s;
}

.aws-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.3);
}

.aws-card i {
    font-size: 48px;
    color: #FF9900;
    margin-bottom: 20px;
}

.aws-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.aws-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    text-align: center;
}

.pricing h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.pricing > .container > p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    background: var(--gradient);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #00D9FF;
    color: var(--dark-bg);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.price {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.pricing-card.featured .price {
    color: white;
}

.price span {
    font-size: 18px;
    color: var(--text-secondary);
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-card ul li {
    padding: 10px 0;
    color: var(--text-secondary);
}

.pricing-card.featured ul li {
    color: rgba(255, 255, 255, 0.9);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: rgba(26, 31, 58, 0.3);
}

.testimonials h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.author {
    display: flex;
    flex-direction: column;
}

.author strong {
    color: var(--text-primary);
    margin-bottom: 5px;
}

.author span {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(108, 92, 231, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Legal Pages */
.legal-page {
    padding: 150px 0 100px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.legal-page p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-page ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: 30px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .aws-services,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}
