:root {
  --bg: #08070d;
  --bg-soft: #0d0b14;
  --card: #12101a;
  --card-light: #171420;
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --pink: #d946ef;
  --green: #35e6a0;
  --text: #ffffff;
  --muted: #9893a5;
  --border: rgba(255, 255, 255, 0.09);
  --container: 1180px;
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::selection {
  background: var(--purple);
  color: #fff;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.center {
  text-align: center;
}

/* HEADER */

.header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.header.scrolled {
  background: rgba(8, 7, 13, 0.9);
  backdrop-filter: blur(18px);
  border-color: var(--border);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.8px;
}

.logo span {
  color: var(--purple-light);
}

.desktop-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  margin-right: 40px;
}

.desktop-nav a {
  color: #b8b3c3;
  font-size: 14px;
  transition: 0.25s;
}

.desktop-nav a:hover {
  color: #fff;
}

.nav-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 100px;
  padding: 13px 23px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.nav-btn {
  background: #fff;
  color: #111;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.12);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.mobile-menu {
  display: none;
}

/* HERO */

.hero {
  position: relative;
  min-height: 850px;
  padding-top: 170px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 75% 45%,
      rgba(117, 65, 255, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 25% 80%,
      rgba(217, 70, 239, 0.08),
      transparent 25%
    );
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}

.glow-one {
  background: var(--purple);
  right: 8%;
  top: 20%;
}

