/* MarcFx landing — trading.com–inspired clean finance marketing */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --tc-ink: #0a1b2a;
  --tc-ink-soft: #4a5d70;
  --tc-muted: #7a8b9c;
  --tc-paper: #f5f8fb;
  --tc-white: #ffffff;
  --tc-line: #dde5ee;
  --tc-green: #00c853;
  --tc-green-dark: #00a844;
  --tc-green-soft: #e6f9ef;
  --tc-red: #e53935;
  --tc-navy: #06101c;
  --tc-navy-2: #0b1a2c;
  --tc-max: 1120px;
}

body.tc-landing {
  background: var(--tc-white);
  color: var(--tc-ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
}

body.tc-landing #main-wrapper.tc-shell {
  background: var(--tc-white);
  overflow-x: hidden;
}

body.tc-landing .header,
body.tc-landing .bottom,
body.tc-landing .footer {
  display: none !important;
}

/* ----- Nav (trading.com: white, tight, green CTA) ----- */
.tc-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tc-line);
}

.tc-nav__inner {
  max-width: var(--tc-max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tc-nav__brand {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--tc-ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.tc-nav__brand span {
  color: var(--tc-green-dark);
}

.tc-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.tc-nav__links > a {
  color: var(--tc-ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.tc-nav__links > a:hover {
  color: var(--tc-ink);
}

.tc-nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 8px;
}

.tc-nav__signin {
  color: var(--tc-ink) !important;
  font-weight: 700 !important;
  text-decoration: none;
}

.tc-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}

.tc-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tc-ink);
}

@media (max-width: 900px) {
  .tc-nav__toggle {
    display: flex;
  }
  .tc-nav__links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--tc-white);
    border-bottom: 1px solid var(--tc-line);
    padding: 8px 0 16px;
  }
  .tc-nav__links.is-open {
    display: flex;
  }
  .tc-nav__links > a,
  .tc-nav__actions {
    padding: 12px 24px;
    margin: 0;
  }
  .tc-nav__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ----- Buttons ----- */
.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.tc-btn:hover {
  text-decoration: none;
}

.tc-btn--sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.tc-btn--primary {
  background: var(--tc-green);
  color: var(--tc-navy) !important;
}

.tc-btn--primary:hover {
  background: var(--tc-green-dark);
  color: #fff !important;
}

.tc-btn--ghost {
  background: transparent;
  border-color: var(--tc-line);
  color: var(--tc-ink) !important;
}

.tc-btn--ghost:hover {
  border-color: var(--tc-ink);
}

.tc-btn--ghost-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff !important;
}

.tc-btn--ghost-dark:hover {
  border-color: #fff;
}

.tc-text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--tc-green-dark);
  font-weight: 700;
  text-decoration: none;
}

.tc-text-link:hover {
  color: var(--tc-ink);
}

/* ----- Hero: brand + copy left, full-bleed terminal right ----- */
.tc-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-height: calc(100vh - 58px);
  background:
    linear-gradient(135deg, #f0f7f3 0%, #f5f8fb 42%, #e8eef5 100%);
  overflow: hidden;
}

.tc-hero__atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 78% 45%, rgba(0, 200, 83, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 35% at 15% 85%, rgba(6, 16, 28, 0.04), transparent 55%);
  pointer-events: none;
}

.tc-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  max-width: calc(var(--tc-max) * 0.52);
  margin-left: max(24px, calc((100vw - var(--tc-max)) / 2));
  padding: 56px 32px 64px 0;
}

.tc-hero__copy {
  animation: tc-rise 0.7s ease both;
}

.tc-brand {
  font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 8vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 20px;
  color: var(--tc-ink);
}

.tc-brand::after {
  content: "";
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin-left: 0.08em;
  border-radius: 50%;
  background: var(--tc-green);
  vertical-align: 0.12em;
  animation: tc-pulse 2.4s ease-in-out infinite;
}

.tc-hero__headline {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin: 0 0 16px;
  color: var(--tc-ink);
  max-width: 16ch;
}

.tc-hero__support {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--tc-ink-soft);
  max-width: 32rem;
  margin: 0 0 30px;
}

