:root {
    --bg: #050914;
    --bg-soft: #09101f;
    --bg-card: #0c1424;
    --bg-card-light: #111b2d;

    --gold: #f5b942;
    --gold-light: #ffd878;

    --blue: #1769ff;
    --blue-light: #4b8cff;

    --white: #ffffff;
    --text: #f5f7fb;
    --muted: #9ba7ba;

    --border: rgba(255, 255, 255, 0.09);

    --container: 1180px;
}


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 9, 20, 0.94);
    backdrop-filter: blur(15px);
    border-color: var(--border);
}

.nav-container {
    width: min(1180px, calc(100% - 40px));
    min-height: 82px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 19px;
    font-weight: 700;
    white-space: nowrap;
}

.logo strong {
    color: var(--gold);
}

.logo-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: var(--gold);
    color: #111;

    font-size: 23px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;

    transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a.active {
    color: var(--gold);
}

.desktop-auth {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-link {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;

    transition: 0.25s ease;
}

.login-link:hover {
    color: var(--white);
}

.nav-button {
    padding: 11px 19px;

    background: var(--gold);
    color: #111;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.25s ease;
}

.nav-button:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.mobile-auth {
    display: none;
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    margin: 4px auto;

    background: var(--white);

    transition: 0.25s ease;
}


/* ================= HERO ================= */

.trading-hero {
    position: relative;
    min-height: 790px;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding: 150px 0 100px;

    background:
        radial-gradient(
            circle at 80% 35%,
            rgba(23, 105, 255, 0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 20% 60%,
            rgba(245, 185, 66, 0.06),
            transparent 28%
        ),
        var(--bg);
}

.hero-container {
    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 40px));
    margin: auto;

    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 70px;
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;

    border-radius: 50%;
    filter: blur(100px);

    pointer-events: none;
}

.hero-glow-one {
    top: 100px;
    right: -200px;
    background: rgba(23, 105, 255, 0.13);
}

.hero-glow-two {
    bottom: -200px;
    left: -200px;
    background: rgba(245, 185, 66, 0.07);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;

    color: var(--gold);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.tag-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold);
    box-shadow: 0 0 12px rgba(245, 185, 66, 0.5);
}

.hero-content h1 {
    max-width: 650px;

    font-size: clamp(46px, 5.2vw, 72px);
    line-height: 1.05;
    letter-spacing: -3px;

    margin-bottom: 25px;
}

.hero-content h1 span {
    display: block;
    color: var(--gold);
}

.hero-content > p {
    max-width: 590px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.8;

    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 24px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.25s ease;
}

.primary-button {
    background: var(--gold);
    color: #111;
}

.primary-button:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.secondary-button {
    border: 1px solid var(--border);
    color: var(--white);
    background: rgba(255, 255, 255, 0.025);
}

.secondary-button:hover {
    border-color: rgba(245, 185, 66, 0.45);
    background: rgba(245, 185, 66, 0.05);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #7f8ca1;

    font-size: 12px;
}

.hero-note span {
    color: var(--gold);
}


/* ================= TRADING PREVIEW ================= */

.trading-preview {
    padding: 22px;

    background: rgba(12, 20, 36, 0.9);

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35),
        0 0 80px rgba(23, 105, 255, 0.06);

    transform: perspective(1000px) rotateY(-3deg);
}

.preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}

.asset-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.asset-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(245, 185, 66, 0.13);
    border: 1px solid rgba(245, 185, 66, 0.2);

    color: var(--gold);

    font-size: 24px;
    font-weight: 700;
}

.asset-name strong {
    display: block;
    font-size: 14px;
}

.asset-name span {
    display: block;

    margin-top: 2px;

    color: var(--muted);
    font-size: 11px;
}

.market-status {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 7px 10px;

    border: 1px solid var(--border);
    border-radius: 20px;

    color: var(--muted);
    font-size: 10px;
}

.market-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #35d07f;
}


/* ================= CHART ================= */

.chart-area {
    padding: 25px 0;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;
}

.chart-label {
    display: block;

    color: var(--muted);

    font-size: 9px;
    letter-spacing: 1px;
}

.chart-header strong {
    display: block;

    margin-top: 4px;

    font-size: 14px;
}

.time-buttons {
    display: flex;
    gap: 5px;
}

.time-buttons button {
    border: 0;

    padding: 5px 8px;

    border-radius: 5px;

    background: transparent;
    color: var(--muted);

    font-size: 9px;

    cursor: pointer;
}

