/* 页面全局设计变量 */
:root {
    --primary-gradient: linear-gradient(135deg, #703886 0%, #582d69 100%);
    --primary-color: #582d69;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-body: #ffffff;
    --bg-section: #f5f5f7;
    --border-radius: 24px;
    --nav-height: 44px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-body);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-content {
    width: 100%;
    max-width: 980px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.nav-logo img {
    height: 20px;
    width: 20px;
    margin-right: 8px;
    border-radius: 4px;
}

.nav-links a {
    color: var(--text-secondary);
    margin-left: 24px;
    transition: color 0.3s ease;
}

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

/* 标题与段落辅助样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 120px;
}

.section-header-compact {
    padding-top: 0;
    margin-bottom: 40px;
}

.section-header-faq {
    padding-top: 0;
    margin-bottom: 50px;
}

.section-eyebrow {
    font-size: 21px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.08349;
    letter-spacing: -0.003em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.007em;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* 首屏区域 */
.hero {
    position: relative;
    padding-top: 100px;
    padding-bottom: 80px;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

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

.hero h1 {
    font-size: 64px;
    line-height: 1.0625;
    font-weight: 700;
    letter-spacing: -0.009em;
    margin-bottom: 16px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 10px;
}

.hero-title {
    margin-top: 30px;
}

.hero p {
    font-size: 27px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 0.007em;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.hero-sub {
    font-size: 19px !important;
    color: var(--text-secondary) !important;
    max-width: 700px;
    margin: 0 auto 50px auto !important;
}

.hero-sub-highlight {
    font-size: 24px !important;
    font-weight: 500;
    color: var(--text-primary) !important;
    margin-bottom: 20px !important;
}

.hero-tags {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-tag {
    background: rgba(88, 45, 105, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.hero-cta {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 26px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(88, 45, 105, 0.2);
}

.hero-image-wrapper {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.hero-image {
    max-width: 800px;
    width: 90%;
    border-radius: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

/* AI 能力区域 */
.ai-section {
    background: #f5f5f7;
    color: var(--text-primary);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.ai-content {
    position: relative;
    z-index: 2;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
}

.ai-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(112, 56, 134, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.75);
}

.ai-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(135deg, #a76cd6 0%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.ai-card p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ai-blob-left {
    top: -20%;
    right: auto;
    left: 20%;
    animation-delay: -5s;
}

.ai-blob-right {
    bottom: -20%;
    left: auto;
    right: 10%;
    width: 40vw;
    height: 40vw;
    animation-delay: -2s;
}

/* 集成生态区域 */
.ecosystem {
    background: var(--bg-section);
    padding-bottom: 120px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
    max-width: 980px;
    margin: 0 auto;
}

.bento-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.bento-card:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bento-large {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bento-text {
    flex: 1;
    padding-right: 40px;
}

.bento-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.bento-card p {
    font-size: 19px;
    color: var(--text-secondary);
    font-weight: 500;
}

.bento-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.integration-icon {
    font-size: 80px;
}

.oa-badge {
    background: #eef2ff;
    color: #582d69;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

/* 功能介绍区域 */
.features {
    padding: 120px 0;
    background: #fff;
}

.feature-row {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    gap: 80px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-text p {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-visual img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-phone-img {
    max-width: 300px !important;
}

/* 下载区域 */
.download {
    /* 通过更轻的背景层次托起下载卡片，保持 Apple 风格的简洁和通透。 */
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.98) 0%, rgba(247, 247, 249, 0.96) 42%, rgba(241, 242, 246, 0.98) 100%),
        linear-gradient(180deg, #fbfbfd 0%, #f4f5f8 100%);
    padding: 136px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    /* 使用大面积柔光做空间铺底，让卡片从背景中自然浮起。 */
    content: "";
    position: absolute;
    inset: auto 0 10% 0;
    margin: 0 auto;
    width: min(1120px, 94vw);
    height: 340px;
    background: radial-gradient(circle, rgba(94, 94, 110, 0.09) 0%, rgba(94, 94, 110, 0) 74%);
    pointer-events: none;
}

.download-header {
    max-width: 760px;
    margin: 0 auto;
}

.download-header .section-title {
    margin-bottom: 16px;
}

.download-header .section-desc {
    max-width: 680px;
    font-size: 20px;
    line-height: 1.55;
}

.download-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.download-pill {
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(29, 29, 31, 0.72);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.download-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 60px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px 22px 24px;
    border-radius: 28px;
    color: var(--text-primary);
    text-align: left;
    min-height: 278px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow:
        0 20px 44px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.76);
    cursor: pointer;
}

.download-btn::before {
    /* 顶部高光让卡片表面更像一块经过抛光的玻璃。 */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.18));
    pointer-events: none;
}

.download-btn:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow:
        0 26px 58px rgba(15, 23, 42, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.download-btn-ios {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 250, 255, 0.98) 100%);
}

.download-btn-windows {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 250, 255, 0.98) 100%);
}

.download-btn-macos {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 250, 0.98) 100%);
}

.download-btn-linux {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 249, 248, 0.98) 100%);
}

.download-btn-android {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 252, 247, 0.98) 100%);
}