.glow-two {
  background: var(--pink);
  left: -100px;
  bottom: 5%;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.eyebrow,
.section-label {
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 100px;
  background: rgba(139, 92, 246, 0.07);
  margin-bottom: 23px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
}

.hero h1 {
  max-width: 620px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(55px, 6vw, 83px);
  line-height: 0.98;
  letter-spacing: -4px;
}

.hero h1 span {
  background: linear-gradient(100deg, #fff 15%, #a78bfa 55%, #e879f9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-content > p {
  max-width: 560px;
  margin: 27px 0 34px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 13px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, #7146e9, #9d63f5);
  box-shadow: 0 10px 35px rgba(139, 92, 246, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(139, 92, 246, 0.35);
}

.btn-outline {
  border: 1px solid var(--border);
  color: #ddd9e5;
}

.btn-outline:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.08);
}

.hero-stats {
  display: flex;
  gap: 42px;
  margin-top: 55px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-family: "Space Grotesk";
  font-size: 21px;
}

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

/* HERO VISUAL */

.hero-visual {
  position: relative;
  height: 540px;
  display: grid;
  place-items: center;
}

.orb-main {
  width: 390px;
  height: 390px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(
    circle at 35% 25%,
    #b9a3ff,
    #7040da 35%,
    #1b1333 70%
  );
  box-shadow:
    0 0 90px rgba(124, 72, 245, 0.25),
    inset -35px -35px 80px rgba(0, 0, 0, 0.35);
  animation: float 6s ease-in-out infinite;
}

.orb-main::before {
  content: "";
  position: absolute;
  inset: 25px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.coin-symbol {
  width: 145px;
  height: 145px;
  display: grid;
  place-items: center;
  border: 5px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #fff;
  font-family: "Space Grotesk";
  font-size: 82px;
  font-weight: 700;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.2);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}

.floating-card {
  position: absolute;
  z-index: 2;
  min-width: 225px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(20, 17, 29, 0.86);
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.card-one {
  top: 75px;
  left: -10px;
}

.card-two {
  right: -20px;
  bottom: 95px;
}

.card-icon {
  width: 39px;
  height: 39px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.card-icon.purple {
  color: #c4a9ff;
  background: rgba(139, 92, 246, 0.15);
}

.card-icon.green {
  color: var(--green);
  background: rgba(53, 230, 160, 0.12);
}

.floating-card div {
  flex: 1;
}

.floating-card small,
.floating-card strong {
  display: block;
}

.floating-card small {
  color: var(--muted);
  font-size: 10px;
}

.floating-card strong {
  font-size: 13px;
}

.floating-card em {
  color: var(--green);
  font-size: 11px;
  font-style: normal;
}

.mini-coin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.mini-one {
  top: 5px;
  right: 50px;
  color: #a78bfa;
  background: #24183c;
}

.mini-two {
  bottom: 15px;
  left: 60px;
  color: #ffb04d;
  background: #3b2511;
}

.mini-three {
  top: 210px;
  right: -5px;
  color: #65e6ff;
  background: #112c35;
}

/* TRUSTED */

.trusted {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #0a0910;
}

.trusted p {
  margin-bottom: 30px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.trusted p strong {
  color: #fff;
}

.logo-row {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
}

.logo-row span {
  color: #5d5869;
  font-size: 17px;
  font-weight: 700;
  filter: grayscale(1);
}

/* SECTIONS */

.section {
  padding: 125px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.split.reverse .section-content {
  order: 2;
}

.section h2 {
  margin: 15px 0 25px;
  font-family: "Space Grotesk";
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.section-content > p,
.section-heading > p {
  color: var(--muted);
  font-size: 15px;
}

.section-content > p + p {
  margin-top: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.text-link span {
  color: var(--purple-light);
  transition: 0.2s;
}

.text-link:hover span {
  transform: translateX(5px);
}

/* DASHBOARD */

.about-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.12),
    transparent 60%
  );
}

.dashboard {
  width: min(100%, 450px);
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: linear-gradient(145deg, #171320, #0e0c14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  transform: rotate(-3deg);
  transition: 0.5s;
}

.dashboard:hover {
  transform: rotate(0) translateY(-8px);
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.positive {
  color: var(--green);
}

.balance {
  margin-top: 15px;
  font-family: "Space Grotesk";
  font-size: 35px;
  font-weight: 600;
}

.chart {
  height: 150px;
  position: relative;
  margin: 25px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.chart::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 36px,
    rgba(255, 255, 255, 0.04) 37px
  );
}

.chart-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  height: 100px;
  background: linear-gradient(
    135deg,
    transparent 0 8%,
    #9b72ff 9% 10%,
    transparent 11% 23%,
    #9b72ff 24% 25%,
    transparent 26% 41%,
    #9b72ff 42% 43%,
    transparent 44% 57%,
    #9b72ff 58% 59%,
    transparent 60% 75%,
    #9b72ff 76% 77%,
    transparent 78%
  );
  opacity: 0.7;
}

.chart-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #a78bfa;
  border-radius: 50%;
}

.d1 {
  left: 10%;
  top: 82px;
}
.d2 {
  left: 25%;
  top: 58px;
}
.d3 {
  left: 43%;
  top: 94px;
}
.d4 {
  left: 60%;
  top: 38px;
}
.d5 {
  left: 77%;
  top: 54px;
}

.asset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.asset {
  display: flex;
  align-items: center;
  gap: 10px;
}

.asset-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
}

.asset-icon.orange {
  color: #ffac42;
  background: rgba(255, 172, 66, 0.12);
}

.asset-icon.purple {
  color: #a98aff;
  background: rgba(169, 138, 255, 0.12);
}

.asset b,
.asset small {
  display: block;
}

.asset b {
  font-size: 12px;
}

.asset small {
  color: var(--muted);
  font-size: 10px;
}

.asset-row > strong {
  font-size: 13px;
}

/* FEATURE */

.features {
  background: #0b0911;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 32px;
  min-height: 250px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.04);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 14px;
  color: var(--purple-light);
  background: rgba(139, 92, 246, 0.1);
  font-size: 21px;
}

.feature-card h3 {
  font-family: "Space Grotesk";
  font-size: 18px;
  margin-bottom: 11px;
}

.feature-card p {
  color: var(--muted);
  font-size: 13px;
}

/* SECURITY */

.security-visual {
  min-height: 500px;
  position: relative;
  display: grid;
  place-items: center;
}

.security-ring {
  width: 350px;
  height: 350px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background:
    radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent 65%), #100d19;
  box-shadow: 0 0 100px rgba(139, 92, 246, 0.15);
}

.security-ring::before,
.security-ring::after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(139, 92, 246, 0.25);
  border-radius: 50%;
}

.security-ring::before {
  width: 420px;
  height: 420px;
}

.security-ring::after {
  width: 500px;
  height: 500px;
}

.shield {
  width: 110px;
  height: 130px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 40px;
  background: linear-gradient(145deg, #8b5cf6, #4c1d95);
  clip-path: polygon(50% 0, 92% 15%, 85% 65%, 50% 100%, 15% 65%, 8% 15%);
  filter: drop-shadow(0 15px 30px rgba(139, 92, 246, 0.35));
}

.security-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(18, 16, 26, 0.9);
  backdrop-filter: blur(15px);
}

.security-badge > span {
  font-size: 20px;
}

