:root {
    --primary-green: #1b5e20;
    --forest-green: #2e7d32;
    --sage-green: #4caf50;
    --mint-green: #66bb6a;
    --pale-green: #81c784;
    --light-green: #a5d6a7;
    --cream-green: #f1f8e9;
    --bloom-green: #c8e6c9;

    --accent-moss: #689f38;
    --accent-olive: #558b2f;
    --accent-lime: #8bc34a;

    --text-primary: #1b5e20;
    --text-secondary: #2e7d32;
    --text-light: #4caf50;
    --text-muted: #66bb6a;

    --bg-primary: #ffffff;
    --bg-secondary: #f1f8e9;
    --bg-soft: #f9fbe7;
    --bg-glass: rgba(255, 255, 255, 0.85);

    --shadow-nature: 0 8px 32px rgba(27, 94, 32, 0.12);
    --shadow-soft: 0 4px 20px rgba(27, 94, 32, 0.08);
    --shadow-glow: 0 0 40px rgba(76, 175, 80, 0.15);
    --shadow-strong: 0 16px 48px rgba(27, 94, 32, 0.18);

    --gradient-forest: linear-gradient(135deg, var(--primary-green) 0%, var(--forest-green) 50%, var(--sage-green) 100%);
    --gradient-mint: linear-gradient(135deg, var(--mint-green) 0%, var(--pale-green) 100%);
    --gradient-organic: linear-gradient(45deg, var(--cream-green) 0%, var(--bloom-green) 50%, var(--light-green) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(241, 248, 233, 0.95) 0%, rgba(200, 230, 201, 0.9) 50%, rgba(165, 214, 167, 0.95) 100%);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-flow: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-elastic: all 0.6s cubic-bezier(0.68, -0.25, 0.265, 1.25);

    --border-radius-organic: 30px;
    --border-radius-soft: 20px;
    --border-radius-pill: 50px;
    --border-radius-card: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif SC', serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Enhanced Organic Background Elements */
.nature-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(129, 199, 132, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(104, 159, 56, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 45% 85%, rgba(139, 195, 74, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(76, 175, 80, 0.08) 0%, transparent 55%);
}










.organic-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.12;
}

.organic-shapes::before,
.organic-shapes::after,
.organic-shapes .shape-1,
.organic-shapes .shape-2 {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: organic-float 25s ease-in-out infinite;
}

.organic-shapes::before {
    width: 700px;
    height: 700px;
    background: var(--mint-green);
    top: -250px;
    right: -250px;
    animation-delay: 0s;
}

.organic-shapes::after {
    width: 900px;
    height: 900px;
    background: var(--pale-green);
    bottom: -350px;
    left: -350px;
    animation-delay: 8s;
}

.organic-shapes .shape-1 {
    width: 600px;
    height: 600px;
    background: var(--light-green);
    top: 50%;
    left: -200px;
    animation-delay: 16s;
}

.organic-shapes .shape-2 {
    width: 500px;
    height: 500px;
    background: var(--bloom-green);
    bottom: 20%;
    right: -150px;
    animation-delay: 24s;
}

@keyframes organic-float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.12;
    }
    25% {
        transform: translate(40px, -30px) scale(1.08) rotate(90deg);
        opacity: 0.18;
    }
    50% {
        transform: translate(-30px, 40px) scale(0.95) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translate(20px, 20px) scale(1.05) rotate(270deg);
        opacity: 0.2;
    }
}

/* 导航栏占位页面 */
.nav-spacer {
    width: 100%;
    height: 150px;
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Enhanced Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(129, 199, 132, 0.15);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-green);
    transition: var(--transition-smooth);
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.brand-logo {
    width: 45px;
    height: 45px;
    animation: brand-pulse 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(27, 94, 32, 0.2));
}

@keyframes brand-pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 4px 8px rgba(27, 94, 32, 0.2));
    }
    50% {
        transform: scale(1.05) rotate(5deg);
        filter: drop-shadow(0 6px 12px rgba(27, 94, 32, 0.3));
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition-flow);
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-mint);
    border-radius: 3px;
    transition: var(--transition-elastic);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
    transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover::after {
    width: 40px;
    height: 40px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: var(--transition-smooth);
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-green);
    margin: 4px 0;
    transition: var(--transition-bounce);
    border-radius: 3px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Enhanced Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(241, 248, 233, 0.92) 0%,
        rgba(200, 230, 201, 0.85) 50%,
        rgba(165, 214, 167, 0.92) 100%);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    opacity: 0.6;
    filter: drop-shadow(0 4px 8px rgba(27, 94, 32, 0.1));
}

