:root {
    --bg-color: #f1f5f9;
    --card-bg: #ffffff;
    --border-color: rgba(203, 213, 225, 0.9);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-color: #2563eb;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --glow-blue: rgba(59, 130, 246, 0.28);
    --glow-green: rgba(16, 185, 129, 0.22);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

/* 氛围光晕背景 */
.ambient-glow-1 {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow-blue) 0%, rgba(241, 245, 249, 0) 70%);
    top: -150px;
    right: -100px;
    z-index: 0;
    pointer-events: none;
}

.ambient-glow-2 {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--glow-green) 0%, rgba(241, 245, 249, 0) 70%);
    bottom: -150px;
    left: -100px;
    z-index: 0;
    pointer-events: none;
}

/* Tab 导航栏 - 极简纯文字版 */
.tab-navigation {
    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
    padding: 50px 80px 40px;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.tab-container {
    display: inline-flex;
    gap: 40px;
    position: relative;
}

.tab-btn {
    padding: 8px 4px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--accent-color);
}

.tab-btn:hover::after {
    width: 100%;
}

.tab-btn.active {
    color: var(--accent-color);
    font-weight: 500;
}

.tab-btn.active::after {
    width: 100%;
}

.tab-btn svg {
    width: 18px;
    height: 18px;
    transition: all 0.25s ease;
}

.tab-btn.active svg {
    transform: scale(1.05);
}

