* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f9fc;
    color: #172033;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}


/* =========================
   HEADER
========================= */

.header {
    background: #ffffff;
    border-bottom: 1px solid #e8ebf0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #18243a;
}

.logo span {
    color: #16a085;
}

.navigation {
    display: flex;
    gap: 32px;
}

.navigation a {
    font-size: 15px;
    color: #647086;
    transition: 0.2s;
}

.navigation a:hover {
    color: #16a085;
}

.menu-button {
    display: none;

    border: none;
    background: none;

    font-size: 25px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    padding: 90px 0;
    background: #ffffff;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 70px;
    align-items: center;
}

.hero-label,
.section-label {
    color: #16a085;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 54px;
    line-height: 1.1;
    max-width: 600px;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #16a085;
}

.hero-description {
    color: #687386;
    font-size: 18px;
    max-width: 560px;
    margin-bottom: 35px;
}

.primary-button {
    display: inline-block;

    background: #16a085;
    color: white;

    padding: 14px 25px;

    border-radius: 8px;

    font-weight: 600;

    transition: 0.2s;
}

.primary-button:hover {
    background: #12816c;
}


/* =========================
   HERO CARD
========================= */

.hero-card {
    background: #172033;
    color: white;

    padding: 30px;

    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(23, 32, 51, 0.15);
}

.hero-card-top {
    display: flex;
    justify-content: space-between;

    color: #b6c0d0;

    font-size: 14px;
}

.growth {
    color: #54d39a;
}

.amount {
    font-size: 42px;
    font-weight: 700;

    margin: 25px 0;
}

.chart {
    height: 140px;

    position: relative;

    border-bottom: 1px solid #344056;
}

.chart-line {
    position: absolute;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            160deg,
            transparent 50%,
            #16a085 51%,
            transparent 52%
        );
}

.chart-info {
    display: flex;
    justify-content: space-between;

    margin-top: 20px;

    color: #aeb8c8;
}

.chart-info strong {
    color: white;
}


/* =========================
   CALCULATORS
========================= */

.calculators {
    padding: 90px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 38px;
    margin-bottom: 12px;
}

.section-heading > p:last-child {
    color: #727d8f;
}


/* =========================
   CALCULATOR GRID
========================= */

.calculator-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.calculator-card {
    background: #ffffff;

    border: 1px solid #e8ebf0;

    border-radius: 14px;

    padding: 28px;

    transition: 0.25s;
}

.calculator-card:hover {
    transform: translateY(-5px);

    border-color: #16a085;

    box-shadow: 0 15px 35px rgba(23, 32, 51, 0.08);
}

.calculator-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e8f7f3;

    color: #16a085;

    border-radius: 10px;

    font-weight: 700;

    margin-bottom: 20px;
}

.calculator-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.calculator-card p {
    color: #727d8f;

    font-size: 15px;

    margin-bottom: 22px;
}

.calculator-link {
    color: #16a085;

    font-weight: 600;

    font-size: 15px;
}


/* =========================
   FEATURE
========================= */

.feature {
    padding: 90px 0;

    background: #ffffff;
}

.feature-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.feature-text h2 {
    font-size: 40px;

    line-height: 1.2;

    margin-bottom: 20px;
}

.feature-text > p:not(.section-label) {
    color: #727d8f;

    max-width: 520px;

    margin-bottom: 30px;
}

.feature-list {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.feature-item {
    font-weight: 600;
}

.feature-item span {
    color: #16a085;

    margin-right: 8px;
}


/* =========================
   FEATURE BOX
========================= */

.feature-box {
    background: #172033;

    color: white;

    border-radius: 20px;

    padding: 40px;
}

.feature-box p {
    color: #9ca8bb;

    margin-bottom: 10px;
}

.feature-box h3 {
    font-size: 32px;

    line-height: 1.2;

    margin-bottom: 40px;
}

.fake-bars {
    height: 180px;

    display: flex;

    align-items: flex-end;

    gap: 15px;
}

.bar {
    flex: 1;

    background: #16a085;

    border-radius: 5px 5px 0 0;
}

.bar-1 {
    height: 35%;
}

.bar-2 {
    height: 50%;
}

.bar-3 {
    height: 42%;
}

.bar-4 {
    height: 70%;
}

.bar-5 {
    height: 90%;
}


/* =========================
   ABOUT
========================= */

.about {
    padding: 90px 0;

    text-align: center;
}

.about-content {
    max-width: 750px;
}

.about h2 {
    font-size: 38px;

    margin-bottom: 20px;
}

.about p:last-child {
    color: #727d8f;

    font-size: 17px;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #172033;

    color: white;

    padding: 50px 0 20px;
}

.footer-content {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 40px;
}

.footer .logo {
    color: white;
}

.footer p {
    color: #9ca8bb;

    margin-top: 8px;
}

.footer-links {
    display: flex;

    gap: 25px;
}

.footer-links a {
    color: #b6c0d0;

    font-size: 14px;
}

.copyright {
    text-align: center;

    color: #788499;

    border-top: 1px solid #303b50;

    padding-top: 20px;

    font-size: 13px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .calculator-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}


@media (max-width: 600px) {

    .container {
        width: 92%;
    }

    .navigation {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-card {
        padding: 25px;
    }

    .amount {
        font-size: 34px;
    }

    .calculators {
        padding: 60px 0;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        padding: 60px 0;
    }

    .feature-text h2 {
        font-size: 32px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

}