:root {
    /* Cartoon / Premium Color Palette */
    --bg-light: #FFFBF5;
    --text-primary: #332C27;
    --text-secondary: #7A6F66;
    --accent-orange: #FF8A00;
    --accent-yellow: #FFC000;
    --accent-pink: #FF6B6B;
    --card-bg: #FFFFFF;
    
    /* Layout */
    --max-width: 1200px;
}

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

body {
    font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 251, 245, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid rgba(255, 138, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-orange);
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-orange);
}

.nav-links .nav-btn {
    padding: 10px 24px;
    background: var(--accent-orange);
    border-radius: 100px;
    color: white;
    box-shadow: 0 4px 14px rgba(255, 138, 0, 0.4);
}

.nav-links .nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.5);
}

/* Typography Enhancements */
.highlight {
    color: var(--accent-orange);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    background: #FFF0E0;
    color: var(--accent-orange);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 24px;
    border: 2px solid rgba(255, 138, 0, 0.1);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 500;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

/* Jelly Button Animation */
.btn-jelly-wrapper {
    display: inline-block;
}

.btn-jelly-wrapper:hover .download-btn {
    animation: jelly 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes jelly {
    0% { transform: scale3d(1, 1, 1); }
    30% { transform: scale3d(1.05, 0.95, 1); }
    40% { transform: scale3d(0.95, 1.05, 1); }
    50% { transform: scale3d(1.05, 0.95, 1); }
    65% { transform: scale3d(0.98, 1.02, 1); }
    75% { transform: scale3d(1.02, 0.98, 1); }
    100% { transform: scale3d(1, 1, 1); }
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    width: 360px;
    cursor: not-allowed;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    border-radius: 24px;
    color: white;
    box-shadow: 0 10px 24px rgba(255, 138, 0, 0.3);
    border: 2px solid transparent;
}

.download-btn.outline {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--accent-orange);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.download-btn .icon {
    font-size: 2.2rem;
    margin-right: 16px;
    display: flex;
    align-items: center;
}

.icon-svg {
    width: 36px;
    height: 36px;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.platform {
    font-size: 1.2rem;
    font-weight: 800;
}

.download-btn.outline .status {
    color: var(--text-secondary);
}

.status {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-top: 2px;
}

.contact-note {
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
    font-weight: 700 !important;
}

/* Mockup */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob-morph 8s ease-in-out infinite;
    opacity: 0.15;
    z-index: 0;
}

@keyframes blob-morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.mockup {
    position: relative;
    width: 320px;
    height: 660px;
    border: 12px solid #1a1b1e;
    border-radius: 54px;
    background-color: #000;
    box-shadow: 
        0 0 0 2px #e0e3eb,
        0 30px 60px rgba(255, 138, 0, 0.2);
    z-index: 1;
    transform: rotate(2deg);
    transition: transform 0.4s ease;
}

/* Physical buttons */
.mockup::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 130px;
    width: 2px;
    height: 30px;
    background: #e0e3eb;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 60px 0 #e0e3eb, 0 120px 0 #e0e3eb;
}
.mockup::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 170px;
    width: 2px;
    height: 70px;
    background: #e0e3eb;
    border-radius: 0 2px 2px 0;
}

.mockup:hover {
    transform: rotate(0deg) translateY(-10px);
}

.mockup-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 42px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 0 0 2px #000;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Features */
.features {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 80px;
    line-height: 1.3;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    border: 2px solid rgba(255, 138, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(255, 138, 0, 0.1);
    border-color: rgba(255, 138, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.feature-svg {
    width: 40px;
    height: 40px;
}

.bg-yellow { background: #FFF4D6; }
.bg-orange { background: #FFE8D6; }
.bg-pink { background: #FFE0E0; }

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Legal Pages */
.legal-page {
    padding: 160px 0 100px;
}

.legal-content {
    background: var(--card-bg);
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.03);
}

.legal-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    color: var(--accent-orange);
}

.legal-content p, .legal-content h3 {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 500;
}

.legal-content h3 {
    color: var(--text-primary);
    font-weight: 800;
    margin-top: 40px;
}

/* Footer */
.footer {
    padding: 60px 0;
    text-align: center;
    background: #FFF8EE;
    position: relative;
    z-index: 2;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.beian p {
    color: #A0958C;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.beian a {
    color: #A0958C;
}

.beian a:hover {
    color: var(--accent-orange);
}

.divider {
    margin: 0 12px;
    color: #E2D7CC;
}

/* Animations */
.fade-in-down {
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.stagger-animate .animate-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-animate .animate-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-animate .animate-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-animate .animate-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-animate .animate-item:nth-child(5) { transition-delay: 0.5s; }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 80px;
    }
    .hero h1 { font-size: 3rem; }
    .hero p { margin: 0 auto 40px; }
    .cta-group { align-items: center; }
    .nav-links { display: none; }
    .legal-content { padding: 40px 24px; }
}
