:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --secondary-color: #E8F5E9;
    --text-color: #333333;
    --background-light: #F9FAFB;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    color: #555;
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #FFFFFF 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background-color: #111;
    border-radius: 40px;
    border: 8px solid #333;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.screen-content {
    background-color: #f7f9fc;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 30px;
    /* Inner radius matching phone curve */
}

/* App Mockup Styles */
.app-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    color: #333;
    position: relative;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #111;
}

.status-icons {
    display: flex;
    gap: 5px;
}

.app-header {
    padding: 10px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-text h4 {
    margin: 0;
    font-size: 16px;
    color: #222;
}

.greeting {
    font-size: 11px;
    color: #666;
}

.profile-pic img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.app-body {
    flex: 1;
    overflow-y: hidden;
    /* Hide scroll for aesthetics in mockup */
    padding: 0 15px;
}

/* Balance Card */
.balance-card {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(46, 125, 50, 0.2);
    margin-bottom: 20px;
}

.balance-card span {
    font-size: 12px;
    opacity: 0.9;
}

.balance-card h2 {
    font-size: 26px;
    margin: 5px 0 15px;
}

.balance-row {
    display: flex;
    gap: 15px;
}

.balance-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.balance-item i {
    font-size: 12px;
    background: #fff;
    padding: 4px;
    border-radius: 50%;
}

.balance-item .label {
    display: block;
    font-size: 9px;
    opacity: 0.8;
}

.balance-item .value {
    font-size: 12px;
    font-weight: 600;
}

/* Chart Preview */
.chart-preview {
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 15px;
    text-align: center;
}

.chart-preview h5,
.recent-transactions h5 {
    text-align: left;
    margin-bottom: 10px;
    font-size: 13px;
    color: #444;
}

.donut-chart {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(#2E7D32 0% 45%,
            #FFC107 45% 70%,
            #2196F3 70% 100%);
    margin: 0 auto 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donut-hole {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.donut-hole span {
    font-weight: 700;
    color: #2E7D32;
    font-size: 16px;
}

.donut-hole small {
    font-size: 9px;
    color: #888;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #444;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Recent Transactions */
.recent-transactions {
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.transaction-item:last-child {
    border-bottom: none;
}

.trans-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 12px;
}

.trans-info {
    flex: 1;
}

.trans-info h6 {
    font-size: 12px;
    margin: 0;
    color: #333;
}

.trans-info small {
    font-size: 10px;
    color: #888;
}

.trans-amount {
    font-size: 12px;
    font-weight: 600;
}

.trans-amount.expense {
    color: #E53935;
}

/* Bottom Nav */
.bottom-nav {
    background: #fff;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.nav-item {
    color: #999;
    font-size: 16px;
}

.nav-item.active {
    color: #2E7D32;
}

.nav-fab {
    width: 45px;
    height: 45px;
    background: #2E7D32;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
    margin-top: -25px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #111;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #222;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--background-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.developer-info {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.dev-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.developer-info h4 {
    margin-bottom: 5px;
    text-align: left;
}

.developer-info p {
    font-size: 0.9rem;
    color: #666;
    text-align: left;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-large {
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 15px 40px;
}

.btn-large:hover {
    background-color: #f1f1f1;
    color: var(--primary-dark);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #888;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* simple stack for now */
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}