/* ──────────────────────────────────────────────
   口袋户外 · 产品主页 · style.css
   Design tokens 与小程序 app.wxss 保持一致
   ────────────────────────────────────────────── */

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Brand */
    --ph-primary: #1f8f63;
    --ph-primary-dark: #166b49;

    /* Backgrounds — Apple 色系 */
    --ph-bg-page: #ffffff;
    /* 纯白主背景 */
    --ph-bg-soft: #f5f5f7;
    /* Apple 浅灰交替背景 */
    --ph-panel: #ffffff;
    /* 卡片白背景 */
    --ph-bg-dark: #1d1d1f;
    /* Apple 近黑深色区 */

    /* Text — Apple 官网精确色值 */
    --ph-text-main: #1d1d1f;
    --ph-text-secondary: #424245;
    --ph-text-sub: #6e6e73;
    --ph-text-muted: #a1a1a6;

    /* Borders — 极细几乎不可见 */
    --ph-border: rgba(0, 0, 0, 0.08);
    --ph-border-soft: rgba(0, 0, 0, 0.05);

    /* Shadows — 极度克制，Apple 风格 */
    --ph-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.05);
    --ph-shadow-md: 0 2px 4px rgba(0, 0, 0, 0.05), 0 8px 32px rgba(0, 0, 0, 0.08);
    --ph-shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.06), 0 16px 48px rgba(0, 0, 0, 0.10);
    --ph-shadow-primary: 0 4px 16px rgba(31, 143, 99, 0.20), 0 2px 8px rgba(31, 143, 99, 0.14);

    /* 渐变 → 统一品牌绿纯色（按钮等处自动更新） */
    --ph-grad-primary: #1f8f63;
    --ph-grad-panel: #ffffff;
    --ph-grad-hero: transparent;

    /* Typography — 系统字体栈，Apple 设备优先 SF Pro */
    --ph-font: -apple-system, 'SF Pro Display', 'SF Pro Text', 'PingFang SC', 'Segoe UI', 'Helvetica Neue', sans-serif;

    /* Layout */
    --ph-radius-card: 20px;
    --ph-radius-lg: 28px;
    --ph-max-w: 1080px;
    --ph-nav-h: 48px;
    /* Apple 导航高度标准 */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ph-font);
    background: var(--ph-bg-page);
    color: var(--ph-text-main);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ── Container ── */
.container {
    max-width: var(--ph-max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ──────────────────────────────────────────────
   Navbar
   ────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--ph-nav-h);
    z-index: 100;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition: background 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--ph-shadow-sm);
}

.navbar-inner {
    max-width: var(--ph-max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ph-text-main);
    letter-spacing: -0.3px;
}

.navbar-nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.nav-link {
    font-size: 13px;
    font-weight: 400;
    color: var(--ph-text-sub);
    transition: color 0.15s;
}

.nav-link:hover {
    color: var(--ph-text-main);
}

.btn-try {
    margin-left: 4px;
    padding: 7px 16px;
    border-radius: 980px;
    border: none;
    background: var(--ph-grad-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
    font-family: var(--ph-font);
    letter-spacing: -0.1px;
}

.btn-try:hover {
    background: var(--ph-primary-dark);
}

.btn-try:active {
    background: var(--ph-primary-dark);
}

/* ──────────────────────────────────────────────
   Hero
   ────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--ph-nav-h) + 80px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    background: var(--ph-bg-page);
}

.hero-bg-blobs {
    display: none;
}

.blob {
    display: none;
}

.blob-1 {
    width: 520px;
    height: 520px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(31, 143, 99, 0.22) 0%, transparent 70%);
}

.blob-2 {
    width: 480px;
    height: 480px;
    top: 60px;
    right: -80px;
    background: radial-gradient(circle, rgba(79, 125, 255, 0.20) 0%, transparent 70%);
}

.blob-3 {
    width: 360px;
    height: 360px;
    bottom: 0;
    left: 30%;
    background: radial-gradient(circle, rgba(47, 107, 222, 0.14) 0%, transparent 70%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--ph-max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Hero text */
.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ph-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ph-primary);
    box-shadow: 0 0 0 3px rgba(31, 143, 99, 0.22);
    animation: pulse 2.4s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(31, 143, 99, 0.22);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(31, 143, 99, 0.10);
    }
}

