/* =========================================
   TRUSTED INVESTMENT
   MAIN WEBSITE STYLES
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7faf8;
    color: #0f172a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =========================================
   DEMO TOP BAR
   ========================================= */

.demo-bar {
    width: 100%;
    background: #07111f;
    color: #b8c5d4;
    text-align: center;
    padding: 8px 15px;
    font-size: 12px;
    letter-spacing: 0.2px;
}


/* =========================================
   NAVBAR
   ========================================= */

.navbar {
    height: 76px;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid #e2e8f0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(10px);
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 17px;
    font-weight: 800;
}


.brand-mark {
    width: 40px;
    height: 40px;

    background: #07111f;
    color: #ffffff;

    border-radius: 11px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 19px;
    font-weight: 800;

    box-shadow: 0 8px 20px rgba(7, 17, 31, 0.16);
}


.brand-text {
    line-height: 1.05;
}


.brand-text > span {
    color: #16a34a;
}


.brand-text small {
    display: block;

    color: #94a3b8;

    font-size: 8px;
    letter-spacing: 2px;

    margin-top: 4px;
}


/* NAVIGATION */

.navbar nav {
    display: flex;
    align-items: center;
    gap: 26px;
}


.navbar nav a {
    color: #475569;

    font-size: 14px;
    font-weight: 600;

    transition: 0.25s ease;
}


.navbar nav a:hover {
    color: #16a34a;
}


/* LOGIN */

.login-btn {
    padding: 10px 5px;
}


/* SIGNUP */

.signup-btn {
    background: #22c55e !important;
    color: #052e16 !important;

    padding: 11px 18px;

    border-radius: 10px;

    box-shadow:
        0 8px 22px rgba(34, 197, 94, 0.18);

    transition: 0.25s ease;
}


.signup-btn:hover {
    background: #16a34a !important;
    color: #ffffff !important;

    transform: translateY(-2px);
}


/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    font-size: 25px;

    cursor: pointer;

    color: #0f172a;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    min-height: 610px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 70px;

    padding: 75px 9%;

    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(34, 197, 94, 0.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f9fdfb,
            #eef8f1
        );
}


/* HERO CONTENT */

.hero-content {
    max-width: 720px;
}


/* EYEBROW */

.eyebrow {
    display: inline-block;

    color: #16a34a;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}


/* HERO TITLE */

.hero h1 {
    font-size: clamp(42px, 5.2vw, 70px);

    line-height: 1.04;

    letter-spacing: -3px;

    margin-top: 15px;
    margin-bottom: 22px;

    max-width: 720px;
}


.hero h1 span {
    color: #16a34a;
}


/* HERO DESCRIPTION */

.hero-content > p {
    max-width: 600px;

    color: #64748b;

    font-size: 17px;

    line-height: 1.8;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;
    margin-bottom: 22px;
}


.primary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    background: #22c55e;

    color: #052e16 !important;

    padding: 13px 19px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 10px 25px rgba(34, 197, 94, 0.18);

    transition: 0.25s ease;
}


.primary-btn:hover {
    background: #16a34a;

    color: #ffffff !important;

    transform: translateY(-2px);
}


.secondary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 12px 19px;

    border-radius: 10px;

    border: 1px solid #cbd5e1;

    background: #ffffff;

    color: #334155;

    font-size: 14px;

    font-weight: 700;

    transition: 0.25s ease;
}


.secondary-btn:hover {
    border-color: #22c55e;

    color: #16a34a;

    transform: translateY(-2px);
}


/* TRUST ROW */

.trust-row {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    color: #64748b;

    font-size: 12px;
}


/* =========================================
   HERO DASHBOARD CARD
   ========================================= */

.hero-card {
    width: 100%;
    max-width: 430px;

    justify-self: center;

    padding: 28px;

    background: #07111f;

    color: #ffffff;

    border-radius: 24px;

    box-shadow:
        0 30px 70px rgba(7, 17, 31, 0.24);

    position: relative;

    overflow: hidden;
}