.time-buttons button.selected,
.time-buttons button:hover {
    background: rgba(245, 185, 66, 0.12);
    color: var(--gold);
}

.chart {
    position: relative;

    height: 250px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.015);
}

.chart-grid {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 25px 0;
}

.chart-grid span {
    width: 100%;
    height: 1px;

    background: rgba(255, 255, 255, 0.045);
}

.chart-line {
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 18px;

    height: 190px;

    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.chart-line::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 0;

    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        var(--blue),
        transparent
    );

    opacity: 0.9;

    transform: rotate(-1deg);
}

.chart-line i {
    position: relative;

    flex: 1;

    max-width: 24px;

    background: linear-gradient(
        to top,
        rgba(23, 105, 255, 0.2),
        rgba(245, 185, 66, 0.7)
    );

    border-radius: 3px 3px 0 0;

    opacity: 0.75;
}

.preview-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 20px;

    border-top: 1px solid var(--border);
}

.trade-info span {
    display: block;

    color: var(--muted);
    font-size: 10px;
}

.trade-info strong {
    display: block;

    margin-top: 4px;

    font-size: 13px;
}

.trade-action {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 700;
}

.action-arrow {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(245, 185, 66, 0.1);
}


/* ================= INTRO ================= */

.trading-intro {
    padding: 110px 0;

    background: var(--bg-soft);
}

.intro-heading {
    max-width: 720px;

    margin-bottom: 55px;
}

.intro-heading h2,
.section-heading h2 {
    font-size: clamp(35px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -2px;

    margin-bottom: 18px;
}

.intro-heading h2 span,
.section-heading h2 span,
.discipline-content h2 span,
.cta-content h2 span {
    color: var(--gold);
}

.intro-heading > p,
.section-heading > p {
    max-width: 650px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.8;
}


/* ================= FEATURE CARDS ================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    padding: 30px 25px;

    background: var(--bg-card);

    border: 1px solid var(--border);
    border-radius: 13px;

    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color: rgba(245, 185, 66, 0.22);
}

.feature-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 23px;

    border-radius: 10px;

    background: rgba(245, 185, 66, 0.09);

    color: var(--gold);

    font-size: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;

    font-size: 16px;
}

.feature-card p {
    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}


/* ================= HOW IT WORKS ================= */

.how-section {
    padding: 115px 0;

    background: var(--bg);
}

.section-heading.centered {
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 70px;
}

.steps {
    max-width: 900px;

    margin: auto;
}

.step {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 30px;

    padding: 25px 0;
}

.step-number {
    width: 78px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(245, 185, 66, 0.08);
    border: 1px solid rgba(245, 185, 66, 0.18);

    color: var(--gold);

    font-size: 17px;
    font-weight: 800;
}

.step-content h3 {
    margin-bottom: 7px;

    font-size: 19px;
}

.step-content p {
    max-width: 620px;

    color: var(--muted);

    font-size: 14px;
}

.step-line {
    width: 1px;
    height: 35px;

    margin-left: 39px;

    background: linear-gradient(
        to bottom,
        rgba(245, 185, 66, 0.4),
        transparent
    );
}


/* ================= DISCIPLINE ================= */

.discipline-section {
    padding: 100px 0;

    background: var(--bg-soft);
}

.discipline-card {
    min-height: 510px;

    display: grid;
    grid-template-columns: 1fr 0.8fr;

    align-items: center;

    overflow: hidden;

    background: var(--bg-card);

    border: 1px solid var(--border);
    border-radius: 20px;
}

.discipline-content {
    padding: 65px;
}

.discipline-content h2 {
    max-width: 600px;

    margin-bottom: 20px;

    font-size: clamp(34px, 4vw, 49px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.discipline-content > p {
    max-width: 570px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;

    margin-bottom: 30px;
}

.discipline-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
}

.discipline-points div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.discipline-points span {
    color: var(--gold);
}

.discipline-points p {
    color: #d6dce7;

    font-size: 13px;
}


/* ================= VISUAL ================= */

.discipline-visual {
    position: relative;

    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle,
            rgba(23, 105, 255, 0.13),
            transparent 55%
        );
}

.circle {
    position: absolute;

    border: 1px solid rgba(245, 185, 66, 0.14);

    border-radius: 50%;
}

.circle-one {
    width: 330px;
    height: 330px;
}

.circle-two {
    width: 210px;
    height: 210px;
}

.visual-center {
    position: relative;
    z-index: 2;

    width: 125px;
    height: 125px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(5, 9, 20, 0.9);

    border: 1px solid rgba(245, 185, 66, 0.3);

    box-shadow: 0 0 60px rgba(245, 185, 66, 0.08);
}

.bitcoin-large {
    color: var(--gold);

    font-size: 47px;
    font-weight: 800;
    line-height: 1;
}

.visual-center span {
    margin-top: 5px;

    color: var(--muted);

    font-size: 8px;
    letter-spacing: 2px;
}


/* ================= RISK ================= */

.risk-section {
    padding: 70px 0;

    background: var(--bg);
}

.risk-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;

    padding: 25px 28px;

    background: rgba(245, 185, 66, 0.045);

    border: 1px solid rgba(245, 185, 66, 0.14);
    border-radius: 12px;
}