.hero-title {
    font-size: clamp(48px, 6.5vw, 80px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2.5px;
    color: var(--ph-text-main);
    margin-bottom: 20px;
}

.gradient-text {
    color: var(--ph-primary);
    -webkit-text-fill-color: var(--ph-primary);
    background: none;
}

.hero-desc {
    font-size: 19px;
    line-height: 1.65;
    color: var(--ph-text-sub);
    margin-bottom: 36px;
    letter-spacing: -0.2px;
}

.br-desktop {
    display: none;
}

@media (min-width: 768px) {
    .br-desktop {
        display: block;
    }
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 980px;
    border: none;
    background: var(--ph-grad-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
    font-family: var(--ph-font);
    letter-spacing: -0.2px;
}

.btn-primary:hover {
    background: var(--ph-primary-dark);
    transform: scale(1.02);
}

.btn-primary:active {
    background: var(--ph-primary-dark);
    transform: scale(0.98);
}

.btn-ghost {
    padding: 14px 24px;
    border-radius: 980px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    color: var(--ph-text-main);
    font-size: 15px;
    font-weight: 500;
    background: transparent;
    transition: background 0.15s, border-color 0.15s;
    display: inline-flex;
    align-items: center;
    letter-spacing: -0.2px;
}

.btn-ghost:hover {
    background: var(--ph-bg-soft);
    border-color: rgba(0, 0, 0, 0.2);
}

.hero-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--ph-text-sub);
}

.meta-item svg {
    color: var(--ph-primary);
    flex-shrink: 0;
}

/* Hero visual — phone mock */
.hero-visual {
    flex-shrink: 0;
    position: relative;
    width: 270px;
}

.phone-frame {
    width: 270px;
    height: 540px;
    background: #1d1d1f;
    border-radius: 46px;
    padding: 14px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 24px 48px rgba(0, 0, 0, 0.18),
        0 48px 96px rgba(0, 0, 0, 0.14);
    position: relative;
}

.phone-notch {
    width: 80px;
    height: 24px;
    background: #0f172a;
    border-radius: 12px;
    margin: 0 auto 10px;
}

.phone-screen {
    width: 100%;
    height: calc(100% - 36px);
    background: var(--ph-bg-soft);
    border-radius: 34px;
    overflow: hidden;
}

.phone-glow {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 48px;
    background: var(--ph-primary);
    filter: blur(28px);
    opacity: 0.28;
    pointer-events: none;
}

/* Mock screen content */
.mock-screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--ph-bg-soft);
}

.mock-header {
    padding: 14px 14px 10px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
}

.mock-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mock-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(120deg, #1f8f63, #4f7dff);
}

.mock-greeting {
    flex: 1;
}

.mock-line {
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.09);
}

