/* =========================================================
   ZGROWHUB
   COMPLETE HOMEPAGE STYLESHEET
========================================================= */

:root {
    --bg: #f7faf8;
    --white: #ffffff;

    --dark: #06130e;
    --dark-2: #0a1d15;
    --dark-3: #10291e;

    --green: #19b979;
    --green-dark: #0b8b59;
    --green-light: #43d99a;
    --lime: #baf36b;

    --text: #102019;
    --muted: #697870;
    --muted-dark: #91a097;

    --border: #e0e9e3;

    --danger: #df6666;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    --shadow-sm: 0 8px 25px rgba(7, 35, 23, .07);
    --shadow-md: 0 18px 45px rgba(7, 35, 23, .11);
    --shadow-lg: 0 30px 75px rgba(7, 35, 23, .16);
}


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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--bg);
    color: var(--text);

    line-height: 1.5;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

img,
svg {
    max-width: 100%;
}

ul {
    margin: 0;
    padding: 0;
}

::selection {
    background: var(--green);
    color: white;
}


/* =========================================================
   CONTAINER
========================================================= */

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


/* =========================================================
   ANNOUNCEMENT BAR
========================================================= */

.announcement {
    min-height: 40px;

    width: 100%;

    padding: 8px 20px;

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

    gap: 9px;

    background: var(--dark);

    color: #d7e5de;

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

    text-align: center;
}

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

    flex: 0 0 7px;

    border-radius: 50%;

    background: var(--lime);

    box-shadow: 0 0 12px rgba(186, 243, 107, .8);
}

.announcement a {
    color: var(--lime);
    font-weight: 800;
}

.announcement a:hover {
    text-decoration: underline;
}


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

.header {
    position: sticky;
    top: 0;

    z-index: 1000;

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

    border-bottom: 1px solid rgba(16, 32, 25, .07);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav {
    min-height: 78px;

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

    gap: 25px;
}


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

.logo {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    font-size: 22px;
    font-weight: 900;

    letter-spacing: -1px;

    color: var(--dark);
}

.logo-text span {
    color: var(--green);
}

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

    padding: 6px;

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

    gap: 3px;

    background: var(--dark);

    border-radius: 9px;
}

.logo-icon span {
    width: 4px;

    display: block;

    background: var(--lime);

    border-radius: 10px;
}

.logo-icon span:nth-child(1) {
    height: 8px;
}

.logo-icon span:nth-child(2) {
    height: 13px;
}

.logo-icon span:nth-child(3) {
    height: 19px;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

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

    gap: 28px;

    margin-left: auto;
}

.nav-links > a {
    position: relative;

    padding: 8px 0;

    color: #4b5b53;

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

    transition: color .2s ease;
}

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

    position: absolute;

    left: 0;
    bottom: 1px;

    width: 0;
    height: 2px;

    background: var(--green);

    border-radius: 10px;

    transition: width .25s ease;
}

.nav-links > a:hover {
    color: var(--green-dark);
}

.nav-links > a:hover::after {
    width: 100%;
}


/* =========================================================
   NAV BUTTONS
========================================================= */

.nav-buttons {
    display: flex;
    align-items: center;

    gap: 15px;
}

.login {
    color: var(--dark);

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

.login:hover {
    color: var(--green-dark);
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    min-height: 43px;

    padding: 11px 19px;

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

    gap: 8px;

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

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

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        border-color .25s ease;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--green);

    color: white;

    box-shadow:
        0 10px 25px rgba(25, 185, 121, .2);
}

.btn-primary:hover {
    background: var(--green-dark);

    box-shadow:
        0 15px 32px rgba(25, 185, 121, .27);
}

.btn-outline {
    border: 1px solid var(--border);

    background: white;

    color: var(--dark);
}

.btn-outline:hover {
    border-color: var(--green);
}

.btn-dark-outline {
    border: 1px solid #b7c8bf;

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

    color: var(--dark);
}

.btn-dark-outline:hover {
    background: white;

    border-color: var(--dark);
}

.btn-large {
    min-height: 50px;

    padding: 14px 23px;

    border-radius: 12px;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-button {
    width: 42px;
    height: 42px;

    display: none;

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

    flex-direction: column;

    gap: 5px;

    background: #eef4f0;

    border-radius: 10px;

    cursor: pointer;
}

.menu-button span {
    width: 19px;
    height: 2px;

    background: var(--dark);

    border-radius: 10px;

    transition: transform .25s ease;
}

.menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-buttons {
    display: none;
}


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

.hero {
    position: relative;

    overflow: hidden;

    padding: 105px 0 95px;

    background:
        linear-gradient(
            180deg,
            #fbfdfb 0%,
            #edf7f1 100%
        );
}

.hero-background {
    position: absolute;

    width: 700px;
    height: 700px;

    right: -300px;
    top: -280px;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(25, 185, 121, .18) 0%,
            rgba(25, 185, 121, .06) 35%,
            transparent 70%
        );
}

