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

/* 基础样式 */
:root {
    /* 科技感配色 - 参考讯飞星火 */
    --tech-primary: #0e1c40;
    --tech-secondary: #1e3a8a;
    --tech-accent: #00a0e9;
    --tech-glow: #4fc3f7;
    
    /* 治愈风格配色 - 参考小王子 */
    --healing-gold: #ffd700;
    --healing-star: #ffe082;
    --healing-night: #1a237e;
    --healing-text: #fff8e1;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--healing-text);
    background-color: var(--tech-primary);
    overflow-x: hidden;
}

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

/* 星空背景效果 */
.star-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration) infinite;
}

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

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo h1 {
    color: var(--healing-gold);
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--healing-text);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--healing-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--healing-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    background: radial-gradient(circle at center, var(--tech-secondary) 0%, var(--tech-primary) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('../images/stars.png'),
        url('../images/prince-silhouette.png');
    background-position: center;
    background-repeat: repeat, no-repeat;
    background-size: auto, contain;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--healing-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    animation: glow 3s ease-in-out infinite;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--tech-glow);
    text-shadow: 0 0 10px rgba(79, 195, 247, 0.4);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(45deg, var(--healing-gold), var(--healing-star));
    color: var(--tech-primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.cta-button:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

/* 动画效果 */
@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
    50% { text-shadow: 0 0 30px rgba(255, 215, 0, 0.6); }
}

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

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* 关于我们样式 */
.about {
    padding: 5rem 0;
    background-color: var(--healing-text);
}

.about h2 {
    text-align: center;
    color: var(--tech-primary);
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--tech-primary);
}

/* 产品服务样式 */
.products {
    padding: 5rem 0;
    background-color: var(--tech-primary);
}

.products h2 {
    text-align: center;
    color: var(--healing-gold);
    margin-bottom: 3rem;
}

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

.product-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card i {
    font-size: 3rem;
    color: var(--healing-gold);
    margin-bottom: 1rem;
}

.product-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--healing-text);
}

/* 团队介绍样式 */
.team {
    padding: 5rem 0;
    background-color: var(--healing-text);
}

.team h2 {
    text-align: center;
    color: var(--tech-primary);
    margin-bottom: 3rem;
}

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

/* 联系我们样式 */
.contact {
    padding: 5rem 0;
    background-color: var(--tech-primary);
}

.contact h2 {
    text-align: center;
    color: var(--healing-gold);
    margin-bottom: 3rem;
}

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

.contact-info {
    color: white;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--healing-gold);
    margin-right: 1rem;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem;
    background-color: var(--healing-gold);
    color: var(--tech-primary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--healing-star);
}

/* 页脚样式 */
.footer {
    background-color: var(--tech-primary);
    padding: 3rem 0 1rem;
    color: var(--healing-text);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    color: var(--healing-gold);
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-social h3 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: var(--healing-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--healing-gold);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--healing-text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--healing-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
} 