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

:root {
   --bg: #0b0b0b;
   --panel: #141414;
   --line: rgba(255, 255, 255, 0.11);
   --muted: rgba(255, 255, 255, 0.62);
   --purple: #a2a2ff;
}

* {
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
}

body {
   font-family: Inter, ui-sans-serif, system-ui, sans-serif;
   background: var(--bg);
   color: #fff;
}

.site-shell {
   min-height: 100vh;
   display: flex;
   flex-direction: column;
}

.site-header {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 50;
   background: rgba(11, 11, 11, 0.78);
   backdrop-filter: blur(18px);
   border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
   height: 72px;
   max-width: 1440px;
   margin: auto;
   padding: 0 24px;
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.brand-logo {
   display: block;
   width: 130px;
   height: auto;
   max-height: 32px;
}

.brand {
   display: inline-flex;
   align-items: center;
   gap: 9px;
   font-size: 22px;
   font-weight: 600;
   letter-spacing: -0.04em;
}

.brand-mark {
   display: grid;
   place-items: center;
   width: 29px;
   height: 29px;
   border-radius: 50%;
   background: #fff;
   color: #111;
   font-size: 16px;
   font-weight: 800;
}

.desktop-nav {
   display: flex;
   align-items: center;
   gap: 28px;
   font-size: 14px;
   color: rgba(255, 255, 255, 0.72);
}

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

.nav-cta {
   padding: 10px 16px;
   border: 1px solid rgba(255, 255, 255, 0.22);
   border-radius: 999px;
   color: #fff !important;
}

.mobile-toggle,
.mobile-nav {
   display: none;
}

.hero {
   position: relative;
}

.eyebrow,
.section-kicker {
   font-size: 12px;
   letter-spacing: 0.18em;
   color: var(--purple);
   font-weight: 600;
}

.btn-primary {
   background: #fff;
   color: #0b0b0b;
   border-radius: 999px;
   padding: 14px 20px;
   font-weight: 600;
   transition: 0.2s;
}

.btn-primary:hover {
   transform: translateY(-2px);
   background: #e9e9ff;
}

.orb-card {
   height: 430px;
   border: 1px solid var(--line);
   border-radius: 28px;
   background:
      radial-gradient(circle at 52% 40%, rgba(163, 163, 255, 0.22), transparent 32%),
      linear-gradient(145deg, #1c1c20, #0e0e10);
   position: relative;
   overflow: hidden;
   box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

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

.orb-a {
   width: 280px;
   height: 280px;
   left: 20%;
   top: 16%;
   background: radial-gradient(
      circle at 30% 25%,
      #fff,
      rgba(190, 190, 255, 0.7) 12%,
      rgba(111, 82, 200, 0.28) 45%,
      transparent 68%
   );
   box-shadow: 0 0 80px rgba(140, 120, 255, 0.35);
}

.orb-b {
   width: 180px;
   height: 180px;
   right: 5%;
   bottom: -10%;
   background: radial-gradient(circle, rgba(255, 255, 255, 0.7), rgba(111, 90, 255, 0.2) 45%, transparent 70%);
}

.plus {
   position: absolute;
   left: 48%;
   top: 44%;
   width: 58px;
   height: 58px;
   border: 1px solid rgba(255, 255, 255, 0.55);
   border-radius: 18px;
   display: grid;
   place-items: center;
   background: rgba(255, 255, 255, 0.08);
   backdrop-filter: blur(12px);
   font-size: 24px;
}

.glass-person {
   position: absolute;
   width: 70px;
   height: 160px;
   border-radius: 50px 50px 18px 18px;
   background: linear-gradient(160deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.02));
   border: 1px solid rgba(255, 255, 255, 0.3);
   filter: blur(0.2px);
}

.p1 {
   left: 13%;
   bottom: -15%;
   transform: rotate(-20deg);
}

.p2 {
   right: 13%;
   bottom: -12%;
   transform: rotate(20deg);
}

.stats {
   border-top: 1px solid var(--line);
   border-bottom: 1px solid var(--line);
}

.stats > div {
   padding: 28px 26px;
   border-right: 1px solid var(--line);
}

.stats > div:last-child {
   border: 0;
}

.stats strong {
   display: block;
   font-size: 34px;
}

.stats span {
   display: block;
   color: var(--muted);
   margin-top: 7px;
   font-size: 14px;
}

.section-title {
   font-size: clamp(38px, 5vw, 62px);
   letter-spacing: -0.05em;
   line-height: 1;
   margin-top: 14px;
   max-width: 900px;
}

.dark-card {
   background: #121212;
   border: 1px solid var(--line);
   border-radius: 24px;
   padding: 34px;
   min-height: 470px;
   position: relative;
}

.dark-card.featured {
   background: linear-gradient(145deg, #181820, #111114);
}

.badge {
   position: absolute;
   right: 22px;
   top: 22px;
   font-size: 10px;
   letter-spacing: 0.13em;
   padding: 8px 10px;
   border-radius: 999px;
   background: #24244a;
   color: #bdbdff;
}

.icon-box,
.product-icon {
   width: 48px;
   height: 48px;
   border-radius: 14px;
   display: grid;
   place-items: center;
   background: #20202b;
   color: #b5b5ff;
}

.dark-card h3 {
   font-size: 30px;
   letter-spacing: -0.04em;
   margin-top: 9px;
}

.muted {
   color: var(--muted);
}

.body-copy,
.step p,
.product-card p {
   color: var(--muted);
   line-height: 1.65;
   margin-top: 14px;
}

.dark-card ul {
   margin: 28px 0;
   display: grid;
   gap: 12px;
   color: #ddd;
}

.dark-card li i {
   color: #aaa;
   margin-right: 9px;
}

.text-link {
   display: inline-flex;
   gap: 10px;
   align-items: center;
   color: #c1c1ff;
   font-weight: 600;
}

.band {
   background: #111;
   border-top: 1px solid var(--line);
   border-bottom: 1px solid var(--line);
}

.step {
   position: relative;
}

.step span {
   font-size: 11px;
   letter-spacing: 0.15em;
   color: #777;
}

.step i {
   display: block;
   font-size: 24px;
   color: #b6b6ff;
   margin: 28px 0 20px;
}

.step h3 {
   font-size: 23px;
}

.product-card {
   border: 1px solid var(--line);
   border-radius: 20px;
   padding: 24px;
   min-height: 245px;
   background: #101010;
}

.product-card p {
   font-size: 14px;
}

.product-card strong {
   display: block;
   margin-top: 24px;
   font-size: 20px;
   color: #c5c5ff;
}

.apply-wrap {
   background: linear-gradient(180deg, #101013, #15151b);
   border-top: 1px solid var(--line);
   border-bottom: 1px solid var(--line);
}

.form-card {
   background: #0d0d0e;
   border: 1px solid var(--line);
   border-radius: 24px;
   padding: 28px;
}

.field {
   display: flex;
   flex-direction: column;
   gap: 9px;
}

.field span {
   font-size: 12px;
   color: #aaa;
}

.field span i {
   margin-right: 8px;
}

.field input {
   width: 100%;
   background: #151516;
   border: 1px solid rgba(255, 255, 255, 0.12);
   border-radius: 12px;
   padding: 14px 15px;
   color: #fff;
   outline: none;
}

.field input:focus {
   border-color: #9999ff;
}

.faq {
   border-top: 1px solid var(--line);
}

details {
   border-bottom: 1px solid var(--line);
   padding: 24px 0;
}

summary {
   cursor: pointer;
   list-style: none;
   display: flex;
   justify-content: space-between;
   gap: 20px;
   font-size: 18px;
   font-weight: 500;
}

summary::-webkit-details-marker {
   display: none;
}

details p {
   color: var(--muted);
   line-height: 1.7;
   max-width: 850px;
   margin-top: 17px;
}

.site-footer {
   margin-top: auto;
   background: #090909;
   border-top: 1px solid var(--line);
}

.footer-copy {
   color: var(--muted);
   margin-top: 20px;
   max-width: 300px;
   line-height: 1.6;
}

.site-footer h4 {
   font-size: 12px;
   color: #fff;
   margin-bottom: 17px;
}

.site-footer a {
   display: block;
   color: #777;
   font-size: 13px;
   margin: 11px 0;
}

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

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

.socials a {
   display: grid;
   place-items: center;
   width: 34px;
   height: 34px;
   border: 1px solid var(--line);
   border-radius: 50%;
   margin: 0;
}

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

/* ========================================
   DASHBOARD / BALANCE
======================================== */

.balance-card {
   position: relative;
   overflow: hidden;
   background: #111;
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 18px;
   box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.25),
      inset 0 1px rgba(255, 255, 255, 0.04);
}

/* ========================================
   WITHDRAW BUTTON
======================================== */

.withdraw-btn {
   position: relative;
   isolation: isolate;
   overflow: hidden;

   width: 100%;
   min-height: 76px;

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

   padding: 14px 18px;

   border-radius: 18px;

   background: #251a33;
   color: #ffffff;

   text-decoration: none;

   border: 1px solid rgba(255, 255, 255, 0.95);

   box-shadow:
      0 8px 30px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 1);

   will-change: transform, box-shadow;

   transition:
      transform 0.3s ease,
      box-shadow 0.3s ease,
      background-color 0.3s ease;
}

/*
   Hover
*/
.withdraw-btn:hover {
   transform: translateY(-2px);

   box-shadow:
      0 14px 40px rgba(0, 0, 0, 0.34),
      0 0 35px rgba(255, 255, 255, 0.1),
      inset 0 1px 0 #fff;
}

.withdraw-btn:active {
   transform: translateY(0);
}

/* ========================================
   BUTTON CONTENT
======================================== */

.withdraw-content {
   position: relative;
   z-index: 5;

   display: flex;
   align-items: center;
   gap: 14px;
}

.withdraw-icon {
   width: 44px;
   height: 44px;

   flex: 0 0 44px;

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

   border-radius: 13px;

   background: #0b0b0b;
   color: #fff;

   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);

   transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
}

.withdraw-btn:hover .withdraw-icon {
   transform: scale(1.06);

   box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* ========================================
   BUTTON TEXT
======================================== */

.withdraw-text {
   display: flex;
   flex-direction: column;
   gap: 3px;
}

.withdraw-title {
   font-size: 15px;
   line-height: 1.2;
   font-weight: 600;
   letter-spacing: -0.01em;
}

.withdraw-subtitle {
   font-size: 12px;
   line-height: 1.4;
   color: #bebebe;
}

/* ========================================
   RIGHT ARROW
======================================== */

.withdraw-arrow {
   position: relative;
   z-index: 5;

   width: 38px;
   height: 38px;

   flex: 0 0 38px;

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

   border-radius: 50%;

   background: rgba(187, 182, 182, 0.05);
   color: #ffffff;

   transition:
      background 0.3s ease,
      color 0.3s ease,
      transform 0.3s ease;
}

.withdraw-btn:hover .withdraw-arrow {
   background: #0b0b0b;
   color: #fff;

   transform: translateX(2px);
}

.withdraw-arrow i {
   font-size: 13px;

   transition: transform 0.3s ease;
}

.withdraw-btn:hover .withdraw-arrow i {
   transform: translateX(2px);
}

/* ========================================
   ANIMATED SHINE
======================================== */

.withdraw-shine {
   position: absolute;

   top: -60%;
   left: -70%;

   width: 34%;
   height: 220%;

   z-index: 3;

   pointer-events: none;

   transform: skewX(-20deg);

   /*
      Silver reflection.

      Darker sides make the animation
      visible on the white background.
   */
   background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(90, 90, 100, 0.04) 15%,
      rgba(90, 90, 100, 0.2) 38%,
      rgba(255, 255, 255, 0.95) 50%,
      rgba(90, 90, 100, 0.2) 62%,
      rgba(90, 90, 100, 0.04) 85%,
      transparent 100%
   );

   filter: blur(0.8px);

   opacity: 0;

   animation: withdraw-shine 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes withdraw-shine {
   /*
      Waiting period
   */
   0% {
      left: -70%;
      opacity: 0;
   }

   /*
      Shine appears
   */
   8% {
      opacity: 0.15;
   }

   13% {
      opacity: 0.9;
   }

   /*
      Shine crosses button
   */
   34% {
      left: 125%;
      opacity: 0.85;
   }

   /*
      Fade out
   */
   42% {
      left: 135%;
      opacity: 0;
   }

   /*
      Waiting before next pass
   */
   100% {
      left: 135%;
      opacity: 0;
   }
}

/* ========================================
   BUTTON ACCESSIBILITY
======================================== */

.withdraw-btn:focus-visible {
   outline: 2px solid #a2a2ff;
   outline-offset: 4px;
}

/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
   .withdraw-shine {
      animation: none;
   }

   .withdraw-btn,
   .withdraw-icon,
   .withdraw-arrow,
   .withdraw-arrow i {
      transition: none;
   }
}

/* ========================================
   RESPONSIVE
======================================== */

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

   .mobile-toggle {
      display: block;
      background: none;
      border: 0;
      color: #fff;
      font-size: 20px;
   }

   .mobile-nav {
      padding: 12px 24px 24px;
      border-top: 1px solid var(--line);
   }

   .mobile-nav.open {
      display: grid;
      gap: 15px;
   }

   .hero {
      padding-top: 110px;
   }

   .orb-card {
      height: 330px;
   }

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

   .stats > div {
      border-right: 0;
      border-bottom: 1px solid var(--line);
   }

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

   .section {
      padding-top: 72px;
      padding-bottom: 72px;
   }
}