.hero-background::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -600px;
    bottom: -400px;

    background:
        radial-gradient(
            circle,
            rgba(186, 243, 107, .12),
            transparent 70%
        );
}

.hero-container {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(480px, .92fr);

    align-items: center;

    gap: 70px;
}


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

.hero-content {
    position: relative;
    z-index: 3;
}

.eyebrow {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 7px 12px;

    margin-bottom: 24px;

    border: 1px solid rgba(25, 185, 121, .15);

    border-radius: 50px;

    background: rgba(25, 185, 121, .07);

    color: var(--green-dark);

    font-size: 11px;
    font-weight: 850;
}

.eyebrow span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow: 0 0 10px rgba(25, 185, 121, .5);
}

.hero h1 {
    max-width: 720px;

    color: var(--dark);

    font-size: clamp(48px, 6vw, 78px);

    line-height: .97;

    letter-spacing: -4px;

    font-weight: 900;
}

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

.hero-content > p {
    max-width: 590px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}

.hero-stats {
    display: flex;

    flex-wrap: wrap;

    gap: 35px;

    margin-top: 47px;
}

.hero-stats div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.hero-stats strong {
    color: var(--dark);

    font-size: 21px;
    font-weight: 900;
}

.hero-stats span {
    color: #738179;

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

    letter-spacing: .7px;

    text-transform: uppercase;
}


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

.hero-dashboard {
    position: relative;

    min-height: 500px;

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

.dashboard-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(25, 185, 121, .2),
            transparent 68%
        );

    filter: blur(15px);

    pointer-events: none;
}


/* =========================================================
   PORTFOLIO CARD
========================================================= */

.portfolio-card {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 500px;

    padding: 28px;

    overflow: hidden;

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

    border-radius: 25px;

    color: white;

    background:
        linear-gradient(
            145deg,
            #112d20 0%,
            #07150f 100%
        );

    box-shadow:
        0 35px 80px rgba(5, 35, 22, .28);
}

.portfolio-card::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -160px;
    top: -170px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(67, 217, 154, .15),
            transparent 70%
        );
}

.portfolio-header {
    position: relative;
    z-index: 2;

    display: flex;

    justify-content: space-between;
    align-items: flex-start;
}

.portfolio-header small {
    color: #91a49a;

    font-size: 11px;
}

.portfolio-header h2 {
    margin-top: 5px;

    font-size: 31px;

    line-height: 1;

    letter-spacing: -1.2px;
}

.profit {
    padding: 7px 10px;

    border-radius: 8px;

    color: #65e2a9;

    background: rgba(25, 185, 121, .12);

    font-size: 11px;
    font-weight: 850;
}


/* =========================================================
   PORTFOLIO CHART
========================================================= */

.chart-container {
    position: relative;

    height: 180px;

    margin-top: 30px;
}

.chart-labels {
    position: absolute;

    left: 0;
    right: 0;
    bottom: -3px;

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

    color: #6f8479;

    font-size: 9px;
}

.portfolio-chart {
    width: 100%;
    height: 170px;

    overflow: visible;
}

