/* =========================================================
   KENAF PROJECT CALCULATOR
   ASAL KENAF INITIATIVE
========================================================= */

:root {

    --kc-bg: #020b05;
    --kc-bg-2: #04140a;

    --kc-green: #0b3d1c;
    --kc-green-2: #126b32;
    --kc-green-light: #8bd16b;

    --kc-gold: #d8b84c;
    --kc-gold-light: #f2d879;

    --kc-white: #ffffff;
    --kc-text: rgba(255,255,255,.82);
    --kc-muted: rgba(255,255,255,.48);

    --kc-border:
        rgba(216,184,76,.16);

    --kc-glass:
        rgba(255,255,255,.035);

    --kc-radius: 22px;

}


/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--kc-text);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(18,107,50,.20),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            var(--kc-bg-2),
            var(--kc-bg)
        );

}


/* =========================================================
   HEADER
========================================================= */

.kc-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding:
        16px 6%;

    background:
        rgba(2,11,5,.88);

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);

    border-bottom:
        1px solid
        rgba(216,184,76,.10);

}


.kc-logo {

    display: flex;

    flex-direction: column;

    text-decoration: none;

    color: #fff;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;

    line-height: 1.2;

}


.kc-logo span {

    color: var(--kc-gold);

    font-size: 19px;

    letter-spacing: 3px;

}


.kc-back {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        9px 15px;

    border:
        1px solid
        var(--kc-border);

    border-radius: 30px;

    color: var(--kc-text);

    background:
        rgba(255,255,255,.025);

    text-decoration: none;

    font-size: 9px;

    font-weight: 800;

    transition:
        .25s ease;

}


.kc-back:hover {

    color: var(--kc-gold-light);

    border-color:
        rgba(216,184,76,.40);

    transform:
        translateY(-2px);

}


/* =========================================================
   HERO
========================================================= */

.kc-hero {

    position: relative;

    overflow: hidden;

    padding:
        85px 6% 75px;

    text-align: center;

    background:

        radial-gradient(
            circle at 50% 40%,
            rgba(11,61,28,.55),
            transparent 55%
        );

}


.kc-hero::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%,-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(216,184,76,.08),
            transparent 68%
        );

    pointer-events: none;

}


.kc-hero-inner {

    position: relative;

    z-index: 2;

    max-width: 850px;

    margin: auto;

}


.kc-kicker {

    display: inline-block;

    margin-bottom: 14px;

    color:
        var(--kc-green-light);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 3px;

}


.kc-hero h1 {

    margin: 0;

    color: #fff;

    font-size:
        clamp(42px, 7vw, 82px);

    font-weight: 900;

    line-height: .9;

    letter-spacing: -3px;

}


.kc-hero h1 span {

    display: block;

    margin-top: 8px;

    color:
        var(--kc-gold);

}


.kc-hero p {

    max-width: 680px;

    margin:
        25px auto 0;

    color:
        var(--kc-muted);

    font-size: 12px;

    line-height: 1.8;

}


/* =========================================================
   MAIN
========================================================= */

.kc-main {

    width: min(1250px, 92%);

    margin:
        0 auto 90px;

}


/* =========================================================
   CALCULATOR GRID
========================================================= */

.kc-calculator {

    display: grid;

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

    gap: 22px;

}


/* =========================================================
   PANELS
========================================================= */

.kc-panel {

    position: relative;

    overflow: hidden;

    padding: 30px;

    border:
        1px solid
        var(--kc-border);

    border-radius:
        var(--kc-radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.25);

    backdrop-filter:
        blur(15px);

    -webkit-backdrop-filter:
        blur(15px);

}


.kc-panel::before {

    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -110px;
    top: -110px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(216,184,76,.10),
            transparent 70%
        );

    pointer-events: none;

}


/* =========================================================
   PANEL HEADINGS
========================================================= */

.kc-panel-heading {

    position: relative;

    z-index: 2;

    margin-bottom: 25px;

}


.kc-panel-heading > span {

    color:
        var(--kc-gold);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2.5px;

}


.kc-panel-heading h2 {

    margin:
        8px 0 9px;

    color: #fff;

    font-size: 26px;

    line-height: 1;

}


.kc-panel-heading p {

    margin: 0;

    color:
        var(--kc-muted);

    font-size: 10px;

    line-height: 1.7;

}


/* =========================================================
   INPUT GRID
========================================================= */

.kc-input-grid {

    position: relative;

    z-index: 2;

    display: grid;

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

    gap: 15px;

}


.kc-field {

    min-width: 0;

}


