/* =========================================================
   TABUNGAN PLASTIK
   Premium Eco-Fintech Landing Page
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #06110d;
    --bg-soft: #0a1812;
    --bg-card: #0d2118;

    --green: #31e981;
    --green-dark: #159b52;
    --green-soft: #8cffbd;

    --white: #f4fff8;
    --muted: #91a99d;

    --border: rgba(255,255,255,.09);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;

    --container: 1180px;

    --font-body: "DM Sans", sans-serif;
    --font-heading: "Space Grotesk", sans-serif;

    --transition: 250ms cubic-bezier(.2,.8,.2,1);
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}


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

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -10;
    overflow: hidden;
}

.page-bg::before {
    content: "";
    position: absolute;
    width: 800px;
    height: 800px;

    top: -400px;
    left: 50%;
    transform: translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(49,233,129,.15),
            transparent 65%
        );

    filter: blur(30px);
}

.page-bg::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;

    right: -250px;
    top: 35%;

    background:
        radial-gradient(
            circle,
            rgba(49,233,129,.07),
            transparent 70%
        );

    filter: blur(40px);
}


/* =========================================================
   NOISE
   ========================================================= */

.noise {
    position: fixed;
    inset: 0;

    opacity: .025;

    pointer-events: none;

    z-index: 999;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}


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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 100;

    transition:
        background var(--transition),
        backdrop-filter var(--transition),
        border-color var(--transition);
}

.header.scrolled {
    background: rgba(6,17,13,.78);
    backdrop-filter: blur(20px);

    border-bottom: 1px solid var(--border);
}

.navbar {
    height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* logo */

.logo {
    display: flex;
    align-items: center;
    gap: 11px;

    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
}

.logo-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    color: #06110d;

    background: var(--green);

    box-shadow:
        0 0 25px rgba(49,233,129,.2);
}


/* nav */

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 5px;

    border: 1px solid var(--border);
    border-radius: 999px;

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

.nav-links a {
    position: relative;

    padding: 10px 16px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 600;

    border-radius: 999px;

    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255,255,255,.07);
}

.nav-links a.active::after {
    content: "";

    position: absolute;

    width: 4px;
    height: 4px;

    bottom: 5px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background: var(--green);
}


/* actions */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login {
    padding: 11px 17px;

    color: var(--white);

    background: transparent;

    font-size: 13px;
    font-weight: 700;
}

.btn-register {
    padding: 12px 19px;

    color: #041009;

    background: var(--green);

    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;

    transition: var(--transition);
}

.btn-register:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(49,233,129,.22);
}

.nav-greeting {
    color: var(--muted);

    font-size: 13px;
    font-weight: 600;
}


/* mobile menu */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 12px;

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

    color: white;
}

.menu-toggle span {
    display: block;

    width: 19px;
    height: 2px;

    margin: 4px auto;

    background: white;

    transition: var(--transition);
}


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

.hero {
    position: relative;

    min-height: 850px;

    padding-top: 155px;
    padding-bottom: 100px;

    overflow: hidden;
}

.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .95fr)
        minmax(0, 1.05fr);

    align-items: center;

    gap: 50px;
}


/* hero copy */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 12px;

    border: 1px solid rgba(49,233,129,.2);
    border-radius: 999px;

    color: var(--green-soft);

    background: rgba(49,233,129,.06);

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 24px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 10px var(--green);
}

.hero h1 {
    max-width: 680px;

    font-family: var(--font-heading);

    font-size: clamp(52px, 6vw, 82px);

    line-height: .98;

    letter-spacing: -4px;

    margin-bottom: 26px;
}

.hero h1 span {
    color: var(--green);

    text-shadow:
        0 0 45px rgba(49,233,129,.15);
}

.hero-description {
    max-width: 570px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.7;

    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;

    padding: 0 21px;

    border-radius: 14px;

    background: var(--green);
    color: #041009;

    font-size: 13px;
    font-weight: 800;

    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(49,233,129,.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 21px;

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

    border-radius: 14px;

    color: white;

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

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.08);
}


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

.hero-visual {
    position: relative;

    height: 600px;

    perspective: 1400px;
}


/* glow */

.hero-glow {
    position: absolute;

    width: 460px;
    height: 460px;

    top: 50%;
    left: 50%;

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

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(49,233,129,.17),
            rgba(49,233,129,.03) 45%,
            transparent 70%
        );

    filter: blur(15px);
}