/* 四片巨大叶子样式 */
#giant-leaves-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.giant-leaf {
    position: absolute;
    bottom: -400px;
    left: 50%;
    transform-origin: bottom center;
    opacity: 0;
    filter: drop-shadow(0 20px 40px rgba(27, 94, 32, 0.25));
    animation: unified-leaf-rotation 4s ease-out forwards;
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* 统一的叶子配置和CSS变量 */
.leaf-left {
    width: 240px;
    height: 480px;
    z-index: 3;
    --start-angle: 90deg;
    --y-offset: 0px;
}

.leaf-center-1 {
    width: 360px;
    height: 720px;
    z-index: 6;
    --start-angle: 130deg;
    --y-offset: -12px;
}

.leaf-center-2 {
    width: 360px;
    height: 720px;
    z-index: 5;
    --start-angle: 170deg;
    --y-offset: -24px;
}

.leaf-right {
    width: 240px;
    height: 480px;
    z-index: 4;
    --start-angle: 220deg;
    --y-offset: -36px;
}


/* 统一的高性能旋转动画 - 所有叶子一起旋转180° */
@keyframes unified-leaf-rotation {
    0% {
        opacity: 0;
        bottom: -400px;
        transform: translateX(-50%) translateY(var(--y-offset, 0px)) rotate(var(--start-angle)) scale(0.8);
    }
    100% {
        opacity: 0.85;
        bottom: 15%;
        transform: translateX(-50%) translateY(var(--y-offset, 0px)) rotate(calc(var(--start-angle) + 180deg)) scale(1);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .leaf-left, .leaf-right {
        width: 160px;
        height: 320px;
    }
    .leaf-center-1, .leaf-center-2 {
        width: 240px;
        height: 480px;
    }
}

@media (max-width: 480px) {
    .leaf-left, .leaf-right {
        width: 120px;
        height: 240px;
    }
    .leaf-center-1, .leaf-center-2 {
        width: 180px;
        height: 360px;
    }
}



.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 2rem;
}

.hero-text {
    animation: hero-text-appear 1.2s ease-out;
}

@keyframes hero-text-appear {
    from {
        opacity: 0;
        transform: translateY(50px) translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

.hero-title {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 4.2rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.title-line {
    display: block;
    opacity: 0;
    animation: title-line-reveal 0.8s ease-out forwards;
    transform: translateY(30px);
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes title-line-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: hero-text-appear 0.8s ease-out 0.6s forwards;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.hero-description {
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: hero-text-appear 0.8s ease-out 0.9s forwards;
}

.hero-description p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.9;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: hero-text-appear 0.8s ease-out 1.2s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: var(--border-radius-pill);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-elastic);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn:hover::after {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-forest);
    color: white;
    box-shadow: var(--shadow-nature);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: white;
    color: var(--primary-green);
    border: 2px solid var(--sage-green);
}

.btn-secondary:hover {
    background: var(--cream-green);
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-nature);
    border-color: var(--forest-green);
}

.btn-icon {
    transition: var(--transition-smooth);
}

.btn:hover .btn-icon {
    transform: scale(1.2) rotate(5deg);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: hero-visual-float 6s ease-in-out infinite;
}

@keyframes hero-visual-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(2deg); }
}

.phone-mockup {
    position: relative;
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--gradient-forest);
    border-radius: 40px;
    padding: 8px;
    box-shadow:
        0 0 80px rgba(27, 94, 32, 0.25),
        0 25px 70px rgba(27, 94, 32, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.15),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    position: relative;
    transform-style: preserve-3d;
    transition: var(--transition-elastic);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.phone-frame::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(27, 94, 32, 0.05) 100%);
}

.app-preview {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.app-icon {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 30px;
    animation: app-icon-breathe 3s ease-in-out infinite;
    filter: drop-shadow(0 6px 12px rgba(27, 94, 32, 0.2));
}

@keyframes app-icon-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.app-name {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.app-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    animation: scroll-indicator-bounce 2s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 3px solid var(--sage-green);
    border-bottom: 3px solid var(--sage-green);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: arrow-down 1.5s ease-in-out infinite;
}

@keyframes scroll-indicator-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-12px);
    }
    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

