/* =====================================================
RESET
===================================================== */

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

html {
    width: 100%;
    min-height: 100%;
}

body {

    width: 100%;
    min-height: 100vh;

    font-family: "Poppins", sans-serif;

    background: #ffffff;

    color: #111111;

    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =====================================================
VARIABLES
===================================================== */

:root {

    --green: #6bc447;

    --green-dark: #5db63b;

    --bright-green: #8bea36;

    --light-green: #d2ff91;

    --yellow: #fff22a;

    --border: #dddddd;

}

/* =====================================================
PAGE
===================================================== */

.page {

    width: 100%;

    min-height: 100vh;

    position: relative;

    overflow: hidden;

    background: #ffffff;
}

/* =====================================================
NAVBAR
===================================================== */

.navbar {

    width: 100%;

    height: 58px;

    display: flex;

    align-items: center;

    padding: 0 clamp(18px, 4vw, 40px);

    position: relative;

    z-index: 50;
}

/* =====================================================
LOGO
===================================================== */

.logo {

    display: flex;

    align-items: center;

    gap: 5px;

    color: #69be2c;

    font-size: 14px;

    font-weight: 800;

    white-space: nowrap;
}

.logo-icon {

    font-size: 18px;

    line-height: 1;
}

/* =====================================================
DESKTOP NAV
===================================================== */

.desktop-nav {

    display: flex;

    align-items: center;

    gap: clamp(15px, 2.5vw, 28px);

    margin-left: auto;

    margin-right: clamp(12px, 2vw, 22px);
}

.desktop-nav a {

    font-size: 9px;

    font-weight: 500;

    padding: 4px 0;

    position: relative;

    white-space: nowrap;

    transition: color .2s ease;
}

.desktop-nav a:hover {

    color: var(--green);
}

.desktop-nav a.active {

    color: var(--green);
}

.desktop-nav a.active::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 1.5px;

    background: var(--green);

    border-radius: 10px;
}

/* =====================================================
LOGIN
===================================================== */

.login-button {

    background: var(--green);

    color: #ffffff;

    font-size: 8px;

    font-weight: 700;

    padding: 5px 13px;

    border-radius: 7px;

    white-space: nowrap;

    transition: .2s ease;
}

.login-button:hover {

    background: var(--green-dark);

    transform: translateY(-1px);
}

/* =====================================================
HAMBURGER
===================================================== */

.hamburger {

    display: none;

    border: 0;

    outline: 0;

    background: transparent;

    font-size: 23px;

    cursor: pointer;

    line-height: 1;

    margin-left: auto;
}

/* =====================================================
MOBILE NAV
===================================================== */

.mobile-nav {

    display: none;
}

/* =====================================================
CONTENT
===================================================== */

.content {

    width: 100%;

    position: relative;

    z-index: 10;

    padding:

    0
    clamp(16px, 4vw, 45px)
    100px;
}

/* =====================================================
TITLE
===================================================== */

.feature-title {

    width: 100%;

    text-align: center;

    margin-top: 1px;
}

.feature-title h1 {

    font-size: clamp(27px, 3vw, 34px);

    line-height: 1;

    letter-spacing: 4px;

    font-weight: 800;
}

.feature-title h1 span {

    color: #111111;
}

.feature-title h1 b {

    color: var(--green);

    font-style: normal;

    margin: 0 4px;
}

.feature-title h1 strong {

    color: var(--bright-green);

    font-weight: 800;
}

.feature-title p {

    margin-top: 9px;

    font-size: clamp(8px, 1vw, 10px);

    line-height: 1.5;

    color: #222222;
}

/* =====================================================
TOOLS GRID
===================================================== */

.tools-grid {
    width: 100%;
    max-width: 1100px;
    margin: 17px auto 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;

    position: relative;
    z-index: 20;
}