.security-badge b,
.security-badge small {
  display: block;
}

.security-badge b {
  font-size: 12px;
}

.security-badge small {
  color: var(--muted);
  font-size: 9px;
}

.badge-top {
  top: 55px;
  right: 15px;
}

.badge-bottom {
  bottom: 55px;
  left: 10px;
  color: var(--green);
}

/* WALLET */

.wallet {
  background: #0b0911;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  align-items: start;
  margin-bottom: 55px;
}

.step {
  text-align: center;
  padding: 30px 20px;
}

.step-number {
  color: #5e586c;
  font-family: "Space Grotesk";
  font-size: 12px;
  font-weight: 700;
}

.step-icon {
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  margin: 15px auto 25px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--purple-light);
  background: rgba(139, 92, 246, 0.07);
  font-size: 25px;
}

.step.active .step-icon {
  color: #fff;
  background: linear-gradient(145deg, #8b5cf6, #5b21b6);
  border-color: transparent;
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.step h3 {
  margin-bottom: 10px;
  font-family: "Space Grotesk";
  font-size: 17px;
}

.step p {
  color: var(--muted);
  font-size: 12px;
}

.step-line {
  height: 1px;
  margin-top: 85px;
  background: var(--border);
}

/* REVIEWS */

.review-slider {
  display: flex;
  align-items: center;
  gap: 18px;
}

.review-window {
  overflow: hidden;
  flex: 1;
}

.review-track {
  display: flex;
  transition: transform 0.45s ease;
}

.review-card {
  flex: 0 0 calc(33.333% - 12px);
  margin-right: 18px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.stars {
  color: #ffbd55;
  letter-spacing: 3px;
  font-size: 12px;
}

.review-card blockquote {
  min-height: 105px;
  margin: 20px 0 25px;
  color: #d0ccd7;
  font-size: 13px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #8b5cf6, #d946ef);
  font-size: 11px;
  font-weight: 700;
}

.review-author strong,
.review-author small {
  display: block;
}

.review-author strong {
  font-size: 12px;
}

.review-author small {
  color: var(--muted);
  font-size: 10px;
}

.slider-btn {
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
}

.slider-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
}

/* FAQ */

.faq {
  background: #0b0911;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 5px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
}

.accordion-question b {
  color: var(--purple-light);
  font-size: 21px;
  font-weight: 400;
  transition: 0.25s;
}

.accordion-item.active .accordion-question b {
  transform: rotate(45deg);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-item.active .accordion-answer {
  max-height: 150px;
}

.accordion-answer p {
  padding: 0 35px 22px 5px;
  color: var(--muted);
  font-size: 13px;
}

/* NEWSLETTER */

.newsletter {
  padding: 90px 0;
}

.newsletter-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 65px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(217, 70, 239, 0.14),
      transparent 40%
    ),
    radial-gradient(
      circle at 0 100%,
      rgba(139, 92, 246, 0.14),
      transparent 40%
    ),
    #100d18;
}

.newsletter-box h2 {
  max-width: 520px;
  margin: 12px 0 14px;
  font-family: "Space Grotesk";
  font-size: 39px;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.newsletter-box p {
  max-width: 500px;
  color: var(--muted);
  font-size: 13px;
}

.subscribe-form {
  position: relative;
  display: flex;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.25);
}

.subscribe-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 13px 18px;
  background: transparent;
  color: #fff;
}

.subscribe-form input::placeholder {
  color: #686273;
}

.subscribe-form button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 100px;
  padding: 12px 21px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-weight: 700;
}

.subscribe-form small {
  position: absolute;
  top: calc(100% + 10px);
  left: 18px;
  color: var(--green);
  font-size: 11px;
}

/* FOOTER */

.footer {
  padding-top: 75px;
  border-top: 1px solid var(--border);
  background: #06050a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-brand p {
  max-width: 330px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 12px;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: #aaa4b4;
  font-size: 12px;
  transition: 0.25s;
}

