
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --black: #080808;
    --surface: #111111;
    --surface2: #181818;
    --border: rgba(255,255,255,0.08);
    --text: #f0ede8;
    --muted: #888580;
    --accent: #e8c547;
    --accent2: #ff5c35;
    --accent3: #4da6ff;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    cursor: none;
  }

  /* Custom cursor */
  #cursor {
    position: fixed;
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
  }
  #cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1px solid rgba(232,197,71,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.18s ease;
  }
  body:has(a:hover) #cursor, body:has(button:hover) #cursor { width: 20px; height: 20px; }

  /* Nav */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 4rem;
    background: linear-gradient(to bottom, rgba(8,8,8,0.95), transparent);
    backdrop-filter: blur(2px);
  }
  .nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: var(--text);
    text-decoration: none;
  }
  .nav-logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-cta {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--accent);
    color: var(--black);
    border: none;
    padding: 0.65rem 1.5rem;
    cursor: none;
    font-weight: 700;
    transition: background 0.2s, transform 0.15s;
  }
  .nav-cta:hover { background: #f0d060; transform: translateY(-1px); }

  /* Hero */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 4rem;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(232,197,71,0.06) 0%, transparent 70%),
                radial-gradient(ellipse 40% 60% at 20% 80%, rgba(77,166,255,0.04) 0%, transparent 60%);
  }

  .hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  }

  .hero-content { position: relative; z-index: 2; }

  .hero-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .hero-tag::before {
    content: '';
    display: block;
    width: 40px; height: 1px;
    background: var(--accent);
  }

  .hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 9vw, 9rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
  }
  .hero-title em {
    font-style: normal;
    color: var(--accent);
    display: block;
  }

  .hero-desc {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 380px;
    margin-bottom: 2.5rem;
  }

  .hero-actions { display: flex; gap: 1rem; align-items: center; }

  .btn-primary {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--accent);
    color: var(--black);
    border: none;
    padding: 1rem 2.5rem;
    cursor: none;
    font-weight: 700;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
  }
  .btn-primary:hover { background: #f0d060; transform: translateY(-2px); }

  .btn-ghost {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 1rem 2rem;
    cursor: none;
    background: transparent;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
  }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

  /* Keyboard Visual */
  .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .keyboard-stage {
    position: relative;
    width: 100%;
    max-width: 580px;
    animation: float 6s ease-in-out infinite;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0) rotateX(2deg); }
    50% { transform: translateY(-18px) rotateX(0deg); }
  }

  .keyboard-wrap {
    perspective: 900px;
    transform-style: preserve-3d;
  }

  .kb-body {
    background: linear-gradient(145deg, #1e1e1e 0%, #141414 50%, #0e0e0e 100%);
    border-radius: 10px;
    padding: 18px 22px 22px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
      0 0 0 1px rgba(0,0,0,0.8),
      0 30px 80px rgba(0,0,0,0.8),
      0 0 60px rgba(232,197,71,0.08),
      inset 0 1px 0 rgba(255,255,255,0.06);
    transform: rotateX(18deg) rotateY(-8deg);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .kb-body:hover {
    transform: rotateX(10deg) rotateY(-4deg);
  }

  .kb-row {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
    justify-content: center;
  }

  .key {
    height: 38px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.52rem;
    color: rgba(255,255,255,0.5);
    position: relative;
    cursor: none;
    transition: transform 0.1s, box-shadow 0.15s;
    background: linear-gradient(145deg, #232323, #191919);
    box-shadow:
      0 3px 0 #0a0a0a,
      0 4px 6px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.06);
  }

  .key:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 #0a0a0a, 0 2px 4px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.12), 0 0 12px rgba(232,197,71,0.3);
    color: var(--accent);
  }

  .key:active { transform: translateY(2px); box-shadow: 0 0 0 #0a0a0a; }

  .key.lit-y { box-shadow: 0 3px 0 #0a0a0a, 0 4px 6px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08), 0 0 10px rgba(232,197,71,0.4); color: var(--accent); }
  .key.lit-b { box-shadow: 0 3px 0 #0a0a0a, 0 4px 6px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08), 0 0 10px rgba(77,166,255,0.5); color: var(--accent3); }
  .key.lit-r { box-shadow: 0 3px 0 #0a0a0a, 0 4px 6px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08), 0 0 10px rgba(255,92,53,0.5); color: var(--accent2); }

  .key-w1 { width: 38px; }
  .key-w15 { width: 55px; }
  .key-w175 { width: 65px; }
  .key-w2 { width: 75px; }
  .key-w225 { width: 82px; }
  .key-w275 { width: 100px; }
  .key-w6 { width: 230px; }
  .key-fn-row { height: 28px; }

  .kb-led-strip {
    height: 3px;
    margin-bottom: 12px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent2), var(--accent), var(--accent3), var(--accent), var(--accent2));
    background-size: 200%;
    animation: ledshift 3s linear infinite;
    opacity: 0.8;
  }
  @keyframes ledshift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
  }

  /* Stats bar */
  .hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }
  .stat-item {}
  .stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--accent);
    line-height: 1;
  }
  .stat-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.25rem;
  }

  /* Section shared */
  section { padding: 7rem 4rem; }

  .section-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .section-tag::before {
    content: '';
    display: block;
    width: 30px; height: 1px;
    background: var(--accent);
  }

  .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
  }

  /* Quality / Details section */
  .quality-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }

  .quality-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
  }

  .qf-item {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .qf-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: var(--accent);
    line-height: 1;
    opacity: 0.7;
  }

  .qf-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.5rem;
  }

  .qf-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
  }

  .quality-visual {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Exploded key diagram */
  .key-explode {
    position: relative;
    width: 260px;
    height: 440px;
  }

  .key-part {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  }

  .kp-cap {
    width: 140px; height: 70px;
    background: linear-gradient(145deg, #2a2a2a, #1d1d1d);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    color: var(--text);
    top: 30px;
    flex-direction: column;
    gap: 4px;
  }
  .kp-cap span { font-size: 1.5rem; }

  .kp-stem {
    width: 60px; height: 30px;
    background: linear-gradient(145deg, #e8c547, #c9a830);
    color: var(--black);
    top: 130px;
  }

  .kp-spring {
    width: 30px; height: 80px;
    background: transparent;
    border: none;
    top: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .spring-svg { width: 30px; height: 80px; }

  .kp-housing {
    width: 120px; height: 60px;
    background: linear-gradient(145deg, #1a1a1a, #141414);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    color: var(--muted);
    top: 290px;
  }

  .kp-pcb {
    width: 200px; height: 40px;
    background: linear-gradient(145deg, #1a3a2a, #122a1e);
    border: 1px solid rgba(77,255,140,0.15);
    box-shadow: 0 0 20px rgba(77,166,255,0.1);
    color: rgba(77,255,140,0.7);
    top: 380px;
  }

  .kp-label {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Space Mono', monospace;
    font-size: 0.58rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .kp-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--border); }

  /* Switches */
  .switches-section { background: var(--black); }

  .switches-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 4rem;
  }

  .switches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    border: 1.5px solid var(--border);
  }

  .switch-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    cursor: none;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
  }

  .switch-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .switch-card.linear::before { background: var(--accent3); }
  .switch-card.tactile::before { background: var(--accent); }
  .switch-card.clicky::before { background: var(--accent2); }

  .switch-card:hover { background: var(--surface2); }
  .switch-card:hover::before { opacity: 1; }

  .switch-icon {
    width: 52px; height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }
  .linear .switch-icon { background: rgba(77,166,255,0.12); }
  .tactile .switch-icon { background: rgba(232,197,71,0.12); }
  .clicky .switch-icon { background: rgba(255,92,53,0.12); }

  .switch-type {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }
  .linear .switch-type { color: var(--accent3); }
  .tactile .switch-type { color: var(--accent); }
  .clicky .switch-type { color: var(--accent2); }

  .switch-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .switch-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .switch-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .sw-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .sw-stat-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .sw-bar-wrap {
    width: 80px; height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
  }

  .sw-bar { height: 100%; border-radius: 2px; }
  .linear .sw-bar { background: var(--accent3); }
  .tactile .sw-bar { background: var(--accent); }
  .clicky .sw-bar { background: var(--accent2); }

  /* Products */
  .products-section { background: var(--surface); border-top: 1px solid var(--border); }

  .products-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
  }

  .filter-btn {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 0.5rem 1.25rem;
    cursor: none;
    transition: all 0.2s;
  }
  .filter-btn:hover, .filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(232,197,71,0.05);
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
  }

  .product-card {
    background: var(--black);
    padding: 2.5rem;
    cursor: none;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }
  .product-card:hover { background: #0d0d0d; }

  .product-badge {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
  }
  .badge-new { background: var(--accent); color: var(--black); font-weight: 700; }
  .badge-hot { background: var(--accent2); color: white; font-weight: 700; }
  .badge-sale { background: rgba(255,255,255,0.1); color: var(--text); }

  .product-visual {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
  }

  /* Mini keyboard SVG products */
  .mini-kb {
    width: 200px;
    transition: transform 0.4s;
  }
  .product-card:hover .mini-kb { transform: scale(1.04) translateY(-4px); }

  .product-type {
    font-family: 'Space Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
  }

  .product-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
  }

  .product-desc {
    font-size: 0.825rem;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.5rem;
  }

  .product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }

  .spec-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
  }

  .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }

  .product-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--accent);
    line-height: 1;
  }
  .price-old {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--muted);
    text-decoration: line-through;
    display: block;
  }

  .btn-add {
    font-family: 'Space Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text);
    padding: 0.65rem 1.25rem;
    cursor: none;
    transition: all 0.2s;
  }
  .btn-add:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(232,197,71,0.06);
  }
  .btn-add.added {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--black);
  }

  /* Cart notification */
  .cart-toast {
    position: fixed;
    bottom: 2rem; right: 2rem;
    background: var(--surface2);
    border: 1px solid var(--accent);
    padding: 1rem 1.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    z-index: 200;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  }
  .cart-toast.show { transform: translateY(0); opacity: 1; }

  /* Cart counter */
  .cart-count {
    position: fixed;
    top: 1.5rem; right: 4rem;
    background: var(--accent);
    color: var(--black);
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    z-index: 101;
    display: none;
    align-items: center;
    gap: 0.5rem;
    cursor: none;
    transition: transform 0.2s;
  }
  .cart-count.visible { display: flex; }
  .cart-count:hover { transform: scale(1.05); }

  /* Footer */
  footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 4rem 2rem;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
  }

  .footer-brand .nav-logo { display: block; margin-bottom: 1rem; font-size: 2.2rem; }
  .footer-brand p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 260px;
  }

  .footer-col h4 {
    font-family: 'Space Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 1.5rem;
  }

  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
  .footer-col a {
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--accent); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-bottom p {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--muted);
  }

  /* Scroll reveal */
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }

  /* Key press animation */
  @keyframes keypress {
    0% { transform: translateY(0); }
    30% { transform: translateY(3px); }
    100% { transform: translateY(0); }
  }
