html,
body {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
}

article,
div,
section {
  scroll-margin-top: 50px;
}

#why-Stocks {
  background: linear-gradient(104.88deg, #242030 0%, #16141f 100%);
}

.why-card {
  display: flex;
  flex-direction: column;
}

.why-card__header {
  min-height: 80px;
}

.why-card__icon {
  width: auto;
  height: auto;
}

.why-card__icon--trust {
  max-width: 80px;
}

.why-card__icon--wide {
  max-width: 110px;
}

@media (min-width: 768px) {
  .why-card__header {
    min-height: 110px;
  }
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('../assets/hero/a9022a78a1180.webp') right top / cover no-repeat;
  opacity: 0.5;
}

#hero > * {
  position: relative;
  z-index: 1;
}

#market-overview {
  background-color: #1a1724;
}

.celebrity-visual img {
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%);
  mask-image: linear-gradient(to right, #000 55%, transparent 100%);
}

.main-circle {
  position: relative;
  width: 80vw;
  height: 80vw;
  max-width: 500px;
  max-height: 500px;
  min-width: 300px;
  min-height: 300px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.payout-cta {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}

.payout-cta__default,
.payout-cta__hover {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.payout-cta__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.payout-cta:hover,
.payout-cta:focus-visible {
  background-color: #f3e8ff;
  box-shadow:
    inset 0 0 20px 10px rgba(160, 174, 192, 0.15),
    0 0 0 3px rgba(147, 51, 234, 0.25);
  transform: translate(-50%, -50%) scale(1.04);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .payout-cta,
  .payout-cta__default,
  .payout-cta__hover {
    transition: none;
  }
}

.divider-line {
  position: absolute;
  width: 1px;
  height: 50%;
  background: #000000;
  top: 0;
  left: 50%;
  transform-origin: bottom center;
  z-index: 5;
}

.logo-container {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 2.5vw;
}

.logo-container > div {
  transform: scale(0.8);
}

.logo-container img {
  filter: blur(4px);
}

@media (min-width: 768px) {
  .logo-container > div {
    transform: scale(1);
  }
}

.line-1 {
  transform: rotate(0deg);
}
.line-2 {
  transform: rotate(45deg);
}
.line-3 {
  transform: rotate(90deg);
}
.line-4 {
  transform: rotate(135deg);
}
.line-5 {
  transform: rotate(180deg);
}
.line-6 {
  transform: rotate(225deg);
}
.line-7 {
  transform: rotate(270deg);
}
.line-8 {
  transform: rotate(315deg);
}

.microsoft-logo {
  top: 50%;
  left: 50%;
  transform: translate(20%, -200%) rotate(0deg) translateY(-10%) rotate(0deg);
}
.ibm-logo {
  top: 50%;
  left: 50%;
  transform: translate(130%, -180%) rotate(45deg) translateY(-100%) rotate(-45deg);
}
.bmw-logo {
  top: 50%;
  left: 50%;
  transform: translate(140%, 35%) rotate(90deg) translateY(-32%) rotate(-90deg);
}
.audi-logo {
  top: 50%;
  left: 50%;
  transform: translate(-20%, 190%) rotate(135deg) translateY(-100%) rotate(-135deg);
}
.tesla-logo {
  top: 50%;
  left: 50%;
  transform: translate(-120%, 120%) rotate(180deg) translateY(-32%) rotate(-180deg);
}
.lenovo-logo {
  top: 50%;
  left: 50%;
  transform: translate(-220%, 50%) rotate(225deg) translateY(-30%) rotate(-225deg);
}
.dell-logo {
  top: 50%;
  left: 50%;
  transform: translate(-240%, -130%) rotate(270deg) translateY(-32%) rotate(-270deg);
}
.amazon-logo {
  top: 50%;
  left: 50%;
  transform: translate(-80%, -260%) rotate(315deg) translateY(-90%) rotate(-315deg);
}

@media (min-width: 578px) {
  .microsoft-logo {
    transform: translate(30%, -220%) rotate(0deg) translateY(-10%) rotate(0deg);
  }
}

@media (min-width: 578px) {
  .ibm-logo {
    transform: translate(130%, -180%) rotate(45deg) translateY(-100%) rotate(-45deg);
  }
}

@media (min-width: 578px) {
  .audi-logo {
    transform: translate(-20%, 150%) rotate(135deg) translateY(-100%) rotate(-135deg);
  }
}

@media (min-width: 578px) {
  .tesla-logo {
    transform: translate(-120%, 120%) rotate(180deg) translateY(-32%) rotate(-180deg);
  }
}

@media (min-width: 578px) {
  .lenovo-logo {
    transform: translate(-220%, 50%) rotate(225deg) translateY(-30%) rotate(-225deg);
  }
}

@media (min-width: 578px) {
  .dell-logo {
    transform: translate(-290%, -160%) rotate(270deg) translateY(-32%) rotate(-270deg);
  }
}

.center-text-large {
  font-size: 12vw;
  line-height: 1;
}

.center-text-small {
  font-size: 4vw;
  line-height: 1;
}

@media (min-width: 768px) {
  .center-text-large {
    font-size: 3.75rem;
  }
  .center-text-small {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .center-text-large {
    font-size: 2.25rem;
  }
  .center-text-small {
    font-size: 0.875rem;
  }
}

.logo-container {
  opacity: 0;
}

.step-article {
  opacity: 0;
}

.iti {
  width: 100% !important;
  display: block !important;
  margin-top: 1rem;
  --iti-arrow-color: #9ca3af;
}

.iti__input {
  width: 100% !important;
  border: none !important;
  outline: none !important;
  padding: 8px 16px !important;
  font-size: 16px !important;
  background: #fafafa !important;
  border-radius: 0 12px 12px 0 !important;
}

.iti__input::placeholder {
  color: #9ca3afc4 !important;
  font-size: 16px !important;
}

.iti__container {
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fafafa !important;
  border: 1px solid transparent !important;
}

.iti__selected-flag {
  background: #fafafa !important;
  border: none !important;
  padding: 8px 12px !important;
  border-radius: 12px 0 0 12px !important;
  border-right: 1px solid #e5e7eb !important;
}

.iti--separate-dial-code .iti__selected-dial-code {
  color: #656565 !important;
  font-size: 16px !important;
  margin-right: 8px !important;
}

.iti__dropdown {
  border-radius: 8px !important;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid #d1d5db !important;
  z-index: 1000 !important;
  margin-top: 2px !important;
}

.iti__country:hover {
  background-color: #f3f4f6 !important;
}

.iti__country.iti__highlight {
  background-color: #9333ea !important;
  color: white !important;
}

.iti__input:focus {
  outline: none !important;
}

.iti--focused .iti__container {
  border-color: #9333ea !important;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15) !important;
}

.iti--focused .iti__selected-flag {
  background: #fafafa !important;
}

.iti.error .iti__container {
  border-color: #ef4444 !important;
}

.iti.error .iti__input {
  background: #fafafa !important;
}

.iti.error .iti__selected-flag {
  background: #fafafa !important;
}

.tvl-footer {
  background: #16141f;
  color: #fff;
  padding: 48px 0;
  margin-top: 48px;
  box-sizing: border-box;
}

.tvl-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .tvl-footer__container {
    padding: 0 32px;
  }
}

.tvl-footer__company-spacer {
  min-height: 0;
}

.tvl-footer__risk-block {
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tvl-footer__columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.tvl-footer__col {
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .tvl-footer__col--risk {
    width: calc(50% - 12px);
    padding-right: 16px;
  }

  .tvl-footer__col--legal {
    width: calc(50% - 12px);
    padding-left: 16px;
  }
}

.tvl-footer__heading {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tvl-footer__heading--risk {
  color: #9333ea;
}

.tvl-footer__heading--legal {
  color: #e5e5e5;
}

.tvl-footer__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.625;
  color: #9ca3af;
}

.tvl-footer__text--spaced {
  margin-top: 8px;
}

.tvl-cite {
  font-size: 10px;
  line-height: 1;
  position: relative;
  top: -0.15em;
  vertical-align: baseline;
  margin-left: 0.2em;
}

.tvl-footer__bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .tvl-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.tvl-footer__copyright {
  margin: 0;
  font-size: 12px;
  color: #d1d5db;
  text-align: center;
}

@media (min-width: 768px) {
  .tvl-footer__copyright {
    margin-bottom: 0;
    text-align: left;
  }
}

.tvl-footer__quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
}

.tvl-footer__link {
  font-family: inherit;
  font-size: 12px;
  color: #d1d5db;
  text-decoration: none;
  padding: 4px 8px;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
  line-height: inherit;
}

.tvl-footer__link:hover {
  color: #c084fc;
  transform: translateY(-1px);
}

.tvl-footer-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.tvl-footer-modal.tvl-footer-modal--open {
  display: flex;
  opacity: 1;
}

.tvl-footer-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-sizing: border-box;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.tvl-footer-modal.tvl-footer-modal--open .tvl-footer-modal__dialog {
  transform: scale(1);
}

.tvl-footer-modal__dialog--wide {
  max-width: 42rem;
}

.tvl-footer-modal__dialog--narrow {
  max-width: 36rem;
}

.tvl-footer-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

.tvl-footer-modal__close:hover {
  color: #9333ea;
  transform: scale(1.08);
}

.tvl-footer-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 40px 16px 0;
  color: #111827;
}

.tvl-footer-modal__body {
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}

.tvl-footer-modal__body p {
  margin: 0 0 12px;
}

.tvl-footer-modal__h3 {
  font-weight: 700;
  font-size: 14px;
  margin: 16px 0 8px;
  color: #111827;
}

.tvl-footer-modal__h3--accent {
  color: #9333ea;
  margin-top: 0;
}

.tvl-footer-modal__ul {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

.tvl-footer-modal__ul li {
  margin-bottom: 4px;
}

.tvl-footer-modal__block {
  margin: 8px 0 0;
}

.tvl-footer-modal__card {
  margin: 24px 0;
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
}

.tvl-footer-modal__meta {
  margin-top: 16px;
  margin-bottom: 0;
}

.tvl-footer-modal__body a {
  color: #9333ea;
  text-decoration: underline;
}

.tvl-footer-modal__body a:hover {
  text-decoration: none;
}

.gdpr-label {
  align-items: flex-start;
  gap: 0.75rem;
}

.gdpr-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.28em;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #9333ea;
}

.form-error:empty {
  display: none;
}

@keyframes signup-shimmer {
  0% {
    background-position: 200% 50%;
  }
  100% {
    background-position: -100% 50%;
  }
}

.btn-signup,
.btn-primary {
  display: inline-block;
  border: none;
  cursor: pointer;
  background-image: linear-gradient(
    100deg,
    #7e22ce 0%,
    #9333ea 38%,
    #b57aff 50%,
    #9333ea 62%,
    #7e22ce 100%
  );
  background-size: 300% 100%;
  background-color: #9333ea;
  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-signup {
  animation: signup-shimmer 9s linear infinite;
}

.btn-signup:hover,
.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.1);
  box-shadow: 0 10px 28px rgba(147, 51, 234, 0.4);
}

.btn-signup:active,
.btn-primary:active {
  transform: translateY(0) scale(0.99);
  filter: brightness(0.98);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .btn-signup {
    animation: none;
    background-image: none;
    background-color: #9333ea;
  }

  .btn-signup:hover,
  .btn-primary:hover,
  .tvl-footer__link:hover,
  .tvl-footer-modal__close:hover {
    transform: none;
  }
}