.mock-hero-card {
    margin: 10px 10px 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mock-stats-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.mock-stat {
    flex: 1;
    background: rgba(31, 143, 99, 0.06);
    border-radius: 8px;
    padding: 8px 6px;
}

.mock-num {
    width: 32px;
    height: 12px;
    background: var(--ph-primary);
    border-radius: 4px;
    margin: 0 auto 5px;
    opacity: 0.65;
}

.mock-label {
    width: 24px;
    height: 7px;
    background: rgba(0, 0, 0, 0.09);
    border-radius: 4px;
    margin: 0 auto;
}

.mock-cards {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.mock-card {
    background: #ffffff;
    border-radius: 12px;
    height: 64px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mock-tabbar {
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 20px;
}

.mock-tab {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.09);
}

.mock-tab.active {
    background: var(--ph-primary);
    width: 32px;
}

/* ──────────────────────────────────────────────
   Stats Strip
   ────────────────────────────────────────────── */
.stats-strip {
    background: var(--ph-bg-soft);
    padding: 32px 0;
    border-top: 1px solid var(--ph-border-soft);
    border-bottom: 1px solid var(--ph-border-soft);
}

.stats-strip-inner {
    max-width: var(--ph-max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 40px;
}

.strip-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--ph-text-main);
    letter-spacing: -1.5px;
    line-height: 1;
}

.strip-label {
    font-size: 12px;
    font-weight: 400;
    color: var(--ph-text-sub);
}

.strip-sep {
    width: 1px;
    height: 32px;
    background: rgba(0, 0, 0, 0.10);
}

/* ──────────────────────────────────────────────
   Sections
   ────────────────────────────────────────────── */
.section {
    padding: 120px 0;
}

.section--alt {
    background: var(--ph-bg-soft);
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ph-primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;
    color: var(--ph-text-main);
    margin-bottom: 12px;
}

.section-sub {
    font-size: 17px;
    color: var(--ph-text-sub);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
}

/* ──────────────────────────────────────────────
   Features Grid
   ────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-card {
    background: var(--ph-grad-panel);
    border-radius: var(--ph-radius-lg);
    padding: 36px;
    box-shadow: var(--ph-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ph-shadow-md);
}

.feature-card--tint-green {
    background: #eefaf4;
}

.feature-card--tint-blue {
    background: #eef3ff;
}

.feature-card--dark {
    background: var(--ph-bg-dark);
}

.feature-card--dark .feature-title {
    color: #f5f5f7;
}

.feature-card--dark .feature-desc {
    color: rgba(245, 245, 247, 0.6);
}

.feature-card--dark .feature-list li {
    color: rgba(245, 245, 247, 0.6);
}

.feature-card--dark .feature-list li::before {
    background: rgba(245, 245, 247, 0.5);
}

.feature-card--dark .feature-icon--teal {
    background: rgba(255, 255, 255, 0.10);
    color: rgba(245, 245, 247, 0.85);
}

/* Track line visualization inside dark card */
.feature-track-viz {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    overflow: hidden;
    opacity: 0.30;
    pointer-events: none;
}

.feature-track-viz svg {
    width: 100%;
    height: 100%;
}

.feature-card--large {
    /* compatibility */
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon--green {
    background: rgba(31, 143, 99, 0.12);
    color: var(--ph-primary);
}

.feature-icon--blue {
    background: rgba(79, 125, 255, 0.12);
    color: #4f7dff;
}

.feature-icon--teal {
    background: rgba(31, 143, 99, 0.12);
    color: var(--ph-primary);
}

.feature-icon--purple {
    background: rgba(162, 89, 255, 0.10);
    color: #7c3aed;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ph-text-main);
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ph-text-sub);
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-list li {
    font-size: 13px;
    color: var(--ph-text-sub);
    padding-left: 16px;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ph-primary);
    opacity: 0.6;
}

/* ──────────────────────────────────────────────
   Highlights
   ────────────────────────────────────────────── */
.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.highlight-row {
    display: flex;
    align-items: center;
    gap: 64px;
}

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

.highlight-visual {
    flex-shrink: 0;
    width: 380px;
}

.highlight-content {
    flex: 1;
    min-width: 0;
}

.hl-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hl-tag--green {
    color: var(--ph-primary);
}

.hl-tag--blue {
    color: #4f7dff;
}

.hl-tag--purple {
    color: #7c3aed;
}

.hl-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: var(--ph-text-main);
    margin-bottom: 16px;
}

.hl-desc {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ph-text-sub);
}

/* Track mock */
.hl-map-mock {
    width: 100%;
    height: 220px;
    background: #0f1a30;
    border-radius: var(--ph-radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--ph-shadow-lg);
}

.hl-map-bg {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(255, 255, 255, 0.03) 30px),
        repeating-linear-gradient(90deg, transparent, transparent 29px, rgba(255, 255, 255, 0.03) 30px),
        linear-gradient(160deg, #0f1a30 0%, #0a1220 100%);
}

.hl-track-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hl-map-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    gap: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

/* Equipment mock */
.hl-equip-mock {
    background: #ffffff;
    border-radius: var(--ph-radius-lg);
    padding: 20px;
    box-shadow: var(--ph-shadow-lg);
}

.hl-equip-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hl-equip-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
}

