@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --tb-bg: #050505;
    --tb-bg-soft: #0a0a0a;
    --tb-panel: #0c0c0c;
    --tb-border: #1a1a1a;
    --tb-lime: #b6ef39;
    --tb-lime-soft: #9ed126;
    --tb-text: #f2f2f2;
    --tb-muted: #a7a7a7;
    --tb-danger: #ff5c5c;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
    background: radial-gradient(900px 420px at 50% 58%, rgba(182, 239, 57, 0.18), transparent 65%), var(--tb-bg);
    color: var(--tb-text);
}

img {
    max-width: 100%;
    height: auto;
}

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

.container {
    width: min(1200px, calc(100% - 1.2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(4, 4, 4, 0.94);
    border-bottom: 1px solid rgba(182, 239, 57, 0.2);
    overflow: hidden;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(182, 239, 57, 0.24);
}

.landing-page .site-header::before {
    content: "";
    position: absolute;
    left: -130px;
    bottom: 0;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(182, 239, 57, 0.35), var(--tb-lime), rgba(182, 239, 57, 0.35), transparent);
    box-shadow: 0 0 10px rgba(182, 239, 57, 0.85);
    animation: headerLineGlow 8s linear infinite;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.brand-text {
    color: var(--tb-lime);
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.btn {
    border: 0;
    border-radius: 12px;
    min-height: 42px;
    padding: 0.56rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--tb-lime);
    color: #0b0b0b;
}

.btn-primary:hover {
    background: var(--tb-lime-soft);
}

.btn-outline {
    background: #0f0f0f;
    color: #f3f3f3;
    border: 1px solid rgba(182, 239, 57, 0.85);
}

.btn-pill {
    border-radius: 999px;
    min-width: 92px;
}

.menu-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(182, 239, 57, 0.45);
    background: #0a0a0a;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.menu-icon span {
    width: 18px;
    height: 2px;
    background: var(--tb-lime);
    border-radius: 4px;
}

.desktop-only {
    display: none;
}

.panel {
    background: linear-gradient(160deg, rgba(14, 14, 14, 0.98), rgba(8, 8, 8, 0.96));
    border: 1px solid var(--tb-border);
    border-radius: 22px;
}

.panel-light {
    background: #B2E938;
    border: 1px solid rgba(30, 31, 27, 0.25);
    border-radius: 22px;
    color: #111;
}

.hero {
    padding: 2.4rem 0 0.4rem;
    position: relative;
    z-index: 2;
}

.landing-hero {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.hero-headline {
    margin: 0;
    font-size: clamp(2rem, 12vw, 4.2rem);
    line-height: 1.08;
    font-weight: 800;
    color: #f4f4f4;
    letter-spacing: 0.2px;
}

.hero-cta {
    margin-top: 1.55rem;
}

.hero-cta .btn {
    min-width: 156px;
    border-radius: 10px;
    font-size: 1.05rem;
    min-height: 52px;
}

.wave-wrap {
    margin-top: 1.3rem;
    background: linear-gradient(180deg, rgba(182, 239, 57, 0.16), rgba(182, 239, 57, 0.27));
    border-top: 1px solid rgba(182, 239, 57, 0.2);
    border-bottom: 1px solid rgba(182, 239, 57, 0.2);
}

.graph-shell {
    padding: 0.6rem 0.4rem 0.89rem;
    position: relative;
    overflow: hidden;
}

.graph-shell canvas {
    width: 100%;
    height: 220px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(182, 239, 57, 0.5));
}

.landing-stack {
    position: relative;
    isolation: isolate;
    background: var(--tb-bg);
}

.crypto-stage {
    position: absolute;
    inset: 0;
    margin: 0;
    height: auto;
    background: var(--tb-bg);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.crypto-stage #heroGraph {
    width: 100%;
    height: 100%;
    display: block;
    filter: none;
}

.hero-device {
    position: relative;
    z-index: 2;
    margin-top: -10px;
}

.phone-mock {
    margin: 0 auto 0;
    width: min(360px, calc(100% - 1rem));
    border-radius: 40px;
    border: 4px solid #6a6a6a;
    background: radial-gradient(circle at 50% 20%, #171717, #080808 65%);
    padding: 2rem 1.2rem;
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.04), 0 -10px 40px rgba(0, 0, 0, 0.6);
}

.phone-mock .meta {
    color: #d2d2d2;
    font-size: 0.82rem;
    text-align: center;
    margin-bottom: 1rem;
}

.phone-mock .big {
    font-size: clamp(2rem, 10vw, 3rem);
    text-align: center;
    font-weight: 700;
    margin: 0.4rem 0;
}

.section-title {
    margin: 1.6rem 0 0.8rem;
    font-size: 1rem;
    color: var(--tb-lime);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1.1rem 0;
}

.stat-card {
    border-radius: 16px;
    border: 1px solid rgba(182, 239, 57, 0.25);
    background: #0d0d0d;
    padding: 0.8rem;
}

.stat-card h3 {
    margin: 0;
    color: #dedede;
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-card p {
    margin: 0.3rem 0 0;
    color: var(--tb-lime);
    font-size: 1.08rem;
    font-weight: 700;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.badge {
    font-size: 0.76rem;
    color: #d9d9d9;
    background: #101010;
    border: 1px solid rgba(182, 239, 57, 0.26);
    border-radius: 999px;
    padding: 0.36rem 0.58rem;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    border: 1px solid rgba(182, 239, 57, 0.25);
    border-radius: 16px;
    overflow: hidden;
    background: #0a0a0a;
}

th,
td {
    padding: 0.7rem 0.66rem;
    text-align: left;
    border-bottom: 1px solid #161616;
    white-space: nowrap;
}

th {
    color: #111;
    background: var(--tb-lime);
    font-size: 0.8rem;
    font-weight: 700;
}

td {
    color: #ececec;
    font-size: 0.86rem;
}

.footer {
    border-top: 1px solid rgba(182, 239, 57, 0.25);
    color: #a9a9a9;
    font-size: 0.82rem;
    padding: 1rem 0 5.5rem;
    margin-top: 1.6rem;
}

.form-shell {
    width: min(430px, calc(100% - 1rem));
    margin: 1.2rem auto 1rem;
    padding: 1rem;
    border-radius: 26px;
}

.auth-center {
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0 1.5rem;
}

.auth-center .form-shell {
    margin: 0;
}

.auth-login-page {
    position: relative;
    isolation: isolate;
}

.auth-login-page::before {
    content: "";
    position: absolute;
    width: min(580px, 92vw);
    height: min(580px, 92vw);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(182, 239, 57, 0.2) 0%, rgba(182, 239, 57, 0.08) 35%, rgba(182, 239, 57, 0) 70%);
    filter: blur(10px);
    animation: authHaloPulse 3.4s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.auth-login-page .animated-auth-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(182, 239, 57, 0.32);
    box-shadow: 0 0 24px rgba(182, 239, 57, 0.12), inset 0 0 18px rgba(182, 239, 57, 0.04);
    z-index: 1;
}

.auth-login-page .animated-auth-shell::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(
        from 0deg,
        rgba(182, 239, 57, 0) 0deg,
        rgba(182, 239, 57, 0) 55deg,
        rgba(182, 239, 57, 0.95) 95deg,
        rgba(182, 239, 57, 0) 140deg,
        rgba(182, 239, 57, 0) 360deg
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: authOutlineSpin 5.8s linear infinite;
    pointer-events: none;
}

.auth-login-page .animated-auth-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(140px 60px at 12% 16%, rgba(182, 239, 57, 0.12), transparent 75%),
        radial-gradient(140px 60px at 82% 82%, rgba(182, 239, 57, 0.1), transparent 75%);
    opacity: 0.55;
    animation: authInnerGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

.auth-login-page .auth-heading,
.auth-login-page .auth-highlight {
    text-shadow: 0 0 16px rgba(182, 239, 57, 0.2);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.auth-brand img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
}

.auth-brand .title {
    color: var(--tb-lime);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.auth-brand .sub {
    color: #cfcfcf;
    font-size: 0.82rem;
}

.auth-heading {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
}

.auth-highlight {
    margin: 0.2rem 0 1rem;
    color: var(--tb-lime);
    font-size: 1.25rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 0.78rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    color: #8f8f8f;
    font-size: 0.8rem;
}

.form-shell .form-group {
    position: relative;
}

.form-shell .form-group label {
    position: absolute;
    top: 8px;
    left: 14px;
    margin: 0;
    font-size: 0.76rem;
    color: #707070;
    pointer-events: none;
    z-index: 1;
}

.form-control {
    width: 100%;
    background: #080808;
    border: 1.4px solid var(--tb-lime-soft);
    border-radius: 999px;
    min-height: 48px;
    color: #f1f1f1;
    padding: 1.22rem 0.92rem 0.46rem;
    font-size: 0.95rem;
    outline: none;
}

.form-control:focus {
    box-shadow: 0 0 0 2px rgba(182, 239, 57, 0.2);
}

.auth-submit {
    width: 100%;
    min-height: 54px;
    border-radius: 999px;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.auth-login-link {
    text-align: center;
    margin: 0.92rem 0 0;
    color: #d8d8d8;
}

.auth-login-link a {
    color: var(--tb-lime);
    font-weight: 700;
}

.feature-mini-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.48rem;
}

.feature-mini {
    background: #101010;
    border-radius: 14px;
    border: 1px solid #1a1a1a;
    padding: 0.55rem 0.3rem;
    text-align: center;
    min-height: 98px;
}

.feature-mini .icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    background: #060606;
    color: var(--tb-lime);
    border: 1px solid rgba(182, 239, 57, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.feature-mini .txt {
    font-size: 0.68rem;
    color: var(--tb-lime);
    font-weight: 700;
    line-height: 1.2;
}

.error {
    color: #ffb9b9;
    border: 1px solid rgba(255, 92, 92, 0.6);
    background: rgba(255, 92, 92, 0.12);
    border-radius: 12px;
    padding: 0.52rem 0.72rem;
    margin-bottom: 0.72rem;
    font-size: 0.84rem;
}

.success {
    color: #0b0b0b;
    border: 1px solid var(--tb-lime-soft);
    background: var(--tb-lime);
    border-radius: 12px;
    padding: 0.52rem 0.72rem;
    margin-bottom: 0.72rem;
    font-size: 0.84rem;
}

.otp-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(2px);
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
}

.otp-modal-backdrop.show {
    display: flex;
}

.otp-modal {
    width: min(480px, 100%);
    border-radius: 18px;
    background: var(--tb-lime);
    color: #0c0c0c;
    padding: 0.88rem;
    border: 1px solid rgba(0, 0, 0, 0.32);
}

.otp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
}

.otp-input {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1.4px solid #ff6d4d;
    background: #d9d9d9;
    padding: 0.62rem 0.82rem;
    font-size: 0.98rem;
    outline: none;
}

.otp-required {
    color: #ff4f3a;
    font-size: 0.82rem;
    margin: 0.38rem 0 0.8rem;
}

.otp-actions {
    display: grid;
    gap: 0.56rem;
}

.otp-btn-dark {
    min-height: 44px;
    border-radius: 12px;
    background: #020202;
    color: #f2f2f2;
    font-size: 1rem;
    border: 1px solid #252525;
}

.otp-btn-line {
    min-height: 44px;
    border-radius: 12px;
    background: transparent;
    color: #0c0c0c;
    font-size: 1rem;
    border: 1px solid #0c0c0c;
}

.landing-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    color: #111;
    border-top: 1px solid #dadada;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    min-height: 58px;
}

.landing-dock .item {
    font-size: 0.72rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.chat-float {
    position: fixed;
    bottom: 64px;
    left: 10px;
    z-index: 55;
    background: #17b956;
    color: #fff;
    border-radius: 999px;
    padding: 0.55rem 0.88rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
}

.help-float {
    position: fixed;
    bottom: 64px;
    right: 14px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--tb-lime-soft);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
    z-index: 55;
}

.lead {
    color: var(--tb-muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

.fade-up {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.78s ease forwards;
}

.fade-up:nth-child(2) {
    animation-delay: 0.12s;
}

.fade-up:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headerLineGlow {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(100vw + 260px));
    }
}

@keyframes authOutlineSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes authHaloPulse {
    0% {
        opacity: 0.36;
        transform: translate(-50%, -50%) scale(0.96);
    }
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.02);
    }
}

@keyframes authInnerGlow {
    from {
        opacity: 0.35;
    }
    to {
        opacity: 0.66;
    }
}

@media (min-width: 760px) {
    .desktop-only {
        display: inline-flex;
    }

    .menu-icon {
        display: none;
    }
}

@media (min-width: 900px) {
    .hero {
        padding-top: 3rem;
    }

    .hero-device {
        margin-top: -14px;
    }

    .landing-dock,
    .chat-float,
    .help-float {
        display: none;
    }

    .footer {
        padding-bottom: 1rem;
    }
}

@media (max-width: 560px) {
    .header-inner {
        min-height: 66px;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-mini-grid {
        gap: 0.4rem;
    }

    .feature-mini .txt {
        font-size: 0.64rem;
    }

    .auth-center {
        min-height: calc(100vh - 66px);
    }

    table {
        min-width: 650px;
    }
}