/* subtle green glow */

.hero-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    background: rgba(34, 197, 94, 0.13);

    border-radius: 50%;

    right: -70px;
    top: -70px;

    filter: blur(5px);
}


/* CARD HEADER */

.card-header {
    position: relative;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;
}


.card-header small,
.card-stats small {
    display: block;

    color: #94a3b8;

    font-size: 11px;

    margin-bottom: 5px;
}


.card-header h2 {
    font-size: 27px;

    letter-spacing: -1px;
}


.demo-status {
    color: #86efac;

    font-size: 11px;

    white-space: nowrap;
}


/* CHART */

.chart {
    height: 210px;

    display: flex;

    align-items: flex-end;

    gap: 9px;

    border-bottom: 1px solid #26374b;

    margin: 25px 0;

    padding: 0 8px;
}


.chart span {
    flex: 1;

    background:
        linear-gradient(
            to top,
            #16a34a,
            #4ade80
        );

    border-radius: 5px 5px 0 0;

    opacity: 0.9;

    transition: 0.3s ease;
}


.chart span:hover {
    opacity: 1;

    transform: scaleY(1.04);
}


/* CARD STATS */

.card-stats {
    display: flex;

    justify-content: space-between;

    gap: 20px;
}


.card-stats strong {
    font-size: 18px;

    color: #86efac;
}


/* =========================================
   STATISTICS
   ========================================= */

.stats {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: #ffffff;

    padding: 27px 9%;

    border-bottom: 1px solid #e2e8f0;
}


.stats div {
    text-align: center;

    border-right: 1px solid #e2e8f0;
}


.stats div:last-child {
    border-right: none;
}


.stats strong {
    display: block;

    font-size: 25px;

    color: #0f172a;
}


.stats span {
    display: block;

    color: #64748b;

    font-size: 12px;

    margin-top: 3px;
}


/* =========================================
   COMMON SECTION
   ========================================= */

.section {
    padding: 90px 9%;
}


.section-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 38px;
}


.section-heading h2 {
    font-size: 39px;

    letter-spacing: -1.5px;

    margin-top: 5px;
}


.section-heading p {
    max-width: 390px;

    color: #64748b;

    font-size: 13px;
}


.centered {
    display: block;

    text-align: center;
}


/* =========================================
   INVESTMENT PLANS
   ========================================= */

.plans {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


.plan {
    position: relative;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    padding: 30px;

    transition: 0.3s ease;
}


.plan:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(15, 23, 42, 0.08);
}


.plan.featured {
    border: 2px solid #22c55e;

    padding: 29px;

    box-shadow:
        0 12px 35px rgba(34, 197, 94, 0.08);
}


.plan-label {
    color: #64748b;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.plan h3 {
    font-size: 25px;

    margin-top: 9px;
    margin-bottom: 22px;
}


.price {
    font-size: 29px;

    font-weight: 800;

    color: #0f172a;
}


.price small {
    color: #94a3b8;

    font-size: 11px;

    font-weight: 500;
}


/* PROFIT */

.profit {
    margin: 20px 0;

    padding: 14px;

    background: #f0fdf4;

    border-radius: 10px;

    color: #16a34a;

    font-size: 21px;

    font-weight: 800;
}


.profit span {
    display: block;

    color: #64748b;

    font-size: 11px;

    font-weight: 500;

    margin-top: 2px;
}


.plan > a {
    display: block;

    text-align: center;

    background: #07111f;

    color: #ffffff;

    padding: 12px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 700;

    transition: 0.25s ease;
}


.plan > a:hover {
    background: #16a34a;
}


/* POPULAR BADGE */

.popular {
    position: absolute;

    top: 18px;
    right: 18px;

    background: #dcfce7;

    color: #15803d;

    padding: 5px 9px;

    border-radius: 20px;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.5px;
}


