:root {
    --primary-color: #5856D6;
    --text-color: #1D1D1F;
    --secondary-text: #86868B;
    --background: #FFFFFF;
    --section-bg: #F5F5F7;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.4rem;
}

.logo {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

.logo a {
    text-decoration: none;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 1.4rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    text-align: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F7 100%);
}

.hero h1 {
    font-size: 5.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), #A091FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 2.4rem;
    color: var(--secondary-text);
    margin-bottom: 4rem;
}

.cta-button {
    display: inline-block;
    padding: 1.6rem 3.2rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    border-radius: 3rem;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: var(--section-bg);
}

.features h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 6rem;
}

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

.feature-card {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-card img {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.feature-card h3 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1.6rem;
    color: var(--secondary-text);
}

/* AI Friends Section */
.ai-friends {
    padding: 8rem 0;
}

.ai-friends h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 6rem;
}

.ai-friends-slider {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ai-friends-slider::-webkit-scrollbar {
    display: none;
}

.ai-character-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ai-character-card:hover {
    transform: translateY(-5px);
}

.character-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

.character-status.online {
    background: #34C759;
}

.character-info {
    padding: 2rem;
}

.character-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.character-description {
    font-size: 1.4rem;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
}

.character-tags {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.4rem 1.2rem;
    background: var(--section-bg);
    border-radius: 2rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.character-personality {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.personality-label {
    color: var(--secondary-text);
}

.personality-value {
    color: var(--primary-color);
    font-weight: 500;
}

.chat-button {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 1.5rem;
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chat-button:hover {
    transform: scale(1.02);
}

/* Download Section */
.download {
    padding: 8rem 0;
    text-align: center;
    background: var(--section-bg);
}

.download h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.download p {
    font-size: 2rem;
    color: var(--secondary-text);
    margin-bottom: 4rem;
}

.app-store-button img {
    height: 4.4rem;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.app-store-button:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: 4rem 0;
    background: var(--background);
    border-top: 1px solid #E5E5E5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

.footer-logo a {
    text-decoration: none;
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 1.4rem;
    color: var(--secondary-text);
    transition: color 0.3s ease;
}

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

.footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-text);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .ai-character-card {
        flex: 0 0 280px;
    }
    
    .character-image {
        height: 180px;
    }
}

/* Highlights Section */
.highlights {
    padding: 8rem 0;
    background: var(--background);
}

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

.highlight-item {
    text-align: center;
    padding: 2rem;
}

.highlight-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.highlight-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.highlight-item p {
    font-size: 1.6rem;
    color: var(--secondary-text);
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: var(--section-bg);
}

.testimonials-slider {
    margin-top: 4rem;
    padding: 2rem;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-content {
    font-size: 2rem;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.author-info p {
    font-size: 1.4rem;
    color: var(--secondary-text);
}

/* 加入我们页面样式 */
.placeholder-image {
    width: 100%;
    height: 300px;
    background-color: #e0e0e0;
    border-radius: 8px;
}

.hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* 移动端侧边导航 */
.menu-toggle {
    display: none;
    font-size: 2.4rem;
    color: var(--primary-color);
    cursor: pointer;
    width: 4rem;
    height: 4rem;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: white;
    z-index: 1100;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-logo img {
    height: 4rem;
}

.mobile-nav-close {
    font-size: 2.4rem;
    color: #333;
    cursor: pointer;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.mobile-nav-links {
    padding: 2rem 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-links a {
    display: block;
    padding: 1.5rem 2rem;
    font-size: 1.8rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-nav-links a:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
}

.mobile-nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.mobile-nav-links a.active::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 修改响应式设计部分 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
    
    .ai-character-card {
        flex: 0 0 280px;
    }
    
    .character-image {
        height: 180px;
    }
}

.mobile-logo span {
    font-size: 2.4rem;
    font-weight: 700;
    position: relative;
    color: transparent;
}

.mobile-logo span::before {
    content: "Bon";
    position: absolute;
    left: 0;
    color: #000;
}

.mobile-logo span::after {
    content: "Hub";
    position: absolute;
    left: calc(3 * 1em);
    color: #ff8c00;
} 