* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E7D32;
    --primary-light: #4CAF50;
    --primary-dark: #1B5E20;
    --secondary-color: #FF8F00;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #F1F3F4;
    --border-color: #E0E0E0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.header {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.nav {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav a {
    padding: 10px 18px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
    background-color: rgba(46, 125, 50, 0.08);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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 {
    background: linear-gradient(135deg, #E8F5E9 0%, #FFFFFF 50%, #FFF8E1 100%);
    padding: 80px 0;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* 纯文字版Hero：单列表居中 */
.hero-text-only {
    padding: 100px 0 110px;
}
.hero-text-only .container {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 900px;
}
.hero-content-center {
    max-width: 820px;
    margin: 0 auto;
}
.hero-content-center h1 {
    font-size: 48px;
}
.hero-content-center .subtitle {
    font-size: 19px;
}
.hero-content-center .hero-buttons {
    justify-content: center;
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content .subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual {
    width: 380px;
    height: 760px;
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    border-radius: 44px;
    box-shadow: var(--shadow-lg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #1B5E20;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 30px;
    background-color: #1B5E20;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.hero-visual-inner {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    background-color: #F5F6F8;
    border-radius: 36px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* ===== 状态栏 ===== */
.app-status-bar {
    height: 44px;
    background-color: #1B5E20;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 22px 4px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}
.app-status-bar .status-time {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.app-status-bar .status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

/* ===== 顶部搜索区 ===== */
.app-top-bar {
    background-color: #2E7D32;
    padding: 8px 14px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.app-menu-btn {
    width: 28px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}
.app-menu-btn span {
    display: block;
    width: 16px;
    height: 1.5px;
    background-color: white;
    border-radius: 1px;
}
.app-search-box {
    flex: 1;
    height: 38px;
    background-color: #FFFFFF;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
}
.app-search-box .search-icon {
    color: #999;
    font-size: 14px;
    flex-shrink: 0;
}
.app-search-box .search-text {
    color: #999;
    font-size: 13px;
    flex: 1;
}
.app-right-icons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.app-right-icons .app-icon {
    width: 26px;
    height: 26px;
    border: 1.5px solid rgba(255,255,255,0.9);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    position: relative;
}
.app-right-icons .app-icon.qr::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 5px; height: 5px;
    border-top: 1.5px solid rgba(255,255,255,0.9);
    border-left: 1.5px solid rgba(255,255,255,0.9);
}
.app-right-icons .app-icon.qr::before {
    content: '';
    position: absolute;
    bottom: 3px; right: 3px;
    width: 5px; height: 5px;
    border-bottom: 1.5px solid rgba(255,255,255,0.9);
    border-right: 1.5px solid rgba(255,255,255,0.9);
}
.app-right-icons .app-icon.four::before {
    content: '';
    position: absolute;
    width: 8px; height: 8px;
    border: 1.5px solid rgba(255,255,255,0.9);
    border-radius: 2px;
    top: 5px; left: 5px;
    box-shadow: 9px 0 0 -0.5px rgba(255,255,255,0.9),
                0 9px 0 -0.5px rgba(255,255,255,0.9),
                9px 9px 0 -0.5px rgba(255,255,255,0.9);
}

/* ===== 分类 Tab ===== */
.app-cat-tabs {
    background-color: #4CAF50;
    display: flex;
    padding: 0 10px;
    flex-shrink: 0;
}
.app-cat-tab {
    padding: 12px 16px 10px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    position: relative;
}
.app-cat-tab.active {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
}
.app-cat-tab.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
}

/* ===== 滚动内容 ===== */
.app-scroll {
    flex: 1;
    overflow-y: auto;
    background-color: #F5F6F8;
    padding-bottom: 60px;
}
.app-scroll::-webkit-scrollbar { display: none; }

/* ===== Banner 轮播 ===== */
.app-banner-wrap {
    padding: 10px 12px 0;
    position: relative;
}
.app-banner {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background: linear-gradient(90deg, #A5D6A7 0%, #81C784 40%, #FFA726 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.app-banner-bg {
    position: absolute;
    right: -20px;
    top: -10px;
    width: 62%;
    height: 120%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,193,7,0.95) 0%, rgba(255,152,0,0.8) 40%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(255,167,38,0.7) 0%, transparent 50%);
    clip-path: ellipse(80% 90% at 70% 50%);
}
.app-banner-oranges {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 58%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.app-orange {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #FFE082, #FFB74D 40%, #FB8C00 80%);
    box-shadow: inset -4px -5px 10px rgba(0,0,0,0.18), 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}
.app-orange::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 5px;
    background-color: #5D4037;
    border-radius: 50%;
}
.app-orange.o1 { position: absolute; top: 8%; right: 18%; width: 50px; height: 50px; }
.app-orange.o2 { position: absolute; top: 18%; right: -5%; width: 60px; height: 60px; }
.app-orange.o3 { position: absolute; top: 50%; right: 10%; width: 58px; height: 58px; }
.app-orange.o4 { position: absolute; bottom: 0%; right: 20%; width: 48px; height: 48px; }
.app-orange.o5 { position: absolute; bottom: 12%; right: -6%; width: 56px; height: 56px; }

.app-banner-brand {
    position: absolute;
    top: 12px; left: 12px;
    background-color: rgba(255,255,255,0.95);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 700;
    color: #1B5E20;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
}
.app-banner-brand::before {
    content: '';
    display: inline-block;
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 7px solid #FFC107;
    margin-right: 2px;
}
.app-banner-brand span.brand-name {
    color: #2E7D32;
    font-weight: 900;
}
.app-banner-brand span.product-name {
    color: #1565C0;
    font-weight: 900;
}

.app-banner-text-box {
    position: absolute;
    left: 14px;
    top: 48px;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 10px 14px 12px;
    width: 52%;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2.5px solid #FDD835;
    outline: 1.5px solid #F9A825;
    transform: rotate(-1deg);
}
.app-banner-title {
    font-size: 18px;
    font-weight: 900;
    color: #D32F2F;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-shadow: 1px 1px 0 rgba(253,216,53,0.5);
}
.app-banner-sub {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}
.app-banner-sub div {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    background-color: #FFF9C4;
    color: #E65100;
    border: 1px solid #FFD54F;
}
.app-banner-footer {
    display: flex;
    justify-content: space-between;
}
.app-banner-footer-footer-1 {
    font-size: 13px;
    font-weight: 900;
    color: #C62828;
}
.app-banner-footer-left {
    font-size: 13px;
    font-weight: 800;
    color: #E53935;
}
.app-banner-footer-footer-right {
    font-size: 13px;
    font-weight: 800;
    color: #2E7D32;
}

.app-banner-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
}
.app-banner-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #E0E0E0;
}
.app-banner-dots span.on {
    width: 16px;
    border-radius: 3px;
    background-color: #4CAF50;
}

/* ===== 限时抢购 ===== */
.flash-sale {
    margin-top: 26px;
    padding: 0 12px;
}
.flash-sale-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.flash-sale-title {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.flash-sale-title .fs-main {
    font-size: 16px;
    font-weight: 800;
    color: #D84315;
    letter-spacing: 1px;
}
.flash-sale-title .fs-time {
    font-size: 11px;
    color: #666;
}
.flash-sale-more {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 3px;
}
.flash-sale-products {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.flash-sale-products::-webkit-scrollbar { display: none; }
.fs-product {
    flex: 0 0 calc(33.333% - 7px);
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}
.fs-product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}
.fs-product-p1 {
    background: linear-gradient(180deg, #1B5E20 0%, #2E7D32 30%, #FFFFFF 70%, #F9FBE7 100%);
    position: relative;
}
.fs-product-p1::before {
    content: '';
    position: absolute;
    top: 10px; left: 8px;
    width: 65%; height: 32%;
    background-color: #2E7D32;
    border-radius: 4px;
    border: 1.5px solid #FFFFFF;
}
.fs-product-p1::after {
    content: '';
    position: absolute;
    bottom: 8px; left: 50%;
    transform: translateX(-50%);
    width: 78%; height: 48%;
    background: linear-gradient(180deg, #E8F5E9, #FFFFFF);
    border-radius: 6px;
    border: 1px solid #C8E6C9;
}
.fs-product-p1-elephant {
    position: absolute;
    right: 8px; bottom: 22px;
    width: 32px; height: 30px;
    z-index: 2;
    background: radial-gradient(ellipse at center, #4FC3F7 0%, #0288D1 100%);
    border-radius: 50% 50% 40% 40% / 55% 55% 45% 45%;
}
.fs-product-p1-elephant::before {
    content: '';
    position: absolute;
    top: 2px; left: 4px;
    width: 7px; height: 7px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 14px 0 0 white;
}
.fs-product-p1-elephant::after {
    content: '';
    position: absolute;
    bottom: -4px; left: -6px;
    width: 8px; height: 22px;
    background-color: #0288D1;
    border-radius: 0 0 4px 4px;
    transform: rotate(-20deg);
}
.fs-product-p2 {
    background: radial-gradient(circle at 50% 50%, #000000 0%, #1A1A1A 70%, #2E2E2E 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.fs-product-p2-bottle {
    width: 24px;
    height: 56px;
    background: linear-gradient(180deg, #1A237E 0%, #0D47A1 40%, #1565C0 100%);
    border-radius: 4px 4px 6px 6px;
    position: relative;
}
.fs-product-p2-bottle::before {
    content: '';
    position: absolute;
    top: -6px; left: 50%;
    transform: translateX(-50%);
    width: 14px; height: 6px;
    background-color: #424242;
    border-radius: 2px;
}
.fs-product-p2-bottle::after {
    content: '';
    position: absolute;
    top: 8px; left: 4px; right: 4px;
    height: 14px;
    background-color: rgba(255,255,255,0.85);
    border-radius: 2px;
}
.fs-product-p2-bottle.middle {
    width: 28px; height: 64px;
    z-index: 2;
    box-shadow: 0 0 12px rgba(79,195,247,0.4);
}
.fs-product-p3 {
    background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 50%, #AB47BC 100%);
    position: relative;
}
.fs-product-p3::before {
    content: '';
    position: absolute;
    right: 8px; top: 8px;
    width: 60%; height: 70%;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.25), transparent 60%);
    border-radius: 50%;
}
.fs-product-p3-bottle {
    position: absolute;
    left: 14px; bottom: 8px;
    width: 22px; height: 50px;
    background: linear-gradient(180deg, #D32F2F 0%, #F44336 40%, #FFFFFF 70%, #ECEFF1 100%);
    border-radius: 3px 3px 4px 4px;
    z-index: 2;
}
.fs-product-p3-bottle::before {
    content: '';
    position: absolute;
    top: -4px; left: 50%;
    transform: translateX(-50%);
    width: 12px; height: 4px;
    background-color: #F44336;
    border-radius: 1px;
}
.fs-product-p3-bottle::after {
    content: '';
    position: absolute;
    top: 14px; left: 3px; right: 3px;
    height: 10px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 1px;
}
.fs-product-p3-elephant {
    position: absolute;
    right: 6px; bottom: 6px;
    width: 26px; height: 24px;
    z-index: 2;
    background: radial-gradient(ellipse at center, #64B5F6 0%, #1976D2 100%);
    border-radius: 50% 50% 40% 40% / 55% 55% 45% 45%;
}
.fs-product-footer {
    padding: 6px 8px 8px;
    background-color: white;
}
.fs-product-name {
    font-size: 12px;
    color: #222;
    font-weight: 500;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fs-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fs-product-price {
    font-size: 14px;
    color: #D32F2F;
    font-weight: 800;
}
.fs-product-tag {
    width: 18px;
    height: 18px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===== 精选 4Tab ===== */
.home-four-tabs {
    margin-top: 18px;
    background-color: #FFFFFF;
    padding: 12px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.home-four-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.home-four-tab-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
}
.home-four-tab-item:nth-child(1) .home-four-tab-icon {
    background: linear-gradient(135deg, #81C784, #388E3C);
    color: white;
}
.home-four-tab-item:nth-child(2) .home-four-tab-icon {
    background: linear-gradient(135deg, #FFB74D, #F57C00);
    color: white;
}
.home-four-tab-item:nth-child(3) .home-four-tab-icon {
    background: linear-gradient(135deg, #64B5F6, #1976D2);
    color: white;
}
.home-four-tab-item:nth-child(4) .home-four-tab-icon {
    background: linear-gradient(135deg, #BA68C8, #7B1FA2);
    color: white;
}
.home-four-tab-title {
    font-size: 13px;
    color: #222;
    font-weight: 600;
}
.home-four-tab-sub {
    font-size: 10px;
    color: #999;
}

/* ===== 横向推荐条 ===== */
.reco-stripe {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 10px;
    gap: 8px;
}
.reco-stripe-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
}
.reco-stripe-img {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #000000, #212121);
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 700;
}
.reco-stripe-img.second {
    background: linear-gradient(135deg, #FFFFFF, #F1F8E9);
    color: #4CAF50;
    border: 1px solid #C8E6C9;
}
.reco-stripe-text {
    flex: 1;
    overflow: hidden;
}
.reco-stripe-text .rst-name {
    font-size: 12px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.reco-stripe-text .rst-desc {
    font-size: 10px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== 底部 Tab 导航 ===== */
.app-bottom-nav {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 56px;
    background-color: #FFFFFF;
    border-top: 1px solid #EEEEEE;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    z-index: 5;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
}
.app-bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #999;
    font-size: 10px;
    position: relative;
}
.app-bn-item.active {
    color: #2E7D32;
}
.app-bn-item-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.app-bn-item.home .app-bn-item-icon::before {
    content: '';
    width: 14px; height: 14px;
    border: 2px solid currentColor;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    position: relative;
}
.app-bn-item.home .app-bn-item-icon::after {
    content: '';
    position: absolute;
    top: 2px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    background-color: transparent;
}
.app-bn-item.shop .app-bn-item-icon {
    width: 34px;
    height: 34px;
    background-color: #2E7D32;
    border-radius: 50%;
    color: white;
    margin-top: -12px;
    box-shadow: 0 2px 8px rgba(46,125,50,0.4);
}
.app-bn-item.shop .app-bn-item-icon::before {
    content: '';
    width: 16px; height: 14px;
    border: 2px solid currentColor;
    border-radius: 0 0 4px 4px;
    border-top: none;
    position: relative;
}
.app-bn-item.shop .app-bn-item-icon::after {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 10px; height: 7px;
    border: 2px solid currentColor;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}
.app-bn-item.me .app-bn-item-icon::before {
    content: '';
    width: 14px; height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
}
.app-bn-item.me .app-bn-item-icon::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 10px;
    border: 2px solid currentColor;
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}
.app-bn-text { font-size: 10px; font-weight: 600; }
.app-bn-item.shop .app-bn-text { color: #2E7D32; font-weight: 700; }
.app-bn-item.active .app-bn-text { color: #2E7D32; font-weight: 700; }

@media (max-width: 768px) {
    .hero-visual {
        width: 300px;
        height: 600px;
    }
    .app-status-bar { height: 36px; padding-bottom: 2px; }
    .app-cat-tab { padding: 10px 12px 8px; font-size: 13px; }
    .app-cat-tab.active { font-size: 14px; }
    .app-search-box { height: 34px; }
    .app-banner-text-box { padding: 8px 10px; width: 55%; top: 44px; left: 10px; }
    .app-banner-title { font-size: 15px; }
    .fs-product-footer { padding: 5px 6px 7px; }
    .fs-product-name { font-size: 11px; }
    .fs-product-price { font-size: 13px; }
}


.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-title p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 36px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(76, 175, 80, 0.15));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-screenshot {
    display: flex;
    justify-content: center;
}

.screenshot-frame {
    width: 320px;
    height: 640px;
    background-color: #fff;
    border-radius: 36px;
    box-shadow: var(--shadow-lg);
    padding: 16px;
    border: 12px solid #333;
}

.screenshot-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #fff 100%);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.screenshot-header {
    height: 50px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.screenshot-body {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.screenshot-item {
    height: 70px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.screenshot-item-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary-light), #A5D6A7);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.screenshot-item-text {
    flex: 1;
}

.screenshot-item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.screenshot-item-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.app-feature-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background-color: white;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: all 0.2s ease;
}

.app-feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.app-feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.app-feature-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.app-feature-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
}

.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    box-shadow: var(--shadow-md);
}

.info-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.info-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
    margin-top: 28px;
}

.info-list li {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-list li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 17px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 60px 0 80px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
}

.about-section p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background-color: white;
    padding: 32px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(76, 175, 80, 0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.contact-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

.product-overview {
    margin-bottom: 60px;
}

.product-overview p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}

.product-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.module-card {
    background-color: white;
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.module-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 22px;
}

.module-1 .module-icon {
    background: linear-gradient(135deg, #E8F5E9, #A5D6A7);
    color: var(--primary-color);
}

.module-2 .module-icon {
    background: linear-gradient(135deg, #FFF3E0, #FFCC80);
    color: var(--secondary-color);
}

.module-3 .module-icon {
    background: linear-gradient(135deg, #E3F2FD, #90CAF9);
    color: #1976D2;
}

.module-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.module-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.module-features {
    list-style: none;
}

.module-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.module-features li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.download-section {
    background-color: var(--bg-secondary);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
}

.download-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.download-section p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.document-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.document-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.document-header h1 {
    font-size: 30px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.document-header .update-date {
    font-size: 14px;
    color: var(--text-light);
}

.document-content h2 {
    font-size: 20px;
    margin: 32px 0 16px;
    color: var(--text-primary);
    padding-left: 14px;
    border-left: 4px solid var(--primary-color);
}

.document-content h3 {
    font-size: 17px;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

.document-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 14px;
}

.document-content ul,
.document-content ol {
    margin: 12px 0 20px 24px;
}

.document-content li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 8px;
}

.document-content strong {
    color: var(--text-primary);
}

.footer {
    background-color: #263238;
    color: #B0BEC5;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-brand h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: #90A4AE;
    margin-bottom: 16px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    padding: 6px 0;
    font-size: 14px;
    color: #90A4AE;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    padding: 8px 0;
}

.footer-links a {
    color: #90A4AE;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid #37474F;
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #78909C;
    margin-bottom: 6px;
}

.footer-bottom a {
    color: #78909C;
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 999;
    font-size: 20px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .app-showcase {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .info-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-modules {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav a {
        display: block;
        padding: 14px 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content .subtitle {
        font-size: 16px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .document-container {
        padding: 30px 20px;
    }

    .document-header h1 {
        font-size: 24px;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 35px;
    }

    .stat-number {
        font-size: 34px;
    }

    .download-section {
        padding: 40px 24px;
    }

    .hero-visual {
        width: 300px;
        height: 600px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .product-modules {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .download-buttons {
        flex-direction: column;
    }

    .app-feature-item {
        flex-direction: column;
        gap: 14px;
    }
}
