/* McRobotAi — bosh sahifa. Siyoh-ko'k fon, tilla, keng Unbounded sarlavhalar. */
:root {
  --ink: #0C1018;
  --ink-2: #121826;
  --ink-3: #182033;
  --line: #242D40;
  --gold: #E8B034;
  --gold-hi: #F6CF6B;
  --gold-lo: #B9861C;
  --text: #ECEEF3;
  --muted: #8D95A8;
  --buy: #3DDC97;
  --sell: #F05A5A;
  --ai: #6FB6F5;
  --head: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "Consolas", "SF Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--text); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 36px; max-width: 18ch; }
h3 { font-size: 17px; font-weight: 500; line-height: 1.35; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1A1300; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 14px 22px; border-radius: 12px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; transition: background-color .15s, border-color .15s; }
.btn.gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: #1A1300; }
.btn.gold:hover { background: var(--gold-hi); }
.btn.ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn.ghost:hover { border-color: var(--gold); }
.btn.sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn .sz { font-weight: 500; opacity: .75; white-space: nowrap; }
.btn { flex-wrap: wrap; justify-content: center; text-align: center; }

/* ---------- nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(12,16,24,.82); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(36,45,64,.6); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 700; color: var(--gold); font-size: 18px; }
.logo img { border-radius: 10px; }
.links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.links a { text-decoration: none; color: var(--muted); }
.links a:hover { color: var(--text); }
.nav-act { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.lang a { text-decoration: none; padding: 5px 9px; border-radius: 7px; font-size: 13px; font-weight: 700; color: var(--muted); }
.lang a.on { background: var(--ink-3); color: var(--gold); }

/* ---------- hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero::before { /* tilla quyma yuzasidagi kabi yumshoq yorug'lik */
  content: ""; position: absolute; inset: -30% -10% auto 40%; height: 640px;
  background: radial-gradient(closest-side, rgba(232,176,52,.16), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 64px); max-width: 13ch;
  background: linear-gradient(180deg, #FFF3D1 0%, var(--gold-hi) 35%, var(--gold) 70%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: #C6CBD6; font-size: 18px; max-width: 56ch; margin-top: 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* robot jurnali — sahifaning asosiy vizual elementi */
.tape { margin: 0; background: linear-gradient(180deg, var(--ink-2), #0E131E); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px 18px 8px; box-shadow: 0 30px 80px -30px rgba(232,176,52,.25), inset 0 1px 0 rgba(255,255,255,.04); }
.tape figcaption { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--text);
  padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.tape .sym { margin-left: auto; color: var(--gold); font-family: var(--mono); font-weight: 400; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--buy); box-shadow: 0 0 0 4px rgba(61,220,151,.15); }
.tape ol { list-style: none; margin: 0; padding: 6px 0; font: 13.5px/1.5 var(--mono); }
.tape li { display: grid; grid-template-columns: 74px 1fr; gap: 8px; padding: 9px 2px; border-bottom: 1px dashed rgba(36,45,64,.7); }
.tape li:last-child { border-bottom: 0; }
.tape time { color: var(--muted); }
.tape .ai span { color: var(--ai); }
.tape .trade span, .tape .ok span { color: var(--buy); }
.tape .info span { color: #C6CBD6; }
@media (prefers-reduced-motion: no-preference) {
  .tape li { opacity: 0; transform: translateY(6px); animation: tapeIn .45s ease-out forwards; animation-delay: calc(.35s + var(--i) * .45s); }
  .live { animation: pulse 2s ease-in-out infinite; }
}
@keyframes tapeIn { to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61,220,151,0); } }

/* ---------- screenshot */
.shot { padding: 8px 0 40px; }
.shot img { border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(246,207,107,.25) inset, 0 40px 120px -40px rgba(0,0,0,.9); }

/* ---------- blocks */
.block { padding: 88px 0; }
.block.alt { background: var(--ink-2); border-block: 1px solid var(--line); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.features article { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.features article:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; margin-bottom: 18px;
  background: rgba(232,176,52,.1); color: var(--gold); font-size: 18px; }
.features p { color: var(--muted); margin-top: 10px; font-size: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding-top: 20px; border-top: 2px solid var(--line); }
.steps li:first-child { border-top-color: var(--gold); }
.num { font-family: var(--head); font-size: 44px; font-weight: 700; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }
.steps p { color: var(--muted); margin-top: 10px; font-size: 16px; }

.safety { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.safety h2 { margin-bottom: 0; }
.safety .lead { margin-top: 20px; }
.rules { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.rules li { padding: 16px 20px 16px 52px; position: relative; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.rules li:last-child { border-bottom: 0; }
.rules li::before { content: ""; position: absolute; left: 20px; top: 21px; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 500 26px var(--head); color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: #C6CBD6; padding: 0 0 22px; max-width: 70ch; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px;
  border-radius: 24px; border: 1px solid rgba(232,176,52,.35);
  background: radial-gradient(120% 140% at 0% 0%, rgba(232,176,52,.14), transparent 55%), var(--ink-2); }
.contact h2 { margin-bottom: 16px; }
.contact-copy > p { color: #C6CBD6; max-width: 46ch; }
.price { margin-top: 22px !important; font-family: var(--head); font-size: 22px; color: var(--gold); }
.price span { display: block; font: 600 14px var(--body); color: var(--muted); margin-bottom: 4px; }
.cnote { margin-top: 14px !important; color: var(--muted) !important; font-size: 15px; }
.contact-ways { display: grid; gap: 14px; }
.way { display: grid; gap: 2px; text-decoration: none; padding: 20px 22px; border-radius: 16px; background: var(--ink);
  border: 1px solid var(--line); transition: border-color .15s; }
.way:hover { border-color: var(--gold); }
.way small { color: var(--muted); font-size: 14px; }
.way b { font-family: var(--head); font-weight: 500; font-size: 22px; color: var(--gold); overflow-wrap: anywhere; }
.way span { font-size: 14px; font-weight: 700; color: var(--text); margin-top: 6px; }

.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.disc { color: var(--muted); font-size: 13.5px; max-width: 110ch; }
.copy { color: #5E6577; font-size: 13px; margin-top: 14px; }

/* ---------- responsive */
@media (max-width: 1000px) {
  .links { display: none; }
  .nav-act { margin-left: auto; }
  .hero-in, .safety, .contact { grid-template-columns: 1fr; gap: 36px; }
  .features { grid-template-columns: 1fr 1fr; }
  .features article, .features article:not(:nth-child(3n+1)) { padding: 24px 20px 26px 0; border-left: 0; }
  .features article:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 32px; }
  .nav-in { height: 60px; gap: 10px; }
  .logo span { display: none; }
  .features, .steps { grid-template-columns: 1fr; }
  .features article:nth-child(2n) { padding-left: 0; border-left: 0; }
  .block { padding: 60px 0; }
  .contact { padding: 26px 20px; }
  .tape li { grid-template-columns: 1fr; gap: 0; }
  .btn { width: 100%; justify-content: center; }
  .nav .btn { width: auto; }
}
