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

:root {
    --cyan: #00d4ff;
    --cyan2: #00b8e0;
    --purple: #8b5cf6;
    --dark0: #04060f;
    --dark1: #080c1a;
    --dark2: #0d1228;
    --dark3: #141932;
    --mid: #1e2745;
    --border: rgba(0, 212, 255, 0.12);
    --text1: #f0f4ff;
    --text2: #c8d0e8;
    --text3: #7a84a8;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'DM Sans', sans-serif;
    color: var(--text2);
    background:
        radial-gradient(circle at top left, rgba(0, 212, 255, 0.08), transparent 30%),
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.08), transparent 25%),
        linear-gradient(180deg, #050813 0%, #04060f 100%);
    overflow-x: hidden;
}

main {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Syne', sans-serif;
}

a,
button {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease,
        box-shadow 0.2s ease, opacity 0.2s ease;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow {
    box-shadow: 0 0 28px rgba(0, 212, 255, 0.3);
}

.glow-sm {
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
}

.glass {
    background: rgba(8, 12, 26, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.card {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(13, 18, 40, 0.92), rgba(8, 12, 26, 0.9));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
    border-color: rgba(0, 212, 255, 0.34);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32), 0 0 24px rgba(0, 212, 255, 0.08);
    transform: translateY(-2px);
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: 3rem;
    padding: 0.875rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    border: none;
    background: linear-gradient(135deg, var(--cyan), #6ae7ff);
    color: var(--dark0);
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--cyan2), var(--cyan));
    box-shadow: 0 16px 36px rgba(0, 212, 255, 0.3);
}

.btn-outline {
    border: 1px solid rgba(0, 212, 255, 0.26);
    color: var(--text1);
    background: rgba(13, 18, 40, 0.54);
    font-weight: 700;
}

.btn-outline:hover {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.08);
    transform: translateY(-2px);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.08);
    color: var(--cyan);
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 30px);
    line-height: 1.04;
    font-weight: 800;
    color: var(--text1);
}

.section-sub {
    max-width: 42rem;
    color: var(--text3);
    font-size: 1rem;
    line-height: 1.75;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.vis {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.82);
    }
}

@keyframes tk {
    0% {
        transform: translateX(0);
    }

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

.ticker-wrap {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(122, 132, 168, 0.16);
    background: rgba(8, 12, 26, 0.96);
}

.ticker-wrap::before,
.ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4rem;
    z-index: 2;
    pointer-events: none;
}

.ticker-wrap::before {
    left: 0;
    background: linear-gradient(90deg, rgba(8, 12, 26, 1), rgba(8, 12, 26, 0));
}

.ticker-wrap::after {
    right: 0;
    background: linear-gradient(270deg, rgba(8, 12, 26, 1), rgba(8, 12, 26, 0));
}

.ticker-inner {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-width: max-content;
    padding: 0.7rem 1.5rem;
    font-family: 'Syne', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    opacity: 0;
    animation: tk 34s linear infinite;
}

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

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-item .pair {
    color: var(--text2);
}

.ticker-item .price {
    font-variant-numeric: tabular-nums;
}

.ticker-item .price.up {
    color: #22c55e;
}

.ticker-item .price.down {
    color: #ef4444;
}

.ticker-dot {
    color: rgba(122, 132, 168, 0.5);
}

#nav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(122, 132, 168, 0.16);
    transition: top 0.25s ease;
}

#nav .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1280px;
    min-height: 4.75rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    text-decoration: none;
}

.logo-icon {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(0, 212, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text1);
}

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

.nav-links a,
.dropdown > button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.9rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text3);
    font-size: 0.9rem;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.nav-links a:hover,
.dropdown > button:hover,
.nav-links a.active {
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.08);
}

.dropdown {
    position: relative;
}