.kc-field-wide {

    grid-column:
        1 / -1;

}


.kc-field label {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 7px;

    color:
        rgba(255,255,255,.70);

    font-size: 9px;

    font-weight: 800;

}


.kc-field label i {

    color:
        var(--kc-gold);

}


.kc-input-wrap {

    display: flex;

    align-items: center;

    min-height: 47px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius: 12px;

    background:
        rgba(0,0,0,.25);

    transition:
        .25s ease;

}


.kc-input-wrap:focus-within {

    border-color:
        rgba(216,184,76,.55);

    box-shadow:
        0 0 0 3px
        rgba(216,184,76,.06);

}


.kc-input-wrap input {

    width: 100%;

    min-width: 0;

    padding:
        13px 12px;

    border: 0;

    outline: 0;

    background: transparent;

    color: #fff;

    font-size: 12px;

    font-weight: 800;

}


.kc-input-wrap input::-webkit-inner-spin-button,
.kc-input-wrap input::-webkit-outer-spin-button {

    opacity: .5;

}


.kc-input-wrap span {

    flex-shrink: 0;

    padding:
        0 12px;

    color:
        rgba(255,255,255,.30);

    font-size: 8px;

    font-weight: 800;

}


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

.kc-reset {

    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 20px;

    padding:
        9px 15px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 20px;

    background:
        rgba(255,255,255,.025);

    color:
        rgba(255,255,255,.55);

    cursor: pointer;

    font-size: 8px;

    font-weight: 800;

    transition:
        .25s ease;

}


.kc-reset:hover {

    color:
        var(--kc-gold-light);

    border-color:
        rgba(216,184,76,.35);

}


/* =========================================================
   RESULTS GRID
========================================================= */

.kc-results-grid {

    position: relative;

    z-index: 2;

    display: grid;

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

    gap: 12px;

}


.kc-result-card {

    min-width: 0;

    padding:
        18px 15px;

    border:
        1px solid
        rgba(255,255,255,.065);

    border-radius: 15px;

    background:
        rgba(0,0,0,.20);

    transition:
        transform .25s ease,
        border-color .25s ease;

}


.kc-result-card:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(216,184,76,.25);

}


.kc-result-card > i {

    margin-bottom: 12px;

    color:
        var(--kc-gold);

    font-size: 17px;

}


.kc-result-card span {

    display: block;

    color:
        rgba(255,255,255,.45);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1px;

}


.kc-result-card strong {

    display: block;

    margin-top: 7px;

    overflow-wrap: anywhere;

    color: #fff;

    font-size:
        clamp(17px, 2.4vw, 25px);

    font-weight: 900;

    line-height: 1.05;

}


.kc-result-card small {

    display: block;

    margin-top: 5px;

    color:
        rgba(255,255,255,.25);

    font-size: 7px;

}


/* =========================================================
   HIGHLIGHT RESULT
========================================================= */

.kc-result-highlight {

    border-color:
        rgba(139,209,107,.20);

    background:
        linear-gradient(
            145deg,
            rgba(139,209,107,.08),
            rgba(216,184,76,.035)
        );

}


.kc-result-highlight > i {

    color:
        var(--kc-green-light);

}


/* =========================================================
   NET RESULT
========================================================= */

.kc-net-result {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 17px;

    margin-top: 14px;

    padding:
        20px;

    border:
        1px solid
        rgba(216,184,76,.16);

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            rgba(216,184,76,.075),
            rgba(139,209,107,.035)
        );

}


.kc-net-icon {

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    color:
        var(--kc-gold);

    background:
        rgba(216,184,76,.08);

    box-shadow:
        0 0 25px
        rgba(216,184,76,.08);

}


.kc-net-content span {

    display: block;

    color:
        rgba(255,255,255,.42);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.3px;

}


.kc-net-content strong {

    display: block;

    margin-top: 5px;

    color:
        var(--kc-gold-light);

    font-size:
        clamp(20px, 3vw, 30px);

    line-height: 1;

}


.kc-net-content small {

    display: block;

    margin-top: 6px;

    color:
        rgba(255,255,255,.27);

    font-size: 7px;

}


/* POSITIVE */

.kc-net-result.kc-positive {

    border-color:
        rgba(139,209,107,.22);

}


.kc-positive .kc-net-icon {

    color:
        var(--kc-green-light);

    background:
        rgba(139,209,107,.08);

}


.kc-positive .kc-net-content strong {

    color:
        var(--kc-green-light);

}


/* NEGATIVE */

.kc-net-result.kc-negative {

    border-color:
        rgba(220,80,70,.25);

}


