/* ================================
   BabyMo - 全局样式
   配色基于Logo：主色亮粉色
================================ */

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

:root {
    /* 主色系 - 基于Logo亮粉色 */
    --primary: #F73F9A;           /* 亮粉色主色 */
    --primary-dark: #E02486;      /* 深粉色 */
    --primary-light: #FF7AB8;     /* 浅粉色 */
    --primary-50: #FFF0F7;        /* 极浅粉背景 */
    --primary-100: #FFE0EF;       /* 浅粉背景 */
    --primary-gradient: linear-gradient(135deg, #F73F9A 0%, #FF6BA8 50%, #FF9BC0 100%);
    --primary-gradient-soft: linear-gradient(135deg, rgba(247,63,154,0.1) 0%, rgba(255,155,192,0.1) 100%);
    
    /* 辅助色 */
    --purple: #A855F7;
    --blue: #6366F1;
    --green: #10B981;
    --orange: #F59E0B;
    --red: #EF4444;
    
    /* 中性色 */
    --gray-900: #1F2937;
    --gray-800: #374151;
    --gray-700: #4B5563;
    --gray-600: #6B7280;
    --gray-500: #9CA3AF;
    --gray-400: #D1D5DB;
    --gray-300: #E5E7EB;
    --gray-200: #F3F4F6;
    --gray-100: #F9FAFB;
    --white: #FFFFFF;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(247, 63, 154, 0.15), 0 8px 10px -6px rgba(247, 63, 154, 0.1);
    --shadow-primary: 0 10px 30px -5px rgba(247, 63, 154, 0.4);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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(--gray-800);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* ================================
   渐变文字
================================ */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ================================
   Section 通用样式
================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ================================
   按钮通用样式
================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -8px rgba(247, 63, 154, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-download {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 20px 48px;
    font-size: 18px;
    box-shadow: var(--shadow-primary);
    gap: 16px;
    border-radius: var(--radius-xl);
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px -10px rgba(247, 63, 154, 0.6);
}

.btn-download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.btn-download-title {
    font-size: 20px;
    font-weight: 700;
}

.btn-download-sub {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
}

/* ================================
   导航栏
================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(247, 63, 154, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-gradient);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

.nav-download-btn {
    padding: 10px 24px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 14px -4px rgba(247, 63, 154, 0.4);
}

.nav-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(247, 63, 154, 0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================================
   Hero 首屏区
================================ */
.hero {
    position: relative;
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(247, 63, 154, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--primary-50) 0%, var(--white) 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 63, 154, 0.08) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 24px;
    border: 1px solid var(--primary-100);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hero-version {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--gray-500);
    flex-wrap: wrap;
}

.version-tag, .update-date {
    padding: 6px 14px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-weight: 500;
}

.divider {
    color: var(--gray-300);
}

/* --- 截图展示区 --- */
.hero-screenshots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.screenshot-main {
    position: relative;
    width: 300px;
    height: 600px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 
        0 30px 60px -20px rgba(247, 63, 154, 0.3),
        0 0 0 10px var(--white),
        0 0 0 12px var(--primary-100);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
}

.screenshot-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(1.02);
    background: linear-gradient(180deg, var(--primary-gradient) 0%, #FFC2D9 50%, var(--white) 100%);
}

.screenshot-img.active {
    opacity: 1;
    transform: scale(1);
}

.screenshot-thumbs {
    display: flex;
    gap: 16px;
}

.thumb-item {
    position: relative;
    width: 80px;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 3px solid transparent;
}

.thumb-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.thumb-item.active {
    border-color: var(--primary);
    box-shadow: 0 8px 24px -8px rgba(247, 63, 154, 0.5);
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.thumb-item.active .thumb-overlay,
.thumb-item:hover .thumb-overlay {
    background: transparent;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
    animation: bounce 2s ease-in-out infinite;
}

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

/* ================================
   功能特色区
================================ */
.features {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

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

.feature-card {
    padding: 40px 32px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-100);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.icon-pink {
    background: linear-gradient(135deg, rgba(247, 63, 154, 0.1) 0%, rgba(247, 63, 154, 0.2) 100%);
    color: var(--primary);
}

.icon-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(168, 85, 247, 0.2) 100%);
    color: var(--purple);
}

.icon-blue {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.2) 100%);
    color: var(--blue);
}

.icon-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.2) 100%);
    color: var(--green);
}