/* 3D platform */

.platform {
    position: absolute;

    width: 440px;
    height: 440px;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%)
        rotateX(58deg)
        rotateZ(-12deg);

    border-radius: 70px;

    border: 1px solid rgba(49,233,129,.13);

    background:
        linear-gradient(
            145deg,
            rgba(49,233,129,.07),
            rgba(255,255,255,.015)
        );

    box-shadow:
        inset 0 0 70px rgba(49,233,129,.05),
        0 50px 100px rgba(0,0,0,.35);
}


/* grid on platform */

.platform::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    opacity: .25;

    background-image:
        linear-gradient(
            rgba(255,255,255,.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.06) 1px,
            transparent 1px
        );

    background-size: 40px 40px;
}


/* phone */

.phone {
    position: absolute;

    width: 270px;
    height: 530px;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%)
        rotateY(-18deg)
        rotateX(4deg)
        rotateZ(1deg);

    border: 7px solid #17251e;

    border-radius: 42px;

    background: #09150f;

    box-shadow:
        -25px 35px 70px rgba(0,0,0,.45),
        20px 0 40px rgba(49,233,129,.08),
        inset 0 0 0 1px rgba(255,255,255,.08);

    transition: transform .15s ease-out;
}


/* phone screen */

.phone-screen {
    position: absolute;

    inset: 8px;

    overflow: hidden;

    border-radius: 34px;

    background:
        linear-gradient(
            150deg,
            #10291d,
            #07120d
        );
}


/* notch */

.phone-notch {
    position: absolute;

    width: 95px;
    height: 24px;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    border-radius:
        0 0 15px 15px;

    background: #17251e;

    z-index: 4;
}


/* phone content */

.phone-content {
    padding: 45px 20px 20px;
}

.phone-small {
    color: #8ba196;

    font-size: 10px;

    margin-bottom: 7px;
}

.phone-balance {
    font-family: var(--font-heading);

    font-size: 27px;
    font-weight: 700;

    margin-bottom: 22px;
}

.balance-card {
    padding: 18px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(49,233,129,.18),
            rgba(49,233,129,.04)
        );

    border: 1px solid rgba(49,233,129,.14);

    margin-bottom: 14px;
}

.balance-label {
    color: #9eb4a8;
    font-size: 9px;

    margin-bottom: 7px;
}

.balance-number {
    font-family: var(--font-heading);

    font-size: 22px;
    font-weight: 700;
}

.balance-line {
    height: 6px;

    margin-top: 15px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(255,255,255,.08);
}

.balance-line span {
    display: block;

    width: 68%;
    height: 100%;

    border-radius: inherit;

    background: var(--green);
}


/* phone stats */

.phone-stat {
    display: flex;

    justify-content: space-between;

    padding: 13px 0;

    border-bottom: 1px solid rgba(255,255,255,.07);
}

.phone-stat span:first-child {
    color: #84988d;
    font-size: 10px;
}

.phone-stat span:last-child {
    color: white;
    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   FLOATING CARDS
   ========================================================= */

.float-card {
    position: absolute;

    padding: 14px 16px;

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

    border-radius: 17px;

    background:
        rgba(13,33,24,.88);

    backdrop-filter: blur(15px);

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

    animation:
        floating 5s ease-in-out infinite;
}

.float-card.money {
    left: 4%;
    top: 23%;
}

.float-card.pickup {
    right: 0;
    bottom: 19%;

    animation-delay: -2s;
}

.float-title {
    color: #7e9589;

    font-size: 9px;

    margin-bottom: 5px;
}

.float-value {
    color: white;

    font-family: var(--font-heading);

    font-size: 17px;
    font-weight: 700;
}

.float-green {
    color: var(--green);
}

.float-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.float-icon {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    color: #06110d;

    background: var(--green);

    font-size: 12px;
    font-weight: 800;
}

@keyframes floating {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* =========================================================
   3D BOTTLE
   ========================================================= */

.bottle {
    position: absolute;

    width: 84px;
    height: 136px;

    right: 7%;
    top: 9%;

    transform:
        rotate(18deg)
        rotateY(25deg);

    animation:
        bottleFloat 6s ease-in-out infinite;

    filter:
        drop-shadow(0 20px 30px rgba(0,0,0,.35));
}

.bottle svg {
    width: 100%;
    height: 100%;

    display: block;

    overflow: visible;
}

@keyframes bottleFloat {
    0%,
    100% {
        transform:
            rotate(18deg)
            rotateY(25deg)
            translateY(0);
    }

    50% {
        transform:
            rotate(23deg)
            rotateY(25deg)
            translateY(-15px);
    }
}

/* cap galon yang terlepas */

.art-cap-float {
    animation:
        artCapFloat 3.6s ease-in-out infinite;
}

@keyframes artCapFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-6px) rotate(-14deg);
    }
}


