:root {
    --blue: #ff3b43;
    --blue-2: #2462ff;
    --ink: #070707;
    --muted: #666d7a;
    --line: #d8dce4;
    --soft-blue: #f1f5ff;
    --soft-blue-2: #eaf1ff;
    --tw: #fff;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--tw);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: #080e12;
    padding: 0px;
}
.circleradius::before {
    background: #0c1419;
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 100%;
    filter: blur(61px);
    left: 38%;
    top: 0px;
}
.page-container {
    max-width: 1285px;
}
.py-lg-6 {
    padding-top: 5.4rem !important;
    padding-bottom: 5.4rem !important;
}
.site-header {
    background: #080e12 !important;
}
.navbar {
    min-height: 92px;
}
.brand-logo {
    width: 140px;
    object-fit: contain;
    object-position: left center;
}
.nav-link {
    color: #fff;
    font-size: 0.95rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.nav-link:hover {
    color: var(--blue);
}
.login-btn {
    min-width: 100px;
    border-radius: 8px;
    background: var(--blue);
    border-color: var(--blue);
}
.btn-primary {
    background: var(--blue);
    border: 1px solid var(--blue);
}
.hero-section {
    background: url(../images/bannerbg.png);
    min-height: 548px;
    background-size: cover;
}
.btn-primary {
    background: #f44336 !important;
    border: 1px solid #f44336 !important;
}
.eyebrow-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--tw);
    border: 1px solid var(--blue);
    border-radius: 999px;
    padding: 0.46rem 1.1rem;
    font-size: 0.88rem;
    line-height: 1;
    /*background: rgba(255,255,255,.38);*/
}
.star {
    font-size: 1.3rem;
    line-height: 0.7;
}

.display-title {
    font-size: clamp(3rem, 5.2vw, 5.15rem);
    line-height: 1.03;
    letter-spacing: -0.055em;
    font-weight: 740;
    max-width: 850px;
}
.display-title span {
    color: var(--blue);
}
.hero-copy {
    max-width: 680px;
    color: #bbc3c9;
    line-height: 1.75;
    font-size: 1.05rem;
}
.cta-btn {
    border-radius: 7px;
    padding: 0.76rem 1.35rem;
}
.trader-btn {
    background: #fff;
    border: 1px solid #efefef;
    color: #181818;
}
.trader-btn:hover {
    background: #f8f8f8;
    color: #181818;
}

.convert-card {
    max-width: 410px;
    background: #0d1419;
    border: 1px solid #393f4c;
    border-radius: 13px;
    box-shadow: 0 5px 19px rgba(25, 43, 72, 0.16);
    padding: 1.7rem 1.65rem 1.55rem;
}
.convert-title {
    font-size: 1.45rem;
    font-weight: 720;
}
.market-badge {
    font-size: 0.68rem;
    color: var(--tw);
    border: 1px solid var(--blue);
    border-radius: 999px;
    padding: 0.42rem 0.72rem;
}
.small-label {
    font-size: 0.86rem;
    color: #fff;
    margin-bottom: 0.65rem;
}
.custom-input-group .form-control {
    border-color: #343c51;
    background: #262931;
    height: 42px;
    font-size: 0.9rem;
    color: #727782;
    box-shadow: none;
}
.custom-input-group .input-group-text {
    width: 76px;
    justify-content: center;
    background: #262931;
    color: #fff;
    border-color: #343c51;
    font-size: 0.86rem;
}
.rate-text {
    color: #6f747e;
    font-size: 0.74rem;
    margin-left: 0.55rem;
}
.continue-btn {
    min-width: 170px;
    border-radius: 8px;
    padding: 0.64rem 1.3rem;
    box-shadow: 0 6px 14px rgba(47, 102, 246, 0.2);
}

.features-section {
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(71, 113, 255, 0.06),
            transparent 28%
        ),
        #080e12;
}
.section-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 735;
    letter-spacing: -0.035em;
}
.section-copy {
    max-width: 760px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.feature-card {
    border: 1px solid #344047;
    border-radius: 9px;
    padding: 1.35rem 1.35rem 1.25rem;
    background: #0d1419;
    min-height: 188px;
}
.feature-card.featured {
    box-shadow: 0 1px 0 rgba(47, 102, 246, 0.03);
}
.feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: #2b2022;
    border-radius: 5px;
    font-size: 1.32rem;
    margin-bottom: 0.95rem;
    padding: 7px 9px;
}
.feature-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.feature-card p {
    color: #808f99;
    font-size: 0.86rem;
    line-height: 1.25;
    margin: 0;
}