.hl-icon--tent {
    background: linear-gradient(120deg, rgba(31, 143, 99, 0.22), rgba(46, 194, 126, 0.16));
}

.hl-icon--pack {
    background: linear-gradient(120deg, rgba(79, 125, 255, 0.22), rgba(47, 107, 222, 0.16));
}

.hl-equip-info {
    flex: 1;
}

.hl-equip-name {
    width: 80px;
    height: 10px;
    background: rgba(0, 0, 0, 0.10);
    border-radius: 4px;
    margin-bottom: 6px;
}

.hl-equip-meta {
    width: 56px;
    height: 8px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.hl-equip-weight {
    font-size: 14px;
    font-weight: 700;
    color: var(--ph-text-main);
}

.hl-community-tip {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(31, 143, 99, 0.06);
    font-size: 13px;
    color: var(--ph-text-sub);
}

.hl-community-tip b {
    color: var(--ph-primary);
}

/* Template mock */
.hl-template-mock {
    background: #ffffff;
    border-radius: var(--ph-radius-lg);
    padding: 20px;
    box-shadow: var(--ph-shadow-lg);
}

.hl-tmpl-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 14px;
}

.hl-tmpl-icon {
    font-size: 28px;
}

.hl-tmpl-title {
    width: 96px;
    height: 11px;
    background: rgba(0, 0, 0, 0.10);
    border-radius: 4px;
    margin-bottom: 6px;
}