.socials a:hover {
  color: #fff;
  border-color: var(--purple);
  background: var(--purple);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-column h4 {
  margin-bottom: 8px;
  font-family: "Space Grotesk";
  font-size: 13px;
}

.footer-column a,
.footer-column p {
  color: var(--muted);
  font-size: 12px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-column p {
  max-width: 180px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  color: #666170;
  font-size: 11px;
}

.footer-bottom div {
  display: flex;
  gap: 25px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .desktop-nav {
    gap: 20px;
    margin-right: 20px;
  }

  .hero-grid,
  .split {
    gap: 50px;
  }

  .hero-visual {
    transform: scale(0.85);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    flex-basis: calc(50% - 9px);
  }
}

@media (max-width: 800px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .desktop-nav,
  .nav-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 75px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(15, 13, 21, 0.97);
    backdrop-filter: blur(15px);
    transform: translateY(-15px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
  }

  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    padding: 12px 14px;
    color: #bbb5c7;
    border-radius: 10px;
  }

  .mobile-menu a:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #fff;
  }

  .mobile-menu .mobile-cta {
    margin-top: 6px;
    text-align: center;
    background: #fff;
    color: #111;
  }

  .hero {
    min-height: auto;
    padding: 135px 0 80px;
  }

  .hero-grid,
  .split,
  .faq-grid,
  .newsletter-box {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

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

  .hero-visual {
    height: 430px;
    transform: scale(0.8);
    margin: -30px 0 -50px;
  }

  .split.reverse .section-content {
    order: initial;
  }

  .section {
    padding: 85px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-line {
    width: 1px;
    height: 40px;
    margin: 0 auto;
  }

  .review-card {
    flex-basis: 100%;
  }

  .newsletter-box {
    padding: 40px 25px;
    gap: 35px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 51px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 20px;
    justify-content: space-between;
  }

  .hero-visual {
    transform: scale(0.62);
    height: 330px;
    margin: -70px 0 -50px;
  }

  .logo-row {
    justify-content: center;
  }

  .logo-row span {
    width: 40%;
    text-align: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .security-ring {
    width: 270px;
    height: 270px;
  }

  .security-ring::before {
    width: 330px;
    height: 330px;
  }

  .security-ring::after {
    width: 390px;
    height: 390px;
  }

  .badge-top {
    right: 0;
  }

  .badge-bottom {
    left: 0;
  }

  .newsletter-box h2 {
    font-size: 32px;
  }

  .subscribe-form {
    border-radius: 20px;
    flex-direction: column;
    padding: 8px;
  }

  .subscribe-form button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* =========================================================
   LEGAL PAGES
   Terms & Conditions / Privacy Policy
========================================================= */

.legal-page {
  padding-top: 80px;
  background: #0b0911;
  min-height: 100vh;
}

/* ---------------------------------------------------------
   LEGAL HERO
--------------------------------------------------------- */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 85px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(139, 92, 246, 0.16),
      transparent 35%
    ),
    radial-gradient(
      circle at 15% 70%,
      rgba(217, 70, 239, 0.06),
      transparent 30%
    );
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 70px 70px;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  max-width: 800px;
  margin: 18px 0 20px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(45px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -3px;
}

.legal-hero h1 span {
  background: linear-gradient(100deg, #fff, #a78bfa, #e879f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.legal-updated {
  margin-top: 25px;
  color: #777080;
  font-size: 11px;
}

/* ---------------------------------------------------------
   LEGAL CONTENT
--------------------------------------------------------- */

.legal-content {
  padding: 85px 0 120px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 780px);
  gap: 70px;
  align-items: start;
  justify-content: center;
}

/* ---------------------------------------------------------
   SIDEBAR
--------------------------------------------------------- */

.legal-sidebar {
  position: relative;
}

.legal-sidebar-inner {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  padding: 22px 0;
}

.legal-sidebar-inner strong {
  margin-bottom: 15px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
}

.legal-sidebar-inner a {
  padding: 7px 0;
  color: #777080;
  font-size: 10px;
  line-height: 1.5;
  transition: 0.2s ease;
}

.legal-sidebar-inner a:hover {
  color: #a78bfa;
  padding-left: 4px;
}

/* ---------------------------------------------------------
   DOCUMENT
--------------------------------------------------------- */

.legal-document {
  min-width: 0;
}

.legal-document section {
  padding: 0 0 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 110px;
}

.legal-document section:last-child {
  margin-bottom: 0;
}

.legal-document h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 23px;
  line-height: 1.3;
}

.legal-document h3 {
  margin: 28px 0 10px;
  color: #e8e3ed;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
}

.legal-document p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.legal-document ul {
  margin: 18px 0;
  padding-left: 20px;
}

.legal-document li {
  margin: 10px 0;
  padding-left: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.legal-document li::marker {
  color: #8b5cf6;
}

/* ---------------------------------------------------------
   CALLOUT
--------------------------------------------------------- */

.legal-callout {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 15px;
  background: rgba(139, 92, 246, 0.055);
}

.legal-callout strong {
  display: block;
  margin-bottom: 7px;
  color: #c4b5fd;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
}

.legal-callout p {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
}

/* ---------------------------------------------------------
   CONTACT BOX
--------------------------------------------------------- */

.legal-contact-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 25px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.018);
}

.legal-contact-box strong {
  margin-bottom: 4px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
}

.legal-contact-box span {
  color: var(--muted);
  font-size: 11px;
}

/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .legal-sidebar-inner {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px 20px;
    padding: 0 0 35px;
    border-bottom: 1px solid var(--border);
  }

  .legal-sidebar-inner strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .legal-page {
    padding-top: 70px;
  }

  .legal-hero {
    padding: 80px 0 65px;
  }

  .legal-hero h1 {
    font-size: 45px;
    letter-spacing: -2px;
  }

  .legal-hero p {
    font-size: 13px;
  }

  .legal-content {
    padding: 60px 0 80px;
  }

  .legal-sidebar-inner {
    grid-template-columns: 1fr 1fr;
  }

  .legal-document section {
    padding-bottom: 35px;
    margin-bottom: 35px;
  }

  .legal-document h2 {
    font-size: 20px;
  }

  .legal-document p,
  .legal-document li {
    font-size: 12px;
  }
}

