/* =====================================================
   GLOBAL
===================================================== */

:root {
    --navy: #0C2340;
    --green: #00843D;
    --bright-green: #00B140;
    --light-green: #26D07C;
    --yellow-green: #A8AD00;
    --white: #ffffff;
    --light-bg: #f5fbf8;
    --text: #163957;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    background: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
}

p {
    line-height: 1.7;
}


/* =====================================================
   HEADER
===================================================== */

.main-header {
    background: #ffffff;
    border-bottom: 1px solid #edf2f0;
    position: relative;
    z-index: 1000;
}

.navbar {
    padding: 12px 0;
}

.site-logo {
    width: 205px;
    height: auto;
}

.navbar-nav .nav-item {
    margin: 0 8px;
}

.navbar-nav .nav-link {
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    padding: 18px 8px !important;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .active .nav-link {
    color: var(--green);
}

.navbar-nav .active .nav-link:after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 8px;
    width: 28px;
    height: 3px;
    background: var(--bright-green);
    border-radius: 5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-btn {
    border: 1px solid var(--navy);
    color: var(--navy);
    padding: 12px 27px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.login-btn:hover {
    background: var(--navy);
    color: #fff;
}

.account-btn {
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--green),
        var(--bright-green)
    );
    padding: 13px 25px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0,132,61,.18);
}

.account-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}


/* =====================================================
   HERO
===================================================== */

.hero-section {
    position: relative;
    padding: 75px 0 70px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(38,208,124,.18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f1faf6 100%
        );
}

.hero-section:after {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    right: -350px;
    top: -250px;
    border: 80px solid rgba(0,177,64,.06);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-small-title {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}

.hero-content h1 {
    font-size: 55px;
    line-height: 1.08;
    font-weight: 800;
    margin: 18px 0 24px;
    color: var(--navy);
}

.hero-content h1 span {
    color: var(--bright-green);
}

.hero-content p {
    max-width: 540px;
    font-size: 17px;
    color: #48647d;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    border-radius: 8px;
    background: linear-gradient(
        135deg,
        var(--green),
        var(--bright-green)
    );
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    transition: .3s;
    box-shadow: 0 10px 25px rgba(0,132,61,.18);
}

.btn-main:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,132,61,.25);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 27px;
    border: 1px solid var(--green);
    border-radius: 8px;
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
    background: #fff;
}

.btn-outline:hover {
    color: #fff;
    background: var(--green);
}


/* =====================================================
   HERO FEATURES
===================================================== */