.hl-tmpl-sub {
    width: 64px;
    height: 8px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.hl-tmpl-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.hl-tmpl-item {
    height: 36px;
    background: var(--ph-bg-soft);
    border-radius: 9px;
}

.hl-tmpl-btn {
    text-align: center;
    padding: 11px;
    border-radius: 12px;
    background: var(--ph-grad-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

/* ──────────────────────────────────────────────
   Screenshots
   ────────────────────────────────────────────── */
.screenshots-track-wrap {
    position: relative;
    overflow: hidden;
}

.screenshots-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 8px 4px 16px;
    transition: transform 0.4s ease;
}

.screenshots-track::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.screenshot-label {
    font-size: 13px;
    color: var(--ph-text-tertiary);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-align: center;
    margin: 0;
}

.screenshot-frame {
    width: 200px;
    height: 400px;
    background: #1d1d1f;
    border-radius: 28px;
    padding: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.ss-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.ss-p1 {
    background: linear-gradient(160deg, #1f4a3a 0%, #1a2a4a 100%);
}

.ss-p2 {
    background: linear-gradient(160deg, #1e3a5f 0%, #162d48 100%);
}

.ss-p3 {
    background: linear-gradient(160deg, #2a1f4a 0%, #1a2c4e 100%);
}

.ss-p4 {
    background: linear-gradient(160deg, #1a3a2a 0%, #1f2d4a 100%);
}

.ss-p5 {
    background: linear-gradient(160deg, #3a1f2a 0%, #2a1f4a 100%);
}

.ss-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ph-text-secondary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.09);
    transition: transform 0.15s;
    z-index: 2;
}

.ss-arrow:hover {
    transform: translateY(-50%) scale(1.05);
}

.ss-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.ss-arrow--left {
    left: 0;
}

.ss-arrow--right {
    right: 0;
}

/* ──────────────────────────────────────────────
   CTA
   ────────────────────────────────────────────── */
.cta-section {
    padding: 0;
}

.cta-card {
    background: var(--ph-bg-dark);
    border-radius: 0;
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.cta-blobs {
    display: none;
}

.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.cta-blob-1 {
    width: 320px;
    height: 320px;
    top: -80px;
    left: -60px;
    background: rgba(255, 255, 255, 0.12);
}

.cta-blob-2 {
    width: 280px;
    height: 280px;
    bottom: -60px;
    right: -40px;
    background: rgba(255, 255, 255, 0.08);
}

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

.cta-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: #f5f5f7;
    letter-spacing: -1.5px;
    margin-bottom: 14px;
}

.cta-desc {
    font-size: 17px;
    color: rgba(245, 245, 247, 0.6);
    margin-bottom: 40px;
    letter-spacing: -0.2px;
}

.cta-qr {
    display: inline-block;
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.qr-placeholder img {
    display: block;
    width: 140px;
    height: 140px;
    border-radius: 8px;
}

.cta-hint {
    font-size: 14px;
    color: rgba(245, 245, 247, 0.4);
}

/* ──────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────── */
.footer {
    background: var(--ph-bg-soft);
    padding: 40px 0;
    border-top: 1px solid var(--ph-border-soft);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ph-text-secondary);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-link {
    font-size: 13px;
    color: var(--ph-text-sub);
    transition: color 0.15s;
}

.footer-link:hover {
    color: var(--ph-text-main);
}

.footer-sep {
    color: var(--ph-text-muted);
    font-size: 12px;
}

.footer-copy {
    font-size: 12px;
    color: var(--ph-text-muted);
}

.footer-contact {
    font-size: 12px;
    color: var(--ph-text-muted);
    margin-top: 4px;
}

/* ──────────────────────────────────────────────
   QR Modal
   ────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 36px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.22);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.28s ease;
    min-width: 280px;
    max-width: calc(100vw - 48px);
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--ph-bg-soft);
    color: var(--ph-text-sub);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.09);
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ph-text-main);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.modal-qr {
    margin-bottom: 16px;
}

.modal-qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-desc {
    font-size: 13px;
    color: var(--ph-text-sub);
    line-height: 1.6;
}

/* ──────────────────────────────────────────────
   Animations
   ────────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: none;
}

/* ──────────────────────────────────────────────
   Responsive
   ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        gap: 48px;
        text-align: center;
    }

    .hero-visual {
        width: 220px;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }

    .hero-badge,
    .hero-actions,
    .hero-meta {
        justify-content: center;
    }

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

    .highlight-row,
    .highlight-row--reverse {
        flex-direction: column;
        gap: 32px;
    }

    .highlight-visual {
        width: 100%;
    }

    .hl-map-mock {
        height: 180px;
    }

    .strip-item {
        padding: 0 20px;
    }

    .strip-sep {
        display: none;
    }

    .navbar-nav {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: calc(var(--ph-nav-h) + 32px);
        padding-bottom: 48px;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    .section {
        padding: 80px 0;
    }

    .highlights-list {
        gap: 60px;
    }

    .cta-card {
        padding: 72px 24px;
    }

    .btn-primary svg {
        display: none;
    }
}

/* ══════════════════════════════════════════
   Hero 轮播
══════════════════════════════════════════ */
.hero-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 34px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 34px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

/* ══════════════════════════════════════════
   双模式 section
══════════════════════════════════════════ */
.modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.mode-card {
    background: #fff;
    border-radius: 28px;
    padding: 36px 32px 28px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.07);
}

.mode-card--travel {
    background: #f0f4ff;
}

.mode-tag {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.mode-tag--outdoor {
    background: rgba(31, 143, 99, 0.12);
    color: #1f8f63;
}

.mode-tag--travel {
    background: rgba(47, 107, 222, 0.12);
    color: #2f6bde;
}

.mode-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ph-text-primary);
    letter-spacing: -0.4px;
    margin: 0 0 6px;
}

.mode-desc {
    font-size: 14px;
    color: var(--ph-text-tertiary);
    margin: 0 0 20px;
}

.mode-screenshots {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 24px;
    height: 220px;
}

.mode-phone-wrap {
    flex: 1;
    height: 200px;
    background: #1d1d1f;
    border-radius: 20px;
    padding: 5px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mode-phone-wrap--up {
    transform: translateY(-20px);
}

.mode-phone-wrap--down {
    transform: translateY(0);
    height: 180px;
}

.mode-card:hover .mode-phone-wrap--up {
    transform: translateY(-28px);
}

.mode-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.mode-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mode-list li {
    font-size: 14px;
    color: var(--ph-text-secondary);
    padding-left: 20px;
    position: relative;
}

.mode-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ph-primary);
}

.mode-card--travel .mode-list li::before {
    background: #2f6bde;
}

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

    .mode-screenshots {
        height: 200px;
    }
}