.kc-negative .kc-net-icon {

    color:
        #ff8b7d;

    background:
        rgba(220,80,70,.08);

}


.kc-negative .kc-net-content strong {

    color:
        #ff9b8f;

}


/* =========================================================
   PER ACRE
========================================================= */

.kc-per-acre {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-top: 12px;

}


.kc-per-acre > div {

    padding:
        15px;

    border-radius: 13px;

    background:
        rgba(255,255,255,.025);

    border:
        1px solid
        rgba(255,255,255,.05);

}


.kc-per-acre span {

    display: block;

    color:
        rgba(255,255,255,.30);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1px;

}


.kc-per-acre strong {

    display: block;

    margin-top: 7px;

    color: #fff;

    font-size: 14px;

}


/* =========================================================
   METHOD SECTION
========================================================= */

.kc-method {

    margin-top: 70px;

}


.kc-method-heading {

    margin-bottom: 22px;

    text-align: center;

}


.kc-method-heading > span {

    color:
        var(--kc-gold);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;

}


.kc-method-heading h2 {

    margin:
        8px 0 0;

    color: #fff;

    font-size:
        clamp(28px, 5vw, 45px);

    line-height: 1;

}


.kc-method-heading h2 span {

    color:
        var(--kc-green-light);

}


.kc-method-grid {

    display: grid;

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

    gap: 14px;

}


.kc-method-card {

    position: relative;

    padding:
        23px 18px;

    min-height: 180px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.06);

    border-radius: 18px;

    background:
        rgba(255,255,255,.025);

}


.kc-method-card b {

    position: absolute;

    right: 15px;
    top: 10px;

    color:
        rgba(216,184,76,.12);

    font-size: 35px;

    font-weight: 900;

}


.kc-method-card i {

    color:
        var(--kc-gold);

    font-size: 20px;

}


.kc-method-card h3 {

    margin:
        18px 0 8px;

    color: #fff;

    font-size: 13px;

}


.kc-method-card p {

    margin: 0;

    color:
        rgba(255,255,255,.38);

    font-size: 9px;

    line-height: 1.7;

}


/* =========================================================
   DISCLAIMER
========================================================= */

.kc-disclaimer {

    display: flex;

    align-items: flex-start;

    gap: 14px;

    margin-top: 30px;

    padding:
        20px;

    border:
        1px solid
        rgba(255,255,255,.055);

    border-radius: 17px;

    background:
        rgba(255,255,255,.018);

}


.kc-disclaimer > i {

    flex-shrink: 0;

    margin-top: 2px;

    color:
        var(--kc-gold);

}


.kc-disclaimer p {

    margin: 0;

    color:
        rgba(255,255,255,.35);

    font-size: 8px;

    line-height: 1.8;

}


.kc-disclaimer strong {

    color:
        rgba(255,255,255,.60);

}


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

@media (max-width: 900px) {

    .kc-calculator {

        grid-template-columns:
            1fr;

    }


    .kc-method-grid {

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

    }

}


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

@media (max-width: 600px) {

    .kc-header {

        padding:
            13px 18px;

    }


    .kc-logo span {

        font-size: 16px;

    }


    .kc-logo {

        font-size: 7px;

    }


    .kc-back {

        padding:
            8px 11px;

        font-size: 7px;

    }


    .kc-hero {

        padding:
            65px 20px 55px;

    }


    .kc-hero h1 {

        font-size:
            clamp(38px, 13vw, 58px);

        letter-spacing:
            -2px;

    }


    .kc-hero p {

        font-size: 10px;

    }


    .kc-main {

        width: calc(100% - 28px);

    }


    .kc-panel {

        padding:
            21px 17px;

        border-radius:
            18px;

    }


    .kc-input-grid {

        grid-template-columns:
            1fr;

    }


    .kc-field-wide {

        grid-column:
            auto;

    }


    .kc-results-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .kc-result-card {

        padding:
            15px 12px;

    }


    .kc-result-card strong {

        font-size:
            17px;

    }


    .kc-net-result {

        align-items:
            flex-start;

        padding:
            16px;

    }


    .kc-net-icon {

        width: 40px;
        height: 40px;

    }


    .kc-per-acre {

        grid-template-columns:
            1fr;

    }


    .kc-method-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .kc-method-card {

        min-height:
            160px;

    }


    .kc-disclaimer {

        padding:
            16px;

    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .kc-results-grid {

        grid-template-columns:
            1fr;

    }


    .kc-method-grid {

        grid-template-columns:
            1fr;

    }


    .kc-hero h1 {

        font-size:
            38px;

    }

}