.drop-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    width: 12rem;
    padding: 0.45rem;
    border: 1px solid rgba(122, 132, 168, 0.16);
    border-radius: 1rem;
    background: rgba(13, 18, 40, 0.98);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.44);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.dropdown:hover .drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.drop-menu a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 0.8rem;
    color: var(--text2);
    text-decoration: none;
}

.drop-menu a:hover {
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.08);
}

.nav-cta {
    margin-left: 0.25rem;
}

#ham {
    display: none;
    width: 2.8rem;
    height: 2.8rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(122, 132, 168, 0.16);
    border-radius: 1rem;
    background: rgba(13, 18, 40, 0.82);
    color: var(--text2);
    cursor: pointer;
}

#ham:hover {
    color: var(--cyan);
    border-color: rgba(0, 212, 255, 0.28);
}

#mob-menu {
    display: none;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem 1.25rem;
}

#mob-menu.open {
    display: block;
}

#mob-menu a {
    display: block;
    margin-top: 0.5rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(122, 132, 168, 0.14);
    border-radius: 1rem;
    background: rgba(13, 18, 40, 0.72);
    color: var(--text2);
    text-decoration: none;
}

#mob-menu a:hover {
    color: var(--cyan);
    border-color: rgba(0, 212, 255, 0.22);
}

#mob-menu .mob-cta {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(139, 92, 246, 0.16));
    color: var(--text1);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    text-align: center;
}

footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(122, 132, 168, 0.14);
    background:
        radial-gradient(circle at top left, rgba(0, 212, 255, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(8, 12, 26, 0.98), rgba(4, 6, 15, 1));
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-brand p {
    max-width: 20rem;
    margin-top: 0.9rem;
    color: var(--text3);
    font-size: 0.95rem;
    line-height: 1.75;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(122, 132, 168, 0.16);
    border-radius: 1rem;
    color: var(--text3);
    background: rgba(13, 18, 40, 0.8);
    text-decoration: none;
}

.social-link:hover {
    color: var(--cyan);
    border-color: rgba(0, 212, 255, 0.26);
    transform: translateY(-2px);
}

.footer-col h5 {
    margin-bottom: 1rem;
    color: var(--text1);
    font-family: 'Syne', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text3);
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    max-width: 1280px;
    margin: 2.2rem auto 0;
    padding: 1.4rem 1.5rem 0;
    border-top: 1px solid rgba(122, 132, 168, 0.12);
}

.footer-bottom p {
    color: var(--text3);
    font-size: 0.84rem;
    line-height: 1.6;
}

.footer-bottom a {
    color: var(--cyan);
    text-decoration: none;
}

@keyframes bl1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(24px, -26px) scale(1.08);
    }
}

@keyframes bl2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-18px, 28px) scale(1.05);
    }
}

.blob {
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    filter: blur(90px);
    pointer-events: none;
}

.blob-1 {
    width: 32rem;
    height: 32rem;
    background: var(--cyan);
    opacity: 0.08;
    animation: bl1 9s ease-in-out infinite;
}

.blob-2 {
    width: 26rem;
    height: 26rem;
    background: var(--purple);
    opacity: 0.08;
    animation: bl2 11s ease-in-out infinite;
}