.tc-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Full-bleed right visual plane */
.tc-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  padding: 40px 0 40px 8px;
  min-height: 480px;
  animation: tc-slide-in 0.85s 0.12s ease both;
}

.tc-terminal {
  flex: 1;
  background: linear-gradient(165deg, var(--tc-navy) 0%, var(--tc-navy-2) 100%);
  border-radius: 16px 0 0 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #e8eef4;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 0;
}

.tc-terminal__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.tc-terminal__dots {
  width: 42px;
  height: 10px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 5px 5px, #ff5f57 4px, transparent 5px),
    radial-gradient(circle at 21px 5px, #febc2e 4px, transparent 5px),
    radial-gradient(circle at 37px 5px, #28c840 4px, transparent 5px);
  flex-shrink: 0;
}

.tc-terminal__chrome .up {
  margin-left: auto;
  color: var(--tc-green);
}

.tc-terminal__body {
  flex: 1;
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 0;
}

.tc-terminal__watch {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px 0;
}

.tc-terminal__sym {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.tc-terminal__sym.is-active {
  background: rgba(0, 200, 83, 0.1);
  color: #fff;
  border-left: 2px solid var(--tc-green);
}

.tc-terminal__sym strong {
  font-weight: 700;
  color: inherit;
}

.tc-terminal__sym em {
  font-style: normal;
  font-weight: 600;
}

.tc-terminal__sym .up,
.tc-terminal__price .up,
.tc-markets__row .up,
.tc-ticker__item .up {
  color: var(--tc-green);
}

.tc-terminal__sym .down,
.tc-markets__row .down,
.tc-ticker__item .down {
  color: #ff7a76;
}

.tc-terminal__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tc-terminal__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 18px 4px;
}

.tc-terminal__price span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.tc-terminal__price strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.tc-terminal__price em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
}

.tc-terminal__chart {
  flex: 1;
  padding: 4px 8px 0;
  min-height: 200px;
}

.tc-terminal__chart svg {
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.tc-chart-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: tc-draw 1.4s 0.4s ease forwards;
}

.tc-chart-fill {
  opacity: 0;
  animation: tc-fade 0.8s 1s ease forwards;
}

.tc-terminal__ticket {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
}

.tc-terminal__ticket button {
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  text-align: left;
  cursor: default;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tc-terminal__ticket button small {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.tc-terminal__ticket button strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
}

.tc-terminal__ticket .sell {
  background: rgba(229, 57, 53, 0.22);
  color: #ff9a97;
}

.tc-terminal__ticket .buy {
  background: rgba(0, 200, 83, 0.22);
  color: var(--tc-green);
}

@media (max-width: 960px) {
  .tc-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .tc-hero__inner {
    max-width: none;
    margin: 0;
    padding: 40px 24px 24px;
  }
  .tc-hero__headline {
    max-width: none;
  }
  .tc-hero__visual {
    padding: 0 16px 36px;
    min-height: 360px;
  }
  .tc-terminal {
    border-radius: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }
  .tc-terminal__body {
    grid-template-columns: 1fr;
  }
  .tc-terminal__watch {
    display: none;
  }
}

/* ----- Ticker ----- */
.tc-ticker {
  background: var(--tc-ink);
  overflow: hidden;
  white-space: nowrap;
}

.tc-ticker__track {
  display: inline-flex;
  gap: 40px;
  padding: 12px 0;
  animation: tc-marquee 38s linear infinite;
}

.tc-ticker__item {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.tc-ticker__item strong {
  color: #fff;
  font-weight: 700;
}

.tc-ticker__item em {
  font-style: normal;
  font-weight: 700;
}

@keyframes tc-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes tc-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tc-slide-in {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes tc-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes tc-fade {
  to {
    opacity: 1;
  }
}

@keyframes tc-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

/* ----- Sections ----- */
.tc-section {
  padding: 88px 0;
}

.tc-section .container {
  max-width: var(--tc-max);
}

.tc-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tc-green-dark);
  margin-bottom: 12px;
}

.tc-section__title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  color: var(--tc-ink);
  max-width: 18ch;
}

.tc-section__lead {
  color: var(--tc-ink-soft);
  font-size: 1.08rem;
  max-width: 36rem;
  margin: 0 0 36px;
  line-height: 1.5;
}

/* Markets table (trading.com instruments) */
.tc-markets {
  background: var(--tc-paper);
}

.tc-markets__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tc-markets__tabs button {
  border: 1px solid var(--tc-line);
  background: var(--tc-white);
  color: var(--tc-ink-soft);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tc-markets__tabs button.is-active {
  background: var(--tc-ink);
  border-color: var(--tc-ink);
  color: #fff;
}

.tc-markets__table {
  background: var(--tc-white);
  border: 1px solid var(--tc-line);
  border-radius: 12px;
  overflow: hidden;
}

.tc-markets__head,
.tc-markets__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 14px 20px;
  align-items: center;
}

.tc-markets__head {
  background: var(--tc-green-soft);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tc-ink-soft);
}

