/* ITF — Copy Trading page (loaded after style.css). Measured from the 1440px mockup. */

/* ---------- Hero ---------- */
.ct-hero { min-height: 560px; }
.ct-hero .layer-back { background-position: 45% 35%; filter: saturate(.55) brightness(.55) hue-rotate(-12deg); }
.ct-hero .hero-shade { background:
  radial-gradient(600px 300px at 72% 80%, rgba(24, 110, 230, .28), transparent 70%),
  linear-gradient(180deg, rgba(6, 13, 30, .35), rgba(6, 13, 30, .1) 40%, rgba(5, 11, 22, .7)),
  linear-gradient(90deg, rgba(6, 13, 25, .9), rgba(6, 13, 25, .55) 35%, rgba(6, 13, 25, .1) 60%, rgba(6, 13, 25, .3)); }
.ct-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 630px; gap: 20px; align-items: start; min-height: 480px; }
.ct-hero .hero-copy { padding: 62px 0 36px 0; }
.ct-hero .hero-eyebrow { color: #2fb8ff; letter-spacing: .16em; }
.ct-hero h1 { margin: 12px 0 18px; font-size: 50px; line-height: 1.02; letter-spacing: -.02em; }
.ct-hero .hero-copy > p { max-width: 520px; font-size: 17px; }
.ct-hero .hero-actions { margin: 28px 0 32px; }
.ct-hero .btn-primary { min-width: 222px; }
.ct-hero .btn-outline { min-width: 186px; }
.ct-hero .btn .play { font-size: 20px; color: #fff; transform: none; }
.ct-trust { display: flex; flex-wrap: nowrap; width: max-content; gap: 14px 40px; font-size: 14px; color: #dbe5f1; }
.ct-trust li { display: flex; align-items: center; gap: 10px; }
.ct-trust .ic { font-size: 20px; color: #2aa3ff; }

/* 3D rig: master panel feeding copier accounts */
.copy-stage { position: relative; height: 470px; perspective: 1400px; perspective-origin: 30% 50%; margin-top: 44px; }
.copy-rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--crx, 4deg)) rotateY(var(--cry, -14deg)); transition: transform .9s cubic-bezier(.2, .8, .2, 1); animation: rigIn 1.3s cubic-bezier(.2, .8, .2, 1) .1s backwards; }
.copy-rig.is-live { transition-duration: .25s; }
@keyframes rigIn { from { opacity: 0; transform: rotateX(16deg) rotateY(-36deg) translateZ(-160px); } }
.rig-glow { position: absolute; left: -20px; right: 80px; bottom: -20px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 150, 255, .45), transparent); filter: blur(10px); transform: translateZ(-60px); }

