/* 提取自 index.html 内联样式 */
:root {
    --bg-gradient-from: #ff7a00;
    --bg-gradient-to:   #ff3f5c;
    --accent: #ff7a00;
    --accent-soft: rgba(255, 122, 0, 0.12);
    --text-main: #111827;
    --text-sub: #6b7280;
    --card-bg: #ffffff;
    --border-soft: #e5e7eb;
    --max-width: 1080px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
                 "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", sans-serif;
    color: var(--text-main);
    background: #f3f4f6;
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    display: block;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

/* 顶部导航 */
header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: linear-gradient(to right, rgba(255, 122, 0, 0.94), rgba(255, 63, 92, 0.94));
    color: #fff;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.nav-title-main {
    font-size: 18px;
    font-weight: 700;
}

.nav-title-sub {
    font-size: 11px;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 16px;
    font-size: 14px;
}

.nav-link {
    position: relative;
    cursor: pointer;
    padding-bottom: 2px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero 区域 */
.hero {
    background: radial-gradient(circle at top left, #ffe3c4, #ffd1d8 32%, #f3f4f6 70%);
    padding: 32px 0 40px;
}

.hero-inner {
    display: grid;
    /* 使用一列自适应 + 一列固定/最小宽度，保证手机截图块不会太窄并让整体居中 */
    grid-template-columns: 1fr minmax(260px, 320px);
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.hero-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #b45309;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-badge span.icon {
    font-size: 14px;
}

.hero-title {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    margin: 6px 0 10px;
}

.hero-title .highlight {
    background: linear-gradient(to right, #f97316, #ec4899);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
    max-width: 560px;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 24px 0 10px;
}

.btn {
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(to right, #f97316, #ec4899);
    color: #fff;
    box-shadow: 0 10px 30px rgba(248, 113, 113, 0.4);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: default;
    box-shadow: none;
}

.btn-ghost {
    background: rgba(255,255,255,0.7);
    color: #374151;
    border: 1px solid rgba(209,213,219,0.7);
}

.hero-meta {
    font-size: 11px;
    color: #6b7280;
}

.hero-meta strong {
    color: #374151;
}

.hero-phone {
    justify-self: center;
}

.phone-shell {
    width: 260px;
    max-width: 90vw;
    border-radius: 32px;
    padding: 18px 10px;
    background: linear-gradient(145deg, #111827, #020617);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.55),
        0 0 0 10px rgba(15,23,42,0.85);
    position: relative;
    color: #f9fafb;
}

.phone-notch {
    width: 112px;
    height: 18px;
    border-radius: 999px;
    background: #020617;
    margin: 0 auto 12px;
}

.phone-screen {
    background: radial-gradient(circle at top, #fed7aa, #f97316 40%, #4b5563 100%);
    border-radius: 24px;
    padding: 16px 14px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.phone-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.phone-tag {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
}

.phone-main {
    text-align: center;
}

.phone-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 8px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.28);
}

.phone-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.phone-sub {
    font-size: 11px;
    opacity: 0.9;
}

.phone-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 6px;
    margin-top: 14px;
}

.phone-stat-card {
    border-radius: 12px;
    padding: 6px;
    background: rgba(15,23,42,0.85);
    text-align: left;
}

.phone-stat-label {
    font-size: 9px;
    opacity: 0.8;
}

.phone-stat-value {
    font-size: 13px;
    font-weight: 700;
}

/* 通用 section */
section {
    padding: 32px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 28px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.section-sub {
    font-size: 13px;
    color: var(--text-sub);
}

/* 功能特性 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 16px 16px 14px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 8px 20px rgba(15,23,42,0.03);
}

.feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 16px;
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.5;
}

/* AI 区块 */
.ai-block {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.ai-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    margin-bottom: 8px;
}

.ai-list {
    margin: 12px 0 0;
    padding-left: 18px;
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
}

.ai-card {
    background: #0f172a;
    border-radius: 18px;
    padding: 16px 16px 14px;
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15,23,42,0.7);
}

.ai-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(239, 68, 68, 0.32), transparent 60%);
    opacity: 0.9;
}

.ai-card-inner {
    position: relative;
    z-index: 1;
}

.ai-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.ai-card-desc {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.ai-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.ai-pill {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(249,250,251,0.32);
    background: rgba(15,23,42,0.6);
}

/* 截图区（占位） */
.shots-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}

.shot-card {
    border-radius: 18px;
    background: linear-gradient(145deg, #e5e7eb, #f9fafb);
    border: 1px dashed #d1d5db;
    padding: 12px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

.shot-box {
    border-radius: 12px;
    background: #111827;
    height: 160px;
    margin-bottom: 8px;
}

/* 下载区 */
.download-section {
    text-align: center;
}

.download-note {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-sub);
}

.download-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 12px;
}

.store-badge span.icon {
    font-size: 18px;
}

/* FAQ & 联系方式 */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
    gap: 24px;
}

.faq-item {
    margin-bottom: 14px;
}

.faq-q {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.faq-a {
    font-size: 13px;
    color: var(--text-sub);
}

.contact-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid var(--border-soft);
    font-size: 13px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

footer {
    border-top: 1px solid #e5e7eb;
    padding: 14px 0 18px;
    font-size: 11px;
    color: #9ca3af;
}

footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
}

/* 响应式 */
@media (max-width: 900px) {
    .hero-inner,
    .ai-block,
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 24px;
    }

    .hero-inner {
        gap: 24px;
    }

    .hero-phone {
        order: -1;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .shots-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: minmax(0,1fr);
    }

    .shots-grid {
        grid-template-columns: minmax(0,1fr);
    }
}