@media (max-width: 480px) {
   .withdraw-btn {
      min-height: 72px;
      padding: 13px 14px;
      border-radius: 16px;
   }

   .withdraw-content {
      gap: 12px;
   }

   .withdraw-icon {
      width: 42px;
      height: 42px;
      flex-basis: 42px;
      border-radius: 12px;
   }

   .withdraw-title {
      font-size: 14px;
   }

   .withdraw-subtitle {
      font-size: 11px;
   }

   .withdraw-arrow {
      width: 34px;
      height: 34px;
      flex-basis: 34px;
   }
}

@media (min-width: 801px) {
   .hero {
      padding-top: 150px;
   }
}

/* =========================================
   WELCOME MODAL
========================================= */

#welcomeModal {
   opacity: 0;
   transition: opacity 0.25s ease;
}

#welcomeModal.welcome-visible {
   opacity: 1;
}

.welcome-modal {
   opacity: 0;
   transform: translateY(20px) scale(0.97);
   transition:
      opacity 0.3s ease,
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

#welcomeModal.welcome-visible .welcome-modal {
   opacity: 1;
   transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
   #welcomeModal,
   .welcome-modal {
      transition: none;
   }
}
@keyframes shine {
   0% {
      left: -80%;
   }

   45%,
   100% {
      left: 140%;
   }
}
.transfer-balance-btn > span:first-child {
   animation: balance-shine 3.5s ease-in-out infinite;
   opacity: 0.7;
}

@keyframes balance-shine {
   0% {
      transform: translateX(-100%) skewX(-12deg);
   }

   35% {
      transform: translateX(400%) skewX(-12deg);
   }

   100% {
      transform: translateX(400%) skewX(-12deg);
   }
}