.master-panel {
  position: absolute; left: 0; top: 0; width: 345px; height: 326px; padding: 22px 22px 18px;
  border-radius: 14px; color: #fff;
  background: linear-gradient(160deg, rgba(40, 90, 170, .45), rgba(8, 22, 50, .82));
  border: 2px solid rgba(110, 195, 255, .8);
  box-shadow: 0 0 40px rgba(40, 150, 255, .5), inset 0 0 30px rgba(60, 160, 255, .15);
  transform: translateZ(40px);
}
.mp-head { display: flex; align-items: center; gap: 12px; }
.mp-crown { width: 40px; height: 40px; color: #ffc53d; filter: drop-shadow(0 0 8px rgba(255, 190, 60, .7)); }
.mp-head b { font-family: var(--head); font-size: 16px; font-weight: 700; line-height: 1.15; letter-spacing: .02em; }
.mp-pill { margin-left: auto; margin-top: 26px; padding: 5px 10px; border-radius: 4px; background: #19c37d; font-family: var(--head); font-size: 17px; font-weight: 700; box-shadow: 0 0 16px rgba(25, 195, 125, .5); }
.mp-chart { width: 100%; height: 160px; margin-top: 6px; overflow: visible; }
.mp-chart .grid { stroke: rgba(120, 170, 230, .12); }
.mp-chart .line { fill: none; stroke: #39b8ff; stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(57, 184, 255, .9)); stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine 2s cubic-bezier(.3, .7, .2, 1) .5s forwards; }
.mp-chart .area { fill: url(#mpFill); opacity: 0; animation: fadeIn 1s ease 1.4s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.mp-stats { display: flex; gap: 40px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #b9c9dc; }
.mp-stats b { margin-left: 12px; color: #fff; font-weight: 600; }

.rig-lines { position: absolute; left: 345px; top: 0; width: 80px; height: 330px; overflow: visible; transform: translateZ(20px); }
.rig-lines path { fill: none; stroke: rgba(110, 195, 255, .7); stroke-width: 2.5; filter: drop-shadow(0 0 4px rgba(57, 184, 255, .8)); }
.rig-lines .flow { stroke: #bfe9ff; stroke-width: 3; stroke-dasharray: 10 190; animation: flow 2.4s linear infinite; }
.rig-lines .flow:nth-of-type(5) { animation-delay: .4s; }
.rig-lines .flow:nth-of-type(6) { animation-delay: .8s; }
@keyframes flow { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }

.copy-node {
  position: absolute; left: 425px; width: 208px; height: 92px; display: flex; align-items: center; gap: 12px; padding: 0 14px;
  border-radius: 10px; color: #fff;
  background: linear-gradient(160deg, rgba(40, 90, 170, .45), rgba(8, 22, 50, .85));
  border: 1.5px solid rgba(110, 195, 255, .75);
  box-shadow: 0 0 26px rgba(40, 150, 255, .4);
  transform: translateZ(70px) translateY(var(--float, 0px));
}
.copy-node.n1 { top: 2px; } .copy-node.n2 { top: 119px; } .copy-node.n3 { top: 236px; }
.cn-av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #3cb6ff, #1a74e8); font-size: 22px; box-shadow: 0 0 12px rgba(57, 184, 255, .6); }
.copy-node b { display: block; font-family: var(--head); font-size: 14px; font-weight: 700; }
.copy-node div svg { width: 118px; height: 30px; margin-top: 4px; }
.copy-node div path { fill: none; stroke: #39b8ff; stroke-width: 2.4; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(57, 184, 255, .8)); }

/* ---------- Light zone ---------- */
.ct-light .eyebrow { color: #5d7fa8; }
.ct-light .h-xl { font-size: 38px; letter-spacing: -.025em; }

.market-place { padding: 34px 0 0; }
.mp-headrow { display: grid; grid-template-columns: auto 1fr 262px; gap: 44px; align-items: end; }
.mp-headrow > p { max-width: 430px; padding-bottom: 4px; }
.mp-headrow .search { margin-bottom: 4px; }
.mp-headrow > p { font-size: 13.5px; line-height: 1.55; color: #50627a; }
.search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 8px; background: #fff; border: 1px solid #e1e8f1; box-shadow: 0 6px 16px rgba(19, 41, 75, .04); color: #7d8ca0; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: #7cc4ff; box-shadow: 0 0 0 3px rgba(43, 160, 255, .15); }
.search .ic { font-size: 18px; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 13px; color: var(--ink); }

.ct-filters { display: flex; gap: 22px; align-items: center; margin-top: 26px; }
.cat-tabs { display: flex; padding: 0; border-radius: 8px; background: #fff; border: 1px solid #e1e8f1; overflow-x: auto; scrollbar-width: none; }
.cat-tabs button { flex: none; height: 42px; padding: 0 26px; border: 0; border-radius: 7px; background: none; font-size: 13.5px; color: #4f6178; transition: background .2s, color .2s; }
.cat-tabs button:hover { color: var(--ink); }
.cat-tabs button.active { background: linear-gradient(180deg, #19a9ff, #0b8ff0); color: #fff; font-weight: 600; box-shadow: 0 6px 14px rgba(13, 145, 240, .3); }
.ct-selects { display: flex; gap: 10px; }
.sel { position: relative; display: block; }
.sel select { appearance: none; height: 42px; min-width: 126px; padding: 0 40px 0 18px; border-radius: 7px; border: 1px solid #e1e8f1; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink); cursor: pointer; }
.sel select:focus { outline: 2px solid rgba(43, 160, 255, .35); outline-offset: 1px; }
.sel .ic { position: absolute; right: 14px; top: 50%; margin-top: -8px; font-size: 16px; pointer-events: none; color: #33415a; }

.st-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 26px; }
.st-card { position: relative; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid #e3eaf3; box-shadow: 0 10px 26px rgba(19, 41, 75, .06); }
.st-card:hover { box-shadow: 0 24px 44px rgba(19, 41, 75, .14); }
.st-card[hidden] { display: none; }
.st-card { animation: cardIn .8s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes cardIn { from { opacity: 0; translate: 0 30px; rotate: x 14deg; } }
.st-cover { position: relative; height: 134px; overflow: hidden; background: #0b1424; }
.st-cover img { width: 100%; height: 100%; object-fit: cover; transform: translate(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -4px)) scale(1.08); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.st-card.is-tilting .st-cover img { transform: translate(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -4px)) scale(1.14); transition-duration: .15s; }
.st-rank { position: absolute; left: 12px; top: 12px; padding: 4px 9px; border-radius: 6px; background: rgba(8, 16, 30, .75); color: #fff; font-size: 13px; font-weight: 700; }
.st-live { position: absolute; right: 12px; top: 12px; padding: 3px 7px; border-radius: 5px; background: rgba(8, 16, 30, .75); color: #2fe08e; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.st-live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #2fe08e; vertical-align: 1px; animation: livePulse 1.6s infinite; }
@keyframes livePulse { 50% { opacity: .3; } }
.st-body { padding: 0 18px 16px; }
.st-who { display: flex; align-items: flex-end; gap: 14px; margin-top: -28px; }
.st-av { position: relative; z-index: 2; flex: none; width: 58px; height: 58px; border-radius: 50%; overflow: hidden; background: #1d2633; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.st-av svg, .st-av img { width: 100%; height: 100%; object-fit: cover; }
.st-who h3 { padding-bottom: 4px; font-family: var(--head); font-size: 16px; font-weight: 700; }
.st-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 12px; color: #33415a; }
.st-meta span { display: flex; align-items: center; gap: 6px; }
.st-meta .ic { font-size: 14px; color: #1d4b8f; }
.st-meta .muted { color: #8391a5; }
.st-meta .muted .ic { color: #3b82f6; }
.st-desc { margin-top: 10px; min-height: 40px; font-size: 13px; line-height: 1.5; color: #5d6c81; }
.st-ret { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 12px; }
.st-ret strong { display: block; font-family: var(--head); font-size: 28px; font-weight: 800; color: var(--green-2); letter-spacing: -.01em; }
.st-ret span { display: block; font-size: 12.5px; color: #8391a5; }
.st-ret svg { width: 52%; height: 58px; }
.st-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; text-align: center; }
.st-stats div + div { border-left: 1px solid #e8eef5; }
.st-stats span { display: block; font-size: 12px; color: #8391a5; }
.st-stats b { display: block; margin-top: 6px; font-family: var(--head); font-size: 17px; font-weight: 700; }
.st-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.st-copiers { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #4f6178; }
.st-copiers .ic { font-size: 19px; color: #4f6178; }
.st-foot .btn { height: 40px; padding: 0 16px; font-size: 13px; border-radius: 6px; background: linear-gradient(180deg, #1f8dff, #0b6fe8); box-shadow: 0 6px 16px rgba(16, 110, 235, .3); }
.st-empty { margin-top: 26px; padding: 26px; text-align: center; border-radius: 10px; border: 1px dashed #c9d6e6; color: #5d6c81; font-size: 14px; }
.st-empty button { margin-left: 8px; border: 0; background: none; color: #1286e6; font-weight: 600; }
.st-skel { height: 478px; border-radius: 12px; background: linear-gradient(100deg, #eef3f9 30%, #f8fbff 50%, #eef3f9 70%) 0 0 / 300% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }

/* Compare */
.compare { padding: 26px 0 0; }
.compare-box { display: grid; grid-template-columns: 1fr 780px; gap: 30px; align-items: center; width: min(1370px, 100% - 48px); margin: 0 auto; padding: 26px 30px 26px 46px; border-radius: 14px; color: #fff;
  background: radial-gradient(600px 300px at 20% 30%, rgba(20, 70, 150, .3), transparent 70%), linear-gradient(180deg, #08142a, #050c1b); box-shadow: 0 24px 50px rgba(5, 14, 30, .25); }
.compare .eyebrow { color: #2fb8ff; font-weight: 600; }
.compare .h-xl { font-size: 36px; margin-top: 10px; }
.compare-copy p { margin-top: 16px; font-size: 16px; line-height: 1.5; color: #dbe5f1; }
.compare-copy .btn { margin-top: 30px; min-width: 254px; }
.compare-table-wrap { border-radius: 10px; border: 1px solid rgba(110, 160, 220, .2); background: rgba(10, 22, 42, .7); overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; white-space: nowrap; }
.compare-table th, .compare-table td { padding: 0 14px; height: 40px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { height: 56px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .03); }
.compare-table thead th + th { border-left: 1px solid rgba(255, 255, 255, .06); }
.compare-table th:first-child, .compare-table td:first-child { color: #b6c4d6; font-weight: 500; padding-left: 20px; }
.compare-table thead th:first-child { font-weight: 500; }
.compare-table td { color: #e7eef7; }
.compare-table .pos { color: #2fe08e; font-weight: 600; font-size: 14.5px; }
.compare-table tbody tr { transition: background .2s; }
.compare-table tbody tr:hover { background: rgba(43, 160, 255, .06); }
.cmp-who { display: flex; align-items: center; gap: 10px; }
.cmp-av { flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255, 255, 255, .7); }
.cmp-av svg, .cmp-av img { width: 100%; height: 100%; object-fit: cover; }
.risk-dots { display: inline-flex; gap: 3px; margin-right: 8px; vertical-align: -1px; }
.risk-dots i { width: 10px; height: 10px; border-radius: 50%; background: #f4b63b; }
.risk-dots i.off { background: #8a6a3a; }
.risk-dots.low i { background: #2fe08e; }

/* How */
.ct-how { padding: 30px 0 46px; }
.ct-how .link-more { margin-bottom: 18px; font-size: 14px; }
.ct-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 22px; }
.ct-steps article { position: relative; display: flex; gap: 22px; padding-right: 42px; }
.ct-steps article:not(:last-child)::after { content: ""; position: absolute; right: 12px; top: 34px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%231a9bf0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.cs-ic { flex: none; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; font-size: 36px; color: #1690f2; background: radial-gradient(circle at 50% 40%, #f2f8ff, #dceefe); box-shadow: 0 8px 22px rgba(22, 144, 242, .12); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.cs-ic .ic { filter: drop-shadow(0 0 7px rgba(22, 144, 242, .45)); }
.ct-steps article:hover .cs-ic { transform: rotateY(360deg); }
.ct-steps h4 { margin-top: 10px; font-family: var(--head); font-size: 15px; font-weight: 700; }
.ct-steps p { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: #6b7a90; }

/* ---------- CTA ---------- */
.ct-cta { position: relative; overflow: hidden; color: #fff; background: #08111f; }
.ct-cta .cta-layer { position: absolute; inset: -30px 0; background-position: center 78%; background-size: cover; background-repeat: no-repeat; will-change: transform; }
.cta2-back { background-image: url("../assets/cta2-back.svg?v=20261010114213"); }
.cta2-front { background-image: url("../assets/cta2-front.svg?v=20261010114213"); }
.ct-cta .cta-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 14, 27, .95) 0%, rgba(7, 14, 27, .8) 32%, rgba(7, 14, 27, .1) 52%, rgba(7, 14, 27, .05) 70%, rgba(7, 14, 27, .7) 82%, rgba(7, 14, 27, .85)); }
.ct-cta-inner { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 40px; min-height: 290px; padding: 36px 0 40px; }
.ct-cta .eyebrow { color: #2fb8ff; font-weight: 600; }
.ct-cta .h-xl { font-size: 38px; margin-top: 8px; }
.ct-cta p { margin-top: 12px; font-size: 17px; line-height: 1.5; color: #e1e8f2; }
.ct-cta .hero-actions { margin: 26px 0 0; }
.ct-cta .btn-primary { min-width: 230px; }
.ct-cta .btn-outline { min-width: 186px; }
.ct-benefits { display: grid; gap: 22px; font-size: 15.5px; font-weight: 500; }
.ct-benefits li { display: flex; align-items: center; gap: 18px; }
.ct-benefits .ic { font-size: 28px; color: #2aa3ff; filter: drop-shadow(0 0 6px rgba(42, 163, 255, .5)); }

.drop-menu a.current { background: rgba(43, 160, 255, .16); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .ct-hero-inner { grid-template-columns: 1fr 560px; }
  .copy-stage { transform: scale(.88); transform-origin: right top; }
  .mp-headrow { grid-template-columns: 1fr 240px; }
  .mp-headrow > p { grid-row: 2; grid-column: 1 / -1; }
  .ct-filters { flex-wrap: wrap; }
  .st-grid { gap: 16px; }
  .compare-box { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  .ct-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .copy-stage { width: 640px; max-width: 100%; margin: 0 auto 36px; transform: none; }
  .mp-headrow { grid-template-columns: 1fr; gap: 14px; }
  .search { max-width: 420px; }
  .st-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .ct-steps article:nth-child(2)::after { display: none; }
  .ct-cta-inner { flex-direction: column; align-items: flex-start; }
  .ct-cta .cta-shade { background: linear-gradient(90deg, rgba(7, 14, 27, .95), rgba(7, 14, 27, .7) 60%, rgba(7, 14, 27, .4)); }
}

@media (max-width: 760px) {
  .ct-hero h1 { font-size: 38px; }
  .ct-hero .hero-copy > p { font-size: 15px; }
  .ct-trust { width: auto; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; }
  .copy-stage { height: 300px; margin: 0 -16px 20px; overflow: hidden; }
  .copy-rig { width: 640px; transform: scale(.55) rotateX(4deg) rotateY(-14deg); transform-origin: 0 0; left: 8px; }
  .ct-light .h-xl, .compare .h-xl, .ct-cta .h-xl { font-size: 29px; }
  .ct-selects { flex-wrap: wrap; }
  .sel select { min-width: 0; width: 100%; }
  .ct-selects .sel { flex: 1 1 40%; }
  .cat-tabs { max-width: 100%; }
  .cat-tabs button { padding: 0 16px; }
  .st-grid, .ct-steps { grid-template-columns: 1fr; }
  .ct-steps article { padding-right: 0; }
  .ct-steps article::after { display: none; }
  .compare-box { width: calc(100% - 32px); padding: 26px 18px; }
  .ct-cta .hero-actions { flex-direction: column; }
}
