  * { margin: 0; padding: 0; box-sizing: border-box; }
  .skip-to-content {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    padding: 8px 16px;
    background: #6366f1;
    color: #fff;
    border-radius: 0 0 8px 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
  }
  .skip-to-content:focus {
    top: 0;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  body {
    font-family: 'Elms Sans', sans-serif;
    background: #0d0d15;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* === FLOATING KEYS === */
  .bg-keys {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .bg-key {
    position: absolute;
    font-family: 'Elms Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.04);
    border-radius: 6px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.01);
    animation: drift linear infinite;
    will-change: transform;
  }
  @keyframes drift {
    0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(var(--rot)); opacity: 0; }
  }

  /* === HERO === */
  .hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 20px 100px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -68%);
    width: 100%;
    height: 100%;
    background: url('final/hero.png') center top / 480px repeat;
    opacity: 0.05;
    pointer-events: none;
  }
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(99,102,241,0.1) 0%, transparent 60%);
    pointer-events: none;
  }
  .hero h1, .hero-title {
    font-family: 'Bitcount Prop Single', sans-serif;
    font-size: 56px; font-weight: 700; letter-spacing: -1px; margin-bottom: 28px;
    position: relative; z-index: 2;
  }
  .hero-title {
    display: inline-flex;
  }
  .hero-title .letter {
    display: inline-block;
    color: #818cf8;
    transition: letter-spacing 0.25s ease-out, opacity 0.25s ease-out;
  }
  .hero-title .letter.shrink {
    letter-spacing: -3px;
    opacity: 0.6;
  }
  .hero-title .letter.mild {
    letter-spacing: -1.5px;
    opacity: 0.8;
  }
  .hero-sub {
    font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.45);
    max-width: 480px; margin: 0 auto 10px; line-height: 1.7;
    position: relative; z-index: 2;
  }
  .hero-desc {
    font-family: 'Elms Sans', sans-serif;
    font-size: 14px; color: rgba(255,255,255,0.3);
    max-width: 520px; margin: 0 auto 20px; line-height: 1.8;
    position: relative; z-index: 2;
  }
  .hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
  }
  .pushable {
    position: relative;
    background: linear-gradient(180deg, #2e2e42 0%, #1e1e30 40%, #16162a 100%);
    border: none;
    border-radius: 14px;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    box-shadow:
      0 6px 0 0 #0c0c18,
      0 8px 0 0 #080812,
      0 10px 20px rgba(0,0,0,0.5),
      inset 0 1px 0 rgba(255,255,255,0.08),
      inset 0 -1px 0 rgba(0,0,0,0.3);
    transition: all 0.12s ease;
    overflow: hidden;
  }
  .pushable::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
    border-radius: 14px 14px 0 0;
    pointer-events: none;
  }
  .pushable::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(99,102,241,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .pushable:hover {
    box-shadow:
      0 7px 0 0 #0c0c18,
      0 9px 0 0 #080812,
      0 12px 32px rgba(99,102,241,0.4),
      0 12px 20px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(255,255,255,0.1),
      inset 0 -1px 0 rgba(0,0,0,0.3);
    transform: translateY(-2px);
  }
  .pushable:hover::after {
    opacity: 1;
  }
  .pushable:focus:not(:focus-visible) {
    outline: none;
  }
  .front {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 14px;
    font-family: 'Elms Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: transparent;
    color: rgba(255,255,255,0.8);
    position: relative;
    z-index: 1;
    transition: color 0.2s;
  }
  .front svg {
    width: 18px; height: 18px;
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
  }
  .pushable:hover .front {
    color: #fff;
  }
  .pushable:hover .front svg {
    opacity: 1;
    transform: translateX(2px);
  }
  .pushable:active {
    box-shadow:
      0 2px 0 0 #0c0c18,
      0 3px 0 0 #080812,
      0 4px 10px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(255,255,255,0.04),
      inset 0 -1px 0 rgba(0,0,0,0.2);
    transform: translateY(4px);
  }
  .pushable:active .front {
    color: rgba(255,255,255,0.6);
  }
  .cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 12px;
    font-family: 'Elms Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.25s;
  }
  .cta-secondary:hover {
    color: #fff;
    border-color: #6366f1;
    background: rgba(99,102,241,0.1);
    transform: translateY(-2px);
  }

  /* === NEUMORPHIC KEYBOARD === */
  .kb-wrap {
    position: relative; z-index: 2;
    width: 100%; max-width: 680px;
    margin: 0 auto;
    height: 260px;
  }
  .kb-rope {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
  }
  .kb-base {
    position: absolute;
    width: calc(100% - 40px);
    left: 0;
    background: linear-gradient(145deg, #1a1a28, #13131f);
    border-radius: 18px;
    padding: 16px 14px 20px;
    box-shadow:
      0 30px 80px rgba(0,0,0,0.6),
      0 12px 40px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(255,255,255,0.04),
      inset 0 -1px 0 rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.03);
    cursor: grab;
    user-select: none;
  }
  .kb-base:active { cursor: grabbing; }
  .kb-base::before {
    content: '';
    position: absolute;
    top: 8px; left: 16px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--caps-indicator, #4ade80);
    box-shadow: 0 0 8px rgba(74,222,128,0.5), 0 0 20px rgba(74,222,128,0.2);
    transition: background 0.2s, box-shadow 0.2s;
  }
  .kb-base.caps-on::before {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245,158,11,0.5), 0 0 20px rgba(245,158,11,0.2);
  }
  .kb-row { display: flex; gap: 5px; margin-bottom: 5px; }
  .kb-row:last-child { margin-bottom: 0; }
  .k {
    position: relative;
    height: 42px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    user-select: none;
    transition: all 0.08s ease;
    flex: 1;
    background: linear-gradient(145deg, #22223a, #1a1a30);
    box-shadow:
      4px 4px 10px rgba(0,0,0,0.5),
      -2px -2px 8px rgba(255,255,255,0.03),
      inset 0 1px 0 rgba(255,255,255,0.08),
      inset 0 -1px 2px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.04);
  }
  .k:active, .k.pressed {
    transform: translateY(2px);
    box-shadow:
      1px 1px 4px rgba(0,0,0,0.5),
      -1px -1px 3px rgba(255,255,255,0.02),
      inset 0 2px 4px rgba(0,0,0,0.3),
      inset 0 1px 1px rgba(0,0,0,0.2);
    background: linear-gradient(145deg, #1c1c32, #18182c);
  }
  .k::before {
    content: '';
    position: absolute;
    top: 1px; left: 4px; right: 4px;
    height: 40%;
    border-radius: 6px 6px 50% 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
    pointer-events: none;
  }
  .k.w15 { flex: 1.5; }
  .k.w18 { flex: 1.8; }
  .k.w23 { flex: 2.3; }
  .k.wsp { flex: 5.5; }
  .k.fn {
    color: rgba(255,255,255,0.35);
    background: linear-gradient(145deg, #1e1e32, #18182a);
    box-shadow:
      3px 3px 8px rgba(0,0,0,0.5),
      -1px -1px 6px rgba(255,255,255,0.02),
      inset 0 1px 0 rgba(255,255,255,0.05);
    font-size: 11px;
    letter-spacing: 0.5px;
  }
  .k.broken {
    background: linear-gradient(145deg, #3730a3, #2e2690);
    color: #fff;
    box-shadow:
      4px 4px 12px rgba(0,0,0,0.5),
      -2px -2px 8px rgba(99,102,241,0.08),
      inset 0 1px 0 rgba(255,255,255,0.12),
      0 0 20px rgba(99,102,241,0.15);
  }

  /* === WIRE DIVIDER === */
  .wire-divider {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }
  .wire-divider:active { cursor: grabbing; }
  .wire-divider svg {
    width: 20px;
    height: 60px;
    overflow: visible;
  }
  .wire-divider .wire-rope {
    fill: none;
    stroke: rgba(99,102,241,0.35);
    stroke-width: 1.5;
    stroke-linecap: round;
    transition: stroke 0.3s, stroke-width 0.3s;
  }
  .wire-divider:hover .wire-rope {
    stroke: rgba(99,102,241,0.6);
    stroke-width: 2;
  }
  .wire-divider .wire-dot {
    position: absolute;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(99,102,241,0.4);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    z-index: 2;
  }
  .wire-divider:hover .wire-dot,
  .wire-divider:active .wire-dot {
    transform: scale(1.4);
    background: rgba(99,102,241,0.7);
    box-shadow: 0 0 14px rgba(99,102,241,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
  }

  /* === SECTIONS === */
  .section {
    max-width: 1060px;
    margin: 0 auto;
    padding: 40px 24px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }
  .section-tall {
    min-height: 100vh;
  }
  .section-title {
    font-family: 'Bitcount Prop Single', sans-serif;
    font-size: 20px; font-weight: 700; margin-bottom: 32px;
    color: rgba(255,255,255,0.7);
    display: flex; align-items: center; gap: 10px;
  }
  .section-title .letter {
    display: inline-block;
    color: #818cf8;
    transition: letter-spacing 0.25s ease-out, opacity 0.25s ease-out;
  }
  .section-title .letter.shrink {
    letter-spacing: -3px;
    opacity: 0.6;
  }
  .section-title .letter.mild {
    letter-spacing: -1.5px;
    opacity: 0.8;
  }
  .section-title .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #6366f1;
    box-shadow: 0 0 8px rgba(99,102,241,0.4);
  }

  /* === GUIDE SECTIONS === */
  .guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .guide-card {
    background: linear-gradient(145deg, #1a1a28, #13131f);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 28px 24px;
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  }
  .guide-card:hover {
    transform: translateY(-3px);
  }
  .guide-card h3 {
    font-family: 'Bitcount Prop Single', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .guide-card h3 .guide-num {
    font-family: 'Elms Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #818cf8;
    background: rgba(99,102,241,0.12);
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
  }
  .guide-card h3 .guide-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99,102,241,0.1);
    border-radius: 8px;
    flex-shrink: 0;
  }
  .guide-card h3 .guide-icon svg {
    width: 15px;
    height: 15px;
    color: #818cf8;
  }
  .guide-card p {
    font-family: 'Elms Sans', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
  }
  .guide-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .guide-card ul li {
    font-family: 'Elms Sans', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
  }
  .guide-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(99,102,241,0.4);
  }
  .guide-card code {
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 12px;
    background: rgba(99,102,241,0.1);
    color: #a5b4fc;
    padding: 2px 6px;
    border-radius: 4px;
  }
  .guide-card .guide-tip {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(99,102,241,0.06);
    border-left: 2px solid rgba(99,102,241,0.3);
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
  }
  .guide-card-full {
    grid-column: 1 / -1;
  }
  @media (max-width: 700px) {
    .guide-grid { grid-template-columns: 1fr; }
  }

  /* === BLUR BLOBS === */
  .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
  }
  .blob-purple { background: #6366f1; }
  .blob-blue { background: #3b82f6; }
  .blob-pink { background: #ec4899; }
  .blob-cyan { background: #06b6d4; }
  .blob-green { background: #10b981; }
  .blob-amber { background: #f59e0b; }
  @media (max-width: 600px) {
    .blob { transform: scale(0.5); }
  }

  /* === 3D KEYBOARD === */
  .kb3d-controls {
    display: flex; justify-content: center; gap: 6px; margin-bottom: 40px;
  }
  .kb3d-btn {
    width: 40px; height: 32px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.5);
    font-size: 12px; cursor: pointer;
    transition: all 0.2s;
  }
  .kb3d-btn:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
  .kb3d-btn:active { transform: scale(0.95); }
  #kb3d-reset { width: auto; padding: 0 14px; }
  .kb3d-stage {
    perspective: 5000px;
    display: flex; justify-content: center;
    padding: 60px 0;
  }
  .kb3d-keyboard {
    width: 640px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px;
    background: linear-gradient(145deg, #1a1a28, #13131f);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.03);
    transform-style: preserve-3d;
    transform: rotateX(12deg) rotateY(0deg);
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
    position: relative;
    --base-depth: 14px;
  }
  .kb3d-row {
    display: flex;
    gap: 7px;
    transform-style: preserve-3d;
  }
  .kb3d-row:last-child { margin-bottom: 0; }
  /* Keyboard base - 3D case */
  .kb3d-keyboard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 10px;
    transform-origin: top center;
    transform: rotateX(-90deg);
    background: linear-gradient(180deg, #22223a, #1a1a28);
    border-radius: 14px 14px 0 0;
  }
  .kb3d-keyboard::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 10px;
    transform-origin: bottom center;
    transform: rotateX(90deg);
    background: #0e0e1a;
    border-radius: 0 0 14px 14px;
  }
  /* Left side face */
  .kb3d-side-left {
    position: absolute;
    top: 0; left: 0;
    width: 10px; height: 100%;
    transform-origin: center left;
    transform: rotateY(90deg);
    background: linear-gradient(90deg, #16162a, #13131f);
    border-radius: 14px 0 0 14px;
    pointer-events: none;
  }
  /* Right side face */
  .kb3d-side-right {
    position: absolute;
    top: 0; right: 0;
    width: 10px; height: 100%;
    transform-origin: center right;
    transform: rotateY(-90deg);
    background: linear-gradient(270deg, #16162a, #13131f);
    border-radius: 0 14px 14px 0;
    pointer-events: none;
  }
  /* Back face */
  .kb3d-side-back {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: translateZ(-10px);
    background: #0a0a16;
    border-radius: 14px;
    pointer-events: none;
  }
  .kb3d-key {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    height: 42px;
    flex: 1;
    font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.8);
    border-radius: 5px;
    background: linear-gradient(145deg, #22223a, #1a1a30);
    border: 1px solid rgba(255,255,255,0.04);
    transform-style: preserve-3d;
    --key-depth: 8px;
    transform: translateZ(var(--key-depth));
    transition: transform 0.1s ease, background 0.1s ease;
    cursor: pointer;
    user-select: none;
  }
  .kb3d-key:hover {
    background: linear-gradient(145deg, #2a2a4a, #222240);
  }
  .kb3d-key:active {
    transform: translateZ(calc(var(--key-depth) / 2));
  }
  .kb3d-key::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 5px;
    pointer-events: auto;
  }
  .kb3d-key span { display: block; font-size: 9px; color: rgba(255,255,255,0.3); }
  /* Key widths matching original */
  .kb3d-key.kb3d-w15 { flex: 1.5; }
  .kb3d-key.kb3d-w18 { flex: 1.8; }
  .kb3d-key.kb3d-w23 { flex: 2.3; }
  .kb3d-key.kb3d-wsp { flex: 5.5; }
  /* 3D face base styles */
  .kb3d-key .k-face {
    position: absolute;
    pointer-events: none;
    backface-visibility: hidden;
  }
  /* Front = key itself (background already applied) */
  /* Top face */
  .kb3d-key .k-top {
    width: 100%; height: var(--key-depth);
    top: 0; left: 0;
    transform-origin: top center;
    transform: rotateX(-90deg);
    background: linear-gradient(180deg, #3a3a5a, #2a2a44);
    border-radius: 5px 5px 0 0;
  }
  /* Bottom face */
  .kb3d-key .k-bottom {
    width: 100%; height: var(--key-depth);
    bottom: 0; left: 0;
    transform-origin: bottom center;
    transform: rotateX(90deg);
    background: #0e0e1a;
    border-radius: 0 0 5px 5px;
  }
  /* Left face */
  .kb3d-key .k-left {
    width: var(--key-depth); height: 100%;
    top: 0; left: 0;
    transform-origin: center left;
    transform: rotateY(90deg);
    background: linear-gradient(90deg, #2a2a4a, #1e1e38);
  }
  /* Right face */
  .kb3d-key .k-right {
    width: var(--key-depth); height: 100%;
    top: 0; right: 0;
    transform-origin: center right;
    transform: rotateY(-90deg);
    background: linear-gradient(270deg, #2a2a4a, #1e1e38);
  }
  /* Back face */
  .kb3d-key .k-back {
    width: 100%; height: 100%;
    top: 0; left: 0;
    transform: translateZ(calc(var(--key-depth) * -1));
    background: #0a0a14;
    border-radius: 5px;
  }
  .kb3d-key.kb3d-fn {
    color: rgba(255,255,255,0.35);
    font-size: 9px;
  }
  .kb3d-key.kb3d-broken {
    background: linear-gradient(145deg, #3730a3, #2e2690);
    box-shadow: 0 0 12px rgba(99,102,241,0.2);
  }
  .kb3d-key.kb3d-broken .k-top { background: linear-gradient(180deg, #4338ca, #3730a3); }
  .kb3d-key.kb3d-broken .k-left { background: linear-gradient(90deg, #312e81, #2e2690); }
  .kb3d-key.kb3d-broken .k-right { background: linear-gradient(270deg, #312e81, #2e2690); }
  .kb3d-key.kb3d-fn {
    color: rgba(255,255,255,0.35);
    font-size: 11px;
    font-weight: 500;
  }
  .kb3d-key.kb3d-broken {
    background: linear-gradient(145deg, #3730a3, #2e2690);
    box-shadow: 0 0 12px rgba(99,102,241,0.2);
  }
  .kb3d-key.kb3d-broken .k-top { background: linear-gradient(180deg, #4338ca, #3730a3); }
  .kb3d-key.kb3d-broken .k-left { background: linear-gradient(90deg, #312e81, #2e2690); }
  .kb3d-key.kb3d-broken .k-right { background: linear-gradient(270deg, #312e81, #2e2690); }
  .kb3d-output {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
  }
  .kb3d-output-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  .kb3d-output-label {
    font-family: 'Elms Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .kb3d-toggle {
    font-family: 'Elms Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .kb3d-toggle:hover {
    color: rgba(255,255,255,0.6);
    border-color: rgba(99,102,241,0.3);
  }
  .kb3d-output-text {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-family: 'Elms Sans', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    background: linear-gradient(145deg, #1a1a28, #13131f);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    outline: none;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
  }
  .kb3d-output-text:focus {
    border-color: rgba(99,102,241,0.3);
  }
  .kb3d-output-text:empty::before {
    content: 'Type here or click the keys above...';
    color: rgba(255,255,255,0.15);
  }
  .kb3d-active .k-top {
    background: linear-gradient(180deg, #6366f1, #4f46e5) !important;
  }
  .kb3d-key.kb3d-active {
    transform: translateY(2px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  }
  .kb3d-key.kb3d-active .k-top {
    background: linear-gradient(180deg, #6366f1, #4f46e5) !important;
    box-shadow: 0 0 12px rgba(99,102,241,0.4);
  }
  .kb3d-key.kb3d-active .k-left {
    background: linear-gradient(90deg, #312e81, #3730a3) !important;
  }
  .kb3d-key.kb3d-active .k-right {
    background: linear-gradient(270deg, #312e81, #3730a3) !important;
  }
  .grid { display: grid; gap: 16px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }

  .card {
    background: linear-gradient(145deg, #1a1a28, #13131f);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
    box-shadow:
      6px 6px 16px rgba(0,0,0,0.4),
      -2px -2px 10px rgba(255,255,255,0.02),
      inset 0 1px 0 rgba(255,255,255,0.04);
    cursor: pointer;
  }
  .card:hover {
    transform: translateY(-5px);
    box-shadow:
      10px 10px 30px rgba(0,0,0,0.5),
      0 0 30px rgba(99,102,241,0.08);
  }
  .card img { width: 100%; display: block; object-fit: cover; }
  .card-body { padding: 14px 16px; }
  .card-label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.75); }
  .card-sub { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.3); margin-top: 3px; }

  /* Video section */
  .video-container { padding: 16px; }
  .kb-video-player {
    position: relative;
    width: 100%;
    min-width: 950px;
    background: linear-gradient(145deg, #0f0f1a, #0a0a14);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow:
      0 24px 80px rgba(0,0,0,0.6),
      0 8px 32px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(255,255,255,0.03);
    font-family: 'Elms Sans', sans-serif;
  }
  .kb-video {
    width: 100%;
    display: block;
    cursor: pointer;
    background: #000;
  }

  /* Center overlay */
  .kb-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    transition: opacity 0.35s ease;
    cursor: pointer;
    z-index: 2;
  }
  .kb-video-overlay.hidden { opacity: 0; pointer-events: none; }

  /* Big play key */
  .kb-video-play {
    width: 80px; height: 80px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(145deg, #2a2a48, #1e1e36);
    color: #a5b4fc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
    box-shadow:
      0 6px 0 0 #12121f,
      0 8px 0 0 #0a0a14,
      0 12px 40px rgba(0,0,0,0.5),
      inset 0 1px 0 rgba(255,255,255,0.08),
      inset 0 -1px 0 rgba(0,0,0,0.3);
    position: relative;
  }
  .kb-video-play::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
  }
  .kb-video-play svg { margin-left: 4px; transition: transform 0.2s; }
  .kb-video-play:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, #32325a, #262648);
    color: #c7d2fe;
    box-shadow:
      0 8px 0 0 #12121f,
      0 10px 0 0 #0a0a14,
      0 16px 50px rgba(99,102,241,0.25),
      inset 0 1px 0 rgba(255,255,255,0.1),
      inset 0 -1px 0 rgba(0,0,0,0.3);
  }
  .kb-video-play:hover svg { transform: scale(1.1); }
  .kb-video-play:active {
    transform: translateY(3px);
    box-shadow:
      0 2px 0 0 #12121f,
      0 3px 0 0 #0a0a14,
      0 4px 16px rgba(0,0,0,0.4),
      inset 0 2px 4px rgba(0,0,0,0.3);
  }

  /* Bottom bar - keyboard tray */
  .kb-video-controls {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(180deg, rgba(15,15,26,0.0) 0%, rgba(15,15,26,0.95) 30%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
  }
  .kb-video-player:hover .kb-video-controls { opacity: 1; }

  /* Key-style buttons */
  .kb-video-btn {
    width: 34px; height: 30px;
    border-radius: 6px;
    border: none;
    background: linear-gradient(145deg, #22223a, #1a1a30);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.12s ease;
    flex-shrink: 0;
    box-shadow:
      3px 3px 8px rgba(0,0,0,0.5),
      -1px -1px 6px rgba(255,255,255,0.02),
      inset 0 1px 0 rgba(255,255,255,0.06),
      inset 0 -1px 2px rgba(0,0,0,0.2);
    position: relative;
  }
  .kb-video-btn::before {
    content: '';
    position: absolute;
    top: 1px; left: 3px; right: 3px;
    height: 40%;
    border-radius: 5px 5px 50% 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent);
    pointer-events: none;
  }
  .kb-video-btn:hover {
    background: linear-gradient(145deg, #2a2a4a, #222240);
    color: #a5b4fc;
  }
  .kb-video-btn:active {
    transform: translateY(2px);
    box-shadow:
      1px 1px 3px rgba(0,0,0,0.5),
      inset 0 2px 4px rgba(0,0,0,0.3);
  }
  .kb-video-btn.active {
    background: linear-gradient(145deg, #3730a3, #2e2690);
    color: #fff;
    box-shadow:
      3px 3px 8px rgba(0,0,0,0.5),
      inset 0 1px 0 rgba(255,255,255,0.1),
      0 0 12px rgba(99,102,241,0.15);
  }

  /* Progress track - like a keyboard trackpad */
  .kb-video-progress {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: height 0.15s ease;
    border: 1px solid rgba(255,255,255,0.03);
  }
  .kb-video-progress:hover { height: 7px; }
  .kb-video-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #818cf8);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
  }
  .kb-video-progress-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent);
    border-radius: 3px 3px 0 0;
  }
  .kb-video-progress-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 13px; height: 13px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e0e7ff, #c7d2fe);
    box-shadow: 0 0 10px rgba(99,102,241,0.5), 0 2px 6px rgba(0,0,0,0.3);
    left: 0%;
    transition: transform 0.15s ease;
    pointer-events: none;
  }
  .kb-video-progress:hover .kb-video-progress-thumb {
    transform: translate(-50%, -50%) scale(1);
  }

  /* Time display */
  .kb-video-time {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    min-width: 85px;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }

  /* Volume slider */
  .kb-video-volume {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .kb-video-volume-slider {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.25s ease, opacity 0.2s ease;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
  }
  .kb-video-volume:hover .kb-video-volume-slider,
  .kb-video-volume.slider-active .kb-video-volume-slider {
    width: 70px;
    opacity: 1;
  }
  .kb-video-volume-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #818cf8);
    border-radius: 2px;
    width: 80%;
    position: relative;
  }
  .kb-video-volume-fill::after {
    content: '';
    position: absolute;
    top: -3px; right: -5px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px rgba(99,102,241,0.4);
    opacity: 0;
    transition: opacity 0.15s;
  }
  .kb-video-volume:hover .kb-video-volume-fill::after { opacity: 1; }

  /* Speed selector */
  .kb-video-speed {
    position: relative;
  }
  .kb-video-speed-btn {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    min-width: 38px;
    padding: 0 6px;
  }
  .kb-video-speed-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: linear-gradient(145deg, #1e1e32, #161628);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    min-width: 80px;
  }
  .kb-video-speed.open .kb-video-speed-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .kb-video-speed-option {
    display: block;
    width: 100%;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
    font-family: 'Elms Sans', sans-serif;
  }
  .kb-video-speed-option:hover {
    background: rgba(99,102,241,0.1);
    color: rgba(255,255,255,0.8);
  }
  .kb-video-speed-option.active {
    color: #818cf8;
    background: rgba(99,102,241,0.12);
  }

  /* Keyboard shortcut hints */
  .kb-video-shortcuts {
    position: absolute;
    top: 12px; right: 12px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
  }
  .kb-video-player:hover .kb-video-shortcuts { opacity: 1; }
  .kb-video-shortcut {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
  }
  .kb-video-shortcut kbd {
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
    padding: 1px 5px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.08);
  }
  .kb-video-shortcut span {
    font-size: 9px;
    color: rgba(255,255,255,0.3);
    font-weight: 500;
  }

  /* Keyboard overlay on video */
  .kb-video-kb-overlay {
    position: absolute;
    bottom: 60px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    padding: 8px 12px;
    background: rgba(15,15,26,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 5;
  }
  .kb-video-kb-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }
  .kb-video-kb-key {
    min-width: 28px; height: 28px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: linear-gradient(145deg, #22223a, #1a1a30);
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow:
      2px 2px 6px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(255,255,255,0.06);
    transition: all 0.15s ease;
  }
  .kb-video-kb-key.pressed {
    transform: translateY(2px);
    background: linear-gradient(145deg, #3730a3, #2e2690);
    color: #fff;
    box-shadow:
      1px 1px 3px rgba(0,0,0,0.4),
      inset 0 2px 4px rgba(0,0,0,0.3),
      0 0 10px rgba(99,102,241,0.3);
  }
  .kb-video-kb-key.space {
    min-width: 100px;
  }

  /* Tooltip */
  .kb-video-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 5px 10px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 10;
  }
  .kb-video-btn:hover .kb-video-tooltip,
  .kb-video-speed:hover .kb-video-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .video-placeholder {
    width: 100%;
    min-width: 950px;
    height: 480px;
    background: linear-gradient(145deg, #12121f, #0e0e1a);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.25);
    border: 1px dashed rgba(255,255,255,0.08);
  }
  .video-placeholder p { font-size: 13px; font-weight: 500; }

  /* Auto-hide controls */
  .kb-video-player.controls-hidden .kb-video-controls { opacity: 0; pointer-events: none; }
  .kb-video-player.controls-hidden .kb-video-shortcuts { opacity: 0; }

  /* Screenshots gallery */
  .ss-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 16px;
  }
  #screenshots.section {
    max-width: 1200px;
    padding-left: 0;
    padding-right: 0;
  }
  .ss-item {
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(145deg, #1a1a28, #13131f);
    border: 1px solid rgba(255,255,255,0.04);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: none;
  }
  .ss-item.active {
    display: block;
  }
  .ss-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .ss-item img {
    width: 100%;
    display: block;
    object-fit: cover;
  }
  .ss-tab {
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Elms Sans', sans-serif;
    color: rgba(255,255,255,0.35);
    background: transparent;
    border: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    bottom: -1px;
  }
  .ss-tab:hover { color: rgba(255,255,255,0.6); }
  .ss-tab.active {
    color: #fff;
    background: linear-gradient(180deg, rgba(99,102,241,0.15), rgba(99,102,241,0.05));
  }
  .ss-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 20%; right: 20%;
    height: 2px;
    background: #6366f1;
    border-radius: 2px 2px 0 0;
  }

  /* Settings panel - tray-perspective */
  .tray-perspective {
    max-width: 1200px;
    margin: 0 auto;
    perspective: 900px;
    overflow: hidden;
  }
  .tray-lid {
    position: relative;
    width: 100%;
    background: linear-gradient(145deg, #1c1c30, #161628);
    border-radius: 14px 14px 0 0;
    padding: 10px 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    border-bottom: none;
    transform-origin: bottom center;
    transform: rotateX(0deg);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.05),
      inset 0 -1px 0 rgba(0,0,0,0.2);
  }
  .tray-lid.open {
    transform: rotateX(-55deg);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.05),
      0 -8px 30px rgba(0,0,0,0.3);
  }
  .tray-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    flex-shrink: 0;
  }
  .tray-dot.red { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.3); }
  .tray-dot.yellow { background: #eab308; }
  .tray-dot.green { background: #22c55e; }
  .tray-tabs {
    display: flex;
    margin-left: 14px;
    gap: 3px;
  }
  .ttab {
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Elms Sans', sans-serif;
    color: rgba(255,255,255,0.35);
    background: transparent;
    border: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    bottom: -1px;
  }
  .ttab:hover { color: rgba(255,255,255,0.6); }
  .ttab.active {
    color: #fff;
    background: linear-gradient(180deg, rgba(99,102,241,0.15), rgba(99,102,241,0.05));
  }
  .ttab.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 20%; right: 20%;
    height: 2px;
    background: #6366f1;
    border-radius: 2px 2px 0 0;
  }
  .tray-open-btn {
    margin-left: auto;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Elms Sans', sans-serif;
    color: rgba(255,255,255,0.5);
    background: linear-gradient(145deg, #2a2a42, #222238);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .tray-open-btn:hover { color: rgba(255,255,255,0.8); background: linear-gradient(145deg, #303050, #282840); }

  .tray-surface {
    position: relative;
    background: linear-gradient(145deg, #1a1a2c, #141424);
    border: 1px solid rgba(255,255,255,0.04);
    border-top: none;
    border-radius: 0 0 14px 14px;
    height: 0;
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease;
    opacity: 0;
    box-shadow:
      0 20px 60px rgba(0,0,0,0.4),
      inset 0 -1px 0 rgba(0,0,0,0.2);
  }
  .tray-surface.expanded {
    opacity: 1;
    height: 400px;
  }
  .tray-surface .tray-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 12px;
    background: linear-gradient(180deg, #1c1c2e, #1a1a2c);
    border-radius: 0 0 4px 4px;
    transform: rotateX(90deg);
    transform-origin: bottom;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
  }
  .tray-surface .tray-bottom {
    position: absolute;
    left: 0; right: 0; bottom: -16px;
    height: 16px;
    background: linear-gradient(180deg, #161628, #10101e);
    border-radius: 0 0 12px 12px;
    transform: rotateX(-90deg);
    transform-origin: top;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
  }
  .tray-surface .tray-left {
    position: absolute;
    left: -10px; top: 0; bottom: -16px;
    width: 10px;
    background: linear-gradient(90deg, #10101e, #161628);
    transform: rotateY(90deg);
    transform-origin: right;
  }
  .tray-surface .tray-right {
    position: absolute;
    right: -10px; top: 0; bottom: -16px;
    width: 10px;
    background: linear-gradient(270deg, #10101e, #161628);
    transform: rotateY(-90deg);
    transform-origin: left;
  }

  .tray-items {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    z-index: 2;
  }
  .tray-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.05),
      2px 2px 6px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.2s;
  }
  .tray-item:hover {
    background: linear-gradient(145deg, rgba(99,102,241,0.1), rgba(99,102,241,0.04));
    border-color: rgba(99,102,241,0.15);
  }
  .tray-item-icon {
    width: 30px; height: 30px;
    border-radius: 6px;
    background: linear-gradient(145deg, #22223a, #1a1a30);
    display: flex; align-items: center; justify-content: center;
    color: #818cf8;
    box-shadow:
      2px 2px 5px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(255,255,255,0.06);
    flex-shrink: 0;
  }
  .tray-item-icon svg { width: 15px; height: 15px; }
  .tray-item-text { min-width: 0; }
  .tray-item-name { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7); }
  .tray-item-desc { font-size: 9px; font-weight: 500; color: rgba(255,255,255,0.28); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .tray-settings-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 14px 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
  }
  .tray-settings-img.active {
    opacity: 1;
  }

  /* === FEATURES === */
  .section-desc {
    font-family: 'Elms Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    max-width: 680px;
    margin-bottom: 32px;
  }
  .features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
  .feat {
    background: linear-gradient(145deg, #1a1a28, #13131f);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 14px;
    padding: 26px 20px;
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
    box-shadow:
      5px 5px 14px rgba(0,0,0,0.4),
      -2px -2px 8px rgba(255,255,255,0.02),
      inset 0 1px 0 rgba(255,255,255,0.04);
  }
  .feat:hover {
    transform: translateY(-3px);
    box-shadow:
      8px 8px 24px rgba(0,0,0,0.5),
      0 0 20px rgba(99,102,241,0.06);
  }
  .feat-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    background: linear-gradient(145deg, #22223a, #1a1a30);
    color: #818cf8;
    box-shadow:
      3px 3px 8px rgba(0,0,0,0.4),
      -1px -1px 6px rgba(255,255,255,0.03),
      inset 0 1px 0 rgba(255,255,255,0.06);
  }
  .feat h3 { font-family: 'Bitcount Prop Single', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 5px; color: rgba(255,255,255,0.85); }
  .feat p { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.35); line-height: 1.6; }

  /* === FOOTER === */
  .footer {
    text-align: center;
    padding: 60px 20px 40px;
    border-top: 1px solid rgba(255,255,255,0.04);
    background: linear-gradient(180deg, transparent, rgba(99,102,241,0.03));
  }
  .footer-logo {
    font-family: 'Bitcount Prop Single', sans-serif;
    font-size: 32px; font-weight: 700; letter-spacing: -1px;
    color: #818cf8;
    margin-bottom: 8px;
    display: inline-flex;
  }
  .footer-logo .letter {
    display: inline-block;
    transition: letter-spacing 0.25s ease-out, opacity 0.25s ease-out;
  }
  .footer-logo .letter.shrink {
    letter-spacing: -3px;
    opacity: 0.6;
  }
  .footer-logo .letter.mild {
    letter-spacing: -1.5px;
    opacity: 0.8;
  }
  .footer-sub { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.3); margin-bottom: 32px; }
  .footer-cards {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
  }
  .footer-card {
    position: relative;
    background: linear-gradient(180deg, #2e2e42 0%, #1e1e30 40%, #16162a 100%);
    border: none;
    border-radius: 14px;
    padding: 0;
    cursor: pointer;
    box-shadow:
      0 4px 0 0 #0c0c18,
      0 5px 0 0 #080812,
      0 6px 14px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(255,255,255,0.07),
      inset 0 -1px 0 rgba(0,0,0,0.25);
    transition: all 0.12s ease;
    overflow: hidden;
    text-decoration: none;
  }
  .footer-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    border-radius: 14px 14px 0 0;
    pointer-events: none;
  }
  .footer-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(99,102,241,0.12) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .footer-card:hover {
    box-shadow:
      0 5px 0 0 #0c0c18,
      0 6px 0 0 #080812,
      0 8px 24px rgba(99,102,241,0.3),
      0 8px 14px rgba(0,0,0,0.35),
      inset 0 1px 0 rgba(255,255,255,0.09),
      inset 0 -1px 0 rgba(0,0,0,0.25);
    transform: translateY(-2px);
  }
  .footer-card:hover::after {
    opacity: 1;
  }
  .footer-card:active {
    box-shadow:
      0 1px 0 0 #0c0c18,
      0 2px 0 0 #080812,
      0 2px 8px rgba(0,0,0,0.35),
      inset 0 1px 0 rgba(255,255,255,0.03),
      inset 0 -1px 0 rgba(0,0,0,0.15);
    transform: translateY(3px);
  }
  .footer-card-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    position: relative;
    z-index: 1;
    font-family: 'Elms Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
  }
  .footer-card:hover .footer-card-inner {
    color: #c4b5fd;
  }
  .footer-card-inner svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.2s;
  }
  .footer-card:hover .footer-card-inner svg {
    opacity: 1;
  }
  .footer-divider {
    width: 40px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), transparent);
    margin: 0 auto 20px;
  }
  .footer-copy { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.15); }

  /* === PHOTO VIEWER === */
  .viewer-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .viewer-overlay.open { opacity: 1; pointer-events: auto; }
  .viewer-close {
    position: absolute;
    top: 20px; right: 24px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
  }
  .viewer-close:hover { background: rgba(255,255,255,0.15); color: #fff; }
  .viewer-counter {
    position: absolute;
    top: 24px; left: 24px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    z-index: 10;
  }
  .viewer-title {
    position: absolute;
    top: 24px; left: 50%; transform: translateX(-50%);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    z-index: 10;
    text-align: center;
    max-width: 400px;
  }
  .viewer-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(100vh - 120px);
    padding: 0 60px;
    position: relative;
  }
  .viewer-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.25s ease;
    user-select: none;
    cursor: pointer;
  }
  .viewer-img.slide-left { transform: translateX(-60px) scale(0.95); opacity: 0; }
  .viewer-img.slide-right { transform: translateX(60px) scale(0.95); opacity: 0; }
  .viewer-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
  }
  .viewer-nav:hover { background: rgba(255,255,255,0.12); color: #fff; }
  .viewer-prev { left: 16px; }
  .viewer-next { right: 16px; }
  .viewer-thumbs {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 6px;
    max-width: 80vw;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: none;
  }
  .viewer-thumbs::-webkit-scrollbar { display: none; }
  .viewer-thumb {
    width: 48px; height: 36px;
    border-radius: 6px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.2s;
    flex-shrink: 0;
  }
  .viewer-thumb:hover { opacity: 0.7; }
  .viewer-thumb.active { opacity: 1; border-color: #818cf8; }

  /* === MOBILE RESPONSIVE === */
  @media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .hero-sub { font-size: 14px; }
    .kb-base { width: calc(100% - 32px); padding: 10px 8px 14px; border-radius: 12px; }
    .kb-row { gap: 3px; margin-bottom: 3px; }
    .k { height: 32px; font-size: 11px; border-radius: 5px; }
    .k.fn { font-size: 9px; }
    .section { padding: 60px 16px; min-height: auto; overflow: hidden; }
    .section-title { font-size: 16px; margin-bottom: 16px; }
    .kb3d-keyboard { width: 100%; transform: rotateX(12deg) scale(0.85); }
    .kb3d-key { font-size: 9px; padding: 3px 0 0 4px; }
    .kb3d-key span { font-size: 7px; }
    .kb3d-btn { width: 34px; height: 28px; font-size: 10px; }
    .grid-2 { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .tray-perspective { max-width: 100%; }
    .tray-tabs { gap: 0; }
    .ttab { padding: 6px 8px; font-size: 11px; }
    .tray-items { flex-wrap: wrap; gap: 6px; padding: 8px; }
    .tray-item { min-width: calc(50% - 6px); flex: none; }
    .tray-item-desc { display: none; }
    .viewer-nav { width: 36px; height: 36px; font-size: 16px; }
    .viewer-prev { left: 8px; }
    .viewer-next { right: 8px; }
    .viewer-thumb { width: 40px; height: 30px; }
    .viewer-stage { padding: 0 50px; }
    .footer-cards { gap: 8px; }
    .footer-card-inner { padding: 10px 16px; font-size: 12px; }
    .video-placeholder { min-width: 0; height: 280px; }
    .kb-video-player { min-width: 0; }
    .video-container { padding: 0; }
    .kb-video-volume { display: none; }
    .kb-video-shortcuts { display: none; }
  }
  @media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .hero-sub { font-size: 13px; max-width: 300px; }
    .kb-wrap { max-width: 100%; }
    .ttab { padding: 5px 6px; font-size: 10px; }
    .tray-open-btn { font-size: 10px; padding: 4px 8px; }
    .features-grid { gap: 10px; }
    .feat { padding: 18px 14px; }
    .feat h3 { font-size: 13px; }
    .feat p { font-size: 11px; }
    .video-placeholder { height: 200px; }
    .kb-video-play { width: 56px; height: 56px; border-radius: 12px; }
    .kb-video-play svg { width: 24px; height: 24px; }
    .kb-video-controls { padding: 6px 8px; gap: 4px; }
    .kb-video-btn { width: 28px; height: 26px; }
    .kb-video-btn svg { width: 12px; height: 12px; }
    .kb-video-time { font-size: 10px; min-width: 55px; }
    .kb-video-shortcuts { display: none; }
    .kb-video-speed-btn { font-size: 9px; min-width: 32px; }
    .kb-video-kb-overlay { display: none; }
    .kb-video-tooltip { display: none; }
    .footer-cards { gap: 8px; }
    .footer-card-inner { padding: 10px 14px; font-size: 12px; }
  }

  /* === CAPSULE NAVBAR === */
  .navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(180deg, #1e1e30, #16162a);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50px;
    padding: 5px 6px;
    box-shadow:
      0 4px 0 0 #0c0c18,
      0 6px 0 0 #080812,
      0 10px 30px rgba(0,0,0,0.5),
      inset 0 1px 0 rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .navbar.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  .navbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
  }
  .nav-brand {
    font-family: 'Bitcount Prop Single', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #818cf8;
    padding: 8px 14px;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
  }
  .nav-brand:hover { color: #a5b4fc; }
  .nav-sep {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.06);
    flex-shrink: 0;
  }
  .nav-links {
    display: flex;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-links li a {
    font-family: 'Elms Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 40px;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
  }
  .nav-links li a:hover {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.04);
  }
  .nav-links li a.active {
    color: #fff;
    background: rgba(99,102,241,0.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  }
  .nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 2px;
    background: #818cf8;
    border-radius: 2px;
  }
  .nav-cta {
    font-family: 'Elms Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, #6366f1, #4f46e5);
    border: none;
    border-radius: 40px;
    padding: 8px 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 2px 0 0 #3730a3, inset 0 1px 0 rgba(255,255,255,0.1);
    white-space: nowrap;
  }
  .nav-cta:hover {
    background: linear-gradient(180deg, #818cf8, #6366f1);
    transform: translateY(-1px);
    box-shadow: 0 3px 0 0 #3730a3, 0 4px 12px rgba(99,102,241,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
  }
  .nav-cta:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 0 #3730a3, inset 0 1px 0 rgba(255,255,255,0.05);
  }
  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    cursor: pointer;
    background: none;
    border: none;
  }
  .nav-hamburger span {
    width: 18px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }
  .nav-mobile {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #1e1e30, #16162a);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-mobile.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-mobile a {
    display: block;
    font-family: 'Elms Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.2s;
  }
  .nav-mobile a:hover,
  .nav-mobile a.active {
    color: #fff;
    background: rgba(99,102,241,0.1);
  }
  @media (max-width: 860px) {
    .nav-links, .nav-sep, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
  }

  /* === ENTRANCE ANIMATIONS === */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
  .reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
  }
  .reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }
  .reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .stagger-1 { transition-delay: 0.05s; }
  .stagger-2 { transition-delay: 0.1s; }
  .stagger-3 { transition-delay: 0.15s; }
  .stagger-4 { transition-delay: 0.2s; }
  .stagger-5 { transition-delay: 0.25s; }
  .stagger-6 { transition-delay: 0.3s; }
  .stagger-7 { transition-delay: 0.35s; }
  .stagger-8 { transition-delay: 0.4s; }

  /* === FLOATING HANGING HERO === */
  .floating-hang {
    display: none;
  }
  @media (min-width: 768px) {
    .floating-hang {
      display: block;
      position: fixed;
      top: 0;
      right: 60px;
      z-index: 50;
      opacity: 0;
      transition: opacity 0.5s ease-out;
      pointer-events: none;
    }
    .floating-hang.show {
      opacity: 0.08;
      pointer-events: auto;
    }
    .floating-hang-svg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 200px;
      pointer-events: none;
    }
    .floating-hang-anchor-outer {
      fill: #333;
      stroke: #555;
      stroke-width: 2;
    }
    .floating-hang-anchor-inner {
      fill: #B4B2A9;
    }
    .floating-hang-rope-path {
      fill: none;
      stroke: rgba(99,102,241,0.35);
      stroke-width: 2.5;
      stroke-linecap: round;
    }
    .floating-hang-img {
      width: 280px;
      position: absolute;
      top: 0;
      left: -140px;
      cursor: grab;
      pointer-events: auto;
      transition: filter 0.2s;
    }
    .floating-hang-img:active {
      cursor: grabbing;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-up, .reveal-scale {
      opacity: 1 !important;
      transform: none !important;
    }
  }
