/* 配色方案 - 紫色和橙色色调 */
:root {
    --primary-purple: #8A2BE2;
    --primary-orange: #FF9800;
    --primary-dark: #6A1B9A;
    --primary-light: #B39DDB;
    --secondary-orange: #FFB74D;
    --accent-color: #FF4081;
    --light-bg: #F5F5F5;
    --light-card: #FFFFFF;
    --text-dark: #333333;
    --text-light: #757575;
    --text-white: #FFFFFF;
    --shadow: 0 4px 12px rgba(138, 43, 226, 0.1);
    --shadow-hover: 0 8px 20px rgba(138, 43, 226, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--light-card);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-purple);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-orange));
    color: var(--text-white);
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hero {
    padding: 100px 0 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.secondary-button {
    background-color: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-light);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.secondary-button:hover {
    background-color: rgba(138, 43, 226, 0.05);
    border-color: var(--primary-purple);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.demo-phone {
    width: 300px;
    height: 550px;
    background-color: var(--light-card);
    border-radius: 30px;
    padding: 20px 15px;
    box-shadow: var(--shadow-hover);
    position: relative;
    margin: 0 auto;
    border: 10px solid #222;
}

.demo-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-orange));
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.chat-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.video-call-demo {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #6A1B9A, #FF9800);
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    margin-bottom: 15px;
    position: relative;
}

.chat-bubble.received {
    background-color: rgba(255,255,255,0.9);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chat-bubble.sent {
    background-color: var(--primary-purple);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chat-input {
    margin-top: auto;
    display: flex;
    background-color: rgba(255,255,255,0.9);
    border-radius: 25px;
    padding: 8px 15px;
    align-items: center;
}

.chat-input input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 8px;
}

.chat-input button {
    background-color: var(--primary-purple);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: -14px;
}

.features {
    padding: 80px 0;
    background-color: var(--light-card);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-light);
}

.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.download {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-purple));
    color: white;
    text-align: center;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.qrcode {
    width: 200px;
    height: 200px;
    background-color: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.qrcode img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

footer {
    background-color: #FFFFFF;
    color: #333333;
    padding: 40px 0 20px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    opacity: 1;
    font-size: 0.9rem;
}

.icp {
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 1;
}

.icp a {
    color: #333333;
}

.policy-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.policy-links a {
    color: #333333;
    opacity: 1;
    transition: var(--transition);
}

.policy-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.contact-email {
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 1;
}

.contact-email a {
    color: #333333;
    transition: var(--transition);
}

.contact-email a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-title {
        font-size: 2rem;
    }
    .logo-img {
        width: 32px;
        height: 32px;
    }
    .logo {
        font-size: 1.5rem;
    }
}