/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: #34495E;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Navbar ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-content { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.logo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, #FF6B9D, #C44569);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: #7F8C8D; transition: color 0.2s; }
.nav-links a:hover { color: #FF6B9D; }
.mobile-menu { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu span { display: block; width: 22px; height: 2px; background: #34495E; margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding-top: 64px; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(160deg, #FFF5F7 0%, #FDF2F8 30%, #F8F0FF 60%, #FFF5F7 100%);
}
.hero-bg::after {
    content: ''; position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,107,157,0.08) 0%, transparent 70%);
    top: -100px; right: -200px; border-radius: 50%;
}
.hero-content {
    position: relative; z-index: 1; display: flex; align-items: center;
    gap: 60px; padding: 80px 24px;
}
.hero-text { flex: 1; max-width: 560px; }
.badge {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,107,157,0.12), rgba(196,69,105,0.12));
    color: #C44569; font-size: 14px; font-weight: 600; margin-bottom: 24px;
}
.hero-text h1 { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; color: #2C3E50; }
.gradient-text {
    background: linear-gradient(135deg, #FF6B9D, #C44569);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc { font-size: 18px; color: #7F8C8D; line-height: 1.7; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; }
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 14px; font-size: 16px; font-weight: 600;
    transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #FF6B9D, #C44569);
    color: #fff; box-shadow: 0 8px 24px rgba(255,107,157,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,107,157,0.4); }
.hero-stats { display: flex; align-items: center; gap: 28px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 24px; font-weight: 800; color: #2C3E50; }
.stat span { font-size: 13px; color: #95A5A6; font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: #E0E0E0; }

/* Phone Mockup */
.hero-visual { flex: 1; display: flex; justify-content: center; }
.phone-mockup {
    width: 280px; height: 560px; border-radius: 40px; padding: 12px;
    background: linear-gradient(145deg, #2C3E50, #1a252f);
    box-shadow: 0 40px 80px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.1) inset;
    position: relative;
}
.phone-mockup::before {
    content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 28px; background: #1a252f; border-radius: 20px; z-index: 2;
}
.phone-screen {
    width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
    background: linear-gradient(180deg, #FFF5F7, #fff);
    padding: 48px 20px 20px;
}
.mock-header { margin-bottom: 24px; }
.mock-greeting { font-size: 14px; color: #95A5A6; font-weight: 500; }
.mock-amount { font-size: 32px; font-weight: 800; color: #2C3E50; margin-top: 4px; }
.mock-categories { display: flex; flex-direction: column; gap: 12px; }
.mock-cat {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cat-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.mock-cat span:nth-child(2) { flex: 1; font-size: 14px; font-weight: 600; color: #34495E; }
.cat-amt { font-size: 14px; font-weight: 700; color: #E74C3C; }

/* ===== Features ===== */
.features { padding: 120px 0; background: #fff; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: #2C3E50; margin-bottom: 12px; }
.section-header p { font-size: 17px; color: #95A5A6; }
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
    padding: 32px; border-radius: 20px; background: #FAFBFC;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    background: #fff;
}
.feature-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.feature-card h3 { font-size: 19px; font-weight: 700; color: #2C3E50; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #7F8C8D; line-height: 1.7; }

/* ===== Screenshots ===== */
.screenshots { padding: 120px 0; background: linear-gradient(180deg, #FFF5F7, #fff); }
.screenshots-showcase { display: flex; gap: 24px; justify-content: center; align-items: flex-end; }
.screenshot-card { text-align: center; transition: transform 0.3s; }
.screenshot-card:hover { transform: translateY(-8px); }
.screenshot-card p { margin-top: 16px; font-size: 15px; font-weight: 600; color: #7F8C8D; }
.screenshot-card.featured p { color: #C44569; }

.screenshot-mock {
    width: 240px; height: 420px; border-radius: 28px; overflow: hidden;
    background: linear-gradient(180deg, #FFF5F7, #fff);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 16px;
}
.screenshot-card.featured .screenshot-mock {
    width: 260px; height: 460px;
    box-shadow: 0 24px 60px rgba(255,107,157,0.2);
    border-color: rgba(255,107,157,0.2);
}
.sm-bar { width: 60px; height: 4px; background: #E0E0E0; border-radius: 4px; margin: 0 auto 16px; }
.sm-title { font-size: 16px; font-weight: 700; color: #2C3E50; margin-bottom: 16px; text-align: center; }
.sm-balance { text-align: center; margin-bottom: 20px; }
.sm-label { font-size: 12px; color: #95A5A6; }
.sm-amount { font-size: 28px; font-weight: 800; color: #2C3E50; }
.sm-chart { display: flex; gap: 8px; align-items: flex-end; height: 100px; padding: 0 8px; }
.sm-bar-chart { flex: 1; background: #F0F0F0; border-radius: 6px 6px 0 0; overflow: hidden; height: 100%; display: flex; align-items: flex-end; }
.sm-bar-chart div { width: 100%; background: linear-gradient(180deg, #FF6B9D, #C44569); border-radius: 6px 6px 0 0; transition: height 0.5s; }

.sm-keypad { padding: 8px 0; }
.sm-input {
    font-size: 28px; font-weight: 800; color: #2C3E50; text-align: center;
    padding: 12px; margin-bottom: 12px;
}
.sm-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; justify-content: center; }
.sm-cat {
    font-size: 11px; padding: 6px 10px; border-radius: 16px;
    background: #F5F5F5; color: #7F8C8D; font-weight: 500;
}
.sm-cat.active { background: linear-gradient(135deg, #FF6B9D, #C44569); color: #fff; }
.sm-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sm-keys span {
    display: flex; align-items: center; justify-content: center;
    height: 36px; font-size: 16px; font-weight: 600; color: #2C3E50;
    background: #F8F8F8; border-radius: 10px;
}
.sm-key-ok { background: linear-gradient(135deg, #FF6B9D, #C44569) !important; color: #fff !important; }

.sm-pie { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 10px; }
.sm-pie-chart {
    width: 120px; height: 120px; border-radius: 50%;
    background: conic-gradient(#FF6B6B 0deg 126deg, #4ECDC4 126deg 180deg, #FF6B9D 180deg 270deg, #9B59B6 270deg 324deg, #3498DB 324deg 360deg);
    position: relative;
}
.sm-pie-chart::after {
    content: ''; position: absolute; width: 60px; height: 60px; background: #fff;
    border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.sm-legend { width: 100%; }
.sm-legend div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #7F8C8D; margin-bottom: 4px; }
.sm-legend span { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ===== Download ===== */
.download {
    padding: 100px 0; text-align: center;
    background: linear-gradient(135deg, #2C3E50, #1a252f);
}
.download-content h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.download-content p { font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 40px; }
.download-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-download {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 14px 32px; border-radius: 14px;
    background: rgba(255,255,255,0.1); color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s; cursor: pointer;
}
.btn-download:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-download small { font-size: 12px; opacity: 0.7; display: block; text-align: left; }
.btn-download strong { font-size: 18px; display: block; text-align: left; }

/* ===== Footer ===== */
.footer { padding: 60px 0 0; background: #FAFBFC; }
.footer-content { display: flex; justify-content: space-between; padding-bottom: 40px; border-bottom: 1px solid #eee; }
.footer-brand p { color: #95A5A6; font-size: 14px; margin-top: 12px; }
.footer-links { display: flex; gap: 80px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #2C3E50; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: #95A5A6; transition: color 0.2s; }
.footer-col a:hover { color: #FF6B9D; }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { font-size: 13px; color: #BDC3C7; text-align: center; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu { display: block; }
    .hero-content { flex-direction: column; text-align: center; padding: 40px 24px; gap: 40px; }
    .hero-text h1 { font-size: 36px; }
    .hero-desc { font-size: 16px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .phone-mockup { width: 220px; height: 440px; }
    .features-grid { grid-template-columns: 1fr; }
    .screenshots-showcase { flex-direction: column; align-items: center; }
    .screenshot-card.featured .screenshot-mock { width: 240px; height: 420px; }
    .footer-content { flex-direction: column; gap: 32px; }
    .footer-links { gap: 40px; }
    .section-header h2 { font-size: 28px; }
}