.grid-bg {
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.stat-pill {
    border: 1px solid var(--border);
    border-radius: 1.15rem;
    background: rgba(13, 18, 40, 0.9);
    padding: 1.1rem 1rem;
    text-align: center;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.stat-pill .val {
    /* color: var(--text1); */
    font-family: 'Syne', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
}

.stat-pill .lbl {
    margin-top: 0.3rem;
    color: var(--text3);
    font-size: 0.76rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.badge-green {
    border: 1px solid rgba(34, 197, 94, 0.24);
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.badge-red {
    border: 1px solid rgba(239, 68, 68, 0.24);
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.badge-cyan {
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
}

.faq-ans {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-ans.open {
    max-height: 320px;
}

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    background: none;
    padding: 1.15rem 1.25rem;
    cursor: pointer;
    text-align: left;
}

.faq-btn span {
    color: var(--text1);
    font-family: 'Syne', sans-serif;
    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1.4;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--cyan);
    transition: transform 0.3s ease;
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    font-size: 0.92rem;
    line-height: 1.6;
}

.auth-alert.error {
    border: 1px solid rgba(239, 68, 68, 0.22);
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.auth-alert.success {
    border: 1px solid rgba(34, 197, 94, 0.22);
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.auth-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text1);
    font-size: 0.92rem;
    font-weight: 600;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon,
.auth-select-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text3);
    transition: color 0.2s ease;
    pointer-events: none;
}

.auth-input-icon {
    left: 1rem;
}

.auth-select-arrow {
    right: 1rem;
}

.auth-input,
.auth-select {
    width: 100%;
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 1rem;
    background: rgba(13, 18, 40, 0.92);
    color: var(--text1);
    font-size: 0.95rem;
    padding: 0.95rem 1rem 0.95rem 3rem;
    outline: none;
}

.auth-input::placeholder {
    color: rgba(122, 132, 168, 0.7);
}

.auth-select {
    appearance: none;
    padding-right: 3rem;
}

.auth-input-wrap:focus-within .auth-input-icon,
.auth-input-wrap:focus-within .auth-select-arrow {
    color: var(--cyan);
}

.auth-input:focus,
.auth-select:focus {
    border-color: rgba(0, 212, 255, 0.38);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.08);
}

.auth-muted-link {
    color: var(--cyan);
    text-decoration: none;
}

.auth-muted-link:hover {
    color: var(--text1);
}

.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text3);
    font-size: 0.92rem;
    line-height: 1.7;
}

.auth-checkbox input {
    margin-top: 0.2rem;
    accent-color: var(--cyan);
}

.auth-divider {
    position: relative;
    text-align: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 50%;
    height: 1px;
    background: rgba(122, 132, 168, 0.16);
}

.auth-divider span {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0 1rem;
    background: var(--dark2);
    color: var(--text3);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.auth-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.85rem 1rem;
    border: 0;
    border-radius: 1rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.auth-social.facebook {
    background: #1877f2;
    color: #fff;
}

.auth-social.facebook:hover {
    background: #166fe5;
}

.auth-social.google {
    background: #db4437;
    color: #fff;
}

.auth-social.google:hover {
    background: #c23321;
}

.strength-meter {
    display: none;
    margin-top: 0.75rem;
}

.strength-meter.active {
    display: block;
}

.strength-bars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.strength-bar {
    height: 0.3rem;
    border-radius: 999px;
    background: rgba(122, 132, 168, 0.16);
    transition: background-color 0.2s ease;
}

.strength-bar.active-weak {
    background: #ef4444;
}

.strength-bar.active-fair {
    background: #f59e0b;
}

.strength-bar.active-good,
.strength-bar.active-strong {
    background: #22c55e;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {

    .nav-links,
    .nav-cta {
        display: none !important;
    }

    #ham {
        display: inline-flex;
    }

    .blob-1 {
        width: 24rem;
        height: 24rem;
    }

    .blob-2 {
        width: 20rem;
        height: 20rem;
    }
}

@media (max-width: 768px) {
    #nav .inner {
        min-height: 4.35rem;
        padding: 0 1rem;
    }

    #mob-menu {
        padding: 0 1rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        padding: 0 1rem;
    }

    .footer-bottom {
        margin-top: 1.8rem;
        padding: 1.2rem 1rem 0;
        align-items: flex-start;
    }

    .section-sub {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .btn-primary,
    .btn-outline {
        width: 100%;
    }

    .logo-text {
        font-size: 0.92rem;
    }

    .ticker-inner {
        gap: 0.85rem;
        padding-inline: 1rem;
        font-size: 0.7rem;
    }

    .ticker-wrap::before,
    .ticker-wrap::after {
        width: 2rem;
    }

    .blob {
        filter: blur(70px);
    }
}
