:root {
    --bg: #f6f8fc;
    --card: #ffffff;
    --text: #102033;
    --muted: #617083;
    --primary: #0b63ff;
    --primary-dark: #084ec7;
    --accent: #02c39a;
    --border: rgba(16, 32, 51, 0.1);
    --shadow: 0 20px 50px rgba(16, 32, 51, 0.12);
    --header: rgba(255, 255, 255, 0.88);
}

html[data-theme="dark"] {
    --bg: #07111f;
    --card: #0e1b2e;
    --text: #f5f8ff;
    --muted: #a7b3c5;
    --primary: #4c8dff;
    --primary-dark: #2f72e8;
    --accent: #04d9b2;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --header: rgba(7, 17, 31, 0.9);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

.container {
    width: min(1180px, 92%);
    margin: auto;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 58px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    font-weight: 700;
    color: var(--muted);
    font-size: 15px;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.theme-toggle,
.menu-btn {
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.login-btn {
    font-weight: 800;
    color: var(--text);
}

.start-btn,
.primary-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(11, 99, 255, 0.25);
}

.start-btn:hover,
.primary-btn:hover {
    background: var(--primary-dark);
}

.menu-btn {
    display: none;
}

/* LIVE MARKET TICKER */
.market-ticker {
    width: 100%;
    height: 46px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: linear-gradient(135deg, #020817, #071b38);
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    overflow: hidden;
}

.ticker-label {
    height: 46px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0 22px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.ticker-wrap {
    height: 46px;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 30px;
    white-space: nowrap;
    animation: tickerMove 38s linear infinite;
    padding-left: 100%;
}

.ticker-wrap:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.ticker-item strong {
    color: white;
}

.ticker-item span {
    color: #dbe7ff;
}

.ticker-item em {
    font-style: normal;
    font-size: 13px;
    font-weight: 900;
}

.ticker-item .up {
    color: #00e69a;
}

.ticker-item .down {
    color: #ff5b6e;
}

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

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

/* HERO */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top left, rgba(11, 99, 255, 0.16), transparent 35%),
        radial-gradient(circle at bottom right, rgba(2, 195, 154, 0.16), transparent 35%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    padding: 70px 0;
}

.hero-badge,
.section-tag {
    display: inline-block;
    color: var(--primary);
    background: rgba(11, 99, 255, 0.1);
    padding: 8px 15px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -3px;
    margin-bottom: 22px;
}

.hero p {
    font-size: 19px;
    color: var(--muted);
    max-width: 660px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 35px;
}

.secondary-btn {
    display: inline-block;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 900;
}

.hero-stats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-stats div {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 18px 20px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    min-width: 140px;
}

.hero-stats strong {
    display: block;
    font-size: 24px;
    color: var(--primary);
}

.hero-stats span {
    color: var(--muted);
    font-size: 14px;
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
    min-height: 460px;
    border-radius: 35px;
    background: linear-gradient(135deg, rgba(11, 99, 255, 0.95), rgba(2, 195, 154, 0.85));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    filter: blur(1px);
}

.orb-one {
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.18);
    top: 40px;
    right: 35px;
}

.orb-two {
    width: 120px;
    height: 120px;
    background: rgba(0,0,0,0.14);
    bottom: 45px;
    left: 35px;
}

.glass-card,
.floating-card {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(14px);
    color: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

.main-card {
    left: 35px;
    right: 35px;
    bottom: 35px;
    padding: 28px;
}

.main-card h3 {
    font-size: 26px;
    margin-bottom: 14px;
}

.main-card li {
    list-style: none;
    padding: 8px 0;
    font-weight: 800;
}

.floating-card {
    padding: 18px 22px;
}

.floating-card strong {
    display: block;
    font-size: 18px;
}

.floating-card span {
    font-size: 14px;
    opacity: 0.9;
}

.card-one {
    top: 40px;
    left: 30px;
}

.card-two {
    top: 125px;
    right: 28px;
}

/* TRUSTED */
.trusted {
    padding: 25px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--card);
}

.trusted-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.trusted-grid span {
    font-weight: 900;
    color: var(--muted);
}

/* SECTIONS */
.section {
    padding: 85px 0;
}

.two-col {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.section h2 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.section p {
    color: var(--muted);
    font-size: 17px;
}

.section-center {
    max-width: 750px;
    text-align: center;
    margin: 0 auto 45px;
}

/* COURSES */
.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.course-card,
.why-card,
.step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 26px;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.course-card:hover,
.why-card:hover,
.step:hover {
    transform: translateY(-6px);
}

.icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: grid;
    place-items: center;
    font-size: 28px;
    margin-bottom: 18px;
}

.course-card h3,
.why-card h3,
.step h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.course-card p,
.why-card p,
.step p {
    font-size: 15px;
}

/* WHY */
.why {
    background: linear-gradient(135deg, rgba(11, 99, 255, 0.08), rgba(2, 195, 154, 0.08));
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* HOW */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.step span {
    display: inline-block;
    color: var(--primary);
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 12px;
}

/* WARNING */
.warning {
    padding-top: 20px;
}

.warning-box {
    background: #fff7df;
    color: #3d2d00;
    border: 1px solid #ffe284;
    padding: 32px;
    border-radius: 28px;
}

html[data-theme="dark"] .warning-box {
    background: #2a220d;
    color: #ffefbd;
    border-color: #4b3a10;
}

.warning-box h2 {
    font-size: 30px;
}

/* CTA */
.cta {
    padding-top: 30px;
}

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 36px;
    padding: 70px 25px;
    box-shadow: var(--shadow);
}

.cta-box h2 {
    color: white;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    max-width: 680px;
    margin: 0 auto 25px;
}

.white-btn {
    background: white;
    color: var(--primary);
}

.white-btn:hover {
    background: #f2f2f2;
    color: var(--primary-dark);
}

/* FOOTER */
.site-footer {
    background: #020817;
    color: white;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
    gap: 35px;
}

.footer-logo {
    height: 75px;
    width: auto;
    object-fit: contain;
    margin-bottom: 18px;
    display: block;
}

.site-footer h3 {
    margin-bottom: 16px;
}

.site-footer p {
    color: #aeb8c8;
    max-width: 420px;
}

.site-footer a {
    display: block;
    color: #aeb8c8;
    margin-bottom: 10px;
}

.site-footer a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 45px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 22px;
    color: #aeb8c8;
}

/* AUTH PAGES */
.auth-page {
    position: relative;
    min-height: 90vh;
    padding: 80px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(11, 99, 255, 0.16), transparent 35%),
        radial-gradient(circle at bottom right, rgba(2, 195, 154, 0.16), transparent 35%);
}