.tc-markets__row {
  border-top: 1px solid var(--tc-line);
  font-size: 0.95rem;
  color: var(--tc-ink-soft);
  transition: background 0.15s ease;
}

.tc-markets__row:hover {
  background: rgba(0, 200, 83, 0.04);
}

.tc-markets__row strong {
  color: var(--tc-ink);
  font-weight: 700;
}

.tc-markets__row em {
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 600px) {
  .tc-markets__head,
  .tc-markets__row {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .tc-markets__head span:nth-child(3),
  .tc-markets__row span:nth-child(3) {
    display: none;
  }
}

/* Platforms */
.tc-platforms {
  background: var(--tc-white);
}

.tc-platform-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--tc-line);
}

.tc-platform-link {
  display: block;
  padding: 32px 28px 32px 0;
  border-bottom: 1px solid var(--tc-line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.tc-platform-link + .tc-platform-link {
  padding-left: 28px;
  border-left: 1px solid var(--tc-line);
}

.tc-platform-link:hover {
  color: inherit;
  transform: translateY(-2px);
}

.tc-platform-link h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.tc-platform-link p {
  color: var(--tc-ink-soft);
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.tc-platform-link span {
  color: var(--tc-green-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .tc-platform-row {
    grid-template-columns: 1fr;
  }
  .tc-platform-link + .tc-platform-link {
    padding-left: 0;
    border-left: 0;
  }
}

/* Steps */
.tc-steps {
  background: var(--tc-paper);
  border-block: 1px solid var(--tc-line);
}

.tc-steps__list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: none;
}

.tc-steps__list li {
  background: var(--tc-white);
  border: 1px solid var(--tc-line);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tc-steps__num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--tc-green-dark);
}

.tc-steps__list h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.tc-steps__list p {
  margin: 0;
  color: var(--tc-ink-soft);
  line-height: 1.5;
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .tc-steps__list {
    grid-template-columns: 1fr;
  }
}

/* Why */
.tc-why {
  background: var(--tc-white);
}

.tc-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.tc-why__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tc-why__list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--tc-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tc-why__list li:first-child {
  padding-top: 0;
}

.tc-why__list strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.tc-why__list span {
  color: var(--tc-ink-soft);
  line-height: 1.5;
}

@media (max-width: 800px) {
  .tc-why__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.tc-cta-band {
  background: var(--tc-navy);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  background-image:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(0, 200, 83, 0.18), transparent 55%);
}

.tc-cta-band h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.tc-cta-band p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 28px;
  font-size: 1.05rem;
}

.tc-cta-band .tc-hero__cta {
  justify-content: center;
}

/* ----- Footer ----- */
.tc-footer {
  background: #040b14;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
}

.tc-footer .tc-nav__brand {
  color: #fff;
}

.tc-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  max-width: var(--tc-max);
  margin: 0 auto;
  padding: 0 15px 40px;
}

.tc-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 700;
}

.tc-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tc-footer li {
  margin-bottom: 10px;
}

.tc-footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

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

.tc-footer__about {
  max-width: 28rem;
  line-height: 1.55;
  margin: 0;
}

.tc-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 15px 0;
  max-width: var(--tc-max);
  margin: 0 auto;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 700px) {
  .tc-footer__grid {
    grid-template-columns: 1fr;
  }
  .tc-section {
    padding: 64px 0;
  }
}