.hero-features {
    display: flex;
    gap: 30px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-feature i {
    color: var(--bright-green);
    font-size: 24px;
}

.hero-feature strong,
.hero-feature small {
    display: block;
}

.hero-feature strong {
    font-size: 13px;
}

.hero-feature small {
    font-size: 12px;
    color: #667c8e;
}


/* =====================================================
   HERO DASHBOARD
===================================================== */

.hero-dashboard {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.market-chart {
    background: #061b31;
    border-radius: 16px;
    padding: 20px;
    min-height: 380px;
    box-shadow:
        0 30px 60px rgba(12,35,64,.25);
    transform: perspective(1000px) rotateY(-5deg);
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.dashboard-logo {
    font-weight: 800;
}

.dashboard-logo span {
    color: var(--bright-green);
}

.dashboard-icons i {
    margin-left: 15px;
    color: #8da2b3;
    font-size: 12px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.chart-header small {
    color: #8fa5b8;
}

.chart-header h5 {
    color: #fff;
    margin-top: 5px;
}

.positive {
    color: #25dc7b;
    font-weight: 700;
}

.chart-area {
    height: 190px;
    position: relative;
    margin-top: 10px;
    overflow: hidden;
}

.grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,.08);
}

.line-1 {
    top: 20%;
}

.line-2 {
    top: 40%;
}

.line-3 {
    top: 60%;
}

.line-4 {
    top: 80%;
}

.candles {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.candle {
    width: 10px;
    position: relative;
    border-radius: 2px;
}

.candle:before {
    content: "";
    position: absolute;
    width: 2px;
    height: 15px;
    left: 4px;
    top: -15px;
    background: currentColor;
}

.candle.green {
    background: #00d978;
    color: #00d978;
}

.candle.red {
    background: #f05454;
    color: #f05454;
}

.c1 {
    height: 40px;
}

.c2 {
    height: 55px;
}

.c3 {
    height: 45px;
}

.c4 {
    height: 60px;
}

.c5 {
    height: 70px;
}

.c6 {
    height: 80px;
}

.c7 {
    height: 65px;
}

.c8 {
    height: 90px;
}

.c9 {
    height: 105px;
}

.c10 {
    height: 115px;
}

.c11 {
    height: 130px;
}

.c12 {
    height: 145px;
}

.trend-line {
    position: absolute;
    width: 95%;
    height: 4px;
    background: #00c969;
    transform: rotate(-17deg);
    bottom: 65px;
    left: 10px;
    box-shadow: 0 0 12px rgba(0,201,105,.6);
}

.trade-buttons {
    display: flex;
    gap: 10px;
}

.trade-buttons button {
    flex: 1;
    border: 0;
    border-radius: 5px;
    padding: 10px;
    color: #fff;
    font-weight: 700;
}

.buy-btn {
    background: #00b968;
}

.sell-btn {
    background: #ed5656;
}


/* =====================================================
   MARKET TICKER
===================================================== */

.market-ticker {
    background: #fff;
    border-top: 1px solid #e6eeee;
    border-bottom: 1px solid #e6eeee;
}

.ticker-item {
    padding: 18px 20px;
    border-right: 1px solid #e2e9e7;
}

.ticker-item strong {
    display: block;
    font-size: 11px;
    color: #60788c;
}

.ticker-item span {
    display: block;
    margin-top: 4px;
    font-weight: 800;
    color: var(--navy);
}

.ticker-item small {
    color: var(--green);
    font-weight: 700;
}


/* =====================================================
   COMMON SECTIONS
===================================================== */

.markets-section,
.why-section {
    padding: 90px 0;
}

.section-label {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.markets-section h2,
.why-section h2 {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    margin: 15px 0 20px;
}

.markets-section p,
.why-section p {
    color: #526c80;
    font-size: 15px;
}


/* =====================================================
   MARKET CARDS
===================================================== */

.market-card {
    background: #fff;
    border: 1px solid #e7eeee;
    border-radius: 10px;
    padding: 25px 20px;
    margin-bottom: 18px;
    min-height: 150px;
    transition: .3s;
}

.market-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,132,61,.25);
    box-shadow: 0 15px 35px rgba(12,35,64,.08);
}

.market-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    margin-bottom: 15px;
}

.market-icon.green {
    background: #00a957;
}

.market-icon.blue {
    background: #159be3;
}

.market-icon.purple {
    background: #6b54dd;
}

.market-icon.orange {
    background: #f59b18;
}

.market-icon.red {
    background: #f3485e;
}

.market-icon.teal {
    background: #00b89c;
}

.market-card h5 {
    font-size: 14px;
    font-weight: 800;
}

.market-card p {
    font-size: 11px;
    line-height: 1.5;
    margin: 0;
}


/* =====================================================
   PLATFORM
===================================================== */

.platform-section {
    padding: 90px 0;
    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(0,177,64,.15),
            transparent 30%
        ),
        #06233d;
    color: #fff;
    overflow: hidden;
}

.section-label.light {
    color: var(--light-green);
}

.platform-section h2 {
    font-size: 40px;
    line-height: 1.15;
    font-weight: 800;
    margin: 15px 0 20px;
}

.platform-section p {
    color: #c0d2df;
}

.platform-list {
    list-style: none;
    margin: 25px 0;
}

.platform-list li {
    margin-bottom: 12px;
    color: #e7f0f5;
    font-size: 14px;
}

.platform-list i {
    color: #00d878;
    margin-right: 10px;
}

.platform-btn {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #fff;
    border: 1px solid #00b968;
    border-radius: 25px;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 700;
}

.platform-btn:hover {
    background: #00a957;
    color: #fff;
}


/* =====================================================
   PLATFORM SCREEN
===================================================== */

.platform-screen {
    margin-left: 30px;
    background: #0b1724;
    border: 2px solid #19374f;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 25px 60px rgba(0,0,0,.3);
}

.screen-header {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 12px;
    padding-bottom: 12px;
}

.screen-header span span {
    color: var(--light-green);
}

.screen-header i {
    margin-left: 8px;
    color: #738b9d;
}

.screen-body {
    display: flex;
    min-height: 300px;
}

.screen-sidebar {
    width: 55px;
    border-right: 1px solid #19374f;
    padding: 15px 8px;
}

.screen-sidebar div {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: #19374f;
    margin-bottom: 20px;
}

.screen-chart {
    flex: 1;
    position: relative;
    background:
        linear-gradient(
            rgba(255,255,255,.03) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.03) 1px,
            transparent 1px
        );
    background-size: 45px 45px;
}