/* Tab 内容区域 */
.tab-content {
    display: none;
    flex: 1;
    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
    z-index: 1;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 主容器：大屏幕 SaaS 全屏布局 */
.container {
    flex: 1;
    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
    padding: 50px 80px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 80px;
    align-items: center;
    z-index: 1;
}

/* 左侧：品牌信息、核心价值与微视觉图标 */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand-logo {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
    border: 2.5px solid rgba(255, 255, 255, 0.95);
}

.brand-name-group {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1.2px;
    color: var(--text-primary);
    line-height: 1.1;
}

.brand-tagline {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

.hero-title {
    font-size: clamp(38px, 4.8vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.hero-title span {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 620px;
}

/* 左侧快捷下载唤起区 (CTA) */
.hero-cta-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 560px;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: var(--text-primary);
    padding: 15px 20px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.store-badge.apple {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text-primary);
}

.store-badge.google-highlight {
    background: #0f172a;
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.3);
}

.store-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.store-text-group {
    display: flex;
    flex-direction: column;
}

.store-sub {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.store-main {
    font-size: 14px;
    font-weight: 700;
}

/* 移动端专属广告位容器（默认在 PC 端隐藏） */
.mobile-ad-banner {
    display: none;
    width: 100%;
    max-width: 560px;
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* 核心特性卡片矩阵 */
.feature-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 620px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    padding: 18px 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.feature-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-sub {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Lottie 动效容器 */
.lottie-container {
    width: 100%;
    max-width: 480px;
    height: 90px;
}

/* 右侧容器 */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 卡片堆叠轮播展示区 */
.carousel-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 720px;
    perspective: 1000px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 25px 50px rgba(15, 23, 42, 0.15),
        0 10px 20px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

.slide.active {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1) rotateY(0deg);
    z-index: 3;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 30px 60px rgba(15, 23, 42, 0.18),
        0 12px 24px rgba(15, 23, 42, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.slide.next {
    opacity: 0.6;
    transform: translateX(45px) translateY(20px) scale(0.92) rotateY(-5deg);
    z-index: 2;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 15px 30px rgba(15, 23, 42, 0.1),
        0 6px 12px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.slide.far-next {
    opacity: 0.3;
    transform: translateX(80px) translateY(35px) scale(0.85) rotateY(-8deg);
    z-index: 1;
    border-color: rgba(255, 255, 255, 0.3);
}

.slide.exit {
    opacity: 0;
    transform: translateX(-120px) translateY(-40px) scale(0.88) rotateY(12deg);
    z-index: 4;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s ease;
}

.carousel-dot.active {
    background: var(--accent-color);
    width: 32px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.site-footer {
    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
    padding: 30px 80px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* 产品介绍页面样式 */
.product-page {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 80px 60px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.page-header {
    text-align: center;
    padding: 20px 0 30px;
    position: relative;
}

.page-header svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: var(--accent-color);
    opacity: 0.85;
}

.page-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-box-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-color);
}

.feature-box-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-box-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.highlight-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 24px;
    padding: 48px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.highlight-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.highlight-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.highlight-list {
    list-style: none;
    display: grid;
    gap: 16px;
}

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.6;
}

.highlight-list li svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tagline-section {
    text-align: center;
    padding: 48px 0;
    position: relative;
}

.tagline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.tagline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tagline-item {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(29, 78, 216, 0.04) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 14px;
    padding: 20px 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
    line-height: 1.5;
}

.tagline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tagline-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
}

.tagline-item:hover::before {
    opacity: 1;
}

/* 使用说明页面样式 */
.guide-page {
    flex: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 80px 60px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.guide-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    position: relative;
}

.guide-section-number {
    position: absolute;
    top: -16px;
    left: 36px;
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.guide-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-section-title svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

.guide-content {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.guide-content p {
    margin-bottom: 12px;
}

.guide-content ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.guide-content li {
    margin-bottom: 8px;
}

.guide-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.faq-answer {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 30px;
}

.quick-start-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    padding: 36px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quick-start-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.quick-start-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.quick-start-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.step-arrow {
    color: rgba(255, 255, 255, 0.6);
}

.decorative-svg {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    display: block;
}

/* 移动端响应式适配及模块重新排序逻辑 */
@media (max-width: 1024px) {
    body {
        overflow-y: auto;
        height: auto;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 16px;
    }

    .hero-left {
        text-align: center;
        align-items: center;
        gap: 16px;
    }

    .brand-header {
        justify-content: center;
        gap: 14px;
    }

    .brand-logo {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .brand-name {
        font-size: 30px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.2;
    }

    /* 移动端各模块顺序控制 (order) */
    .hero-cta-box {
        order: 3;
        margin: 0 auto;
        max-width: 100%;
    }

    .mobile-ad-banner {
        display: block;
        order: 4;
    }

    .hero-desc {
        display: block;
        order: 5;
        font-size: 15px;
        max-width: 100%;
        text-align: center;
    }

    /* 优化移动端 feature-badges 布局：改为单列横向排布，图标左侧，文字右侧，更清爽 */
    .feature-badges {
        display: flex;
        flex-direction: column;
        order: 6;
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }

    .feature-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 12px 16px;
        gap: 14px;
    }

    .lottie-container {
        display: none;
    }

    .carousel-wrapper {
        max-width: 260px;
        height: 520px;
        margin-top: 10px;
    }

    .tab-navigation {
        padding: 30px 16px 24px;
    }

    .tab-container {
        width: 100%;
        justify-content: space-around;
        gap: 20px;
    }

    .tab-btn {
        flex: 1;
        padding: 8px 4px;
        font-size: 14px;
        justify-content: center;
    }

    .tab-btn svg {
        width: 16px;
        height: 16px;
    }

    .product-page {
        padding: 24px 16px 40px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .highlight-section {
        padding: 28px 20px;
    }

    .guide-page {
        padding: 24px 16px 40px;
    }

    .guide-section {
        padding: 28px 20px;
    }

    .site-footer {
        padding: 20px 16px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .tab-navigation {
        padding: 20px 12px 16px;
    }

    .tab-container {
        gap: 20px;
    }

    .tab-btn {
        padding: 8px 4px;
        font-size: 13px;
        gap: 6px;
    }

    .tab-btn svg {
        width: 14px;
        height: 14px;
    }

    .page-title {
        font-size: 28px;
    }

    .feature-box {
        padding: 24px;
    }

    .quick-start-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}