/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === Layout === */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    background: #6366F1; color: #fff;
    font-weight: 600; font-size: 15px;
    border-radius: 12px; border: none; cursor: pointer;
    transition: all 0.2s;
}
.btn:hover { background: #4f46e5; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(99,102,241,0.35); }
.btn-sm { padding: 8px 20px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 14px; }
.btn-outline {
    background: transparent; color: #6366F1;
    border: 2px solid #6366F1;
}
.btn-outline:hover { background: #6366F1; color: #fff; }
.btn-white { background: #fff; color: #6366F1; }
.btn-white:hover { background: #f1f5f9; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

/* === Nav === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    transition: all 0.3s;
}
.nav.scrolled {
    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);
    padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.logo-icon { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #64748b; transition: color 0.2s; }
.nav-links a:hover { color: #0f172a; }

/* === Hero === */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    overflow: hidden;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #eef2ff;
    color: #6366F1;
    font-size: 13px; font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.gradient-text {
    background: linear-gradient(135deg, #6366F1, #8B5CF6, #EC4899);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    max-width: 560px; margin: 0 auto 36px;
    font-size: 18px; color: #64748b; line-height: 1.7;
}
.hero-actions { margin-bottom: 64px; }

/* Phone Mockup */
.hero-visual { display: flex; justify-content: center; }
.phone-mockup {
    width: 280px;
    background: #0f172a;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.phone-screen {
    background: #1e293b;
    border-radius: 26px;
    padding: 32px 20px 20px;
    min-height: 380px;
}
.screen-header { text-align: center; margin-bottom: 24px; }
.screen-greeting { font-size: 12px; color: #94a3b8; margin-bottom: 8px; }
.screen-balance { font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.screen-label { font-size: 11px; color: #64748b; margin-top: 4px; }
.screen-cards { display: flex; gap: 10px; margin-bottom: 20px; }
.screen-card {
    flex: 1; display: flex; align-items: center; gap: 8px;
    padding: 12px; border-radius: 14px;
}
.screen-card.income { background: rgba(16,185,129,0.12); }
.screen-card.expense { background: rgba(239,68,68,0.12); }
.card-icon { font-size: 16px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.income .card-icon { background: #10B981; color: #fff; }
.expense .card-icon { background: #EF4444; color: #fff; }
.card-label { font-size: 10px; color: #94a3b8; }
.card-value { font-size: 14px; font-weight: 700; color: #fff; }
.screen-chart { padding: 8px 0; }
.screen-chart svg { width: 100%; height: auto; }

/* === Section Shared === */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.section-header p { font-size: 17px; color: #64748b; max-width: 480px; margin: 0 auto; }

/* === Features === */
.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.feature-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    margin-bottom: 20px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #64748b; line-height: 1.6; }

/* === How It Works === */
.how-it-works { padding: 100px 0; background: #f8fafc; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { text-align: center; }
.step-number {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: #6366F1; color: #fff;
    font-size: 22px; font-weight: 800;
    border-radius: 16px;
    margin: 0 auto 20px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: #64748b; max-width: 280px; margin: 0 auto; }

/* === Pricing === */
.pricing { padding: 100px 0; }
.pricing-cards { display: flex; justify-content: center; gap: 24px; max-width: 720px; margin: 0 auto; }
.pricing-card {
    flex: 1; padding: 36px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
}
.pricing-card.featured {
    border-color: #6366F1;
    box-shadow: 0 8px 32px rgba(99,102,241,0.15);
}
.pricing-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #6366F1; color: #fff;
    padding: 4px 16px;
    font-size: 12px; font-weight: 600;
    border-radius: 100px;
}
.pricing-name { font-size: 16px; font-weight: 600; color: #64748b; margin-bottom: 8px; }
.pricing-price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.pricing-period { font-size: 14px; color: #94a3b8; margin-bottom: 28px; }
.pricing-features { margin-bottom: 28px; }
.pricing-features li {
    padding: 8px 0;
    font-size: 14px; color: #475569;
}
.pricing-features li::before { content: "✓ "; color: #10B981; font-weight: 700; }

/* === FAQ === */
.faq { padding: 100px 0; background: #f8fafc; }
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}
.faq-item summary {
    font-size: 16px; font-weight: 600;
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 20px; color: #94a3b8; transition: transform 0.2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; font-size: 15px; color: #64748b; line-height: 1.7; padding-right: 24px; }

/* === CTA === */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: #fff;
}
.cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta p { font-size: 17px; opacity: 0.85; margin-bottom: 32px; }

/* === Footer === */
.footer { padding: 64px 0 32px; background: #0f172a; color: #94a3b8; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.footer-brand { max-width: 280px; }
.footer .nav-logo { color: #fff; margin-bottom: 12px; }
.footer-tagline { font-size: 14px; }
.footer-links { display: flex; gap: 64px; }
.footer-links h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; font-size: 13px; }

/* === Responsive === */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 32px; }
    .pricing-cards { flex-direction: column; }
    .footer-inner { flex-direction: column; }
    .footer-links { flex-wrap: wrap; gap: 32px; }
    .hero { padding: 120px 0 60px; }
    .phone-mockup { width: 240px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 36px; }
    .hero-sub { font-size: 16px; }
    .btn-lg { padding: 14px 28px; font-size: 15px; }
}
