:root {
  --pc-home-bg: #020d1f;
  --pc-home-ink: #f8fafc;
  --pc-home-muted: #9aa9bb;
  --pc-home-border: rgba(148, 203, 225, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.pc-home-html::-webkit-scrollbar { width: 15px; height: 15px; }
body.pc-home-body::-webkit-scrollbar { width: 15px; height: 15px; }
body.pc-home-body {
  min-width: 320px;
  margin: 0;
  background: #020617;
  color: var(--pc-home-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.pc-home { min-height: 100vh; overflow: clip; background: linear-gradient(to bottom right, #020617, #052f4a, #083344); }
.pc-home main { padding-top: 80px; }
.pc-home-shell { width: min(100% - 40px, 1200px); margin-inline: auto; }

.pc-home-nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 80;
  height: 80px;
  border-bottom: 1px solid rgba(148, 203, 225, .13);
  background: rgba(3, 17, 38, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background .2s ease, box-shadow .2s ease;
}
.pc-home-nav.pc-nav-scrolled { background: rgba(3, 17, 38, .98); box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }
.pc-home-nav__inner { width: min(100% - 48px, 1280px); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pc-home-brand { display: flex; flex-direction: column; flex: none; color: #fff; text-decoration: none; }
.pc-home-brand strong, .pc-home-footer strong { background: linear-gradient(90deg, #fb923c, #f87171 52%, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 24px; line-height: 1; font-weight: 800; letter-spacing: 0; }
.pc-home-brand strong span, .pc-home-footer strong span { color: inherit; }
.pc-home-brand small, .pc-home-footer small { margin-top: 5px; color: #a5b5c8; font-size: 10px; font-weight: 600; line-height: 1; letter-spacing: .08em; }
.pc-home-nav__actions { display: flex; align-items: center; gap: 16px; }
.pc-home-nav button { font-family: inherit; }
.pc-home-lang { position: relative; }
.pc-home-lang .pc-lang-trigger {
  display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px;
  border: 1px solid rgba(148, 203, 225, .16); border-radius: 10px;
  background: rgba(20, 39, 62, .72); color: #fff; cursor: pointer;
}
.pc-home-lang .pc-lang-trigger:hover, .pc-home-lang .pc-lang-trigger[aria-expanded="true"] { border-color: rgba(148, 203, 225, .32); background: rgba(30, 54, 81, .84); }
.pc-home-lang .pc-lang-trigger svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.pc-home-lang__code { font: 700 10px/1 "JetBrains Mono", monospace; color: #cbd5e1; }
.pc-home-lang__label { font-size: 14px; line-height: 1; white-space: nowrap; }
.pc-home-lang__panel { top: calc(100% + 9px); right: 0; left: auto; min-width: 160px; padding: 5px; border-radius: 10px; background: #0b1c32; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.pc-home-lang__panel .pc-lang-option { border-radius: 7px; }
.pc-home-lang__panel .pc-lang-check { font: 700 9px/1 "JetBrains Mono", monospace; color: #67e8f9; }
.pc-home-wallet {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 17px;
  border: 0; border-radius: 10px; background: linear-gradient(100deg, #a855f7 0%, #8b5cf6 34%, #06b6d4 100%);
  color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px rgba(34, 211, 238, .12); transition: transform .18s ease, filter .18s ease;
}
.pc-home-wallet:hover, .pc-home-button--primary:hover { transform: translateY(-2px); filter: brightness(1.07); }
.pc-home-wallet svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pc-home-hero { position: relative; padding: 35px 0 0; background: radial-gradient(1000px 620px at 50% 16%, rgba(7, 98, 136, .36), transparent 70%), linear-gradient(104deg, #020d1f 0%, #052238 52%, #07384d 100%); }
.pc-home-hero::before { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(90deg, rgba(2, 13, 31, .56), transparent 45%, rgba(6, 84, 105, .17)); }
.pc-home-matrix { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .62; mix-blend-mode: screen; }
.pc-home-hero__glow { position: absolute; width: 740px; height: 740px; top: -390px; left: calc(50% - 370px); border-radius: 50%; background: rgba(56, 189, 248, .09); filter: blur(80px); pointer-events: none; }
.pc-home-hero__copy { position: relative; z-index: 1; display: flex; width: min(100% - 48px, 1280px); align-items: center; flex-direction: column; text-align: center; }
.pc-home-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; margin-bottom: 37px; padding: 0 16px; border: 1px solid rgba(168, 85, 247, .28); border-radius: 999px; background: linear-gradient(100deg, rgba(112, 49, 171, .54), rgba(73, 49, 137, .56)); box-shadow: 0 0 28px rgba(168, 85, 247, .18); color: #e9d5ff; font-size: 14px; font-weight: 400; animation: pc-home-badge-float 3s ease-in-out infinite; }
.pc-home-badge svg { width: 16px; height: 16px; fill: none; stroke: #c084fc; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-home h1 { width: 100%; max-width: 1220px; margin: 0 0 24px; color: #fff; font-size: 96px; font-weight: 700; letter-spacing: 0; line-height: 1; }
.pc-home h1 span { display: block; }
.pc-home-title__web { margin-bottom: 16px; color: #fa313a; font-size: 128px; font-weight: 900; letter-spacing: 0; line-height: 1; transform: scaleX(.958); transform-origin: 50% 50%; }
.pc-home-title__gradient { background: linear-gradient(90deg, #b45bff 3%, #ec5fc6 46%, #00c7e8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-home-hero__description { width: min(100%, 768px); margin: 0 0 48px; color: #aeb9c8; font-size: 24px; line-height: 32px; }
.pc-home-hero__buttons { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0; }
.pc-home-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; padding: 0 32px; border: 1px solid transparent; border-radius: 12px; color: #fff; font-family: inherit; font-size: 18px; font-weight: 500; line-height: 28px; text-decoration: none; cursor: pointer; transition: transform .18s ease, filter .18s ease, background .18s ease, border-color .18s ease; }
.pc-home-button--primary { border-width: 0; background: linear-gradient(100deg, #bb4df9 0%, #8669ed 49%, #00b9d5 100%); box-shadow: 0 12px 30px rgba(0, 179, 212, .15); }
.pc-home-button--secondary { min-height: 62px; border-color: rgba(148, 203, 225, .36); background: rgba(47, 77, 100, .53); }
.pc-home-button--secondary:hover { border-color: rgba(226, 232, 240, .75); background: rgba(64, 95, 120, .72); }
.pc-home-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pc-home-terminal { position: relative; z-index: 1; width: min(100% - 48px, 1280px); margin: 0 auto; padding: 32px 0; text-align: center; }
.pc-home-terminal__eyebrow { display: inline-flex; align-items: center; margin-bottom: 12px; padding: 4px 14px; border: 1px solid rgba(192, 132, 252, .3); border-radius: 999px; background: rgba(88, 49, 151, .31); color: #e9d5ff; font: 500 12px/16px ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; }
.pc-home-terminal h2 { width: min(calc(100% - 32px), 736px); margin: 0 auto 8px; font-size: 36px; line-height: 40px; font-weight: 700; }
.pc-home-terminal > p { width: min(calc(100% - 32px), 736px); margin: 0 auto; color: oklch(0.145 0 0); font-size: 16px; line-height: 24px; }
.pc-home-terminal iframe { display: block; width: 100%; height: 1387px; margin: 20px auto 0; border: 0; background: transparent; overflow: hidden; }

.pc-home-metrics { position: relative; z-index: 1; width: min(100% - 48px, 896px); margin: 0 auto; padding: 0 0 48px; background: transparent; }
.pc-home-metrics__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pc-home-metrics article { display: flex; min-width: 0; min-height: 138px; align-items: center; justify-content: center; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(255,255,255,.1); padding: 32px; text-align: center; }
.pc-home-metrics strong { display: block; max-width: 100%; margin-bottom: 8px; background: linear-gradient(100deg, #b45bff, #00c7e8); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 36px; font-weight: 700; line-height: 40px; white-space: nowrap; }
.pc-home-metrics article:nth-child(2) strong { background-image: linear-gradient(100deg, #22d3ee, #67e8f9); }
.pc-home-metrics article:nth-child(3) strong { background-image: linear-gradient(100deg, #06b6d4, #a78bfa); }
.pc-home-metrics span { display: block; color: #9ca3af; font-size: 16px; line-height: 24px; }

.pc-home-features { position: relative; padding: 80px 24px; border: 0; background: transparent; }
.pc-home-features .pc-home-shell { width: 100%; max-width: 1280px; }
.pc-home-section-heading { width: 100%; max-width: none; margin: 0 auto 64px; text-align: center; }
.pc-home-section-heading h2 { margin: 0 0 16px; color: #fff; font-size: clamp(32px, 5vw, 48px); line-height: 1.15; font-weight: 700; }
.pc-home-section-heading em { background: linear-gradient(100deg, #b45bff, #00c7e8); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.pc-home-section-heading p { margin: 0; color: #94a3b8; font-size: clamp(16px, 2.2vw, 20px); line-height: 1.5; }
.pc-home-features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pc-home-feature { min-width: 0; padding: 32px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .055); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease; }
.pc-home-feature:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .09); }
.pc-home-feature__icon { display: grid; width: 56px; height: 56px; place-items: center; margin-bottom: 16px; border-radius: 12px; color: #fff; box-shadow: 0 12px 28px rgba(2, 6, 23, .22); }
.pc-home-feature__icon svg { width: 28.8px; height: 28.8px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-home-feature__icon--brain { background: linear-gradient(135deg, #a855f7, #ec4899); }.pc-home-feature__icon--market { background: linear-gradient(135deg, #06b6d4, #3b82f6); }.pc-home-feature__icon--x { background: linear-gradient(135deg, #ec4899, #f97316); }.pc-home-feature__icon--shield { background: linear-gradient(135deg, #f59e0b, #eab308); }.pc-home-feature__icon--bolt { background: linear-gradient(135deg, #22c55e, #10b981); }.pc-home-feature__icon--globe { background: linear-gradient(135deg, #6366f1, #a855f7); }
.pc-home-feature h3 { margin: 0 0 12px; color: #fff; font-size: 20px; line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }.pc-home-feature p { margin: 0; color: #94a3b8; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }

.pc-home-cta { position: relative; padding: 32px 24px 80px; background: transparent; }
.pc-home-cta__shell { width: 100%; max-width: 1280px; margin: 0 auto; overflow: hidden; padding: 1px; border-radius: 24px; background: linear-gradient(90deg, #9333ea, #db2777, #0891b2); box-shadow: 0 24px 80px rgba(126, 34, 206, .2); }
.pc-home-cta__panel { padding: 80px 48px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 23px; background: linear-gradient(90deg, rgba(126, 34, 206, .82), rgba(190, 24, 93, .78), rgba(8, 145, 178, .82)), rgba(2, 6, 23, .22); text-align: center; }
.pc-home-cta h2 { margin: 0 0 24px; color: #fff; font-size: clamp(32px, 5vw, 48px); line-height: 1.15; font-weight: 700; }
.pc-home-cta p { max-width: 672px; margin: 0 auto 32px; color: #e2e8f0; font-size: clamp(16px, 2.2vw, 20px); line-height: 1.6; }
.pc-home-cta__panel .pc-home-button { min-height: 0; gap: 8.8px; padding: 16px 32px; border: 0; border-radius: 12px; background: #fff; color: #9333ea; font-size: 17.6px; font-weight: 600; line-height: 26.4px; box-shadow: none; }
.pc-home-cta__panel .pc-home-button:hover { transform: scale(1.04); box-shadow: 0 18px 38px rgba(2, 6, 23, .28); }
.pc-home-footer { padding: 35px 0; border-top: 1px solid rgba(148, 203, 225, .12); background: #020d1f; }.pc-home-footer > div { display: flex; flex-direction: column; align-items: flex-start; }.pc-home-footer strong { font-size: 22px; }

@keyframes pc-home-badge-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.pc-demo-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 16px; visibility: hidden; opacity: 0; transition: visibility .2s ease, opacity .2s ease; }
.pc-demo-modal.is-open { visibility: visible; opacity: 1; }
.pc-demo-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 6, 17, .76); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.pc-demo-modal__dialog { position: relative; width: min(100%, 896px); }
.pc-demo-modal__panel { width: 100%; overflow: hidden; border: 1px solid rgba(148,163,184,.22); border-radius: 14px; background: #111827; box-shadow: 0 25px 70px rgba(76,29,149,.28), 0 0 48px rgba(6,182,212,.08); }
.pc-demo-modal__titlebar { display: flex; min-height: 45px; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #374151; background: #1f2937; color: #d1d5db; font: 500 14px/20px "JetBrains Mono", monospace; }
.pc-demo-modal__titlebar b { color: #c084fc; }
.pc-demo-modal__titlebar i { display: flex; gap: 9px; }
.pc-demo-modal__titlebar i span { display: block; width: 12px; height: 12px; border-radius: 50%; background: #eab308; }
.pc-demo-modal__titlebar i span:nth-child(2) { background: #22c55e; }
.pc-demo-modal__titlebar i span:nth-child(3) { background: #f43f5e; }
.pc-demo-modal__body { height: min(55vh, 420px); overflow: auto; padding: 26px 24px; background: #000; color: #60a5fa; font: 13px/1.55 "JetBrains Mono", monospace; scrollbar-color: #8b8b8b #fff; scrollbar-width: thin; }
.pc-demo-modal__body::-webkit-scrollbar { width: 14px; height: 10px; }
.pc-demo-modal__body::-webkit-scrollbar-track { background: #fff; }
.pc-demo-modal__body::-webkit-scrollbar-thumb { border: 3px solid #fff; border-radius: 8px; background: #888; }
.pc-demo-modal__body .pc-demo-line { min-height: 20px; margin: 0; white-space: pre; }
.pc-demo-modal__body .pc-demo-line--ascii { min-height: 18px; background: linear-gradient(90deg, #f472b6 0%, #a855f7 38%, #38bdf8 72%, #f472b6 100%); background-clip: text; -webkit-background-clip: text; color: transparent; font-size: 14px; font-weight: 600; line-height: 18px; }
.pc-demo-modal__body .pc-demo-line--blank { min-height: 12px; }
.pc-demo-modal__body .pc-demo-line--cmd { color: #00f5d4; font-weight: 600; }
.pc-demo-modal__body .pc-demo-line--ok { color: #00f58a; }
.pc-demo-modal__body .pc-demo-line--warn { color: #fbbf24; }
.pc-demo-modal__body .pc-demo-line--hi { color: #d8b4fe; padding-left: 18px; }
.pc-demo-modal__body .pc-demo-line--meta { color: #7890a8; }
.pc-demo-modal__hint { margin: 16px 0 0; color: #94a3b8; font-size: 14px; line-height: 20px; text-align: center; }

@media (max-width: 760px) {
  .pc-home main { padding-top: 68px; }
  .pc-home-nav { height: 68px; }
  .pc-home-nav__inner { width: calc(100% - 48px); }
  .pc-home-brand strong { font-size: 14px; line-height: 20px; }
  .pc-home-brand small { margin-top: 0; font-size: 8px; line-height: 12px; }
  .pc-home-nav__actions { gap: 16px; }
  .pc-home-lang .pc-lang-trigger { width: 42px; min-height: 34px; justify-content: center; padding: 0; }
  .pc-home-wallet { width: 48px; min-height: 34px; padding: 0; }
  .pc-home-wallet svg, .pc-home-lang .pc-lang-trigger svg { width: 16px; height: 16px; }
  .pc-home-hero { padding-top: 50px; }
  .pc-home-hero__copy { width: calc(100% - 48px); }
  .pc-home-badge { min-height: 38px; margin-bottom: 34px; padding: 0 16px; font-size: 14px; }
  .pc-home-title__web { margin-bottom: 16px; font-size: 60px; line-height: 1; }
  .pc-home h1 { margin-bottom: 24px; font-size: 48px; line-height: 1; }
  .pc-home-hero__description { margin: 0 0 48px; font-size: 20px; line-height: 1.4; }
  .pc-home-hero__buttons { align-items: center; flex-direction: column; gap: 16px; }
  .pc-home-button { min-height: 60px; padding: 0 32px; border-radius: 12px; font-size: 18px; line-height: 28px; }
  .pc-home-button--secondary { min-height: 62px; }
  .pc-home-button svg { width: 20px; height: 20px; }
  .pc-home-terminal { width: calc(100% - 48px); margin: 0 auto; padding-top: 32px; }
  .pc-home-terminal h2 { width: calc(100% - 32px); margin: 0 auto 8px; font-size: 30px; line-height: 36px; }
  .pc-home-terminal > p { width: calc(100% - 32px); margin-inline: auto; font-size: 14px; line-height: 20px; }
  .pc-home-terminal iframe { height: 1387px; margin-top: 20px; }
  .pc-home-metrics { width: calc(100% - 48px); margin-top: 0; padding-bottom: 48px; }
  .pc-home-metrics__grid { grid-template-columns: 1fr; gap: 24px; }
  .pc-home-metrics article { min-height: 138px; padding: 32px; }
  .pc-home-metrics strong { font-size: 36px; }
  .pc-home-metrics span { font-size: 16px; }
  .pc-home-features { padding: 64px 20px; }
  .pc-home-section-heading { margin-bottom: 48px; }
  .pc-home-section-heading h2 { font-size: 32px; line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; }
  .pc-home-section-heading p { font-size: 16px; line-height: 1.5; }
  .pc-home-features__grid { grid-template-columns: 1fr; gap: 20px; }
  .pc-home-feature { padding: 28px; }
  .pc-home-cta { padding: 24px 20px 64px; }
  .pc-home-cta__panel { padding: 48px 24px; }
  .pc-home-cta h2 { font-size: 32px; line-height: 1.15; }
  .pc-home-cta p { font-size: 16px; line-height: 1.6; }
  .pc-demo-modal { align-items: flex-start; padding: 64px 12px 12px; }
  .pc-demo-modal__body { height: 52vh; padding: 16px 12px; font-size: 10px; line-height: 1.55; }
  .pc-demo-modal__body .pc-demo-line { min-height: 16px; }
  .pc-demo-modal__body .pc-demo-line--ascii { min-height: 13px; font-size: 9px; line-height: 13px; }
  .pc-demo-modal__body .pc-demo-line--hi { padding-left: 10px; }
  .pc-demo-modal__hint { margin-top: 12px; font-size: 12px; }
}

@media (min-width: 760.01px) and (max-width: 1023.98px) {
  .pc-home-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .pc-home-lang__code, .pc-home-lang__label, .pc-home-wallet span { display: none; }
}

@media (max-width: 370px) {
  .pc-home-nav__inner, .pc-home-hero__copy, .pc-home-terminal, .pc-home-metrics { width: calc(100% - 32px); }
  .pc-home-title__web { font-size: 54px; }
  .pc-home h1 { font-size: 43px; }
  .pc-home-hero__description { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
