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

body {
    background-color: #f9f9f9;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Poppins', 'Helvetica Neue', sans-serif;
    color: #1A1F2E;
    line-height: 1.4;
    scroll-behavior: smooth;
}

body, button, input {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}

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

:root {
    --download-url: "https://download.lianxitg.adseo.com.cn/tgadseo/download.php?id=soft_1781181123_812";
    --brand-primary: #0A1128;
    --brand-accent: #00F0FF;
    --brand-accent-glow: rgba(0, 240, 255, 0.25);
    --card-bg: #ffffff;
    --border-light: #eef2f6;
    --text-dark: #111827;
    --text-gray: #4b5563;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0A1128 0%, #1A2A4F 100%);
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    letter-spacing: 0.3px;
}
.btn-download:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #00F0FF, #0A1128);
    box-shadow: 0 16px 28px rgba(0,240,255,0.2);
    color: #0A1128;
}
.btn-download-outline {
    background: transparent;
    border: 1.5px solid #0A1128;
    color: #0A1128;
    box-shadow: none;
}
.btn-download-outline:hover {
    background: #0A1128;
    color: white;
    border-color: #0A1128;
}
.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.hero-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 56px;
}
.hero-left {
    flex: 1.2;
    min-width: 280px;
}
.hero-right {
    flex: 1;
    min-width: 300px;
}
.chat-mock {
    background: #FFFFFF;
    border-radius: 32px;
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.2);
    overflow: hidden;
    border: 1px solid #eef2f6;
    backdrop-filter: blur(2px);
    transition: transform 0.3s ease;
}
.chat-header {
    background: #0A1128;
    padding: 16px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-avatar {
    width: 36px;
    height: 36px;
    background: #00F0FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0A1128;
}
.chat-messages {
    padding: 20px;
    background: #f9fafc;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: fadeSlideUp 0.4s ease-out;
}
.message-bubble {
    background: white;
    padding: 10px 16px;
    border-radius: 20px;
    border-top-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    max-width: 85%;
    font-size: 0.9rem;
}
.message.user {
    flex-direction: row-reverse;
}
.message.user .message-bubble {
    background: #00F0FF20;
    border: 1px solid #00F0FF40;
    border-top-right-radius: 4px;
    border-top-left-radius: 20px;
}
.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 20px;
    width: fit-content;
}
.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #888;
    border-radius: 50%;
    animation: blink 1.4s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0);}
    30% { opacity: 1; transform: translateY(-4px);}
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(10px);}
    to { opacity: 1; transform: translateY(0);}
}

.feature-card, .testimonial-card {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 28px 22px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-accent);
    box-shadow: 0 20px 30px -12px rgba(0, 240, 255, 0.12);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #0A1128;
}
.section-sub {
    text-align: center;
    color: var(--text-gray);
    max-width: 680px;
    margin: 0 auto 48px auto;
    font-size: 1.1rem;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .section-title { font-size: 1.8rem; }
    .grid-4, .grid-3 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: white;
    border-radius: 48px;
    padding: 32px 24px;
    margin: 40px 0;
    border: 1px solid #eef2f6;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0A1128;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0A1128, #2A3A6A);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.stat-label {
    color: #4b5563;
    margin-top: 8px;
    font-weight: 500;
}

.real-map-container {
    border-radius: 48px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    background: #eef2fa;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
    height: 400px;
    width: 100%;
    margin: 32px 0 20px;
}
#worldMap {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.scenario-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.tab-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.tab-btn.active {
    background: #0A1128;
    color: white;
    border-color: #0A1128;
}
.scenario-content {
    background: white;
    border-radius: 32px;
    padding: 32px;
    display: none;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    border: 1px solid #eef2f6;
}
.scenario-content.active {
    display: flex;
}
.scenario-text {
    flex: 2;
    min-width: 220px;
}
.scenario-img {
    flex: 1;
    background: #f1f5f9;
    border-radius: 32px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}

.download-panel {
    background: white;
    border-radius: 48px;
    padding: 48px 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: space-between;
    margin: 48px 0 40px;
    border: 1px solid #eef2f6;
}
.download-buttons-area {
    flex: 2;
}
.qr-area {
    flex: 1;
    text-align: center;
    background: #f8fafc;
    border-radius: 32px;
    padding: 24px;
}
.qr-sim {
    width: 140px;
    height: 140px;
    background: repeating-linear-gradient(45deg, #0A1128 0px, #0A1128 8px, #fff 8px, #fff 16px);
    margin: 0 auto 16px;
    border-radius: 24px;
}
.badge-os {
    display: inline-block;
    background: #f1f5f9;
    margin: 6px 8px 6px 0;
    padding: 8px 18px;
    border-radius: 60px;
    font-size: 0.9rem;
    font-weight: 500;
}
.device-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 20px 0;
}
.device-icon {
    text-align: center;
    font-weight: 500;
}