@keyframes arrow-down {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Enhanced Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 3.2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-mint);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Enhanced Features Section */
.features-section {
    padding: 8rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-green), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-card);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-elastic);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(129, 199, 132, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    transform: rotate(45deg);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: var(--mint-green);
}

.feature-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.feature-icon {
    position: relative;
    z-index: 2;
    top: 18px;
    filter: drop-shadow(0 4px 8px rgba(27, 94, 32, 0.15));
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(27, 94, 32, 0.25));
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mint);
    border-radius: 50%;
    opacity: 0.15;
    animation: icon-pulse 4s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.25;
    }
}

.feature-title {
    font-size: 1.6rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    padding: 0.6rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    background: var(--accent-lime);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.2);
}

.feature-card:hover .feature-list li::before {
    background: var(--sage-green);
    box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.15);
}

/* Enhanced Sounds Showcase */
.sounds-showcase {
    padding: 8rem 0;
    background: var(--bg-soft);
    position: relative;
}

.sounds-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: var(--border-radius-soft);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-elastic);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(129, 199, 132, 0.05) 0%, rgba(76, 175, 80, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-mint);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: left;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover::after {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--shadow-strong);
    border-color: var(--light-green);
}

.category-visual {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.category-icon {
    transition: var(--transition-elastic);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    position: relative;
    top: 16px;
}

.category-card:hover .category-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
}

.sound-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
}

.sound-waves span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-lime);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: sound-wave-expand 2s infinite;
}

.sound-waves span:nth-child(2) {
    animation-delay: 0.6s;
}

.sound-waves span:nth-child(3) {
    animation-delay: 1.2s;
}

.category-card:hover .sound-waves span {
    animation-play-state: running;
}

@keyframes sound-wave-expand {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
        border-color: var(--sage-green);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
        border-color: var(--mint-green);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
        border-color: var(--light-green);
    }
}

.category-title {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.category-desc {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.category-count {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--cream-green);
    color: var(--accent-olive);
    border-radius: var(--border-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(104, 159, 56, 0.2);
    transition: var(--transition-smooth);
}

.category-card:hover .category-count {
    background: var(--light-green);
    color: white;
    transform: scale(1.05);
}

/* Enhanced Treehole Showcase */
.treehole-showcase {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.treehole-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.treehole-visual {
    position: relative;
}

.treehole-interface {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-soft);
    padding: 2.5rem;
    box-shadow: var(--shadow-nature);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(129, 199, 132, 0.2);
    transition: var(--transition-smooth);
}

.treehole-interface:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.interface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mood-selector {
    cursor: pointer;
    transition: var(--transition-bounce);
}

.mood-selector:hover {
    transform: scale(1.1) rotate(10deg);
}

.mood-selector:active {
    transform: scale(0.95) rotate(-5deg);
}

.anonymous-badge {
    padding: 0.4rem 1.2rem;
    background: var(--light-green);
    color: white;
    border-radius: var(--border-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.interface-content {
    margin-bottom: 2rem;
}

.demo-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-primary);
    font-style: italic;
    position: relative;
    padding-left: 1rem;
}

.demo-text::before {
    content: '"';
    position: absolute;
    left: -0.5rem;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--light-green);
    opacity: 0.5;
    font-family: 'Ma Shan Zheng', cursive;
}

.interface-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.like-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-pill);
    background: rgba(129, 199, 132, 0.1);
}

.like-count:hover {
    color: var(--sage-green);
    transform: scale(1.05);
    background: rgba(129, 199, 132, 0.2);
}

.like-count svg {
    transition: var(--transition-smooth);
}

.like-count:hover svg {
    transform: scale(1.2);
}

.floating-hearts {
    position: absolute;
    top: -20px;
    right: -30px;
    z-index: 1;
}

.heart {
    position: absolute;
    opacity: 0.6;
    animation: heart-float-random 5s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.2));
}

.heart:nth-child(2) {
    left: 20px;
    animation-delay: 1.5s;
    animation-duration: 4s;
}

.heart:nth-child(3) {
    left: 40px;
    animation-delay: 3s;
    animation-duration: 6s;
}

@keyframes heart-float-random {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-25px) rotate(15deg) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px) rotate(-10deg) scale(0.95);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-30px) rotate(8deg) scale(1.05);
        opacity: 0.9;
    }
}

.treehole-features h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.feature-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.point {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.8rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-soft);
    transition: var(--transition-elastic);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.point::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(129, 199, 132, 0.1), transparent);
    transition: left 0.6s;
}