.icon-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.2) 100%);
    color: var(--orange);
}

.icon-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.2) 100%);
    color: var(--red);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ================================
   应用截图区
================================ */
.screenshots {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--white) 100%);
    position: relative;
}

.screenshots-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.screenshots-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: center;
}

.screenshot-card {
    position: relative;
    width: 280px;
    height: 560px;
    transition: var(--transition-slow);
}

.screenshot-card:nth-child(2) {
    transform: translateY(-30px);
}

.screenshot-card:hover {
    transform: translateY(-16px);
}

.screenshot-card:nth-child(2):hover {
    transform: translateY(-46px);
}

.screenshot-big {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
    box-shadow: 0 30px 60px -15px rgba(247, 63, 154, 0.25);
    background: linear-gradient(180deg, var(--primary-gradient) 0%, #FFC2D9 50%, var(--white) 100%);
}

.phone-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 36px;
    pointer-events: none;
    border: 6px solid var(--gray-900);
    box-sizing: border-box;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--gray-900);
    border-radius: 0 0 16px 16px;
}

/* ================================
   用户评价区
================================ */
.reviews {
    padding: 120px 0;
    background: var(--white);
}

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

.review-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-100);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.avatar-pink { background: linear-gradient(135deg, #F73F9A, #FF7AB8); }
.avatar-purple { background: linear-gradient(135deg, #A855F7, #C084FC); }
.avatar-blue { background: linear-gradient(135deg, #6366F1, #818CF8); }
.avatar-green { background: linear-gradient(135deg, #10B981, #34D399); }
.avatar-orange { background: linear-gradient(135deg, #F59E0B, #FBBF24); }
.avatar-red { background: linear-gradient(135deg, #EF4444, #F87171); }

.review-info {
    flex: 1;
}

.review-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.review-stars {
    color: #FBBF24;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ================================
   常见问题 FAQ
================================ */
.faq {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-50) 100%);
}

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

.faq-item {
    margin-bottom: 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-100);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 8px 30px -10px rgba(247, 63, 154, 0.25);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-800);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--gray-400);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 28px 24px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    padding-top: 8px;
    border-top: 1px solid var(--gray-100);
    padding-top: 20px;
}

/* ================================
   下载区域
================================ */
.download {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(247, 63, 154, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #FFF0F7 0%, #FAF5FF 100%);
    z-index: -1;
}

.download-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
    background: var(--white);
    padding: 64px;
    border-radius: var(--radius-2xl);
    box-shadow: 0 30px 80px -20px rgba(247, 63, 154, 0.25);
    border: 1px solid var(--primary-100);
}

.download-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.download-desc {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 28px;
}

.download-info {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.info-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
}

.download-tip {
    margin-top: 20px;
    font-size: 13px;
    color: var(--gray-500);
}

.download-qr {
    display: flex;
    justify-content: center;
}

.qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--primary-100);
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.qr-tip {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
}

/* ================================
   页脚
================================ */
.footer {
    padding: 80px 0 32px;
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-gradient);
}

.footer-logo .logo-text {
    font-size: 22px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-500);
    max-width: 320px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
}

/* ================================
   返回顶部
================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -4px rgba(247, 63, 154, 0.55);
}

/* ================================
   响应式适配
================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 46px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-screenshots {
        order: -1;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-version {
        justify-content: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshots-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .screenshot-card {
        width: 100%;
        max-width: 240px;
        height: 480px;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 48px 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: var(--transition);
        align-items: stretch;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-num {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-desc {
        font-size: 16px;
    }
    
    .features,
    .screenshots,
    .reviews,
    .faq,
    .download {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-row {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .screenshot-card {
        max-width: 100%;
        height: 520px;
    }
    
    .screenshot-card:nth-child(2) {
        transform: none;
    }
    
    .screenshot-card:nth-child(2):hover {
        transform: translateY(-16px);
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .download-title {
        font-size: 32px;
    }
    
    .download-info {
        gap: 20px;
    }
    
    .btn-download {
        padding: 16px 32px;
        font-size: 16px;
        width: 100%;
    }
    
    .btn-download-title {
        font-size: 18px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .download-wrapper {
        padding: 32px 20px;
    }
    
    .download-title {
        font-size: 28px;
    }
    
    .screenshot-main {
        width: 260px;
        height: 520px;
    }
    
    .thumb-item {
        width: 68px;
        height: 120px;
    }
}
