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

:root {
    --primary: #1a56db;
    --primary-dark: #1240a8;
    --primary-light: #e8effc;
    --accent: #f59e0b;
    --green: #07c160;
    --green-light: #e6f9ef;
    --purple: #7c3aed;
    --purple-light: #ede9fe;
    --orange: #f97316;
    --orange-light: #fff7ed;
    --text: #1f2937;
    --text-secondary: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

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

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

/* ==================== Navbar ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.logo-wrapper {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.navbar-links {
    display: flex;
    gap: 8px;
}

.navbar-links a {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.navbar-links a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8effc 50%, #f9fafb 100%);
    overflow: hidden;
    min-height: 520px;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: bgFloat 12s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 20px) scale(1.05); }
    66% { transform: translate(20px, -15px) scale(0.95); }
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 24px;
}

.hero-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 0 auto 32px;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.hero-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(26, 86, 219, 0.1);
}

.value-icon {
    color: var(--accent);
    font-size: 12px;
}

/* ==================== Section Common ==================== */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.section-divider {
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 0 auto 48px;
}

/* ==================== Services Section ==================== */
.services {
    padding: 80px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

.service-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-showcase:last-child {
    margin-bottom: 0;
}

.service-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 240px;
    height: 480px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    animation: phoneFloat 6s ease-in-out infinite;
}

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

.phone-notch {
    width: 80px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 0 auto 12px;
}

.phone-screen {
    background: #fff;
    border-radius: 24px;
    height: calc(100% - 18px);
    overflow: hidden;
    position: relative;
}

.screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.screen-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    z-index: 0;
    background: #f9fafb;
}

.screen-placeholder small {
    font-size: 11px;
    color: #9ca3af;
}

.screen-list-item {
    height: 24px;
    background: var(--bg-light);
    border-radius: 6px;
    margin-bottom: 6px;
    animation: shimmer 2s ease-in-out infinite;
}

.screen-list-item:nth-child(2) {
    animation-delay: 0.3s;
    width: 80%;
}

.screen-list-item:nth-child(3) {
    animation-delay: 0.6s;
    width: 60%;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.phone-shadow {
    width: 160px;
    height: 12px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
    margin: 16px auto 0;
    animation: shadowPulse 6s ease-in-out infinite;
}

@keyframes shadowPulse {
    0%, 100% { transform: scaleX(1); opacity: 1; }
    50% { transform: scaleX(0.8); opacity: 0.5; }
}

/* WeChat Mockup */
.wechat-mockup {
    position: relative;
}

.wechat-frame {
    width: 260px;
    height: 460px;
    background: #ededed;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: wechatFloat 6s ease-in-out infinite;
    animation-delay: 1s;
}

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

.wechat-header {
    background: #ededed;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d9d9d9;
}

.wechat-back,
.wechat-more {
    font-size: 20px;
    color: var(--text);
}

.wechat-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.wechat-body {
    padding: 16px;
}

.wechat-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.avatar-circle {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green), #06ae50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.avatar-text {
    position: relative;
    z-index: 0;
}

.avatar-info {
    display: flex;
    flex-direction: column;
}

.avatar-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.avatar-desc {
    font-size: 11px;
    color: var(--text-secondary);
}

.wechat-msg {
    display: flex;
    justify-content: flex-start;
}

.msg-bubble {
    background: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    max-width: 200px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.msg-bubble p {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 2px;
}

.msg-bubble p:last-child {
    margin-bottom: 0;
}

.wechat-bottom-menu {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f7f7f7;
    border-top: 1px solid #d9d9d9;
    display: flex;
    justify-content: center;
}

.bottom-menu-item {
    flex: 1;
    max-width: 200px;
    padding: 8px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    position: relative;
}

.bottom-menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width 0.3s;
}

.bottom-menu-item:hover::after {
    width: 60%;
}

.wechat-template-msg {
    background: #fff;
    border-radius: 8px;
    margin: 12px 0;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    max-width: 220px;
}

.template-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 8px;
}

.template-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.template-bell {
    font-size: 14px;
    opacity: 0.6;
}

.template-dots {
    font-size: 16px;
    color: #999;
    cursor: pointer;
}

