/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #050b18;
    color: white;
    min-height: 100vh;
}


/* =========================
   HEADER
========================= */

header {
    width: 100%;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: rgba(5, 11, 24, 0.95);
    border-bottom: 1px solid #17243b;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: #b9c4d6;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

nav a:hover {
    color: white;
}

.login-btn,
.signup-btn {
    padding: 10px 20px;
    border-radius: 8px;
}

.login-btn {
    border: 1px solid #30415e;
}

.signup-btn {
    background: #00d084;
    color: #03120d !important;
    font-weight: bold;
}

.signup-btn:hover {
    background: #00f096;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    padding: 80px 7%;

    background:
        radial-gradient(circle at 80% 40%, #102b4d 0%, transparent 35%),
        #050b18;
}

.hero-text {
    max-width: 600px;
}

.small-title {
    color: #00d084;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 60px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #00d084;
    display: block;
}

.description {
    color: #9eabc0;
    font-size: 18px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.primary-btn,
.secondary-btn {
    display: inline-block;

    padding: 14px 27px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;
}

.primary-btn {
    background: #00d084;
    color: #03120d;
}

.primary-btn:hover {
    transform: translateY(-3px);
    background: #00f096;
}

.secondary-btn {
    border: 1px solid #30415e;
    color: white;
}

.secondary-btn:hover {
    background: #132039;
}


/* =========================
   MARKET CARD
========================= */

.market-card {
    width: 430px;
    min-width: 430px;

    padding: 25px;

    background: #0b1425;

    border: 1px solid #1d304b;

    border-radius: 18px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card-header {
    display: flex;
    justify-content: space-between;

    margin-bottom: 25px;

    font-size: 13px;
    font-weight: bold;
}

.live {
    color: #00d084;
}


/* =========================
   CHART
========================= */

.chart {
    height: 250px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(#17253a 1px, transparent 1px),
        linear-gradient(90deg, #17253a 1px, transparent 1px);

    background-size: 50px 50px;

    border-radius: 10px;
}


/* Fake chart lines */

.line {
    position: absolute;

    height: 3px;

    background: #00d084;

    transform-origin: left center;

    border-radius: 10px;
}

.line1 {
    width: 70px;
    left: 20px;
    top: 190px;
    transform: rotate(-20deg);
}

.line2 {
    width: 70px;
    left: 85px;
    top: 165px;
    transform: rotate(25deg);
}

.line3 {
    width: 75px;
    left: 150px;
    top: 195px;
    transform: rotate(-45deg);
}

.line4 {
    width: 75px;
    left: 205px;
    top: 140px;
    transform: rotate(15deg);
}

.line5 {
    width: 100px;
    left: 275px;
    top: 160px;
    transform: rotate(-35deg);
}


/* Chart points */

.chart-point {
    width: 9px;
    height: 9px;

    position: absolute;

    background: white;

    border-radius: 50%;

    box-shadow: 0 0 12px #00d084;
}

.p1 {
    left: 20px;
    top: 187px;
}

.p2 {
    left: 82px;
    top: 158px;
}

.p3 {
    left: 148px;
    top: 190px;
}

.p4 {
    left: 202px;
    top: 135px;
}

.p5 {
    left: 272px;
    top: 155px;
}

.p6 {
    right: 25px;
    top: 100px;
}


/* =========================
   MARKET INFO
========================= */

.market-info {
    display: flex;
    justify-content: space-between;

    margin-top: 22px;
}

.market-info small {
    display: block;

    color: #71809a;

    font-size: 11px;

    margin-bottom: 7px;
}

.market-info strong {
    font-size: 17px;
}

.positive {
    color: #00d084;
}


/* =========================
   FEATURES
========================= */

.features {
    padding: 90px 7%;
    text-align: center;

    background: #071020;
}

.features h2,
.about h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.section-text {
    color: #8d9ab0;
    margin-bottom: 45px;
}

.feature-container {
    display: flex;

    justify-content: center;

    gap: 25px;
}

.feature-card {
    width: 30%;
    max-width: 350px;

    padding: 35px 25px;

    background: #0b1425;

    border: 1px solid #1d304b;

    border-radius: 15px;

    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-7px);

    border-color: #00d084;
}

.icon {
    font-size: 38px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: #8d9ab0;
    line-height: 1.6;
}


/* =========================
   ABOUT
========================= */

.about {
    padding: 100px 7%;

    text-align: center;

    background: #050b18;
}

.about div {
    max-width: 700px;
    margin: auto;
}

.about h2 span {
    color: #00d084;
}

.about p {
    color: #9eabc0;

    line-height: 1.8;

    margin: 25px auto 35px;

    max-width: 600px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 30px 7%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-top: 1px solid #17243b;

    color: #71809a;
}

footer .logo {
    color: white;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .hero {
        flex-direction: column;

        text-align: center;

        padding-top: 60px;
    }

    .hero-text {
        max-width: 700px;
    }

    .description {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-container {
        flex-wrap: wrap;
    }

    .feature-card {
        width: 45%;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    header {
        height: auto;

        padding: 18px 5%;

        flex-direction: column;

        gap: 18px;
    }

    nav {
        width: 100%;

        justify-content: center;

        gap: 10px;

        flex-wrap: wrap;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        padding: 55px 5%;

        gap: 45px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .primary-btn,
    .secondary-btn {
        text-align: center;
    }

    .market-card {
        width: 100%;
        min-width: 0;

        padding: 18px;
    }

    .chart {
        height: 200px;
    }

    .features {
        padding: 70px 5%;
    }

    .features h2,
    .about h2 {
        font-size: 30px;
    }

    .feature-container {
        flex-direction: column;
    }

    .feature-card {
        width: 100%;
        max-width: none;
    }

    .about {
        padding: 70px 5%;
    }

    footer {
        flex-direction: column;

        gap: 15px;

        text-align: center;
    }
}