.risk-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(245, 185, 66, 0.1);

    color: var(--gold);

    font-weight: 800;
}

.risk-box h3 {
    margin-bottom: 4px;

    font-size: 15px;
}

.risk-box p {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.7;
}

.risk-box > a {
    color: var(--gold);

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}


/* ================= CTA ================= */

.trading-cta {
    padding: 50px 0 110px;

    background: var(--bg);
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 55px;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(23, 105, 255, 0.13),
            transparent 40%
        ),
        var(--bg-card);

    border: 1px solid var(--border);
    border-radius: 18px;
}

.cta-content h2 {
    max-width: 620px;

    margin-bottom: 12px;

    font-size: clamp(31px, 3.5vw, 45px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.cta-content p {
    color: var(--muted);

    font-size: 14px;
}

.cta-buttons {
    display: flex;
    gap: 10px;

    flex-shrink: 0;
}


/* ================= FOOTER ================= */

.footer {
    padding: 75px 0 25px;

    background: #03060d;

    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;

    padding-bottom: 50px;
}

.footer-brand p {
    max-width: 350px;

    margin-top: 18px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 6px;

    color: var(--white);

    font-size: 13px;
}

.footer-column a {
    color: var(--muted);

    font-size: 12px;

    transition: 0.2s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 22px;

    border-top: 1px solid var(--border);

    color: #687386;

    font-size: 11px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {

    .nav-links {
        gap: 18px;
    }

    .hero-container {
        gap: 40px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .discipline-card {
        grid-template-columns: 1fr;
    }

    .discipline-visual {
        min-height: 350px;
    }

}


@media (max-width: 850px) {

    .desktop-auth {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 82px;
        left: 20px;
        right: 20px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 20px;

        background: rgba(9, 16, 31, 0.98);

        border: 1px solid var(--border);
        border-radius: 12px;

        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > a {
        padding: 9px 0;
    }

    .mobile-auth {
        display: flex;
        align-items: center;
        gap: 15px;

        padding-top: 12px;
        margin-top: 5px;

        border-top: 1px solid var(--border);
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;

        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 {
        letter-spacing: -2px;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .trading-preview {
        transform: none;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .container,
    .nav-container,
    .hero-container {
        width: min(100% - 28px, 1180px);
    }

    .trading-hero {
        min-height: auto;

        padding-top: 125px;
        padding-bottom: 70px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-buttons {
        width: 100%;

        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .trading-preview {
        padding: 15px;
    }

    .chart {
        height: 210px;
    }

    .chart-line {
        height: 155px;
        gap: 7px;
    }

    .time-buttons {
        display: none;
    }

    .trading-intro,
    .how-section,
    .discipline-section {
        padding: 80px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .step {
        grid-template-columns: 65px 1fr;
        gap: 18px;
    }

    .step-number {
        width: 58px;
        height: 58px;

        font-size: 14px;
    }

    .step-line {
        margin-left: 28px;
    }

    .discipline-content {
        padding: 35px 25px;
    }

    .discipline-points {
        grid-template-columns: 1fr;
    }

    .discipline-visual {
        min-height: 300px;
    }

    .risk-box {
        grid-template-columns: auto 1fr;
    }

    .risk-box > a {
        grid-column: 2;
    }

    .cta-card {
        padding: 35px 25px;
    }

    .cta-buttons {
        width: 100%;

        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

}


@media (max-width: 400px) {

    .logo {
        font-size: 16px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;

        font-size: 20px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}