/* ========================================
   介绍及下载页样式
   ======================================== */

/* CSS 变量 */
:root {
    --primary: #ff5500;
    --primary-light: #ff6b35;
    --primary-lighter: #fff5f0;
    --primary-dark: #e64d00;
    --gradient: linear-gradient(135deg, #ff5500 0%, #ff8c5a 100%);
    --gradient-hero: linear-gradient(135deg, #ff5500 0%, #ff6b35 50%, #ff8c5a 100%);
    --text-primary: #1a1a2e;
    --text-secondary: #555770;
    --text-light: #8e90a6;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f6fa;
    --bg-dark: #1a1a2e;
    --border: #e8e8ed;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-primary: 0 4px 20px rgba(255,85,0,0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* 全局重置 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    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%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    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);
}

/* ========================================
   按钮
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255,85,0,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.063rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    background: linear-gradient(160deg, #fff5f0 0%, #fff 40%, #f5f6fa 100%);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    bottom: -150px;
    left: -100px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    top: 40%;
    left: 30%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
    padding: 60px 24px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* 手机模型 */
.hero-image {
    flex: 0 0 auto;
}

.phone-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a2e;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2), inset 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    padding: 36px 14px 14px;
}

.screen-header {
    margin-bottom: 12px;
}

.screen-search {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f5f6fa;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 12px;
    color: #999;
}

.screen-banner {
    background: var(--gradient);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 14px;
    color: #fff;
}

.banner-text {
    font-size: 14px;
    font-weight: 600;
}

.screen-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.screen-cat-item {
    text-align: center;
    font-size: 10px;
    color: var(--text-secondary);
}

.cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
    font-size: 18px;
}

.screen-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.screen-product {
    background: #f9f9fb;
    border-radius: 8px;
    padding: 8px;
}

.product-img-placeholder {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #f0f0f5 0%, #e8e8ed 100%);
    border-radius: 6px;
    margin-bottom: 6px;
}

.screen-product .product-name {
    font-size: 10px;
    color: var(--text-primary);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.screen-product .product-price {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
}

/* ========================================
   区域公共样式
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-lighter);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.063rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   平台优势
   ======================================== */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.938rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   商品分类
   ======================================== */
.categories {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-icon {
    margin-bottom: 16px;
}

.cat-emoji {
    font-size: 2.5rem;
    display: block;
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.938rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.category-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--primary-lighter);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========================================
   热门商品
   ======================================== */
.products {
    padding: 100px 0;
    background: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-new {
    background: #10b981;
}

.badge-sale {
    background: #f59e0b;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f6fa 0%, #eef0f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    font-size: 3.5rem;
}

.product-info {
    padding: 16px;
}

.product-title {
    font-size: 0.938rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-shop {
    font-size: 0.813rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-bottom {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.product-price-tag {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
}

.product-price-tag em {
    font-size: 1.375rem;
    font-style: normal;
}

.product-sales {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ========================================
   商家入驻
   ======================================== */
.merchant {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.merchant-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.merchant-text {
    flex: 1;
}

.merchant-desc {
    font-size: 1.063rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 20px 0 32px;
}

.merchant-advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.advantage-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.advantage-item:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.advantage-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.advantage-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.advantage-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* 入驻流程 */
.merchant-steps {
    flex: 0 0 340px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.merchant-steps h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
}

.steps-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.step-info p {
    font-size: 0.813rem;
    color: var(--text-light);
}

.step-line {
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, var(--primary), rgba(255,85,0,0.2));
    margin: 4px 0 4px 21px;
}

/* ========================================
   APP下载
   ======================================== */
.download {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.download-shape-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,85,0,0.08);
    top: -200px;
    right: -100px;
}

.download-shape-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,85,0,0.05);
    bottom: -100px;
    left: -50px;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.download-info {
    flex: 1;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.download-desc {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
}

.android-btn {
    background: var(--gradient);
    color: #fff;
}

.android-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.ios-btn {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.ios-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.download-btn-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.download-btn-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.download-btn-sub {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.download-qrcode {
    display: flex;
    gap: 20px;
}

.qrcode-box {
    text-align: center;
}

.qrcode-placeholder {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 16px;
}

.qr-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
}

.qrcode-box p {
    font-size: 0.813rem;
    color: rgba(255,255,255,0.6);
}

/* 下载区手机模型 */
.download-phone {
    flex: 0 0 auto;
}

.phone-mockup-2 {
    animation: float 6s ease-in-out infinite;
    animation-delay: -3s;
}

.screen-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #ff5500 0%, #ff8c5a 100%) !important;
    padding: 40px 20px !important;
}

.screen-2-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.screen-2-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.screen-2-slogan {
    color: rgba(255,255,255,0.9);
    font-size: 0.938rem;
    margin-bottom: 30px;
}

.screen-2-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.s2-feature {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 12px;
    color: #fff;
    font-size: 0.813rem;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(4px);
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: #111127;
    padding: 60px 0 0;
    color: rgba(255,255,255,0.7);
}

.footer-content {
    display: flex;
    gap: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    flex: 0 0 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.footer-logo .logo-img {
    width: 32px;
    height: 32px;
}

.footer-slogan {
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.footer-about {
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex: 1;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col li {
    font-size: 0.875rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.813rem;
    color: rgba(255,255,255,0.4);
}

/* ========================================
   回到顶部
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    border: none;
    cursor: pointer;
    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: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255,85,0,0.35);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   动画
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* 淡入观察 */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .merchant-content {
        flex-direction: column;
    }

    .merchant-steps {
        flex: auto;
        width: 100%;
    }

    .download-content {
        flex-direction: column;
        text-align: center;
    }

    .download-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .download-buttons {
        justify-content: center;
    }

    .download-qrcode {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-brand {
        flex: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 72px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
        border-radius: 30px;
    }

    .phone-notch {
        width: 100px;
        height: 24px;
    }

    .phone-screen {
        border-radius: 22px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .merchant-advantages {
        grid-template-columns: 1fr;
    }

    .download-title {
        font-size: 1.75rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .merchant-steps {
        padding: 24px;
    }

    .steps-list {
        align-items: flex-start;
    }
}