.point:hover::before {
    left: 100%;
}

.point:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: var(--shadow-nature);
    border-color: var(--light-green);
}

.point-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-green);
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.1);
}

.point:hover .point-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--light-green);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.15);
}

.point-icon svg {
    transition: var(--transition-smooth);
}

.point:hover .point-icon svg {
    transform: scale(1.1);
}

.point-content h4 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.point-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Enhanced Download Section */
.download-section {
    padding: 8rem 0;
    background: var(--gradient-organic);
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(76, 175, 80, 0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.download-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.app-features {
    flex: 0 1 auto;
    max-width: 60%;
}

.download-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 0 0 auto;
    align-items: flex-end;
    justify-content: flex-start;
    width: 400px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-elastic);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    width: 400px;
    min-height: 200px;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(129, 199, 132, 0.05) 0%, rgba(76, 175, 80, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card:hover::before {
    opacity: 1;
}

.download-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-nature);
    text-decoration: none;
    color: var(--text-primary);
}

.download-card.ios:hover {
    border-color: var(--accent-moss);
}

.download-card.android:hover {
    border-color: var(--accent-olive);
}

.download-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-soft);
    padding: 0.5rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.download-card:hover .download-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.download-card-content {
    flex: 1;
}

.download-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.download-card-desc {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}


.download-card-arrow {
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.download-card:hover .download-card-arrow {
    color: var(--primary-green);
    transform: translateX(5px);
}

.app-features h3 {
    font-size: 1.6rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.app-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.app-features li {
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
    transition: var(--transition-smooth);
}

.app-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 16px;
    height: 16px;
    background: var(--accent-lime);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.app-features li:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}





/* Enhanced Footer */
.footer {
    background: var(--gradient-forest);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="leaves" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 5C10 5 7 8 7 12C7 15 9 17 10 20C11 17 13 15 13 12C13 8 10 5 10 5Z" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23leaves)"/></svg>');
    opacity: 0.1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-brand {
    text-align: center;
}

.brand-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    animation: footer-logo-sway 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

@keyframes footer-logo-sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.brand-name {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-tagline {
    color: var(--light-green);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    margin-bottom: 1.2rem;
    color: var(--light-green);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 0.8rem;
}

.link-group a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    position: relative;
    display: inline-block;
}

.link-group a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-green);
    transition: var(--transition-smooth);
}

.link-group a:hover {
    color: var(--light-green);
    transform: translateX(3px);
}

.link-group a:hover::before {
    width: 100%;
}

.footer-contact {
    text-align: center;
}

