:root{
  --bg:#07111f;
  --bg2:#0b1728;
  --panel:#101d30;
  --panel2:#13233a;
  --text:#f4f8fc;
  --muted:#a9b6c7;
  --line:rgba(255,255,255,.10);
  --accent:#4fd1c5;
  --accent2:#6ee7b7;
  --warn:#fbbf24;
  --danger:#fb7185;
  --shadow:0 24px 80px rgba(0,0,0,.36);
  --radius:22px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(79,209,197,.10), transparent 28rem),
    radial-gradient(circle at 12% 15%, rgba(59,130,246,.10), transparent 24rem),
    var(--bg);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.container{width:min(calc(100% - 40px),var(--max));margin:0 auto}
.nav{
  position:sticky;top:0;z-index:20;
  backdrop-filter:blur(16px);
  background:rgba(7,17,31,.82);
  border-bottom:1px solid var(--line);
}
.nav-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.2px}
.logo{
  display:grid;place-items:center;width:38px;height:38px;border-radius:12px;
  background:linear-gradient(135deg,var(--accent),#60a5fa);
  color:#06111f;font-weight:950;
  box-shadow:0 8px 24px rgba(79,209,197,.24)
}
.nav-links{display:flex;align-items:center;gap:24px;color:var(--muted);font-size:.94rem}
.nav-links a:hover{color:var(--text)}
.nav-links a[aria-current="page"]{color:var(--text)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid var(--line);border-radius:12px;padding:11px 16px;
  font-weight:750;transition:.2s ease;background:rgba(255,255,255,.03)
}
.btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.22)}
.btn-primary{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#04121b;border:none;box-shadow:0 10px 34px rgba(79,209,197,.22)
}
.btn-ghost{color:var(--text)}
.hero{padding:86px 0 66px}
.hero-grid{display:grid;grid-template-columns:1.03fr .97fr;gap:54px;align-items:center}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 11px;border:1px solid rgba(79,209,197,.24);
  border-radius:999px;color:#baf3ea;background:rgba(79,209,197,.07);
  font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase
}
.dot{width:8px;height:8px;border-radius:50%;background:var(--accent2);box-shadow:0 0 18px var(--accent2)}
h1{font-size:clamp(2.8rem,6vw,5.6rem);line-height:.97;margin:22px 0 24px;letter-spacing:-.055em}
.gradient-text{
  background:linear-gradient(100deg,#fff 5%,#a8f0e8 42%,#93c5fd 90%);
  -webkit-background-clip:text;background-clip:text;color:transparent
}
.hero p{font-size:1.17rem;color:var(--muted);max-width:690px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.trust-row{display:flex;gap:22px;flex-wrap:wrap;margin-top:28px;color:#c4d0df;font-size:.9rem}
.trust-row span::before{content:"✓";color:var(--accent2);font-weight:900;margin-right:7px}
.mockup{
  border:1px solid rgba(255,255,255,.12);border-radius:26px;padding:14px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  box-shadow:var(--shadow);transform:perspective(1300px) rotateY(-3deg) rotateX(1deg)
}
.mock-window{
  background:#091523;border:1px solid var(--line);border-radius:18px;overflow:hidden
}
.mock-top{height:44px;display:flex;align-items:center;gap:7px;padding:0 14px;border-bottom:1px solid var(--line)}
.mock-dot{width:9px;height:9px;border-radius:50%;background:#334155}
.mock-title{margin-left:7px;color:#8ea0b7;font-size:.78rem}
.mock-body{display:grid;grid-template-columns:130px 1fr;min-height:430px}
.mock-side{border-right:1px solid var(--line);padding:16px 10px}
.mock-side div{padding:8px 10px;border-radius:8px;color:#73859b;font-size:.72rem;margin-bottom:6px}
.mock-side .active{background:rgba(79,209,197,.10);color:#c6fff7}
.mock-main{padding:16px}
.mock-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.mock-heading strong{font-size:.83rem}
.status{font-size:.62rem;padding:4px 7px;border-radius:999px;background:rgba(110,231,183,.1);color:#9ff3c8}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.mini-card{padding:12px;border-radius:11px;background:#0d1d30;border:1px solid var(--line)}
.mini-card small{display:block;color:#71859d;font-size:.6rem}
.mini-card b{display:block;margin-top:3px;font-size:.9rem}
.chart{
  height:120px;margin-top:10px;border-radius:12px;position:relative;overflow:hidden;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:24px 24px
}
.chart svg{position:absolute;inset:0;width:100%;height:100%}
.position-card{margin-top:10px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.row{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:8px;padding:10px 12px;font-size:.66rem;border-top:1px solid var(--line)}
.row:first-child{border-top:0;background:#102035;color:#71859d}
.good{color:#86efac}.neutral{color:#93c5fd}
.section{padding:82px 0}
.section-head{max-width:760px;margin-bottom:40px}
.section-head h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.05;letter-spacing:-.04em;margin:12px 0}
.section-head p{color:var(--muted);font-size:1.05rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feature{
  min-height:215px;padding:24px;border:1px solid var(--line);border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.018))
}
.icon{
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
  background:rgba(79,209,197,.1);border:1px solid rgba(79,209,197,.18);
  color:#a7f3d0;font-weight:900
}
.feature h3{margin:18px 0 8px;font-size:1.1rem}
.feature p{margin:0;color:var(--muted);font-size:.94rem}
.split{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}
.panel{border:1px solid var(--line);background:linear-gradient(180deg,var(--panel),rgba(16,29,48,.72));border-radius:var(--radius);padding:28px}
.broker{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.broker:last-child{border-bottom:0}
.broker-name{display:flex;align-items:center;gap:12px}
.broker-badge{width:42px;height:42px;border-radius:12px;background:#0b1626;display:grid;place-items:center;border:1px solid var(--line);font-weight:900}
.pill{padding:5px 9px;border-radius:999px;font-size:.72rem;font-weight:800;border:1px solid var(--line);color:#cbd5e1}
.pill.live{color:#9ff3c8;border-color:rgba(110,231,183,.22);background:rgba(110,231,183,.06)}
.pill.pending{color:#fde68a;border-color:rgba(251,191,36,.22);background:rgba(251,191,36,.06)}
.security-list{display:grid;gap:13px;margin-top:24px}
.security-item{display:flex;gap:12px;color:#d6e0ec}
.security-item span:first-child{color:var(--accent2);font-weight:900}
.cta{
  text-align:center;padding:52px;border-radius:28px;border:1px solid rgba(79,209,197,.20);
  background:
    radial-gradient(circle at 50% 0%,rgba(79,209,197,.12),transparent 55%),
    rgba(255,255,255,.025)
}
.cta h2{font-size:clamp(2rem,4vw,3.5rem);letter-spacing:-.04em;margin:0 0 12px}
.cta p{max-width:700px;margin:0 auto 24px;color:var(--muted)}
.cta-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.subscription-hero{padding-bottom:52px}
.subscription-hero p{max-width:760px;color:var(--muted);font-size:1.1rem}
.subscription-section{padding-top:0}
.subscription-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.subscription-card{
  display:flex;flex-direction:column;align-items:flex-start;min-height:390px;padding:28px;
  border:1px solid var(--line);border-radius:var(--radius);
  background:linear-gradient(180deg,var(--panel),rgba(16,29,48,.72))
}
.subscription-card.featured{
  border-color:rgba(79,209,197,.34);
  box-shadow:0 18px 56px rgba(79,209,197,.08)
}
.subscription-card-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.subscription-badge{
  padding:6px 10px;border:1px solid var(--line);border-radius:999px;
  color:#cbd5e1;font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.05em
}
.subscription-badge.live{color:#9ff3c8;border-color:rgba(110,231,183,.25);background:rgba(110,231,183,.07)}
.subscription-badge.pending{color:#fde68a;border-color:rgba(251,191,36,.25);background:rgba(251,191,36,.07)}
.subscription-kicker{color:#7f91a8;font-size:.78rem;font-weight:750}
.subscription-card h2{margin:24px 0 10px;font-size:1.55rem;line-height:1.15;letter-spacing:-.025em}
.subscription-card p{margin:0 0 26px;color:var(--muted)}
.subscription-card .btn{margin-top:auto}
.subscription-list{display:grid;gap:12px;margin:4px 0 0;padding:0;list-style:none;color:#d6e0ec}
.subscription-list li{display:flex;gap:10px}
.subscription-list li::before{content:"✓";color:var(--accent2);font-weight:900}
.subscription-note{
  margin-top:20px;padding:18px 20px;border:1px solid rgba(251,191,36,.22);
  border-radius:14px;background:rgba(251,191,36,.055);color:#d8c982
}
.subscription-note strong{color:#fde68a}
.footer{border-top:1px solid var(--line);padding:34px 0 44px;color:#8798ac;font-size:.85rem}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px}
.footer-links{display:flex;gap:16px;flex-wrap:wrap}
.legal-copy{max-width:900px;color:var(--muted)}
.page-hero{padding:72px 0 42px}
.page-hero h1{font-size:clamp(2.6rem,5vw,4.6rem)}
.content-card{border:1px solid var(--line);background:rgba(255,255,255,.025);border-radius:var(--radius);padding:30px}
.content-card h2{margin-top:30px}.content-card h2:first-child{margin-top:0}
.content-card p,.content-card li{color:var(--muted)}
.content-card a{color:#baf3ea;text-decoration:underline;text-underline-offset:3px}
.notice{padding:16px 18px;border-radius:12px;border:1px solid rgba(251,191,36,.22);background:rgba(251,191,36,.055);color:#fde68a}
.menu-btn{display:none}
@media (max-width:900px){
  .hero-grid,.split{grid-template-columns:1fr}
  .subscription-grid{grid-template-columns:1fr}
  .subscription-card{min-height:0}
  .mockup{transform:none}
  .grid-3{grid-template-columns:1fr 1fr}
  .nav-links{display:none}
  .menu-btn{display:inline-flex}
  .mock-body{grid-template-columns:95px 1fr}
}
@media (max-width:640px){
  .container{width:min(calc(100% - 28px),var(--max))}
  .hero{padding-top:60px}
  .grid-3{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .mock-side{display:none}
  .mock-body{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .cta{padding:34px 22px}
}

/* BXK TUTORIAL */

.tutorial-hero{
  padding-bottom:54px;
}

.tutorial-hero h1{
  max-width:900px;
}

.tutorial-lead{
  max-width:800px;
  color:var(--muted);
  font-size:1.12rem;
}

.tutorial-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

.tutorial-meta{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:24px;
  color:#c4d0df;
  font-size:.9rem;
}

.tutorial-meta span::before{
  content:"?";
  margin-right:7px;
  color:var(--accent2);
  font-weight:900;
}

.tutorial-notice{
  max-width:900px;
  margin-top:28px;
}

.tutorial-section{
  padding-top:30px;
}

.tutorial-layout{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:36px;
  align-items:start;
}

.tutorial-toc{
  position:sticky;
  top:94px;
}

.tutorial-toc-card{
  display:grid;
  gap:4px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(10,23,40,.95);
}

.tutorial-toc-card > strong{
  margin-bottom:8px;
  padding:0 9px 10px;
  border-bottom:1px solid var(--line);
}

.tutorial-toc-card a{
  padding:8px 9px;
  border-radius:8px;
  color:var(--muted);
  font-size:.85rem;
  line-height:1.25;
}

.tutorial-toc-card a:hover{
  color:var(--text);
  background:rgba(79,209,197,.08);
}

.tutorial-content{
  min-width:0;
}

.tutorial-chapter{
  margin-bottom:72px;
  scroll-margin-top:96px;
}

.tutorial-heading{
  display:flex;
  gap:18px;
  align-items:center;
  margin-bottom:18px;
}

.tutorial-heading h2{
  margin:8px 0 0;
  font-size:clamp(2rem,4vw,3.1rem);
  line-height:1.03;
  letter-spacing:-.04em;
}

.tutorial-number{
  width:62px;
  height:62px;
  flex:0 0 62px;
  display:grid;
  place-items:center;
  border:1px solid rgba(79,209,197,.25);
  border-radius:18px;
  background:rgba(79,209,197,.07);
  color:#baf3ea;
  font-weight:950;
}

.tutorial-card{
  padding:34px;
}

.tutorial-card h3{
  margin:30px 0 8px;
}

.tutorial-card h3:first-child{
  margin-top:0;
}

.tutorial-steps{
  display:grid;
  gap:10px;
  padding-left:24px;
}

.tutorial-tip,
.tutorial-warning,
.tutorial-danger{
  margin-top:20px;
  padding:16px 18px;
  border-radius:12px;
}

.tutorial-tip{
  border:1px solid rgba(79,209,197,.24);
  background:rgba(79,209,197,.055);
  color:#c8f8f1;
}

.tutorial-warning{
  border:1px solid rgba(251,191,36,.25);
  background:rgba(251,191,36,.055);
  color:#fde68a;
}

.tutorial-danger{
  border:1px solid rgba(251,113,133,.30);
  background:rgba(251,113,133,.06);
  color:#fecdd3;
}

.tutorial-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}

.tutorial-grid > div{
  padding:16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.018);
}

.tutorial-grid strong{
  display:block;
}

.tutorial-grid span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:.9rem;
}

.tutorial-shot{
  margin:28px 0 0;
  overflow:hidden;
  border-radius:18px;
}

.tutorial-shot img{
  display:block;
  width:100%;
  height:auto;
}

.tutorial-shot figcaption{
  padding:12px 4px 0;
  color:var(--muted);
  font-size:.86rem;
  line-height:1.5;
}

.tutorial-placeholder{
  min-height:280px;
  display:grid;
  align-content:center;
  justify-items:center;
  gap:8px;
  padding:28px;
  text-align:center;
  border:1px dashed rgba(79,209,197,.34);
  background:
    linear-gradient(
      135deg,
      rgba(79,209,197,.055),
      rgba(96,165,250,.035)
    );
}

.tutorial-placeholder span{
  color:var(--muted);
  font-size:.9rem;
}

.tutorial-mobile-placeholder{
  min-height:360px;
}

.tutorial-table-wrap{
  margin-top:18px;
  overflow-x:auto;
  border:1px solid var(--line);
  border-radius:14px;
}

.tutorial-table{
  width:100%;
  min-width:620px;
  border-collapse:collapse;
}

.tutorial-table th,
.tutorial-table td{
  padding:14px 16px;
  text-align:left;
  border-bottom:1px solid var(--line);
}

.tutorial-table th{
  background:#102035;
  color:#dce8f5;
  font-size:.8rem;
  text-transform:uppercase;
}

.tutorial-table td{
  color:var(--muted);
  font-size:.92rem;
}

.tutorial-table td:first-child{
  color:var(--text);
  font-weight:800;
}

.tutorial-table tr:last-child td{
  border-bottom:0;
}

.tutorial-finish{
  margin-top:34px;
  padding:30px;
  text-align:center;
  border:1px solid rgba(79,209,197,.2);
  border-radius:20px;
  background:rgba(79,209,197,.035);
}

.tutorial-finish h3{
  margin:14px 0 8px;
  font-size:1.6rem;
}

.tutorial-finish p{
  max-width:660px;
  margin:0 auto 22px;
}

@media (max-width:1000px){
  .tutorial-layout{
    grid-template-columns:1fr;
  }

  .tutorial-toc{
    position:static;
  }

  .tutorial-toc-card{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .tutorial-toc-card > strong{
    grid-column:1 / -1;
  }
}

@media (max-width:640px){
  .tutorial-card{
    padding:24px 20px;
  }

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

  .tutorial-toc-card{
    grid-template-columns:1fr;
  }

  .tutorial-number{
    width:52px;
    height:52px;
    flex-basis:52px;
  }

  .tutorial-placeholder{
    min-height:220px;
  }
}

.tutorial-gallery{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  margin-top:28px;
}

.tutorial-gallery .tutorial-shot{
  margin-top:0;
}

.tutorial-mobile-shot{
  max-width:520px;
  margin-left:auto;
  margin-right:auto;
}


/* BXK AI ASSISTANT */
.bxk-chat-launcher{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:80;
  border:0;
  border-radius:999px;
  padding:13px 18px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#04121b;
  font:inherit;
  font-weight:850;
  box-shadow:0 18px 45px rgba(0,0,0,.35);
  cursor:pointer;
}
.bxk-chat-panel{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:90;
  width:min(390px,calc(100vw - 28px));
  height:min(610px,calc(100vh - 44px));
  border:1px solid rgba(255,255,255,.14);
  border-radius:20px;
  overflow:hidden;
  background:#0b1728;
  box-shadow:0 26px 80px rgba(0,0,0,.48);
  display:flex;
  flex-direction:column;
}
.bxk-chat-panel[hidden],
.bxk-chat-launcher[hidden]{display:none}
.bxk-chat-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 17px;
  border-bottom:1px solid var(--line);
  background:#101d30;
}
.bxk-chat-title{display:grid;gap:2px}
.bxk-chat-title strong{font-size:.98rem}
.bxk-chat-title span{
  color:var(--muted);
  font-size:.72rem;
}
.bxk-chat-close{
  width:34px;
  height:34px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(255,255,255,.03);
  color:var(--text);
  font-size:1.3rem;
  cursor:pointer;
}
.bxk-chat-messages{
  flex:1;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px;
}
.bxk-chat-message{
  max-width:88%;
  padding:10px 12px;
  border-radius:13px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:.9rem;
  line-height:1.45;
}
.bxk-chat-message.assistant{
  align-self:flex-start;
  background:#13233a;
  border:1px solid var(--line);
}
.bxk-chat-message.user{
  align-self:flex-end;
  background:rgba(79,209,197,.16);
  border:1px solid rgba(79,209,197,.24);
}
.bxk-chat-message.loading{color:var(--muted)}
.bxk-chat-message.error{color:#fecaca}
.bxk-chat-safety{
  margin:0 14px 9px;
  padding:9px 10px;
  border-radius:10px;
  background:rgba(251,191,36,.06);
  border:1px solid rgba(251,191,36,.17);
  color:#d8c982;
  font-size:.68rem;
  line-height:1.35;
}
.bxk-chat-quick{
  display:flex;
  gap:7px;
  overflow:auto;
  padding:0 14px 10px;
}
.bxk-chat-quick button{
  flex:0 0 auto;
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 10px;
  background:rgba(255,255,255,.025);
  color:#cbd5e1;
  font-size:.7rem;
  cursor:pointer;
}
.bxk-chat-form{
  display:flex;
  gap:8px;
  align-items:flex-end;
  padding:12px 14px;
  border-top:1px solid var(--line);
  background:#0d1929;
}
.bxk-chat-input{
  flex:1;
  resize:none;
  min-height:44px;
  max-height:110px;
  border:1px solid #334155;
  border-radius:11px;
  padding:10px 11px;
  background:#07111f;
  color:var(--text);
  font:inherit;
  font-size:.88rem;
}
.bxk-chat-send{
  min-height:44px;
  border:0;
  border-radius:10px;
  padding:0 14px;
  background:var(--accent);
  color:#04121b;
  font-weight:850;
  cursor:pointer;
}
.bxk-chat-send:disabled{opacity:.55}
.bxk-chat-footer{
  padding:0 14px 12px;
  color:#71859d;
  font-size:.65rem;
  background:#0d1929;
}
@media(max-width:520px){
  .bxk-chat-panel{
    right:8px;
    bottom:8px;
    width:calc(100vw - 16px);
    height:min(680px,calc(100vh - 16px));
  }
  .bxk-chat-launcher{
    right:14px;
    bottom:14px;
  }
}