/* =========================================================
   TRUST BAR
   ========================================================= */

.trust {
    margin-top: 30px;

    padding: 18px 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.trust-label {
    color: #6e8779;
    font-size: 11px;
}

.trust-items {
    display: flex;
    align-items: center;
    gap: 35px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #9db1a6;

    font-size: 11px;
}

.trust-check {
    color: var(--green);
}


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

.section {
    position: relative;

    padding: 120px 0;
}

.section-header {
    max-width: 650px;

    margin-bottom: 55px;
}

.section-tag {
    color: var(--green);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 2px;

    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);

    font-size: clamp(35px, 4vw, 55px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 18px;
}

.section-description {
    color: var(--muted);

    line-height: 1.7;
}


/* =========================================================
   STATS
   ========================================================= */

.stats-grid {
    display: grid;

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

    gap: 15px;
}

.stat-card {
    padding: 30px;

    min-height: 180px;

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

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

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

    transition: var(--transition);
}

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

    border-color:
        rgba(49,233,129,.2);
}

.stat-number {
    font-family: var(--font-heading);

    font-size: 34px;
    font-weight: 700;

    color: var(--green);

    margin-bottom: 8px;

    white-space: nowrap;
}

.stat-title {
    font-size: 14px;
    font-weight: 700;

    margin-bottom: 8px;
}

.stat-description {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.steps {
    display: grid;

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

    gap: 14px;
}

.step {
    position: relative;

    min-height: 270px;

    padding: 26px;

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

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

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

    overflow: hidden;

    transition: var(--transition);
}

.step:hover {
    transform: translateY(-7px);

    background:
        rgba(49,233,129,.045);

    border-color:
        rgba(49,233,129,.17);
}

.step-number {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    color: #06110d;

    background: var(--green);

    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;

    margin-bottom: 45px;
}

.step h3 {
    font-family: var(--font-heading);

    font-size: 20px;

    margin-bottom: 10px;
}

.step p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.step-decoration {
    position: absolute;

    right: -25px;
    bottom: -35px;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(49,233,129,.12),
            transparent 70%
        );
}


/* =========================================================
   WASTE TYPES
   ========================================================= */

.waste-grid {
    display: grid;

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

    gap: 14px;
}

.waste-card {
    position: relative;

    padding: 26px;

    min-height: 280px;

    overflow: hidden;

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

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

    background:
        linear-gradient(
            150deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.012)
        );

    transition: var(--transition);
}

.waste-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(49,233,129,.2);
}

.waste-visual {
    height: 115px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;
}


/* generic plastic icon */

.plastic-shape {
    position: relative;

    width: 58px;
    height: 95px;

    border-radius:
        16px 16px 20px 20px;

    border:
        2px solid rgba(255,255,255,.18);

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.1),
            rgba(255,255,255,.025)
        );

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

    transition: var(--transition);
}

.plastic-shape::before {
    content: "";

    position: absolute;

    width: 25px;
    height: 23px;

    top: -20px;
    left: 15px;

    border:
        2px solid rgba(255,255,255,.16);

    border-bottom: none;

    border-radius: 7px 7px 0 0;
}

.plastic-shape::after {
    content: "";

    position: absolute;

    width: 28px;
    height: 8px;

    top: -25px;
    left: 13px;

    border-radius: 4px;

    background: var(--green);
}

.waste-card h3 {
    font-family: var(--font-heading);

    font-size: 17px;

    margin-bottom: 8px;
}

.waste-card p {
    color: var(--muted);

    font-size: 11px;

    margin-bottom: 14px;
}

.waste-price {
    color: var(--green);

    font-family: var(--font-heading);

    font-size: 20px;
    font-weight: 700;
}

.waste-unit {
    color: #748c80;

    font-size: 10px;
}

.price-disclaimer {
    color: #6e8779;

    font-size: 12px;

    margin-top: 30px;
}


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