.auth-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11, 99, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 99, 255, 0.05) 1px, transparent 1px);
    background-size: 45px 45px;
    pointer-events: none;
}

.auth-wrap {
    position: relative;
    z-index: 2;
    width: min(520px, 92%);
    margin: auto;
}

.auth-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 34px;
    box-shadow: var(--shadow);
    padding: 42px;
}

.auth-logo {
    margin-bottom: 20px;
    text-align: center;
}

.auth-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.auth-card .section-tag {
    margin-bottom: 16px;
}

.auth-card h1 {
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.auth-card p {
    color: var(--muted);
    margin-bottom: 28px;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-weight: 800;
    color: var(--text);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    padding: 15px 16px;
    border-radius: 16px;
    outline: none;
    font-size: 15px;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 99, 255, 0.12);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    font-size: 14px;
    color: var(--muted);
}

.auth-options.single-option {
    justify-content: flex-start;
}

.auth-options label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-options a {
    color: var(--primary);
    font-weight: 800;
}

.auth-btn {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 15px 20px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(11, 99, 255, 0.25);
    transition: 0.25s ease;
}

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

.auth-bottom {
    margin-top: 25px;
    text-align: center;
}

.auth-bottom p {
    margin: 0;
}

.auth-bottom a {
    color: var(--primary);
    font-weight: 900;
}

/* TABLET */
@media (max-width: 980px) {
    .nav-menu {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: var(--card);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 5%;
        display: none;
        box-shadow: var(--shadow);
    }

    .nav-menu.show {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .login-btn,
    .start-btn {
        display: none;
    }

    .hero-grid,
    .two-col {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 420px;
    }

    .course-grid,
    .why-grid,
    .steps,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }
}

/* MOBILE */
@media (max-width: 620px) {
    .container {
        width: 92%;
    }

    .nav-wrap {
        min-height: 70px;
    }

    .logo img {
        height: 48px;
    }

    .theme-toggle,
    .menu-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .nav-menu {
        top: 70px;
    }

    .market-ticker {
        height: 42px;
        flex-direction: row;
    }

    .ticker-label {
        height: 42px;
        padding: 0 10px;
        font-size: 9px;
        min-width: 96px;
    }

    .ticker-wrap {
        height: 42px;
    }

    .ticker-content {
        gap: 22px;
        animation-duration: 32s;
        padding-left: 100%;
    }

    .ticker-item {
        font-size: 12px;
        gap: 6px;
    }

    .ticker-item em {
        font-size: 11px;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding: 45px 0;
        gap: 35px;
    }

    .hero h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 390px;
        border-radius: 26px;
    }

    .main-card {
        left: 20px;
        right: 20px;
        bottom: 20px;
        padding: 22px;
    }

    .main-card h3 {
        font-size: 22px;
    }

    .floating-card {
        padding: 14px 16px;
    }

    .card-one {
        top: 25px;
        left: 18px;
    }

    .card-two {
        top: 95px;
        right: 18px;
    }

    .trusted-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .course-grid,
    .why-grid,
    .steps,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .course-card,
    .why-card,
    .step {
        padding: 22px;
    }

    .cta-box {
        padding: 50px 20px;
        border-radius: 28px;
    }

    .footer-logo {
        height: 65px;
    }

    .auth-page {
        padding: 45px 0;
    }

    .auth-card {
        border-radius: 26px;
        padding: 25px;
    }

    .auth-logo img {
        height: 58px;
    }

    .auth-card h1 {
        font-size: 31px;
    }

    .auth-options {
        flex-direction: column;
        align-items: flex-start;
    }
}