/* =========================================
   HOW IT WORKS
   ========================================= */

.how {
    background: #ffffff;
}


.steps {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


.steps > div {
    padding: 25px;

    border: 1px solid #e2e8f0;

    border-radius: 15px;

    background: #ffffff;

    transition: 0.25s ease;
}


.steps > div:hover {
    transform: translateY(-4px);

    border-color: #bbf7d0;

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.06);
}


.steps b {
    color: #16a34a;

    font-size: 12px;
}


.steps h3 {
    margin-top: 14px;
    margin-bottom: 6px;

    font-size: 16px;
}


.steps p {
    color: #64748b;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================
   REFERRAL
   ========================================= */

.referral {
    margin: 0 9% 90px;

    background: #07111f;

    color: #ffffff;

    border-radius: 22px;

    padding: 45px 50px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    overflow: hidden;

    position: relative;
}


.referral::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -100px;
    bottom: -150px;

    background: rgba(34, 197, 94, 0.1);

    border-radius: 50%;
}


.referral h2 {
    font-size: 34px;

    line-height: 1.15;

    margin: 10px 0 12px;

    max-width: 700px;
}


.referral h2 span {
    color: #4ade80;
}


.referral p {
    color: #aebdce;

    max-width: 650px;

    font-size: 13px;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    background: #050d18;

    color: #94a3b8;

    padding: 35px 9%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    font-size: 11px;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1000px) {

    .navbar {
        padding: 0 5%;
    }


    .navbar nav {
        gap: 14px;
    }


    .hero {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 65px 7%;
    }


    .hero-card {
        justify-self: start;
    }


    .plans {
        grid-template-columns: 1fr 1fr;
    }


    .steps {
        grid-template-columns: 1fr 1fr;
    }


    .stats {
        grid-template-columns: 1fr 1fr;

        gap: 20px;
    }


    .stats div:nth-child(2) {
        border-right: none;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .demo-bar {
        font-size: 10px;

        padding: 8px 10px;
    }


    .navbar {
        height: 70px;

        padding: 0 5%;
    }


    .menu-toggle {
        display: block;
    }


    .navbar nav {
        display: none;

        position: absolute;

        left: 0;
        right: 0;

        top: 70px;

        background: #ffffff;

        padding: 20px 6%;

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;

        border-bottom: 1px solid #e2e8f0;

        box-shadow:
            0 15px 30px rgba(15, 23, 42, 0.08);
    }


    .navbar nav.open {
        display: flex;
    }


    .hero {
        padding: 55px 6%;

        min-height: auto;
    }


    .hero h1 {
        font-size: 45px;

        letter-spacing: -2px;
    }


    .hero-content > p {
        font-size: 15px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .primary-btn,
    .secondary-btn {
        justify-content: center;
    }


    .trust-row {
        gap: 10px;

        flex-direction: column;
    }


    .hero-card {
        padding: 23px;

        border-radius: 19px;
    }


    .chart {
        height: 170px;
    }


    .stats {
        padding: 25px 6%;

        gap: 20px;
    }


    .stats div {
        border-right: none;

        border-bottom: 1px solid #e2e8f0;

        padding-bottom: 15px;
    }


    .stats div:nth-last-child(-n+2) {
        border-bottom: none;

        padding-bottom: 0;
    }


    .section {
        padding: 65px 6%;
    }


    .section-heading {
        display: block;

        margin-bottom: 30px;
    }


    .section-heading h2 {
        font-size: 32px;

        margin-bottom: 10px;
    }


    .plans,
    .steps {
        grid-template-columns: 1fr;
    }


    .plan {
        padding: 25px;
    }


    .referral {
        margin: 0 6% 65px;

        padding: 35px 28px;

        flex-direction: column;

        align-items: flex-start;
    }


    .referral h2 {
        font-size: 28px;
    }


    footer {
        padding: 30px 6%;

        flex-direction: column;

        align-items: flex-start;
    }

}