.template-content {
    padding: 8px 16px 16px;
}

.template-row {
    display: flex;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.template-row:last-child {
    margin-bottom: 0;
}

.template-label {
    color: #666;
    width: 80px;
    flex-shrink: 0;
}

.template-value {
    color: #333;
    flex: 1;
}

.template-fail {
    color: #f56c6c;
    font-weight: 500;
}

.template-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.template-footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.template-icon {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
}

.template-footer-right {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #576b95;
    cursor: pointer;
}

.template-link {
    color: #576b95;
}

.template-arrow {
    font-size: 16px;
    line-height: 1;
}

.wechat-frame {
    width: 260px;
    height: 460px;
    background: #ededed;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: wechatFloat 6s ease-in-out infinite;
    animation-delay: 1s;
    position: relative;
}

/* Service Info */
.service-info {
    padding: 20px 0;
}

.service-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.service-badge-green {
    background: var(--green-light);
    color: var(--green);
}

.service-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.service-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    animation: dotPulse 2s ease-in-out infinite;
}

.feature-dot-green {
    background: var(--green);
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
}

.service-access {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.access-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    flex-shrink: 0;
}

.access-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.service-qr {
    margin-top: 24px;
}

.qr-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-img-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-light);
    border: 2px dashed var(--border);
}

.qr-img-wrapper-green {
    border-color: var(--green);
    background: var(--green-light);
}

.qr-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.qr-placeholder-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    z-index: 0;
}

.qr-placeholder-bg small {
    font-size: 11px;
    color: #9ca3af;
}

.qr-placeholder {
    width: 160px;
    height: 160px;
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.qr-placeholder small {
    font-size: 11px;
    color: #9ca3af;
}

.qr-placeholder-green {
    border-color: var(--green);
    background: var(--green-light);
}

.qr-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==================== Systems Section ==================== */
.systems {
    padding: 80px 0;
    background: var(--bg-light);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.system-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.system-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.system-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.system-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.system-icon-purple {
    background: linear-gradient(135deg, var(--purple), #6d28d9);
}

.system-icon-green {
    background: linear-gradient(135deg, var(--green), #059648);
}

.system-icon-orange {
    background: linear-gradient(135deg, var(--orange), #ea580c);
}

.system-tag {
    padding: 4px 10px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.system-tag-purple {
    background: var(--purple-light);
    color: var(--purple);
}

.system-tag-green {
    background: var(--green-light);
    color: var(--green);
}

.system-tag-orange {
    background: var(--orange-light);
    color: var(--orange);
}

.system-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.system-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.system-footer {
    margin-top: auto;
}

.system-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.system-btn:hover {
    background: var(--primary-dark);
    transform: translateX(4px);
}

.system-btn-purple {
    background: var(--purple);
}

.system-btn-purple:hover {
    background: #6d28d9;
}

.system-card-qr .system-qr-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.qr-img-wrapper-lg {
    width: 140px;
    height: 140px;
}

.qr-placeholder-lg {
    width: 140px;
    height: 140px;
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

.qr-placeholder-lg small {
    font-size: 10px;
    color: #9ca3af;
}

.qr-hint {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ==================== Partners ==================== */
.partners {
    padding: 80px 0;
    background: linear-gradient(180deg, #f5f5f5 0%, #f0f0f0 100%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.partner-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(26, 86, 219, 0.12);
    transform: translateY(-4px);
}

.partner-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a0bce0 0%, #7da0d0 100%);
    box-shadow: 0 2px 6px rgba(26, 86, 219, 0.1);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.partner-logo-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.partner-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.partner-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partner-loc {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.partner-loc::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--bg-dark);
    color: #d1d5db;
    padding: 48px 0 24px;
}

.footer-content {
    text-align: center;
    margin-bottom: 32px;
}

.footer-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.footer-info p {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    font-size: 13px;
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .service-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .section-title {
        font-size: 28px;
    }
    .service-title {
        font-size: 24px;
    }
    .systems-grid {
        grid-template-columns: 1fr;
    }
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .navbar-links {
        display: none;
    }
    .footer-contact {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}