.chart-bars {
    height: 220px;
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 30px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.chart-bars span {
    width: 15px;
    background: linear-gradient(
        to top,
        #00a957,
        #26d07c
    );
    border-radius: 3px 3px 0 0;
}


/* =====================================================
   BENEFITS
===================================================== */

.why-section {
    background: #fff;
}

.benefit-card {
    border: 1px solid #e4ece9;
    border-radius: 10px;
    padding: 25px 15px;
    min-height: 205px;
    margin-bottom: 20px;
    text-align: center;
    transition: .3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(12,35,64,.08);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #e7f9f0;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.benefit-card h5 {
    font-size: 13px;
    font-weight: 800;
}

.benefit-card p {
    font-size: 11px;
    line-height: 1.5;
}


/* =====================================================
   APP SECTION
===================================================== */

.app-section {
    padding: 50px 0;
    background:
        linear-gradient(
            135deg,
            #dcf8e9,
            #effcf5
        );
    overflow: hidden;
}

.app-label {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.app-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 10px 0;
}

.app-section p {
    color: #506d80;
    font-size: 14px;
}

.phone-mockup {
    width: 135px;
    height: 260px;
    background: #061b31;
    border: 7px solid #172d40;
    border-radius: 25px;
    margin: 0 auto -80px;
    transform: rotate(-8deg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(12,35,64,.2);
}

.phone-top {
    width: 45px;
    height: 5px;
    border-radius: 10px;
    background: #1c3446;
    margin: 8px auto;
}

.phone-content {
    padding: 20px 12px;
    color: #fff;
    font-size: 12px;
}

.phone-content > span {
    font-weight: 800;
}

.phone-content > span span {
    color: var(--light-green);
}

.mini-chart {
    height: 90px;
    margin-top: 30px;
    border-bottom: 3px solid #00c969;
    transform: skewY(-12deg);
}

.mini-value {
    margin-top: 15px;
    color: #00d878;
    font-weight: 700;
}

.app-buttons {
    display: flex;
    gap: 10px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #061b31;
    color: #fff;
    border-radius: 7px;
    font-size: 9px;
}

.store-btn:hover {
    color: #fff;
}

.store-btn i {
    font-size: 22px;
}

.store-btn strong {
    display: block;
    font-size: 13px;
}


/* =====================================================
   QR
===================================================== */

.qr-code {
    width: 105px;
    height: 105px;
    background: #fff;
    margin: auto;
    padding: 10px;
    border-radius: 5px;
}

.qr-pattern {
    height: 100%;
    background:
        repeating-linear-gradient(
            45deg,
            #000 0,
            #000 4px,
            #fff 4px,
            #fff 8px
        );
}

.app-section small {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding: 60px 0 30px;
    background: #041b30;
    color: #fff;
}

.footer-logo {
    width: 180px;
    filter: brightness(1.05);
}

.footer-tagline {
    font-size: 11px;
    color: #a5bbc9;
    margin-top: 12px;
}

.footer h5 {
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 10px;
}

.footer li a {
    color: #a7bac7;
    font-size: 12px;
}

.footer li a:hover {
    color: var(--light-green);
}

.social-links {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #17364d;
    font-size: 12px;
}

.social-links a:hover {
    background: var(--green);
}

.copyright {
    color: #7891a1;
    font-size: 10px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1199px) {

    .hero-content h1 {
        font-size: 46px;
    }

    .navbar-nav .nav-item {
        margin: 0 3px;
    }

    .navbar-nav .nav-link {
        font-size: 12px;
    }

}


@media (max-width: 991px) {

    .header-actions {
        margin-top: 20px;
        justify-content: center;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .hero-dashboard {
        margin-top: 40px;
    }

    .markets-section,
    .why-section,
    .platform-section {
        padding: 65px 0;
    }

    .platform-screen {
        margin: 40px 0 0;
    }

    .phone-mockup {
        margin-bottom: 30px;
    }

}


@media (max-width: 767px) {

    .site-logo {
        width: 160px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-small-title {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .market-ticker .ticker-item {
        border-bottom: 1px solid #e5ece9;
        border-right: 0;
    }

    .markets-section h2,
    .why-section h2,
    .platform-section h2 {
        font-size: 31px;
    }

    .app-buttons {
        flex-direction: column;
    }

    .store-btn {
        width: 180px;
    }

}


@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 31px;
    }

    .market-chart {
        transform: none;
    }

    .hero-dashboard {
        padding: 0;
    }

    .platform-screen {
        padding: 8px;
    }

}