:root {
    --primary-color: #ff6b81;
    --primary-hover: #ff4757;
    --primary-light: #fff0f3;
    --secondary-color: #ff9a9e;
    --accent-color: #70a1ff;
    --ai-highlight: #ff758c;
    --text-color: #2f3542;
    --light-text: #747d8c;
    --bg-color: #ffffff;
    --section-bg: #fafbfc;
    --card-bg: #ffffff;
    --border-color: #f1f2f6;
    --chat-bg: #f5f6fa;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(255, 107, 129, 0.1);
    --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 1.4rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff5f7 0%, #fff0f3 50%, #f6f0ff 100%);
    padding: 90px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 107, 129, 0.2);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 18px;
    font-weight: 600;
}

.description {
    max-width: 680px;
    margin: 0 auto 36px auto;
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Mini Program QR Code CTA */
.qrcode-cta {
    background: #ffffff;
    max-width: 520px;
    margin: 36px auto 0 auto;
    padding: 24px 28px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 107, 129, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qrcode-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.qrcode-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.mini-app-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(255, 107, 129, 0.3);
}

.qrcode-inner {
    text-align: left;
}

.qrcode-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
}

.qrcode-subtitle {
    display: block;
    font-size: 0.88rem;
    color: var(--primary-color);
    font-weight: 500;
}

.qrcode-tips {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px dashed #f1f2f6;
    font-size: 0.85rem;
    color: var(--light-text);
}

/* Common Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

/* Features Grid */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.card {
    background: var(--card-bg);
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 107, 129, 0.3);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--text-color);
}

.card p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Scenarios Section (GEO Showcase) */
.scenarios-section {
    background-color: var(--section-bg);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 28px;
}

.scenario-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.scenario-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.scenario-tag {
    background: #ffeaa7;
    color: #d63031;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.scenario-header h4 {
    font-size: 1.1rem;
    color: var(--text-color);
}

.chat-dialog {
    background: var(--chat-bg);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-bubble {
    border-radius: 12px;
    padding: 12px 16px;
    max-width: 90%;
    font-size: 0.92rem;
    line-height: 1.55;
    position: relative;
}

.chat-bubble .sender {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 4px;
    font-weight: 600;
    opacity: 0.8;
}

.chat-bubble.received {
    align-self: flex-start;
    background: #ffffff;
    color: var(--text-color);
    border: 1px solid #dfe4ea;
    border-top-left-radius: 3px;
}

.chat-bubble.bad-reply {
    align-self: flex-end;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
    border-top-right-radius: 3px;
}

.chat-bubble.ai-reply {
    align-self: flex-end;
    background: linear-gradient(135deg, #fff0f3 0%, #ffe3e8 100%);
    color: #2f3542;
    border: 1px solid rgba(255, 107, 129, 0.4);
    box-shadow: 0 4px 12px rgba(255, 107, 129, 0.12);
    border-top-right-radius: 3px;
}

.chat-bubble.ai-reply .sender {
    color: var(--primary-color);
    font-weight: 700;
}

/* FAQ Section (GEO Core) */
.faq-section {
    background: #ffffff;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(255, 107, 129, 0.3);
    box-shadow: var(--shadow-sm);
}

.faq-item[open] {
    border-color: rgba(255, 107, 129, 0.4);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 14px;
    user-select: none;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.q-badge {
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}

.faq-question span:nth-child(2) {
    flex-grow: 1;
}

.toggle-icon {
    font-size: 1.2rem;
    color: var(--light-text);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item[open] .toggle-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 24px 20px 24px;
    color: var(--light-text);
    font-size: 0.96rem;
    line-height: 1.7;
    border-top: 1px dashed #f5f6fa;
    margin-top: 4px;
    padding-top: 14px;
}

/* Contact */
.contact-section {
    background-color: var(--section-bg);
    text-align: center;
}

.contact-box {
    background: #ffffff;
    padding: 44px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    max-width: 680px;
    margin: 0 auto;
}

.contact-item {
    margin-top: 24px;
    font-size: 1.08rem;
}

.email-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.email-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #1e272e;
    color: #d2dae2;
    padding: 36px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.company-name {
    font-size: 0.95rem;
    opacity: 0.9;
}

.icp-info a {
    color: inherit;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.icp-info a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
    }
    
    nav ul {
        margin-top: 12px;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 50px 0 60px 0;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .tagline {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .chat-bubble {
        max-width: 95%;
    }

    .faq-question {
        padding: 14px 18px;
        font-size: 0.98rem;
    }

    .faq-answer {
        padding: 0 18px 16px 18px;
    }
}
