/* Requested homepage refinements. Existing platform, risk and pricing stay unchanged. */
.logo-crop {
  width: 60px;
  height: 64px;
  border-radius: 5px;
}
.logo-crop img {
  width: 240px;
  left: -11px;
  top: -89px;
}
header .brand {
  flex-shrink: 0;
  gap: 9px;
  font-size: 18px;
  color: #f7fff0;
}
header .brand .logo-crop {
  filter: drop-shadow(0 0 12px #a4e56b30);
}
header .header-actions {
  gap: 13px;
  flex-shrink: 0;
}
header .login {
  position: relative;
  padding: 12px 22px;
  border: 1px solid #c3f995;
  border-radius: 6px;
  background: linear-gradient(135deg, #c1f38e, #95d95c);
  color: #14220c;
  font-size: 13px;
  font-weight: 800;
  box-shadow:
    0 0 25px #a4e56b25,
    inset 0 1px 0 #efffde80;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
header .login:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 35px #a4e56b50,
    0 8px 18px #0005;
}
header .header-actions .demo {
  background: transparent;
  border-color: #6b8356;
  color: #d5e2c9;
  box-shadow: none;
  font-weight: 500;
}
header .header-actions .demo:hover {
  background: #a4e56b0a;
  border-color: #a4e56b;
}
header nav {
  gap: 14px;
}
.hero {
  isolation: isolate;
}
.hero-copy,
.hero .terminal {
  position: relative;
  z-index: 2;
}
.hero-visuals {
  position: absolute;
  inset: -35px -6vw -40px;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
  background:
    radial-gradient(ellipse at 85% 30%, #98df4822, transparent 50%),
    radial-gradient(ellipse at 20% 75%, #34724516, transparent 50%);
  perspective: 700px;
}
.hero-grid-floor {
  position: absolute;
  inset: 36% -40% -70%;
  background-image:
    linear-gradient(#b1f16e1c 1px, transparent 1px),
    linear-gradient(90deg, #b1f16e1c 1px, transparent 1px);
  background-size: 60px 60px;
  transform: rotateX(62deg);
  mask-image: radial-gradient(ellipse, #000 15%, transparent 65%);
  animation: grid-travel 16s linear infinite;
}
.hero-orbit {
  position: absolute;
  width: 700px;
  height: 700px;
  right: -180px;
  top: -65px;
  border: 1px solid #a4e56b24;
  border-radius: 50%;
  box-shadow:
    0 0 0 55px #a4e56b04,
    0 0 0 110px #a4e56b03,
    inset 0 0 90px #a4e56b04;
  animation: orbit 36s linear infinite;
}
.hero-orbit::after {
  content: "";
  position: absolute;
  left: 100px;
  top: 95px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bfff8b;
  box-shadow: 0 0 25px #bfff8b;
}
.orbit-two {
  width: 460px;
  height: 460px;
  top: 50px;
  right: -60px;
  transform: rotateX(55deg);
  opacity: 0.4;
  animation-direction: reverse;
}
.hero-beam {
  position: absolute;
  width: 1px;
  height: 360px;
  top: -160px;
  left: 55%;
  background: linear-gradient(transparent, #b9fa8a80, transparent);
  transform: rotate(30deg);
  box-shadow: 0 0 20px #a4e56b40;
  animation: beam-drift 10s ease-in-out infinite;
}
.beam-two {
  left: 85%;
  top: 260px;
  animation-delay: -5s;
  opacity: 0.4;
}
.hero-market-line {
  position: absolute;
  inset: 15% 0 0;
  width: 100%;
  height: 70%;
  opacity: 0.16;
}
.hero-market-line path {
  fill: none;
  stroke: #a4e56b;
  stroke-width: 1.5;
  stroke-dasharray: 1800;
  animation: market-trace 10s ease-in-out infinite;
  filter: drop-shadow(0 0 7px #a4e56b);
}
.hero-dots i {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #b6f58b;
  border-radius: 50%;
  box-shadow: 0 0 12px #a4e56b;
  animation: particle-rise 9s ease-in-out infinite;
}
.hero-dots i:nth-child(1) {
  left: 8%;
  top: 70%;
}
.hero-dots i:nth-child(2) {
  left: 35%;
  top: 85%;
  animation-delay: -2s;
}
.hero-dots i:nth-child(3) {
  left: 50%;
  top: 25%;
  animation-delay: -4s;
}
.hero-dots i:nth-child(4) {
  left: 72%;
  top: 75%;
  animation-delay: -6s;
}
.hero-dots i:nth-child(5) {
  left: 95%;
  top: 45%;
  animation-delay: -1s;
}
.hero-dots i:nth-child(6) {
  left: 22%;
  top: 15%;
  animation-delay: -7s;
}
.hero h1 {
  font-size: clamp(43px, 4.4vw, 65px);
  line-height: 1.14;
}
.hero-copy > p {
  max-width: 475px;
  color: #dae5d0;
  font-size: 16px;
}
.account-section {
  padding-bottom: 25px !important;
}
.account-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 28px;
}
.account-intro h2 {
  font-size: 36px;
}
.account-intro p {
  color: #cbd8bf;
  font-size: 14px;
}
.account-reassurance {
  display: block;
  color: #bce99d;
  font-size: 12px;
  border-left: 2px solid #a4e56b70;
  padding-left: 12px;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.account-card {
  border: 1px solid #4e663a;
  border-radius: 11px;
  padding: 24px 21px;
  background: linear-gradient(130deg, #1a2515, #0e170d);
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.account-card:hover {
  transform: translateY(-5px);
  border-color: #a4e56b8a;
  box-shadow:
    0 16px 35px #0005,
    0 0 25px #a4e56b0a;
}
.account-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.account-brand img {
  object-fit: contain;
}
.account-brand h3 {
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.5px;
}
.account-card p {
  font-size: 12px;
  min-height: 44px;
  margin: 19px 0;
  color: #bdcdb1;
}
.account-card a {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #bdef98;
  line-height: 1.7;
  border-bottom: 1px solid #a4e56b30;
  padding-bottom: 3px;
}
.account-card a:hover {
  color: #e4ffce;
}
.account-disclosure {
  font-size: 11px;
  color: #adbea1;
  margin-top: 20px;
}
.testimonials {
  display: block;
  padding-bottom: 25px !important;
}
.testimonials .section-top {
  align-items: end;
}
.review-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 23px;
}
.review-controls button {
  background: #162011;
  border: 1px solid #5e7847;
  border-radius: 30px;
  padding: 8px 14px;
  color: #d5e5c7;
  font-size: 11px;
  white-space: nowrap;
}
.review-controls button:hover {
  border-color: #a4e56b;
  color: #b9f388;
}
.review-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #799b53 #10180e;
  padding: 8px 0 19px;
}
.review-card {
  position: relative;
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #4b6337;
  border-radius: 12px;
  scroll-snap-align: start;
  background: radial-gradient(ellipse at 100% 0, #a4e56b12, transparent 65%), #121c10;
  box-shadow: inset 0 1px 0 #c9ff9f0a;
}
.review-label {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #b9d4a5;
}
.review-quote-mark {
  color: var(--green);
  font:
    60px Georgia,
    serif;
  height: 60px;
  margin-top: 14px;
  line-height: 1.2;
}
.review-card > p {
  font-size: 14px;
  line-height: 1.9;
  color: #d5e0cc;
  margin: 4px 0 27px;
}
.review-person {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #3d512d;
}
.review-avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid #a4e56b40;
  border-radius: 50%;
  background: #a4e56b0d;
  color: #bdef98;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.review-person strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #f0f8e8;
}
.review-person small {
  display: block;
  font-size: 9px;
  color: #b0c39f;
  margin-top: 3px;
}
@keyframes grid-travel {
  to {
    background-position:
      0 60px,
      0 60px;
  }
}
@keyframes market-trace {
  0% {
    stroke-dashoffset: 1800;
    opacity: 0;
  }
  30%,
  75% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -1800;
    opacity: 0;
  }
}
@keyframes beam-drift {
  50% {
    transform: translate(80px, 170px) rotate(30deg);
    opacity: 0.25;
  }
}
@keyframes particle-rise {
  50% {
    transform: translate(15px, -35px);
    opacity: 0.2;
  }
}
@media (max-width: 1200px) {
  header {
    gap: 16px;
    padding-inline: 18px;
  }
  header .brand {
    font-size: 16px;
  }
  header nav {
    font-size: 11px;
    gap: 11px;
  }
  header .header-actions .demo {
    display: none;
  }
  .account-grid {
    gap: 12px;
  }
  .account-card {
    padding: 21px 17px;
  }
  .account-brand h3 {
    font-size: 17px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 8px;
    font-size: 10px;
  }
  header .login {
    padding: 11px 15px;
  }
  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .review-card {
    flex-basis: calc((100% - 22px) / 2);
  }
}
@media (max-width: 760px) {
  header .brand {
    font-size: 15px;
    gap: 7px;
  }
  .logo-crop {
    width: 50px;
    height: 54px;
  }
  .logo-crop img {
    width: 200px;
    left: -9px;
    top: -74px;
  }
  header {
    padding: 0 12px;
    gap: 10px;
  }
  header .header-actions {
    margin-left: auto;
  }
  header .login {
    padding: 10px 16px;
    font-size: 12px;
  }
  header nav {
    font-size: 14px;
    gap: 18px;
  }
  .hero h1 {
    font-size: clamp(38px, 10.5vw, 48px);
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-visuals {
    inset: -25px -6vw -25px;
  }
  .hero-orbit {
    right: -360px;
    top: 80px;
    opacity: 0.6;
  }
  .orbit-two {
    right: -250px;
    top: 200px;
  }
  .hero-grid-floor {
    inset: 40% -100% -30%;
  }
  .hero-market-line {
    top: 25%;
    height: 55%;
    opacity: 0.1;
  }
  .account-intro {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .account-intro h2 {
    font-size: 32px;
  }
  .account-intro p {
    font-size: 13px;
  }
  .account-reassurance {
    font-size: 11px;
  }
  .account-brand {
    gap: 9px;
  }
  .account-brand img {
    width: 25px;
    height: 25px;
  }
  .account-brand h3 {
    font-size: 17px;
  }
  .account-card {
    padding: 20px 15px;
  }
  .account-card p {
    font-size: 11px;
    min-height: 54px;
  }
  .account-card a {
    font-size: 10px;
  }
  .account-disclosure {
    font-size: 10px;
  }
  .testimonials .section-top {
    display: block;
  }
  .review-controls {
    margin: 20px 0;
  }
  .review-card {
    flex-basis: 88%;
    padding: 25px;
  }
  .review-card > p {
    font-size: 14px;
  }
}
@media (max-width: 370px) {
  header .brand {
    font-size: 13px;
    gap: 4px;
  }
  header .login {
    padding: 10px 12px;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .account-card p {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visuals *,
  .hero-visuals *::after {
    animation: none !important;
  }
  .hero-market-line path {
    stroke-dashoffset: 0;
    opacity: 0.7;
  }
  .account-card,
  header .login {
    transition: none;
  }
}

/* Account-opening partners are separate from the supported-algo broker strip. */
.account-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.account-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.account-card > a {
  margin-top: auto;
}
.account-referral-code {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  margin-bottom: 19px;
  border: 1px dashed #a4e56b60;
  border-radius: 5px;
  color: #b9cfa8;
  font-size: 11px;
  background: #a4e56b08;
}
.account-referral-code strong {
  color: #d6fdbb;
  letter-spacing: 1px;
  font-size: 13px;
  user-select: all;
}
@media (max-width: 900px) {
  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 500px) {
  .account-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .account-card p {
    min-height: 0;
  }
}
/* Readable social links and restrained text motion. */
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color 220ms ease, transform 220ms ease;
}
.socials a svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
}
.socials a:hover {
  color: #a4e56b;
  transform: translateY(-2px);
}
@keyframes text-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heading-light {
  from { background-position: 100% 50%; }
  to { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: no-preference) {
  header .brand, header nav a, header .header-actions {
    animation: text-arrive 650ms ease both;
  }
  header nav a:nth-child(2n) { animation-delay: 80ms; }
  header .header-actions { animation-delay: 160ms; }
  .hero h1 { animation: text-arrive 850ms ease both; }
  .hero h1 em {
    background: linear-gradient(100deg, #a4e56b 25%, #efffe2 50%, #a4e56b 75%);
    background-size: 220% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: heading-light 7s ease-in-out infinite alternate;
  }
  .hero h1 + p { animation: text-arrive 850ms 140ms ease both; }
  .section-top h2 { transition: color 300ms ease; }
}