.calculator-wrapper {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;

    padding: 8px;
}

.calculator {
    padding: 38px;

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

    border: 1px solid rgba(49,233,129,.12);

    background:
        linear-gradient(
            145deg,
            rgba(49,233,129,.07),
            rgba(255,255,255,.02)
        );
}

.calculator h3 {
    font-family: var(--font-heading);

    font-size: 25px;

    margin-bottom: 8px;
}

.calculator > p {
    color: var(--muted);

    font-size: 13px;
    line-height: 1.6;

    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;

    color: #a9bdb2;

    font-size: 11px;
    font-weight: 700;

    margin-bottom: 8px;
}

.form-select,
.form-input {
    width: 100%;

    height: 50px;

    padding: 0 15px;

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

    border-radius: 13px;

    outline: none;

    color: white;

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

    transition: var(--transition);
}

.form-select:focus,
.form-input:focus {
    border-color:
        rgba(49,233,129,.5);
}

.form-select option {
    color: #111;
}

.calculate-btn {
    width: 100%;

    height: 52px;

    border-radius: 13px;

    color: #041009;

    background: var(--green);

    font-size: 13px;
    font-weight: 800;

    transition: var(--transition);
}

.calculate-btn:hover {
    box-shadow:
        0 12px 30px rgba(49,233,129,.2);
}


/* result */

.calculator-result {
    position: relative;

    min-height: 100%;

    padding: 38px;

    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;

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

    background:
        #091a12;

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

.result-glow {
    position: absolute;

    width: 300px;
    height: 300px;

    top: -130px;
    right: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(49,233,129,.16),
            transparent 70%
        );
}

.result-label {
    color: var(--muted);

    font-size: 11px;

    margin-bottom: 12px;
}

.result-value {
    position: relative;

    font-family: var(--font-heading);

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1;

    color: var(--green);

    margin-bottom: 15px;
}

.result-description {
    max-width: 320px;

    color: #81998d;

    font-size: 12px;
    line-height: 1.7;
}

.result-value.result-pop {
    animation: resultPop .45s cubic-bezier(.2,.8,.2,1);
}

@keyframes resultPop {
    0% {
        transform: scale(.92);
        opacity: .4;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* =========================================================
   CTA
   ========================================================= */

.final-cta {
    position: relative;

    padding: 90px 50px;

    overflow: hidden;

    text-align: center;

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

    border:
        1px solid rgba(49,233,129,.12);

    background:
        radial-gradient(
            circle at center,
            rgba(49,233,129,.13),
            rgba(49,233,129,.025) 45%,
            transparent 75%
        ),
        rgba(255,255,255,.02);
}

.final-cta h2 {
    position: relative;

    max-width: 750px;

    margin: 0 auto 20px;

    font-family: var(--font-heading);

    font-size: clamp(35px, 5vw, 62px);

    line-height: 1;

    letter-spacing: -2px;
}

.final-cta p {
    position: relative;

    max-width: 530px;

    margin: 0 auto 30px;

    color: var(--muted);

    line-height: 1.7;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding: 70px 0 35px;

    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 40px;

    padding-bottom: 50px;
}

.footer-description {
    max-width: 320px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;

    margin-top: 17px;
}

.footer-column h4 {
    font-size: 12px;

    margin-bottom: 17px;
}

.footer-column a {
    display: block;

    color: var(--muted);

    font-size: 12px;

    margin-bottom: 11px;

    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--green);
}

.footer-bottom {
    padding-top: 25px;

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

    display: flex;
    justify-content: space-between;

    color: #60766b;

    font-size: 11px;
}


/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   PARTICLES
   ========================================================= */

.particle {
    position: absolute;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--green);

    opacity: .25;

    animation:
        particleFloat 7s ease-in-out infinite;
}

@keyframes particleFloat {
    0%,
    100% {
        transform: translateY(0);
        opacity: .15;
    }

    50% {
        transform: translateY(-35px);
        opacity: .5;
    }
}


/* logo-icon dengan botol SVG mini */

.logo-icon {
    color: #06110d;
}

.logo-icon svg {
    width: 22px;
    height: 22px;

    display: block;
}

.logo-wave {
    transform-origin: center;

    animation:
        logoWave 3s ease-in-out infinite;
}

@keyframes logoWave {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-2px);
    }
}

.logo-bubble {
    animation:
        logoBubble 2.8s ease-in infinite;
}