.chart-area {
    fill: url(#chartGradient);
}

.chart-line {
    fill: none;

    stroke: #48dc9a;

    stroke-width: 3;

    vector-effect: non-scaling-stroke;

    filter:
        drop-shadow(
            0 0 4px rgba(72, 220, 154, .3)
        );
}


/* =========================================================
   PORTFOLIO ALLOCATION
========================================================= */

.allocation {
    position: relative;
    z-index: 2;

    margin-top: 26px;
}

.allocation-title {
    display: flex;

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

    margin-bottom: 10px;

    color: #91a49a;

    font-size: 10px;
}

.allocation-bar {
    width: 100%;
    height: 8px;

    display: flex;

    overflow: hidden;

    border-radius: 30px;

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

.allocation-bar span {
    height: 100%;
}

.allocation-bar .stocks {
    width: 46%;

    background: #24c582;
}

.allocation-bar .bitcoin {
    width: 28%;

    background: #b8f36d;
}

.allocation-bar .agriculture {
    width: 16%;

    background: #718379;
}

.allocation-bar .cash {
    width: 10%;

    background: #d5dfda;
}

.allocation-legend {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-top: 14px;
}

.allocation-legend span {
    display: flex;
    align-items: center;

    gap: 6px;

    color: #879b90;

    font-size: 9px;
}

.allocation-legend b {
    margin-left: auto;

    color: #d8e3dd;
}

.allocation-legend i {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    border-radius: 50%;
}

.green-dot {
    background: #24c582;
}

.lime-dot {
    background: #b8f36d;
}

.gray-dot {
    background: #718379;
}

.light-dot {
    background: #d5dfda;
}


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

.floating-card {
    position: absolute;

    z-index: 6;

    min-width: 245px;

    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 9px;

    padding: 12px;

    border: 1px solid rgba(15, 40, 28, .08);

    border-radius: 14px;

    background: white;

    box-shadow:
        0 18px 45px rgba(8, 40, 25, .15);

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

.floating-card strong {
    display: block;

    color: var(--dark);

    font-size: 11px;
}

.floating-card small {
    display: block;

    margin-top: 2px;

    color: #89978f;

    font-size: 9px;
}

.floating-card b {
    color: var(--dark);

    font-size: 10px;
}

.floating-card > span {
    grid-column: 3;
    grid-row: 2;

    color: var(--green);

    font-size: 9px;
    font-weight: 900;
}

.coin {
    width: 35px;
    height: 35px;

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

    border-radius: 10px;

    font-size: 16px;
    font-weight: 900;
}

.coin.bitcoin {
    color: #e89a24;

    background: #fff1dc;
}

.coin.apple {
    color: var(--dark);

    background: #edf5f0;
}

.bitcoin-card {
    left: -52px;
    top: 72px;
}

.stock-card {
    right: -48px;
    bottom: 65px;

    animation-delay: -2.5s;
}

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

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


/* =========================================================
   MARKET TICKER
========================================================= */

.market-ticker {
    width: 100%;

    display: flex;
    align-items: stretch;

    overflow: hidden;

    background: white;

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

.ticker-title {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    padding: 0 25px;

    background: var(--dark);

    color: white;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.ticker-wrapper {
    min-width: 0;

    overflow: hidden;
}

.ticker-track {
    width: max-content;

    display: flex;

    animation: tickerMove 32s linear infinite;
}

.ticker-item {
    min-height: 51px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 0 24px;

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

    white-space: nowrap;

    font-size: 11px;
}

.ticker-item b {
    color: var(--dark);
}

.ticker-item strong {
    color: #5c6b64;
}

.up {
    color: var(--green) !important;
    font-weight: 900;
}

.down {
    color: var(--danger) !important;
    font-weight: 900;
}

@keyframes tickerMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


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

.section {
    padding: 105px 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 55px;
}

.section-label {
    display: inline-block;

    color: var(--green-dark);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.section-heading h2,
.center-heading h2,
.faq-intro h2,
.cta h2 {
    margin-top: 11px;

    color: var(--dark);

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

    line-height: 1.06;

    letter-spacing: -2.5px;

    font-weight: 900;
}

.section-heading h2 span,
.center-heading h2 span,
.faq-intro h2 span,
.cta h2 span {
    color: var(--green);
}

.section-heading > p {
    max-width: 405px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   INVESTMENT GRID
========================================================= */

.investment-grid {
    display: grid;

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

    gap: 16px;
}

.investment-card {
    position: relative;

    min-height: 370px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    padding: 27px;

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

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

    background: white;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

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

    border-color: rgba(25,185,121,.2);

    box-shadow: var(--shadow-lg);
}

.investment-card.featured {
    border-color: transparent;

    color: white;

    background:
        linear-gradient(
            145deg,
            #0c281c,
            #06140e
        );
}

.investment-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

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

    margin-bottom: 44px;

    border-radius: 14px;

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

.bitcoin-icon {
    color: #ffb43b;

    background: rgba(255,174,58,.12);
}

.stock-icon {
    color: var(--green);

    background: rgba(25,185,121,.09);
}

.agriculture-icon {
    color: #6c992d;

    background: rgba(186,243,107,.25);
}

.diversify-icon {
    color: var(--dark);

    background: #edf3ef;
}

.investment-card small {
    color: #819087;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.2px;
}

.investment-card.featured small {
    color: #7f988b;
}

.investment-card h3 {
    margin-top: 7px;

    color: inherit;

    font-size: 21px;

    line-height: 1.2;

    letter-spacing: -.6px;
}

.investment-card p {
    position: relative;
    z-index: 2;

    /* =========================================================
   JAVASCRIPT RIPPLE EFFECT
========================================================= */

.btn {
    position: relative;
    overflow: hidden;
}

.button-ripple {
    position: absolute;

    width: 10px;
    height: 10px;

    border-radius: 50%;

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

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

    animation: buttonRipple .6s ease-out forwards;

    pointer-events: none;
}

@keyframes buttonRipple {

    to {
        transform: translate(-50%, -50%) scale(25);
        opacity: 0;
    }

}