/* =========================================================
   TRADING DROPDOWN
========================================================= */

.nav-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  outline: 0;
  background: transparent;

  color: var(--muted);

  font-family: inherit;
  font-size: inherit;

  cursor: pointer;

  transition: color 0.2s ease;
}

.nav-dropdown-toggle:hover {
  color: #fff;
}

.dropdown-arrow {
  color: #8b5cf6;
  font-size: 13px;
  line-height: 1;

  transition: transform 0.25s ease;
}

/* ---------------------------------------------------------
   DESKTOP DROPDOWN
--------------------------------------------------------- */

.nav-dropdown-menu {
  position: absolute;

  top: calc(100% + 12px);
  left: 50%;

  width: 260px;

  padding: 8px;

  transform: translateX(-50%) translateY(8px);

  opacity: 0;
  visibility: hidden;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;

  background: linear-gradient(
    145deg,
    rgba(25, 21, 34, 0.98),
    rgba(12, 10, 18, 0.98)
  );

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

  backdrop-filter: blur(20px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;

  z-index: 1000;
}

/* small purple glow */

.nav-dropdown-menu::before {
  content: "";

  position: absolute;

  top: -1px;
  left: 20px;
  right: 20px;

  height: 1px;

  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);

  opacity: 0.7;
}

/* show dropdown */

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;

  transform: translateX(-50%) translateY(0);
}

/* dropdown links */

.nav-dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 3px;

  padding: 13px 14px;

  border-radius: 11px;

  color: #fff;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(139, 92, 246, 0.1);
  transform: translateX(3px);
}

.nav-dropdown-menu a span {
  color: #eee;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.nav-dropdown-menu a small {
  color: #706a78;
  font-size: 9px;
  line-height: 1.4;
}

/* rotate arrow */

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* ---------------------------------------------------------
   MOBILE SUBMENU
--------------------------------------------------------- */

.mobile-nav-group {
  width: 100%;
}

.mobile-nav-parent {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 0;

  border: 0;
  background: transparent;

  color: var(--muted);

  font-family: inherit;
  font-size: inherit;

  text-align: left;

  cursor: pointer;
}

.mobile-nav-parent:hover {
  color: #fff;
}

.mobile-dropdown-arrow {
  color: #8b5cf6;

  transition: transform 0.25s ease;
}

.mobile-nav-group.active .mobile-dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: flex;
  flex-direction: column;

  max-height: 0;
  overflow: hidden;

  padding-left: 15px;

  border-left: 1px solid rgba(139, 92, 246, 0.2);

  opacity: 0;

  transition:
    max-height 0.3s ease,
    opacity 0.25s ease,
    padding 0.3s ease;
}

.mobile-nav-group.active .mobile-submenu {
  max-height: 300px;

  padding-top: 4px;
  padding-bottom: 8px;

  opacity: 1;
}

.mobile-submenu a {
  padding: 10px 0;

  color: #817b89;

  font-size: 11px;

  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.mobile-submenu a:hover {
  padding-left: 4px;
  color: #a78bfa;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .nav-dropdown {
    display: none;
  }
}

