/* Home page (templates/index.html): aurora hero with an app window built in HTML, bento features,
   deep dives for Remote Desktop / team vaults / multiplayer. Tokens come from app.css. */

.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none !important; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; }
.x-btn.primary { color: #fff; background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%); box-shadow: 0 10px 30px -10px rgba(59, 130, 246, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.x-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(59, 130, 246, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.x-btn.ghost { color: #e8ebf3; border: 1px solid rgba(148, 163, 196, .24); background: rgba(255, 255, 255, .03); }
.x-btn.ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(148, 163, 196, .45); }
.x-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.x-link { color: #60a5fa; font-weight: 600; }
.x-new { display: inline-block; vertical-align: middle; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; color: #0b1020; background: linear-gradient(135deg, #bfdbfe, #60a5fa); }
.x-eyebrow { margin: 0 0 14px; font: 600 .8rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: #93c5fd; display: flex; align-items: center; gap: 10px; }
.x-eyebrow.center { justify-content: center; }
.x-h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; color: #fff; margin: 0 0 18px; }
.x-h2 span { color: #7c86a0; }
.x-h2.center { text-align: center; }
.x-lead { color: #a3acc2; font-size: 1.08rem; margin: 0 0 20px; max-width: 34rem; }
.x-sec { padding: 110px 0; position: relative; }
.x-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.x-split.rev { grid-template-columns: 1.1fr 1fr; }
.x-checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 11px; }
.x-checks li { position: relative; padding-left: 30px; color: #d3d8e4; }
.x-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 6px; background: rgba(59, 130, 246, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2393c5fd' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---- hero */
.x-hero { position: relative; overflow: hidden; padding: 96px 0 40px; }
.x-aurora { position: absolute; inset: -30% -10% auto; height: 1000px; pointer-events: none; filter: blur(80px); opacity: .7; }
.x-aurora i { position: absolute; border-radius: 50%; }
.x-aurora .a1 { width: 640px; height: 520px; left: 12%; top: 18%; background: #1d4ed8; animation: x-float1 24s ease-in-out infinite alternate; }
.x-aurora .a2 { width: 520px; height: 460px; right: 8%; top: 12%; background: #0369a1; opacity: .7; animation: x-float2 28s ease-in-out infinite alternate; }
.x-aurora .a3 { width: 480px; height: 420px; left: 42%; top: 40%; background: #2563eb; opacity: .5; animation: x-float3 32s ease-in-out infinite alternate; }
@keyframes x-float1 { to { transform: translate(140px, 60px) scale(1.12); } }
@keyframes x-float2 { to { transform: translate(-180px, 100px) scale(.92); } }
@keyframes x-float3 { to { transform: translate(-120px, -70px) scale(1.18); } }
.x-gridbg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(148, 163, 196, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 196, .07) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); }
.x-hero-inner { position: relative; z-index: 1; text-align: center; }
.x-badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid rgba(96, 165, 250, .25); background: rgba(6, 10, 20, .6); backdrop-filter: blur(8px); color: #cfd6e8; font-size: .88rem; }
.x-badge span { padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: .74rem; color: #0b1020; background: linear-gradient(135deg, #bfdbfe, #60a5fa); }
.x-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.x-badge:hover { text-decoration: none; color: #fff; border-color: rgba(96, 165, 250, .5); }
.x-title { margin: 28px 0 20px; font-size: clamp(3rem, 7.6vw, 5.8rem); line-height: 1; letter-spacing: -.05em; font-weight: 750; color: #fff; }
.x-title em { font-style: normal; background: linear-gradient(100deg, #bfdbfe 5%, #60a5fa 50%, #3b82f6 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-sub { margin: 0 auto 34px; max-width: 640px; color: #a8b1c6; font-size: 1.18rem; line-height: 1.55; }
.x-note { margin: 22px 0 0; color: #7c86a0; font-size: .88rem; }

/* app window built in HTML */
.x-stage { position: relative; margin: 60px auto 0; max-width: 1060px; text-align: left; }
.x-win { border-radius: 16px; overflow: hidden; background: #070a12; border: 1px solid rgba(148, 163, 196, .2);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .025), 0 60px 140px -40px rgba(0, 0, 0, .9), 0 0 140px -30px rgba(59, 130, 246, .45); }
.x-win-bar { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; background: #0a0e18; border-bottom: 1px solid rgba(148, 163, 196, .12); font-size: .8rem; color: #9aa3b8; overflow: hidden; }
.x-dots { display: inline-flex; gap: 6px; margin-right: 8px; flex: none; }
.x-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3142; }
.x-dots i:nth-child(1) { background: #ff5f57; } .x-dots i:nth-child(2) { background: #febc2e; } .x-dots i:nth-child(3) { background: #28c840; }
.x-tab { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 8px; white-space: nowrap; }
.x-tab.on { background: rgba(255, 255, 255, .08); color: #fff; }
.x-tab.vault em { font-style: normal; opacity: .6; font-size: .7rem; }
.x-tab.plus { color: #6b7590; }
.x-tab b, .x-hostlist i { width: 10px; height: 10px; border-radius: 3px; background: #f97316; flex: none; }
.x-tab b.win, .x-hostlist i.win { background: linear-gradient(135deg, #38bdf8 50%, #0ea5e9 50%); }
.x-win-body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1px; background: rgba(148, 163, 196, .12); height: 400px; }
.x-pane { position: relative; background: #070a12; overflow: hidden; }
.x-pane pre, .x-term pre { margin: 0; padding: 18px; font: .8rem/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #c9d1d9; white-space: pre-wrap; word-break: break-word; }
.x-pane .g, .x-term .g { color: #3fb950; font-weight: 600; } .x-pane .b, .x-term .b { color: #58a6ff; } .x-term .r { color: #ff7b72; }
.x-pane .d { color: #7c86a0; } .x-pane .ok { color: #7ee0c8; }
.x-cur { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; background: #c9d1d9; animation: x-blink 1s steps(1) infinite; }
@keyframes x-blink { 50% { opacity: 0; } }
.x-suggest { position: absolute; left: 150px; top: 206px; display: grid; min-width: 210px; padding: 4px; border-radius: 8px; background: #161d2e; border: 1px solid rgba(148, 163, 196, .2); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); font: .74rem ui-monospace, Menlo, monospace; }
.x-suggest b, .x-suggest span { padding: 5px 8px; border-radius: 5px; font-weight: 500; color: #9aa3b8; }
.x-suggest b { background: rgba(59, 130, 246, .22); color: #fff; }
/* Windows desktop */
.x-desk { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 30% 20%, #2563eb, transparent 60%), radial-gradient(ellipse 70% 60% at 80% 90%, #0284c7, transparent 60%), #0b2a6b; }
.x-desk-win { position: absolute; left: 14%; top: 14%; right: 12%; bottom: 22%; border-radius: 8px; background: #f3f4f8; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .5); overflow: hidden; }
.x-desk-title { height: 26px; padding: 0 10px; display: flex; align-items: center; font: 600 .72rem "Segoe UI", Inter, sans-serif; color: #1f2937; background: #fff; border-bottom: 1px solid #e5e7eb; }
.x-desk-rows { display: grid; gap: 8px; padding: 14px; }
.x-desk-rows i { height: 16px; border-radius: 4px; background: #dfe3ec; }
.x-desk-rows i:nth-child(2) { width: 80%; } .x-desk-rows i:nth-child(3) { width: 65%; }
.x-desk-rows i.s { height: 60px; background: linear-gradient(90deg, #c7d2fe, #bae6fd); }
.x-desk-icons { position: absolute; left: 12px; top: 12px; display: grid; gap: 10px; }
.x-desk-icons i { width: 22px; height: 22px; border-radius: 5px; background: rgba(255, 255, 255, .28); }
.x-taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(20, 24, 40, .82); backdrop-filter: blur(6px); color: #e5e7eb; font-size: .68rem; }
.x-taskbar i { width: 16px; height: 16px; border-radius: 4px; background: rgba(255, 255, 255, .3); }
.x-taskbar i.start { background: linear-gradient(135deg, #38bdf8 50%, #0ea5e9 50%); }
.x-taskbar span { position: absolute; right: 12px; }
.x-rdp-pill { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: rgba(8, 11, 20, .72); backdrop-filter: blur(6px); color: #d1fae5; font: 600 .7rem ui-monospace, Menlo, monospace; border: 1px solid rgba(126, 224, 200, .3); }
.x-rdp-pill b, .x-rdp-foot b.ok { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
/* floating cards around the window */
.x-float { position: absolute; border-radius: 14px; background: rgba(9, 13, 24, .88); backdrop-filter: blur(12px); border: 1px solid rgba(148, 163, 196, .22); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); color: #d6dbe7; font-size: .82rem; animation: x-bob 7s ease-in-out infinite; }
.x-float.vaults { left: 70px; top: 40px; width: 210px; padding: 6px; animation: none; }
.x-float.share { right: -34px; bottom: 36px; display: flex; align-items: center; gap: 4px; padding: 8px 14px 8px 8px; animation-delay: -3s; }
.x-float.share > span:last-child { margin-left: 8px; }
@keyframes x-bob { 50% { transform: translateY(-8px); } }
.x-vrow { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; }
.x-vrow b { margin-left: auto; color: #93c5fd; }
.x-vrow.add { color: #93c5fd; }
.x-vsep { height: 1px; margin: 4px 6px; background: rgba(148, 163, 196, .16); }
i.v { width: 16px; height: 16px; border-radius: 5px; background: #3b82f6; flex: none; }
i.v.t { background: #22c55e; } i.v.t2 { background: #f59e0b; }
.x-av { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; border: 2px solid #111624; flex: none; }
.x-av + .x-av { margin-left: -8px; }
.x-av.a { background: #2563eb; } .x-av.b { background: #0ea5e9; } .x-av.c { background: #475569; }

/* ---- proof strip */
.x-strip { padding: 30px 0 10px; }
.x-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-radius: 16px; overflow: hidden; border: 1px solid rgba(148, 163, 196, .12); background: rgba(148, 163, 196, .12); gap: 1px; }
.x-strip li { background: var(--bg); padding: 18px 12px; display: flex; flex-direction: column; gap: 3px; text-align: center; }
.x-strip b { color: #fff; font-size: 1rem; }
.x-strip span { color: #7c86a0; font-size: .84rem; }

/* ---- bento */
.x-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.x-cell { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 20px; min-height: 250px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); border: 1px solid rgba(148, 163, 196, .13); transition: border-color .25s, transform .25s; }
.x-cell:hover { border-color: rgba(96, 165, 250, .35); }
.x-cell h3 { margin: 0; font-size: 1.2rem; color: #fff; letter-spacing: -.01em; }
.x-cell p { margin: 0; color: #9aa3b8; font-size: .95rem; max-width: 30rem; }
.x-cell .x-new { position: absolute; right: 18px; top: 18px; }
.x-cell.big { grid-column: span 2; grid-row: span 2; }
.x-cell.wide { grid-column: span 2; }
.x-cell.wide .x-mini-split { max-width: 360px; width: 100%; }
.x-cell.big img { margin: 18px -26px -26px 12%; width: calc(88% + 26px); border-radius: 12px 0 0 0; border: 1px solid rgba(148, 163, 196, .18); box-shadow: 0 -20px 60px -20px rgba(59, 130, 246, .35); }
.x-mini-desk { position: relative; margin-top: auto; height: 96px; border-radius: 10px; background: radial-gradient(ellipse 80% 80% at 30% 20%, #2563eb, transparent 60%), #0b2a6b; overflow: hidden; }
.x-mini-desk i { position: absolute; left: 18%; top: 16%; width: 55%; height: 52%; border-radius: 5px; background: #f3f4f8; }
.x-mini-desk i + i { left: 40%; top: 30%; width: 45%; height: 45%; background: #e0e7ff; }
.x-mini-desk span { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: rgba(20, 24, 40, .82); }
.x-mini-db { margin-top: auto; display: grid; grid-template-columns: 38% 1fr; gap: 8px; }
.x-mini-db .t { display: grid; gap: 4px; padding: 8px; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(148, 163, 196, .12); font-size: .78rem; color: #aab3c7; }
.x-mini-db .t b { color: #fbbf24; font-weight: 600; }
.x-mini-db .t span { padding-left: 10px; }
.x-mini-db .t span.on { color: #86efac; }
.x-mini-db .t em { padding-left: 22px; font-style: normal; color: #93c5fd; }
.x-mini-db .g { display: grid; gap: 5px; align-content: start; padding: 8px; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(148, 163, 196, .12); }
.x-mini-db .g i { display: block; height: 9px; border-radius: 3px; background: rgba(148, 163, 196, .2); }
.x-mini-db .g i.h { background: rgba(96, 165, 250, .5); }
.x-mini-vaults { margin-top: auto; display: grid; gap: 6px; }
.x-mini-vaults span { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(148, 163, 196, .12); font-size: .84rem; color: #d6dbe7; }
.x-mini-vaults span b { color: #93c5fd; }
.x-mini-vaults span.off { color: #6b7590; }
.x-mini-avs { margin-top: auto; display: flex; align-items: center; }
.x-mini-avs em { margin-left: 12px; font-style: normal; font-size: .8rem; color: #7ee0c8; display: inline-flex; align-items: center; gap: 6px; }
.x-mini-avs em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.x-mini-split { position: relative; margin-top: auto; height: 96px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; }
.x-mini-split i { border-radius: 6px; background: #070a12; border: 1px solid rgba(148, 163, 196, .16); }
.x-mini-split i:first-child { grid-row: span 2; }
.x-mini-split i.f { position: absolute; right: -6px; bottom: -6px; width: 44%; height: 58%; border-color: rgba(96, 165, 250, .5); box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .7); background: #141b2c; }
.x-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 16px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(148, 163, 196, .13); background: rgba(148, 163, 196, .13); }
.x-tool { display: flex; gap: 14px; padding: 20px 22px; background: var(--bg); }
.x-tool svg { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke: #93c5fd; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.x-tool b { display: block; color: #fff; font-size: .95rem; }
.x-tool span { color: #8a93aa; font-size: .88rem; }

/* ---- Remote Desktop deep dive */
.x-rdp-mock { border-radius: 16px; overflow: hidden; border: 1px solid rgba(148, 163, 196, .2); background: #070a12; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(56, 189, 248, .45); }
.x-rdp-head { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; background: #0a0e18; border-bottom: 1px solid rgba(148, 163, 196, .12); font-size: .8rem; color: #9aa3b8; }
.x-rdp-head b { color: #fff; flex: 1; font-weight: 600; }
.x-q, .x-cad { padding: 3px 9px; border-radius: 6px; border: 1px solid rgba(148, 163, 196, .2); font-size: .72rem; }
.x-rdp-screen { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(ellipse 80% 70% at 25% 15%, #1d4ed8, transparent 60%), radial-gradient(ellipse 70% 60% at 85% 90%, #0891b2, transparent 60%), #0b2a6b; }
.x-rdp-app { position: absolute; left: 10%; top: 10%; right: 10%; bottom: 20%; border-radius: 8px; overflow: hidden; background: #f8fafc; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .6); }
.x-rdp-app-bar { height: 28px; display: flex; align-items: center; padding: 0 10px; font: 600 .72rem "Segoe UI", Inter, sans-serif; color: #1f2937; background: #fff; border-bottom: 1px solid #e5e7eb; }
.x-rdp-app-body { display: grid; grid-template-columns: 30% 1fr; height: calc(100% - 28px); }
.x-rdp-app-body .side { background: #eef2f7; padding: 10px; display: grid; gap: 8px; align-content: start; }
.x-rdp-app-body .main { padding: 12px; display: grid; gap: 9px; align-content: start; }
.x-rdp-app-body i { display: block; height: 12px; border-radius: 3px; background: #dbe1ea; }
.x-rdp-app-body .main i.w { height: 70px; background: linear-gradient(90deg, #dbeafe, #cffafe); }
.x-clip { position: absolute; right: 14px; bottom: 44px; padding: 7px 12px; border-radius: 9px; background: rgba(8, 11, 20, .82); color: #e5e7eb; font-size: .74rem; border: 1px solid rgba(148, 163, 196, .25); animation: x-bob 6s ease-in-out infinite; }
.x-rdp-foot { display: flex; gap: 18px; padding: 10px 14px; font: .74rem ui-monospace, Menlo, monospace; color: #8a93aa; border-top: 1px solid rgba(148, 163, 196, .12); }
.x-rdp-foot span:first-child { display: inline-flex; align-items: center; gap: 7px; color: #cbd5e1; }

/* ---- team vault */
.x-team-mock { position: relative; }
.x-team-card { border-radius: 16px; padding: 10px; background: #0a0e18; border: 1px solid rgba(148, 163, 196, .18); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); max-width: 420px; }
.x-team-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px 14px; border-bottom: 1px solid rgba(148, 163, 196, .12); margin-bottom: 6px; }
.x-team-head b { color: #fff; flex: 1; }
.x-team-head span { color: #7c86a0; font-size: .82rem; }
.x-member { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; }
.x-member b { display: block; color: #e8ebf3; font-size: .9rem; font-weight: 500; }
.x-member small { color: #7c86a0; }
.x-member .x-av + div { margin-left: 0; }
.x-invite { display: flex; align-items: center; justify-content: space-between; margin: 8px 6px 4px; padding: 6px 6px 6px 12px; border-radius: 10px; border: 1px dashed rgba(148, 163, 196, .3); color: #7c86a0; font-size: .86rem; }
.x-invite b { padding: 6px 14px; border-radius: 8px; background: #2563eb; color: #fff; font-weight: 600; font-size: .8rem; }
.x-hostlist { position: absolute; right: -24px; bottom: -86px; width: 280px; padding: 8px; border-radius: 14px; background: rgba(9, 13, 24, .92); backdrop-filter: blur(10px); border: 1px solid rgba(148, 163, 196, .2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); font-size: .84rem; animation: x-bob 8s ease-in-out infinite; }
.x-hostlist div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #e8ebf3; }
.x-hostlist em { margin-left: auto; font-style: normal; font-size: .72rem; color: #7ee0c8; }

/* ---- shared terminal */
.x-term { border-radius: 16px; border: 1px solid rgba(148, 163, 196, .2); background: #070a12; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .85), 0 0 100px -40px rgba(37, 99, 235, .5); }
.x-term-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid rgba(148, 163, 196, .1); color: #8a93aa; font-size: .82rem; }
.x-term-bar span:nth-child(2) { flex: 1; }
.x-term-bar b { font-weight: 500; color: #34d399; }
.x-term pre { min-height: 220px; }
.x-peer { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 5px; background: #2563eb; color: #fff; font-size: .72rem; vertical-align: 2px; }

/* ---- security */
.x-seclist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.x-seclist li { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(148, 163, 196, .13); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)); display: grid; gap: 4px; }
.x-seclist b { color: #fff; }
.x-seclist span { color: #9aa3b8; font-size: .93rem; }

/* ---- platforms, plans */
.x-plats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.x-plat { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(148, 163, 196, .13); background: rgba(255, 255, 255, .02); color: #fff; transition: border-color .2s, background .2s; }
.x-plat:hover { text-decoration: none; border-color: rgba(96, 165, 250, .45); background: rgba(59, 130, 246, .06); }
.x-plat b { font-size: 1.05rem; } .x-plat span { color: #7c86a0; font-size: .9rem; }
.x-plat.web { border-color: rgba(96, 165, 250, .35); }
.x-plans { display: grid; grid-template-columns: repeat(min(var(--n, 4), 4), 1fr); gap: 14px; margin: 36px 0 22px; }
.x-plan { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 16px; border: 1px solid rgba(148, 163, 196, .13); background: rgba(255, 255, 255, .02); color: #e8ebf3; transition: border-color .2s, transform .2s; }
.x-plan:hover { text-decoration: none; border-color: rgba(96, 165, 250, .45); transform: translateY(-2px); }
.x-plan.hl { border-color: rgba(96, 165, 250, .5); background: linear-gradient(180deg, rgba(59, 130, 246, .12), rgba(255, 255, 255, .01)); }
.x-plan b { font-size: 1.05rem; color: #fff; }
.x-plan strong { font-size: 1.9rem; letter-spacing: -.03em; color: #fff; }
.x-plan strong small { font-size: .8rem; font-weight: 500; color: #7c86a0; margin-left: 6px; letter-spacing: 0; }
.x-plan span { color: #8a93aa; font-size: .86rem; }

/* ---- faq, final */
.x-faq { margin-top: 32px; border-top: 1px solid rgba(148, 163, 196, .13); }
.x-faq details { border-bottom: 1px solid rgba(148, 163, 196, .13); }
.x-faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; color: #fff; position: relative; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.4rem; color: #7c86a0; transition: transform .2s; }
.x-faq details[open] summary::after { transform: rotate(45deg); }
.x-faq p { margin: 0 0 18px; color: #a3acc2; }
.x-final { position: relative; overflow: hidden; text-align: center; padding: 72px 24px; border-radius: 28px; border: 1px solid rgba(96, 165, 250, .25);
  background: radial-gradient(ellipse 60% 90% at 50% 0%, rgba(59, 130, 246, .28), transparent 70%), radial-gradient(ellipse 40% 60% at 90% 100%, rgba(14, 165, 233, .14), transparent 70%), #060a14; }
.x-final h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.035em; color: #fff; margin: 0 0 10px; }
.x-final p { color: #a3acc2; margin: 0 0 30px; }

/* reveal on scroll (landing.js adds .in) */
.js .x-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .x-reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .x-float.share { right: -10px; }
}
@media (max-width: 900px) {
  .x-hero { padding-top: 64px; }
  .x-sec { padding: 72px 0; }
  .x-split, .x-split.rev { grid-template-columns: 1fr; gap: 40px; }
  .x-split.rev > .x-team-mock { order: 2; }
  .x-win-body { grid-template-columns: 1fr; height: auto; }
  .x-pane.term { height: 260px; }
  .x-pane.rdp { height: 240px; }
  .x-stage .x-float, .x-suggest { display: none; }
  .x-bento { grid-template-columns: 1fr; }
  .x-cell.big, .x-cell.wide { grid-column: auto; grid-row: auto; }
  .x-tools, .x-plats, .x-plans { grid-template-columns: 1fr; }
  .x-strip ul { grid-template-columns: repeat(2, 1fr); }
  .x-strip li:last-child { grid-column: 1 / -1; }
  .x-hostlist { position: static; width: auto; margin-top: 12px; }
  .x-win-bar .x-tab:nth-child(n + 5) { display: none; }
}
@media (max-width: 1000px) and (min-width: 901px) {
  .x-tools { grid-template-columns: repeat(2, 1fr); }
  .x-plans { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .x-aurora i, .x-float, .x-clip, .x-hostlist, .x-cur { animation: none; }
  .js .x-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- remote control by ID */
.x-remote-mock { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.x-rm-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(148, 163, 196, .2); background: linear-gradient(180deg, rgba(15, 23, 42, .9), rgba(7, 10, 18, .9)); }
.x-rm-label { font-size: .72rem; color: #8a93aa; text-transform: uppercase; letter-spacing: .05em; }
.x-rm-id { font: 700 1.3rem ui-monospace, Menlo, monospace; color: #fff; letter-spacing: .06em; margin-bottom: 8px; }
.x-rm-pw { font: 700 1.1rem ui-monospace, Menlo, monospace; color: #93c5fd; letter-spacing: .12em; }
.x-rm-input { margin: 6px 0 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(96, 165, 250, .5); font: 600 1rem ui-monospace, Menlo, monospace; color: #e2e8f0; text-align: center; }
.x-rm-btn { padding: 9px; border-radius: 10px; text-align: center; font-weight: 600; color: #fff; background: linear-gradient(135deg, #3b82f6, #2563eb); }
.x-rm-session { grid-column: 1 / -1; border-radius: 16px; overflow: hidden; border: 1px solid rgba(148, 163, 196, .2); background: #070a12; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 100px -40px rgba(56, 189, 248, .4); }
.x-rm-screen { position: relative; aspect-ratio: 16 / 7; background: radial-gradient(ellipse 70% 80% at 20% 20%, #1d4ed8, transparent 60%), radial-gradient(ellipse 60% 70% at 90% 90%, #7c3aed, transparent 60%), #0b1b4b; }
.x-rm-screen i { position: absolute; left: 8%; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .55); }
.x-rm-screen i:nth-child(1) { top: 22%; width: 34%; }
.x-rm-screen i:nth-child(2) { top: 38%; width: 24%; background: rgba(255, 255, 255, .3); }
.x-rm-screen i.w { top: 56%; left: 52%; width: 38%; height: 30%; border-radius: 10px; background: rgba(15, 23, 42, .65); border: 1px solid rgba(255, 255, 255, .15); }
.x-rm-bar { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; font: .74rem ui-monospace, Menlo, monospace; color: #8a93aa; border-top: 1px solid rgba(148, 163, 196, .12); }
.x-rm-bar span:first-child { display: inline-flex; align-items: center; gap: 7px; color: #cbd5e1; }
.x-rm-bar b.ok { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }

/* ---- Android phones */
.x-android-mock { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: center; }
.x-ad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.x-ad-phone { position: relative; aspect-ratio: 9 / 18; border-radius: 14px; border: 2px solid rgba(148, 163, 196, .28); background: linear-gradient(180deg, #0f1f45, #0a1430); padding: 18% 12% 0; display: flex; flex-direction: column; gap: 8%; }
.x-ad-phone.on { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96, 165, 250, .25), 0 0 40px -10px #3b82f6; }
.x-ad-phone i { display: block; height: 7%; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.x-ad-phone i.b { height: 12%; background: linear-gradient(135deg, #60a5fa, #a78bfa); }
.x-ad-script { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; border: 1px solid rgba(148, 163, 196, .2); background: rgba(7, 10, 18, .9); font-size: .82rem; color: #cbd5e1; }
.x-ad-script b { color: #fff; margin-bottom: 4px; }
.x-ad-script span { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 9px; background: rgba(148, 163, 196, .08); }
.x-ad-script span.loop { background: rgba(167, 139, 250, .12); }
.x-ad-script span.ok { background: rgba(52, 211, 153, .12); color: #6ee7b7; }
.x-ad-script em { font-style: normal; width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 6px; background: rgba(96, 165, 250, .2); color: #93c5fd; font-size: .72rem; font-weight: 700; }
@media (max-width: 900px) {
  .x-split.rev > .x-remote-mock { order: 2; }
  .x-android-mock { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .x-remote-mock { grid-template-columns: 1fr; }
}