.download-btn-windows::after,
.download-btn-android::after,
.download-btn-macos::after,
.download-btn-linux::after {
    /* 仅保留非常淡的品牌光晕，让平台识别感存在但不抢视觉重心。 */
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -44px;
    bottom: -68px;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.88;
    pointer-events: none;
}

.download-btn-windows::after {
    background: radial-gradient(circle, rgba(0, 120, 212, 0.14) 0%, rgba(0, 120, 212, 0) 72%);
}

.download-btn-android::after {
    background: radial-gradient(circle, rgba(52, 168, 83, 0.14) 0%, rgba(52, 168, 83, 0) 72%);
}

.download-btn-macos::after {
    background: radial-gradient(circle, rgba(15, 23, 42, 0.11) 0%, rgba(15, 23, 42, 0) 72%);
}

.download-btn-linux::after {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 72%);
}

.download-card-top,
.download-card-main,
.download-card-info {
    position: relative;
    z-index: 1;
}

.download-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.download-card-platform {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(29, 29, 31, 0.6);
}

.download-card-tag {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(29, 29, 31, 0.56);
    background: rgba(15, 23, 42, 0.05);
}

.download-card-arrow {
    margin-left: auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    background: rgba(15, 23, 42, 0.05);
    color: rgba(29, 29, 31, 0.62);
}

.download-card-main {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.download-btn-logo {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.56);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.download-btn-ios .download-btn-logo {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.04) 100%);
}

.download-btn-windows .download-btn-logo {
    background: linear-gradient(180deg, rgba(0, 120, 212, 0.14) 0%, rgba(0, 120, 212, 0.08) 100%);
}

.download-btn-android .download-btn-logo {
    background: linear-gradient(180deg, rgba(52, 168, 83, 0.15) 0%, rgba(52, 168, 83, 0.08) 100%);
}

.download-btn-macos .download-btn-logo {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.05) 100%);
}

.download-btn-linux .download-btn-logo {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0.08) 100%);
}

.download-btn-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.download-btn-logo-text {
    font-size: 13px;
    font-weight: 800;
    color: rgba(29, 29, 31, 0.7);
    letter-spacing: 0;
}

.download-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.btn-text-overline {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(29, 29, 31, 0.46);
}

.btn-text-lg {
    display: block;
    font-size: 24px;
    line-height: 1.16;
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 8.5em;
}

.btn-text-action {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(29, 29, 31, 0.56);
}

.download-card-divider {
    display: block;
    height: 1px;
    margin: 28px 0 16px;
    background: rgba(15, 23, 42, 0.08);
    position: relative;
    z-index: 1;
}

.download-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.btn-text-meta {
    display: block;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.btn-text-note {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(29, 29, 31, 0.58);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.download-btn:focus-visible {
    outline: 3px solid rgba(88, 45, 105, 0.22);
    outline-offset: 4px;
}

.download-btn-placeholder {
    cursor: default;
}

.download-btn-placeholder:hover {
    transform: none;
}

.download-btn-placeholder .download-card-arrow {
    opacity: 0.38;
}

/* 页脚 */
.footer {
    background: #f5f5f7;
    padding: 40px 0;
    border-top: 1px solid #e5e5e5;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

.footer p {
    margin-bottom: 8px;
}

/* FAQ 区域 */
.seo-faq {
    background: #fff;
    padding: 110px 0 120px;
}

.faq-list {
    max-width: 880px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f8fb;
    border: 1px solid rgba(88, 45, 105, 0.08);
    border-radius: 20px;
    padding: 28px 30px;
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 背景动画 */
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes float-reverse {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 50px) scale(0.9); }
    66% { transform: translate(20px, -20px) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

.blob-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(112, 56, 134, 0.2);
    animation: float 20s infinite ease-in-out;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: rgba(167, 108, 214, 0.2);
    animation: float-reverse 25s infinite ease-in-out;
}

.blob-3 {
    top: 20%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: rgba(88, 45, 105, 0.15);
    animation: float 22s infinite ease-in-out reverse;
}

/* 玻璃拟态与入场动画 */
.glass-panel {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }

    .hero h1 {
        font-size: 40px;
    }

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

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

    .bento-large {
        grid-column: span 1;
        flex-direction: column;
        text-align: left;
    }

    .feature-row {
        flex-direction: column;
        gap: 40px;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .bento-card {
        padding: 30px;
    }

    .faq-item {
        padding: 22px 20px;
    }

    .faq-item h3 {
        font-size: 20px;
    }

    .download-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .download-header .section-desc {
        font-size: 17px;
    }

    .download-pills {
        gap: 10px;
        margin-top: 22px;
    }

    .download-btn {
        min-height: auto;
        padding: 22px 20px;
        border-radius: 24px;
    }

    .download-card-top {
        margin-bottom: 22px;
    }

    .btn-text-lg {
        font-size: 22px;
    }

    .btn-text-meta {
        font-size: 18px;
    }

    .btn-text-note {
        font-size: 12px;
    }
}