/* ========================================================= AUTH PAGES Login / Registration ========================================================= */
.auth-page {
  min-height: 100vh;
  margin: 0;
  background: #09070d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
} /* --------------------------------------------------------- BACKGROUND --------------------------------------------------------- */
.auth-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  overflow: hidden;
} /* subtle background glow */
.auth-wrapper::before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 65%);
  pointer-events: none;
} /* --------------------------------------------------------- MODAL --------------------------------------------------------- */
.auth-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(27, 23, 36, 0.97),
    rgba(13, 11, 19, 0.98)
  );
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(139, 92, 246, 0.04);
  backdrop-filter: blur(20px);
} /* top purple line */
.auth-modal::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #8b5cf6,
    #d946ef,
    transparent
  );
  opacity: 0.8;
} /* --------------------------------------------------------- LOGO --------------------------------------------------------- */
.auth-logo {
  display: block;
  margin-bottom: 35px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: center;
}
.auth-logo span {
  color: #a78bfa;
} /* --------------------------------------------------------- HEADING --------------------------------------------------------- */
.auth-heading {
  margin-bottom: 30px;
  text-align: center;
}
.auth-heading h1 {
  margin: 0 0 9px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.auth-heading p {
  margin: 0;
  color: #777080;
  font-size: 11px;
  line-height: 1.7;
} /* --------------------------------------------------------- FORM --------------------------------------------------------- */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label,
.form-label-row label {
  color: #c8c2ce;
  font-weight: 500;
  font-size: 14px;
}
.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-label-row a {
  color: #9b7cf7;
  font-size: 9px;
  transition: color 0.2s ease;
}
.form-label-row a:hover {
  color: #c4b5fd;
} /* --------------------------------------------------------- INPUTS --------------------------------------------------------- */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.form-group input::placeholder {
  color: #514c58;
}
.form-group input:focus {
  border-color: rgba(139, 92, 246, 0.65);
  background: rgba(139, 92, 246, 0.035);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.08);
} /* --------------------------------------------------------- INPUT HINT --------------------------------------------------------- */
.input-hint {
  margin-top: -2px;
  color: #5f5967;
  font-size: 8px;
} /* --------------------------------------------------------- CHECKBOX --------------------------------------------------------- */
.auth-options {
  margin-top: -2px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #777080;
  font-size: 9px;
  line-height: 1.6;
  cursor: pointer;
}
.checkbox-label input {
  appearance: none;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  position: relative;
}
.checkbox-label input:checked {
  border-color: #8b5cf6;
  background: #8b5cf6;
}
.checkbox-label input:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -53%);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}
.checkbox-label a {
  color: #a78bfa;
}
.terms-checkbox {
  margin-top: -3px;
} /* --------------------------------------------------------- SUBMIT BUTTON --------------------------------------------------------- */
.auth-submit {
  width: 100%;
  height: 48px;
  margin-top: 2px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(100deg, #7c3aed, #8b5cf6, #a855f7);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}
.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(124, 58, 237, 0.3);
}
.auth-submit:active {
  transform: translateY(0);
} /* --------------------------------------------------------- DIVIDER --------------------------------------------------------- */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0;
  color: #4e4955;
  font-size: 8px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.auth-divider span {
  letter-spacing: 1px;
} /* --------------------------------------------------------- FOOTER --------------------------------------------------------- */
.auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #696370;
  font-size: 12px;
  text-align: center;
}
.auth-footer a {
  color: #a78bfa;
  font-weight: 500;
  transition: color 0.2s ease;
}
.auth-footer a:hover {
  color: #c4b5fd;
} /* --------------------------------------------------------- LEGAL TEXT --------------------------------------------------------- */
.auth-legal {
  margin-top: 24px;
  color: #4f4a56;
  font-size: 12.5px;
  line-height: 1.7;
  text-align: center;
}
.auth-legal a {
  color: #777080;
  text-decoration: underline;
  text-underline-offset: 2px;
} /* --------------------------------------------------------- MOBILE --------------------------------------------------------- */
@media (max-width: 520px) {
  .auth-wrapper {
    padding: 20px 15px;
  }
  .auth-modal {
    padding: 32px 23px;
    border-radius: 18px;
  }
  .auth-logo {
    margin-bottom: 28px;
  }
  .auth-heading h1 {
    font-size: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