.logo-bubble.b2 {
    animation-delay: 1.2s;
}

@keyframes logoBubble {
    0% {
        transform: translateY(0);

        opacity: 0;
    }
    15% {
        opacity: .8;
    }
    100% {
        transform: translateY(-6px);

        opacity: 0;
    }
}

/* hover logo: air beriak lebih cepat */

.logo:hover .logo-wave {
    animation-duration: 1.2s;
}

/* =========================================================
   WASTE ILLUSTRATIONS (SVG per jenis sampah)
   ========================================================= */

.waste-art {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.waste-art svg {
    width: auto;
    height: 100%;

    max-height: 120px;

    overflow: visible;
}

/* botol melayang lembut */

.art-bob {
    animation:
        artBob 4.5s ease-in-out infinite;
}

@keyframes artBob {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

/* permukaan air bergoyang */

.art-liquid {
    animation:
        artLiquid 3.2s ease-in-out infinite;
}

@keyframes artLiquid {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-10px);
    }
}

/* gelembung naik */

.art-bubble {
    animation:
        artBubble 3s ease-in infinite;
}

.art-bubble.b2 {
    animation-duration: 3.6s;

    animation-delay: .8s;
}

.art-bubble.b3 {
    animation-duration: 2.6s;

    animation-delay: 1.6s;
}

@keyframes artBubble {
    0% {
        transform: translateY(0);

        opacity: 0;
    }

    15% {
        opacity: .9;
    }

    100% {
        transform: translateY(-62px);

        opacity: 0;
    }
}

/* tutup memantul */

.art-cap {
    animation:
        artCap 3.4s ease-in-out infinite;
}

.art-cap.d1 {
    animation-delay: .5s;
}

.art-cap.d2 {
    animation-delay: 1.1s;
}

@keyframes artCap {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    30% {
        transform: translateY(-10px) rotate(-9deg);
    }

    60% {
        transform: translateY(-2px) rotate(4deg);
    }
}

/* hover: ilustrasi ikut bergerak saat kartu di-hover */

.waste-card:hover .art-bob {
    animation-duration: 2s;
}

.waste-card:hover .art-liquid {
    animation-duration: 1.8s;
}

.waste-card:hover .art-cap {
    animation-duration: 1.8s;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-actions .btn-login,
    .nav-actions .btn-register,
    .nav-actions .nav-greeting {
        display: none;
    }

    .hero {
        padding-top: 125px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        height: 560px;

        margin-top: 20px;
    }

    .trust-inner {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .steps {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .waste-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            2fr 1fr 1fr;
    }
}


/* mobile */

@media (max-width: 650px) {

    .container {
        width: min(
            var(--container),
            calc(100% - 30px)
        );
    }

    .navbar {
        height: 72px;
    }

    .hero {
        min-height: auto;

        padding-top: 115px;
    }

    .hero h1 {
        font-size: 47px;

        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .hero-visual {
        height: 480px;

        transform: scale(.8);

        transform-origin: top center;

        margin-bottom: -10px;
    }

    .float-card.money,
    .float-card.pickup,
    .bottle {
        display: none;
    }

    .phone {
        transform:
            translate(-50%, -50%)
            scale(.92);
    }

    .platform {
        width: 400px;
        height: 400px;
    }

    .trust-items {
        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }

    .section {
        padding: 80px 0;
    }

    .stats-grid,
    .steps,
    .waste-grid,
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calculator-result {
        min-height: 300px;
    }

    .final-cta {
        padding: 60px 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}


/* mobile navigation */

.mobile-menu {
    position: fixed;

    top: 72px;
    left: 15px;
    right: 15px;

    padding: 15px;

    display: flex;
    flex-direction: column;

    gap: 5px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background:
        rgba(8,23,16,.96);

    backdrop-filter: blur(20px);

    transform:
        translateY(-15px);

    opacity: 0;
    pointer-events: none;

    transition: var(--transition);

    z-index: 99;
}

.mobile-menu.open {
    transform:
        translateY(0);

    opacity: 1;

    pointer-events: auto;
}

.mobile-menu a {
    padding: 14px;

    border-radius: 12px;

    color: var(--muted);

    font-size: 14px;
}

.mobile-menu a:hover {
    color: white;

    background:
        rgba(255,255,255,.05);
}

.mobile-menu form button {
    width: 100%;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }
}
