html {
    scroll-behavior: smooth;
}

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

body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #111827;
}


/* Navigation */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 8%;
    background: white;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

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

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-size: 15px;
}

nav button {
    border: none;
    background: #111827;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
}


/* Hero */
.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 80px 8%;
    background: white;
}

.hero-text {
    max-width: 550px;
}

.small-title {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero-text>p:not(.small-title) {
    font-size: 18px;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 30px;
}

.hero-button {
    border: none;
    background: #111827;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}


/* Payment Card */
.hero-card {
    width: 380px;
    height: 230px;
    padding: 30px;
    border-radius: 20px;
    background: #111827;
    color: white;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-card p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

.hero-card h2 {
    font-size: 34px;
    margin-bottom: 70px;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}


/* Features */
.features {
    padding: 90px 8%;
    text-align: center;
}

.features h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.section-text {
    color: #6b7280;
    margin-bottom: 50px;
}

.feature-container {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    width: 30%;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {

    nav {
        padding: 18px 5%;
    }

    .nav-links {
        display: none;
    }

    nav button {
        padding: 10px 15px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 5%;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-card {
        width: 100%;
        max-width: 380px;
    }

    .feature-container {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        width: 100%;
        max-width: 400px;
    }

    .features h2 {
        font-size: 32px;
    }
}

/* About Section */
.about {
    padding: 100px 8%;
    background: #f5f7fa;
}

.about-text {
    max-width: 650px;
}

.about h2 {
    font-size: 45px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-text>p:not(.small-title) {
    color: #6b7280;
    font-size: 18px;
    line-height: 1.7;
}

.about-points {
    margin-top: 30px;
}

.about-points p {
    margin-bottom: 15px;
    font-weight: bold;
}

/* Call To Action */
.cta {
    padding: 90px 8%;
    text-align: center;
    background: #111827;
    color: white;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.cta p {
    color: #cbd5e1;
    margin-bottom: 30px;
}

.cta button {
    border: none;
    background: white;
    color: #111827;
    padding: 14px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}


/* Footer */
footer {
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

footer p {
    color: #6b7280;
    font-size: 14px;
}

/* Transactions Section */
.transactions {
    padding: 100px 8%;
    background: white;
}

.transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 40px;
}

.transactions h2 {
    font-size: 40px;
    margin-top: 10px;
}

.transactions-header a {
    text-decoration: none;
    color: #111827;
    font-weight: bold;
}

.transaction-list {
    max-width: 800px;
}

.transaction {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid #e5e7eb;
}

.transaction h3 {
    margin-bottom: 6px;
}

.transaction p {
    color: #6b7280;
}

.transaction strong {
    font-size: 18px;
}

.transaction-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.transaction-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.transaction strong {
    color: #111827;
}

.income {
    color: #16a34a;
}

.expense {
    color: #dc2626;
}

.card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    font-weight: bold;
}

.hero-card>p {
    margin-bottom: 10px;
}

.hero-card h2 {
    margin-bottom: 45px;
}

/* Hover Effects */

nav button,
.hero-button,
.cta button {
    transition: 0.3s ease;
}

nav button:hover,
.hero-button:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.cta button:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.nav-links a {
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #111827;
}

.feature-card {
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Mobile Transactions */
@media (max-width: 768px) {

    .transactions {
        padding: 70px 5%;
    }

    .transactions-header {
        align-items: flex-start;
        gap: 20px;
    }

    .transactions h2 {
        font-size: 30px;
    }

    .transaction {
        padding: 20px 0;
    }

    .transaction-icon {
        width: 40px;
        height: 40px;
    }

}