.scale-cta {
    background: url(../images/globe_bg.png);
    color: #fff;
}
.scale-cta h2 {
    font-size: clamp(2rem, 3vw, 2.55rem);
    font-weight: 730;
}
.scale-cta p {
    color: rgba(255, 255, 255, 0.86);
}
.scale-cta .btn {
    border-radius: 7px;
    min-width: 150px;
}

.disclaimer-section {
    background: #080e12;
}
.disclaimer-title {
    font-size: 1.2rem;
    font-weight: 700;
}
.disclaimer-copy {
    font-size: 0.76rem;
    line-height: 1.75;
    color: #808f99;
}
.disclaimer-copy p {
    margin-bottom: 0.55rem;
}
.footer-divider {
    border-color: #222832;
    opacity: 1;
}
.footer-copy {
    color: #acacad;
    font-size: 0.83rem;
}
.footer-copy a {
    color: #6e737c;
    text-decoration: none;
}
.footer-copy a:hover {
    color: var(--blue);
}
@media (max-width: 991px) {
    .circleradius::before {
        display: none;
    }
}
@media (max-width: 991.98px) {
    .navbar {
        min-height: 76px;
    }
    .brand-logo {
        width: 86px;
        height: 50px;
    }
    .navbar-collapse {
        padding: 1rem 0 1.2rem;
    }
    .hero-section {
        min-height: auto;
    }
    .display-title {
        font-size: clamp(2.75rem, 8vw, 4.2rem);
    }
    .convert-card {
        max-width: 560px;
        margin-left: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .hero-section .container {
        padding-top: 3rem !important;
        padding-bottom: 3.2rem !important;
    }
    .display-title {
        font-size: 2.7rem;
    }
    .hero-copy {
        font-size: 0.96rem;
    }
    .eyebrow-pill {
        font-size: 0.78rem;
    }
    .cta-btn {
        width: 100%;
        text-align: center;
    }
    .convert-card {
        padding: 1.3rem 1rem;
    }
    .features-section {
        padding-top: 3.7rem !important;
        padding-bottom: 3.7rem !important;
    }
    .feature-card {
        min-height: auto;
    }
}

/* ===== Premium slow scroll + hover motion ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    overflow-x: hidden;
}

/* Slow, clean entrance. No blur, no bounce. */
.reveal-item {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 1.15s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 1.15s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--delay, 0ms);
    will-change: opacity, transform;
}

.reveal-item.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero converter enters gently from the right */
.convert-card.reveal-item {
    transform: translateX(42px) translateY(14px);
}

.convert-card.reveal-item.reveal-visible {
    transform: translateX(0) translateY(0);
}

/* Premium cards */
.feature-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition:
        transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.55s ease,
        border-color 0.4s ease,
        background-color 0.4s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        145deg,
        rgba(47, 102, 246, 0.045),
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.45s ease;
}

.feature-card:hover {
    transform: translateY(-7px);
    border-color: #ff3550;
    box-shadow: 0 18px 42px rgba(34, 62, 120, 0.11);
    background: #0c1419;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    transition:
        transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.45s ease,
        background-color 0.45s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-3px) scale(1.06);
    background: #ff384a;
    box-shadow: 0 8px 20px rgba(47, 102, 246, 0.14);
    color: #fff;
}
.feature-card:hover .feature-icon img {
    filter: brightness(5.5);
}
.feature-card:hover .feature-icon i {
    color: #fff;
}
/* Converter hover stays subtle */
.convert-card {
    transition:
        transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.5s ease;
}

.convert-card.reveal-visible:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(25, 43, 72, 0.17);
}

.custom-input-group {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.custom-input-group:focus-within {
    transform: translateY(-2px);
}

.custom-input-group:focus-within .form-control,
.custom-input-group:focus-within .input-group-text {
    border-color: var(--blue);
}

/* Buttons: smooth lift + soft glow + arrow travel */
.btn {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.35s ease,
        background-color 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent,
        rgba(255, 255, 255, 0.34),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.btn:hover::after {
    left: 150%;
}
.btn:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    background: var(--blue);
    border-color: var(--blue);
    /* box-shadow: 0 12px 26px rgba(47,102,246,.26); */
}

.trader-btn:hover,
.scale-cta .btn-light:hover {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 12px 26px rgba(21, 42, 82, 0.12);
}

.btn span {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn:hover span {
    transform: translateX(6px);
}

/* Navbar */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

@media (max-width: 767.98px) {
    .reveal-item {
        transform: translateY(24px);
        transition-duration: 0.9s;
    }

    .convert-card.reveal-item {
        transform: translateY(28px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal-item {
        opacity: 1;
        transform: none !important;
    }
}