.footer-contact h4 {
    margin-bottom: 1.5rem;
    color: var(--light-green);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-elastic);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.social-link:hover {
    background: var(--light-green);
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--light-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 2;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .treehole-demo {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .download-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* 导航栏占位页面 - 平板端 */
    .nav-spacer {
        height: 130px;
    }

    /* 导航栏移动端优化 */
    .nav {
        padding: 0.5rem 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-nature);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        gap: 2rem;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        text-align: center;
        width: 100%;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Hero区域移动端优化 */
    .hero {
        min-height: 90vh;
        padding: 120px 0 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .hero-description p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
        justify-content: center;
    }

    /* 手机模型优化 */
    .phone-frame {
        width: 220px;
        height: 440px;
    }

    .app-icon {
        width: 120px;
        height: 120px;
    }

    .app-name {
        font-size: 1.8rem;
    }

    /* 功能区域优化 */
    .features-section,
    .sounds-showcase,
    .treehole-showcase,
    .download-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .sounds-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* 优化核心功能卡片在移动端的显示 - 保持与桌面端相同的三列布局 */
    .features-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }

    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
        margin: 0;
        flex-shrink: 0;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        top: 6px;
    }

    .icon-bg {
        width: 60px;
        height: 60px;
    }

    .feature-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .feature-description {
        display: none;
    }

    .feature-list {
        display: none;
    }

    .feature-card,
    .category-card {
        padding: 2rem 1.5rem;
    }

    /* 树洞区域优化 */
    .treehole-demo {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .treehole-interface {
        padding: 2rem 1.5rem;
    }

    .feature-points {
        gap: 1rem;
    }

    .point {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* 下载区域优化 - 修复主要问题 */
    .download-content {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }

    .app-features {
        max-width: 100%;
        order: 2;
    }

    .download-cards {
        width: 100%;
        max-width: 100%;
        order: 1;
        align-items: center;
    }

    .download-card {
        width: 100%;
        max-width: 400px;
        padding: 1.8rem 1.5rem;
        min-height: auto;
    }

    .app-features h3 {
        font-size: 1.4rem;
        text-align: center;
    }

    .app-features ul {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .app-features li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }

    /* 页脚优化 */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .link-group {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* 导航栏占位页面 - 手机端 */
    .nav-spacer {
        height: 120px;
    }

    .container {
        padding: 0 1rem;
    }

    .nav {
        padding: 0.5rem 1rem;
    }

    .nav-brand {
        font-size: 1.6rem;
    }

    .brand-logo {
        width: 35px;
        height: 35px;
    }

    .hero {
        min-height: 85vh;
        padding: 120px 0 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .features-section,
    .sounds-showcase,
    .treehole-showcase,
    .download-section {
        padding: 3rem 0;
    }

    .category-card,
    .treehole-interface {
        padding: 1.5rem 1rem;
    }

    /* 超小屏幕核心功能卡片优化 */
    .feature-card {
        padding: 1.2rem 0.8rem;
        gap: 0.8rem;
    }

    .feature-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
        top: 5px;
    }

    .icon-bg {
        width: 50px;
        height: 50px;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-title,
    .category-title {
        font-size: 1.3rem;
    }

    .download-card {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .download-card-title {
        font-size: 1.2rem;
    }

    .download-card-desc {
        font-size: 0.9rem;
    }

    .phone-frame {
        width: 180px;
        height: 360px;
    }

    .app-icon {
        width: 100px;
        height: 100px;
    }

    .app-name {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .brand-logo {
        width: 80px;
        height: 80px;
    }

    .brand-name {
        font-size: 2rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    /* 移动端特定优化 */
    .scroll-indicator {
        display: none;
    }

    .organic-shapes,
    .nature-particles {
        opacity: 0.15;
    }

    /* 移动端滚动优化 */
    * {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    /* 移动端点击区域优化 */
    .nav-link,
    .btn,
    .download-card,
    .feature-card,
    .category-card,
    .social-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-link {
        min-height: 48px;
    }

    /* 移动端文本选择优化 */
    .hero-title,
    .section-title,
    .nav-brand {
        -webkit-user-select: none;
        user-select: none;
    }

    /* 移动端动画性能优化 */
    .hero-visual,
    .phone-mockup,
    .floating-hearts {
        transform: translateZ(0);
        backface-visibility: hidden;
        perspective: 1000px;
    }
}

/* 移动端核心功能卡片触摸反馈优化 */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .nav-link:hover,
    .download-card:hover,
    .category-card:hover,
    .social-link:hover {
        transform: none;
    }

    .feature-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: var(--shadow-strong);
        border-color: var(--mint-green);
    }

    .btn:active,
    .nav-link:active,
    .download-card:active,
    .feature-card:active,
    .category-card:active,
    .social-link:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }

    .btn:active {
        transform: scale(0.98);
    }

    .feature-card:active {
        transform: translateY(-4px) scale(1.01);
        box-shadow: var(--shadow-nature);
        background-color: var(--bg-soft);
    }

    /* 触摸反馈 */
    .download-card:active {
        background-color: var(--cream-green);
    }

    .category-card:active {
        background-color: var(--bg-soft);
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 120px 0 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    .btn {
        width: auto;
        min-width: 140px;
    }

    .phone-frame {
        width: 160px;
        height: 320px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .container {
        padding: 0 0.8rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .download-card {
        padding: 1.2rem 0.8rem;
        gap: 0.8rem;
    }

    .download-card-icon {
        width: 40px;
        height: 40px;
    }

    .brand-logo {
        width: 30px;
        height: 30px;
    }

    .nav-brand {
        font-size: 1.4rem;
    }
}

/* iOS Safari 特定优化 */
@supports (-webkit-touch-callout: none) {
    .header {
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
    }

    .nav-menu {
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
    }

    /* iOS Safari 视口高度修复 */
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Android Chrome 特定优化 */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
}

/* Enhanced Loading States */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Focus States */
.btn:focus,
.nav-link:focus,
.social-link:focus,
.download-btn:focus {
    outline: 2px solid var(--accent-lime);
    outline-offset: 2px;
}



/* Enhanced Print Styles */
@media print {
    .header,
    .scroll-indicator,
    .floating-elements,
    .organic-shapes,
    .nature-particles {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        page-break-inside: avoid;
    }
}