/* =====================================================
TOOL CARD
===================================================== */
.tool-card {
    width: 100%;
    min-height: 114px;
    padding: 10px 10px;

    border: 1px solid var(--border);
    border-radius: 15px;
    background: #ffffff;

    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 20;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.tool-card:hover {

    transform: translateY(-3px);

    border-color: #b7df9d;

    box-shadow:
    0 7px 18px rgba(0, 0, 0, .08);
}

/* =====================================================
TOOL ICON
===================================================== */

.tool-icon {

    width: 53px;

    height: 53px;

    margin: 0 auto 6px;

    border-radius: 50%;

    background: var(--yellow);

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;
}

.tool-icon > span {

    font-size: 25px;

    line-height: 1;

    font-weight: 500;
}

.tool-icon small {

    position: absolute;

    right: 7px;

    bottom: 10px;

    font-size: 8px;

    font-weight: 800;
}

/* =====================================================
CHART ICON
===================================================== */

.chart-icon {

    font-size: 30px;
}

.chart-icon > span {

    transform: rotate(-20deg);

    display: block;
}

.chart-icon i {

    position: absolute;

    right: 12px;

    bottom: 14px;

    font-style: normal;

    font-size: 13px;
}

/* =====================================================
CARD TITLE
===================================================== */

.tool-card h2 {

    font-size: 7.5px;

    font-weight: 800;

    line-height: 1.25;

    margin-bottom: 4px;
}

/* =====================================================
CARD DESCRIPTION
===================================================== */

.tool-card p {

    font-size: 6.7px;

    line-height: 1.45;

    color: #333333;

    max-width: 230px;

    margin: auto;
}

/* =====================================================
BACKGROUND GREEN
===================================================== */

.bottom-green {

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 245px;

    z-index: 1;

    pointer-events: none;

    overflow: hidden;
}

/* =====================================================
LEFT GREEN WAVE
===================================================== */

.green-left {

    position: absolute;

    width: 58%;

    height: 180px;

    left: -8%;

    bottom: -80px;

    background: var(--light-green);

    border-radius:
    60% 55% 0 0;

    transform: rotate(4deg);
}

/* white curve */

.green-left::before {

    content: "";

    position: absolute;

    width: 270px;

    height: 150px;

    left: 17%;

    top: -100px;

    background: #ffffff;

    border-radius: 50%;
}

/* =====================================================
RIGHT GREEN WAVE
===================================================== */

.green-right {

    position: absolute;

    width: 35%;

    height: 145px;

    right: -5%;

    bottom: -55px;

    background: var(--light-green);

    border-radius:
    75% 0 0 0;
}

.green-right::before {

    content: "";

    position: absolute;

    width: 145px;

    height: 90px;

    left: -35px;

    top: -48px;

    background: #ffffff;

    border-radius:
    70% 70% 0 0;
}

/* =====================================================
LARGE LAPTOP
===================================================== */

@media (min-width: 1200px) {

    .navbar {

        padding-left: 35px;

        padding-right: 35px;
    }

    .tools-grid {
        width: 100%;
        max-width: 1100px;
        gap: 13px;
    }

    .tool-card {

        min-height: 120px;

        padding: 11px;
    }

    .tool-icon {

        width: 56px;

        height: 56px;
    }

    .tool-card h2 {

        font-size: 8px;
    }

    .tool-card p {

        font-size: 7px;
    }

}

/* =====================================================
TABLET
===================================================== */

@media (max-width: 800px) {

    .desktop-nav {

        gap: 12px;

        margin-right: 12px;
    }

    .desktop-nav a {

        font-size: 8px;
    }

    .content {

        padding-left: 20px;

        padding-right: 20px;
    }

    .tools-grid {

        gap: 10px;
    }

}

/* =====================================================
MOBILE
===================================================== */

@media (max-width: 600px) {

    /* NAVBAR */

    .navbar {

        height: 55px;

        padding: 0 17px;
    }

    .logo {

        font-size: 14px;
    }

    .desktop-nav,
    .login-button {

        display: none;
    }

    .hamburger {

        display: block;
    }

    /* MOBILE NAV */

    .mobile-nav {

        position: absolute;

        top: 55px;

        left: 15px;

        right: 15px;

        padding: 7px;

        background: #ffffff;

        border: 1px solid #e5e5e5;

        border-radius: 10px;

        box-shadow:
        0 8px 20px rgba(0,0,0,.10);

        z-index: 100;
    }

    .mobile-nav.show {

        display: flex;

        flex-direction: column;
    }

    .mobile-nav a {

        padding: 10px 12px;

        font-size: 10px;

        border-radius: 6px;
    }

    .mobile-nav a.active,
    .mobile-nav a:hover {

        color: var(--green-dark);

        background: #f1fce9;
    }

    /* CONTENT */

    .content {

        padding:

        0
        14px
        70px;
    }

    /* TITLE */

    .feature-title {

        margin-top: 4px;
    }

    .feature-title h1 {

        font-size: 27px;

        letter-spacing: 3px;
    }

    .feature-title p {

        font-size: 8px;

        padding: 0 20px;

        margin-top: 8px;
    }

    /* GRID */

    .tools-grid {

        width: 100%;

        margin-top: 16px;

        grid-template-columns:
        repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    /* CARD */

    .tool-card {

        min-height: 125px;

        padding: 10px 7px;

        border-radius: 11px;
    }

    .tool-icon {

        width: 51px;

        height: 51px;

        margin-bottom: 6px;
    }

    .tool-icon > span {

        font-size: 24px;
    }

    .tool-card h2 {

        font-size: 7px;

        line-height: 1.3;
    }

    .tool-card p {

        font-size: 6.3px;

        line-height: 1.45;

        padding: 0 3px;
    }

    /* BACKGROUND */

    .bottom-green {

        height: 220px;
    }

    .green-left {

        width: 90%;

        height: 170px;

        left: -20%;

        bottom: -80px;
    }

    .green-right {

        width: 55%;

        height: 130px;

        right: -15%;

        bottom: -50px;
    }

}

/* =====================================================
SMALL MOBILE
===================================================== */

@media (max-width: 390px) {

    .navbar {

        padding-left: 13px;

        padding-right: 13px;
    }

    .logo {

        font-size: 13px;
    }

    .content {

        padding-left: 10px;

        padding-right: 10px;
    }

    .feature-title h1 {

        font-size: 25px;

        letter-spacing: 2px;
    }

    .feature-title p {

        font-size: 7.5px;

        padding: 0 10px;
    }

    .tools-grid {

        gap: 7px;

        margin-top: 14px;
    }

    .tool-card {

        min-height: 119px;

        padding: 9px 5px;

        border-radius: 10px;
    }

    .tool-icon {

        width: 47px;

        height: 47px;
    }

    .tool-icon > span {

        font-size: 22px;
    }

    .tool-card h2 {

        font-size: 6.7px;
    }

    .tool-card p {

        font-size: 5.8px;
    }

}

/* =====================================================
VERY SMALL PHONE
===================================================== */

@media (max-width: 320px) {

    .tools-grid {

        grid-template-columns: 1fr;
    }

    .tool-card {

        min-height: 110px;

        max-width: 260px;

        margin: auto;

        width: 100%;
    }

    .feature-title h1 {

        font-size: 23px;
    }

}






.tools-grid {
    width: 100%;
    max-width: 1100px;
    margin: 17px auto 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;

    position: relative;
    z-index: 20;
}

/* Card terakhir berada di tengah */
.tool-card:last-child {
    grid-column: 2;
}

@media (max-width: 600px) {
    .feature-title p {
        font-size: 13px;
        padding: 0 8px;
    }

    .tool-card {
        min-height: 170px;
        padding: 14px 11px;
    }

    .tool-card h2 {
        font-size: 13px;
        line-height: 1.35;
    }

    .tool-card p {
        font-size: 11px;
        line-height: 1.5;
    }
}

@media (max-width: 390px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .tool-card,
    .tool-card:last-child {
        grid-column: 1;
        width: 100%;
        max-width: 360px;
        min-height: 0;
        margin: 0 auto;
        padding: 15px;
    }

    .tool-card h2 {
        font-size: 15px;
    }

    .tool-card p {
        font-size: 12px;
    }

    .feature-title p {
        font-size: 14px;
        padding: 0 4px;
    }
}

@media (max-width: 320px) {
    .tool-card h2 {
        font-size: 14px;
    }
}
