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

:root {
    --primary: #4A8AF4;
    --primary-light: #6BA3FF;
    --primary-dark: #2E6AD4;
    --primary-deep: #1E4A9E;
    --income: #3DD598;
    --expense: #FF5757;
    --text-dark: #11142D;
    --text-light: #6B7280;
    --bg-light: #FAFBFF;
    --bg-dark: #0F172A;
    --card-bg: #FFFFFF;
    --radius: 24px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 251, 255, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(74, 138, 244, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(74, 138, 244, 0.2);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #EDF4FF 0%, #FAFBFF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(74, 138, 244, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 163, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.7;
}

.store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--text-dark);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.store-btn-light {
    background: white;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.store-btn-light:hover {
    box-shadow: 0 8px 25px rgba(74, 138, 244, 0.2);
}

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

.store-btn-small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.store-btn-large {
    font-size: 1.1rem;
    font-weight: 600;
}

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

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 180, 50, 0.25) 0%, rgba(255, 149, 0, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
}

.phone-mockup {
    width: 280px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 44px;
    padding: 10px;
    box-shadow:
        0 50px 100px rgba(255, 149, 0, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.phone-screen {
    width: 100%;
    background: #FDFDFD;
    border-radius: 36px;
    overflow: hidden;
}

.screenshot {
    width: 100%;
    height: auto;
    display: block;
}

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

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.features-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--card-bg);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid rgba(74, 138, 244, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(74, 138, 244, 0.12);
    border-color: rgba(74, 138, 244, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta .store-buttons {
    justify-content: center;
}

.cta .store-btn-light {
    background: white;
    color: var(--primary-dark);
}

.cta .store-btn-light:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    padding: 60px 0;
    background: var(--bg-dark);
    color: white;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-logo .logo-img {
    box-shadow: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .store-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phone-mockup {
        width: 240px;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .store-btn {
        width: 100%;
        justify-content: center;
    }

    .cta h2 {
        font-size: 1.75rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* Policy pages */
.policy-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: white;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-content .last-updated {
    color: var(--text-light);
    margin-bottom: 40px;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
    color: var(--primary-dark);
}

.policy-content p,
.policy-content li {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.policy-content ul {
    padding-left: 24px;
    margin-bottom: 24px;
}

.policy-content a {
    color: var(--primary);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}
