:root {
  --bg: #0d1218;
  --bg-soft: #151d25;
  --panel: rgba(17, 24, 32, 0.84);
  --panel-strong: #1b2632;
  --text: #eef3f7;
  --muted: #aab5c1;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #28c76f;
  --accent-soft: #9ef0bf;
  --surface: #f5f1e8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1120px, calc(100% - 32px));
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(40, 199, 111, 0.22), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #0b1015 0%, #111922 40%, #0d1218 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  overflow: clip;
  padding-top: var(--header-height);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(8, 12, 16, 0.72);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 66px;
  height: 66px;
  min-width: 66px;
  min-height: 66px;
  flex: 0 0 66px;
  line-height: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong,
.nav a,
.hero h1,
.section-head h2,
.service-card h3,
.about-copy h2,
.process-card h3,
.cta-box h2,
.contact-copy h2,
.contact-panel h3 {
  font-family: "Rajdhani", sans-serif;
}

.brand-copy strong {
  font-size: 1.4rem;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a,
.nav-parent {
  color: var(--muted);
  font-size: 1.02rem;
  transition: color 0.2s ease;
  font-family: "Rajdhani", sans-serif;
}

.nav-parent {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.nav a.active,
.nav a:hover,
.nav-parent.active,
.nav-parent:hover {
  color: var(--text);
}

.nav a.active,
.nav-parent.active {
  text-shadow: 0 0 18px rgba(40, 199, 111, 0.3);
}

.nav-group {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: grid;
  gap: 8px;
  min-width: 190px;
  max-height: 420px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 18, 24, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-submenu a {
  padding: 8px 12px;
  border-radius: 12px;
}

.nav-submenu a:hover,
.nav-submenu a.active {
  background: rgba(255, 255, 255, 0.05);
}

.nav-group.is-open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #79e6a7);
  color: #11151b;
  box-shadow: 0 14px 30px rgba(40, 199, 111, 0.3);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero {
  position: relative;
  padding: 72px 0 54px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(40, 199, 111, 0.14), transparent 42%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.92;
  max-width: 12ch;
}

.hero-text,
.service-card p,
.about-copy p,
.process-card p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 62ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.hero-points li::before {
  content: "+";
  color: var(--accent);
  font-weight: 800;
  margin-right: 8px;
}

.panel,
.service-card,
.process-card,
.contact-panel,
.stat-card,
.trust-item,
.cta-box,
.visual-card,
.contact-block {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel {
  border-radius: 28px;
  padding: 28px;
}

.panel-badge,
.chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(40, 199, 111, 0.12);
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel h2 {
  margin: 18px 0 22px;
  font-size: 2rem;
  line-height: 1;
  font-family: "Rajdhani", sans-serif;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list a,
.contact-block {
  border-radius: 18px;
  padding: 18px;
}

.contact-list span,
.contact-block span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.contact-list strong,
.contact-block strong,
.contact-block a {
  font-size: 1.05rem;
}

.panel-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.panel-strip div {
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.panel-strip strong {
  display: block;
  margin-bottom: 8px;
}

.panel-strip span {
  color: var(--muted);
  font-size: 0.94rem;
}

.trust {
  padding: 18px 0 12px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-item,
.service-card,
.process-card,
.stat-card,
.contact-block {
  border-radius: var(--radius-sm);
  padding: 22px;
}

.trust-item strong,
.service-icon,
.process-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent), #78e5a7);
  color: #11161c;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.trust-item span {
  display: block;
  color: var(--muted);
  line-height: 1.75;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 30px;
}

.section-head h2,
.about-copy h2,
.cta-box h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.96;
}

.service-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card h3,
.process-card h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.service-card p,
.process-card p {
  margin: 0;
}

.about-grid,
.contact-grid,
.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.about-visual {
  display: grid;
  gap: 20px;
}

.visual-card {
  border-radius: 30px;
  padding: 30px;
}

.visual-card.primary {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(160deg, rgba(40, 199, 111, 0.2), rgba(10, 15, 20, 0.8)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.15), transparent 30%);
}

.visual-card.primary h3 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  font-family: "Rajdhani", sans-serif;
}

.visual-card.secondary p,
.contact-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.about-copy > p:last-of-type {
  margin-top: 18px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.stat-card span {
  color: var(--muted);
}

.cta-box {
  padding: 36px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(40, 199, 111, 0.2), rgba(255, 255, 255, 0.03)),
    rgba(18, 25, 33, 0.92);
}

.cta-box .button {
  justify-self: end;
}

.contact-panel {
  border-radius: 28px;
  padding: 30px;
}

.contact-panel h3 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.map-wrap {
  margin-top: 24px;
}

.map-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.full {
  width: 100%;
  margin-top: 12px;
}

.footer {
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2dd86f, #128c49);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 35px rgba(19, 140, 73, 0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tester-shell {
  padding: 72px 0 88px;
}

.tester-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.tester-panel,
.tester-card,
.key-cap {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.tester-panel,
.tester-card {
  border-radius: 28px;
}

.tester-panel {
  padding: 32px;
}

.tester-panel h1,
.tester-card h2,
.key-cap {
  font-family: "Rajdhani", sans-serif;
}

.tester-panel h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.92;
}

.tester-panel p,
.tester-card p,
.tester-hint,
.tester-log li,
.key-cap small {
  color: var(--muted);
}

.camera-toolbar,
.camera-actions,
.camera-info-grid {
  display: grid;
  gap: 14px;
}

.camera-toolbar {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.camera-actions {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.camera-select-wrap label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.camera-select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.camera-status {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.7;
}

.camera-status[data-state="success"] {
  border-color: rgba(40, 199, 111, 0.45);
  background: linear-gradient(135deg, rgba(40, 199, 111, 0.16), rgba(17, 24, 32, 0.92));
}

.camera-status[data-state="error"] {
  border-color: rgba(255, 107, 107, 0.45);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.16), rgba(17, 24, 32, 0.92));
}

.camera-status[data-state="pending"] {
  border-color: rgba(255, 209, 102, 0.4);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.12), rgba(17, 24, 32, 0.92));
}

.camera-stage {
  position: relative;
  margin-top: 18px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(40, 199, 111, 0.12), transparent 30%),
    #0c1218;
  aspect-ratio: 16 / 10;
}

.camera-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0b1015;
}

.camera-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(11, 16, 21, 0.16), rgba(11, 16, 21, 0.78));
}

.camera-overlay strong {
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
}

.camera-overlay span {
  color: var(--muted);
  max-width: 38ch;
}

.camera-overlay.is-hidden {
  display: none;
}

.camera-info-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.tester-range-group {
  margin-top: 18px;
}

.tester-range-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.tester-range-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.tester-range-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.tester-range-wrap strong {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
}

.audio-stage,
.mic-stage {
  margin-top: 18px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(40, 199, 111, 0.16), transparent 34%),
    #0c1218;
  padding: 24px;
}

.audio-stage-head,
.mic-stage-head,
.tester-inline-actions,
.tester-compact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.audio-stage-head span,
.mic-stage-head span {
  color: var(--muted);
}

.audio-bars {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 10px;
  align-items: end;
  min-height: 180px;
  margin-top: 22px;
}

.audio-bar {
  height: 20%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(40, 199, 111, 0.26));
  transition: height 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.audio-bar.is-active {
  background: linear-gradient(180deg, rgba(255, 209, 102, 0.88), rgba(40, 199, 111, 0.88));
  box-shadow: 0 0 18px rgba(40, 199, 111, 0.22);
}

.mic-meter-track {
  margin-top: 20px;
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.mic-meter-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #28c76f, #ffd166, #ff6b6b);
  transition: width 0.1s linear;
}

.mic-meter-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  align-items: end;
  min-height: 120px;
  margin-top: 20px;
}

.mic-meter-bar {
  height: 18%;
  border-radius: 16px 16px 4px 4px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.12s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.mic-meter-bar.is-active {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(40, 199, 111, 0.92), rgba(255, 209, 102, 0.82));
  box-shadow: 0 0 16px rgba(40, 199, 111, 0.22);
}

.tester-inline-actions p {
  margin: 10px 0 0;
}

.tester-compact-actions {
  justify-content: flex-end;
}

.recorded-audio {
  display: none;
  width: 100%;
  margin-top: 22px;
}

.recorded-audio.is-ready {
  display: block;
}

.tester-section {
  margin-top: 18px;
}

.screen-palette,
.battery-badge-list,
.stress-control-grid,
.mouse-button-grid {
  display: grid;
  gap: 14px;
}

.screen-palette {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 22px;
}

.screen-palette-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.screen-palette-button:hover,
.screen-palette-button.active {
  transform: translateY(-2px);
  border-color: rgba(40, 199, 111, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

.screen-palette-button strong {
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
}

.screen-palette-swatch {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: var(--swatch, #fff);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.screen-stage {
  --screen-color: #ffffff;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 70vh, 760px);
  padding: 24px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--screen-color);
  color: #101418;
}

.screen-stage[data-dark="true"] {
  color: #fff;
}

.screen-stage.is-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.screen-stage[data-dark="true"].is-grid::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
}

.screen-stage-note {
  position: relative;
  z-index: 1;
  max-width: 40ch;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
}

.screen-stage[data-dark="true"] .screen-stage-note {
  background: rgba(12, 18, 24, 0.34);
}

.screen-stage-note strong,
.speed-progress-head strong,
.cpu-worker-card strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
}

.screen-stage-note span,
.speed-progress-head span {
  display: block;
  margin-top: 8px;
  line-height: 1.7;
}

.speed-progress-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.speed-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.speed-progress-track {
  margin-top: 18px;
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.speed-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #28c76f, #ffd166, #ff6b6b);
  transition: width 0.18s ease;
}

.mouse-pad {
  position: relative;
  min-height: 360px;
  margin-top: 18px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #0c1218;
  background-size: 34px 34px;
}

.mouse-pad-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mouse-pad-target {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  pointer-events: none;
}

.mouse-pad-target span {
  color: var(--muted);
  max-width: 42ch;
}

.mouse-button-grid {
  grid-template-columns: repeat(2, 1fr);
}

.mouse-button-state,
.battery-badge,
.cpu-worker-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.mouse-button-state {
  padding: 16px 18px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.mouse-button-state.is-active {
  transform: translateY(-2px);
  border-color: rgba(40, 199, 111, 0.45);
  background: linear-gradient(135deg, rgba(40, 199, 111, 0.22), rgba(255, 255, 255, 0.04));
}

.battery-badge-list {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 22px;
}

.battery-badge {
  padding: 18px;
}

.battery-badge span,
.battery-badge strong {
  display: block;
}

.battery-badge span {
  color: var(--muted);
  font-size: 0.92rem;
}

.battery-badge strong {
  margin-top: 8px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
}

.stress-control-grid {
  grid-template-columns: repeat(2, 1fr);
}

.stress-control label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cpu-worker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.cpu-worker-card {
  padding: 18px;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.cpu-worker-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cpu-worker-card.is-busy {
  transform: translateY(-2px);
  border-color: rgba(255, 209, 102, 0.45);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.18), rgba(255, 255, 255, 0.04));
}

.gpu-stage {
  position: relative;
  margin-top: 18px;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(255, 209, 102, 0.14), transparent 30%),
    #05090d;
}

.gpu-stage canvas {
  display: block;
  width: 100%;
  height: 420px;
}

.camera-privacy {
  margin-top: 18px;
}

.tester-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.tester-stat {
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.tester-stat strong,
.tester-stat span {
  display: block;
}

.tester-stat strong {
  font-size: 1.5rem;
}

.tester-stat span {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

.tester-stack {
  display: grid;
  gap: 20px;
}

.tester-card {
  padding: 26px;
}

.tester-card h2 {
  margin: 0 0 10px;
  font-size: 1.95rem;
}

.tester-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tester-modes {
  display: inline-flex;
  gap: 10px;
}

.tester-reset {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tester-reset:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 199, 111, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.tester-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.tester-tab.active {
  background: linear-gradient(135deg, rgba(40, 199, 111, 0.2), rgba(255, 255, 255, 0.06));
  color: var(--text);
  border-color: rgba(40, 199, 111, 0.45);
}

.tester-screen {
  margin-top: 22px;
  border-radius: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(10, 15, 20, 0.45));
}

.tester-screen-stream {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 46px;
}

.tester-screen-stream span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.tester-output {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.tester-output .contact-block {
  padding: 18px;
}

.tester-output code {
  font-size: 1rem;
  color: var(--accent-soft);
}

.tester-hint {
  margin: 18px 0 0;
  line-height: 1.7;
}

.tester-log {
  margin: 18px 0 0;
  padding-left: 18px;
}

.tester-log li + li {
  margin-top: 10px;
}

.keyboard-stage {
  margin-top: 18px;
}

.keyboard-grid {
  display: grid;
  gap: 8px;
  width: max-content;
  min-width: 100%;
}

.keyboard-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: flex-end;
}

.key-cap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex: 0 0 var(--key-width, 48px);
  width: var(--key-width, 48px);
  min-height: 50px;
  padding: 9px 11px;
  border-radius: 18px;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  font-size: 1.05rem;
  line-height: 1;
  overflow: hidden;
}

.key-cap span,
.key-cap small {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.key-cap span {
  font-weight: 700;
}

.key-cap.modifier span {
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.key-cap.modifier small {
  font-size: 0.56rem;
  letter-spacing: 0.03em;
}

.key-cap.tight-label span {
  font-size: 0.68rem;
}

.key-cap.icon-key {
  align-items: center;
  justify-content: center;
}

.key-cap.icon-key span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.key-cap.icon-key small {
  align-self: center;
}

.key-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.arrow-cluster {
  display: inline-grid;
  grid-template-columns: repeat(3, 48px);
  grid-template-areas:
    ". up ."
    "left down right";
  gap: 8px;
  margin-left: 8px;
  align-self: flex-end;
}

.arrow-cluster .key-cap {
  width: 48px;
}

.arrow-up {
  grid-area: up;
}

.arrow-left {
  grid-area: left;
}

.arrow-down {
  grid-area: down;
}

.arrow-right {
  grid-area: right;
}

.key-cap small {
  margin-top: 6px;
  align-self: flex-end;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.key-cap:not([class*="span-"]) small {
  display: none;
}

.key-cap.is-pressed {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 107, 0.72);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.34), rgba(17, 24, 32, 0.96));
  color: #fff;
}

.key-cap.is-active {
  border-color: rgba(40, 199, 111, 0.45);
  background: linear-gradient(135deg, rgba(40, 199, 111, 0.28), rgba(17, 24, 32, 0.96));
  box-shadow: 0 0 0 1px rgba(40, 199, 111, 0.2), var(--shadow);
}

.span-2 {
  --key-width: 62px;
}

.span-3 {
  --key-width: 96px;
}

.span-4 {
  --key-width: 134px;
}

.span-5 {
  --key-width: 168px;
}

.span-6 {
  --key-width: 208px;
}

.span-7 {
  --key-width: 242px;
}

.span-8 {
  --key-width: 274px;
}

.span-10 {
  --key-width: 388px;
}

.span-12 {
  --key-width: 468px;
}

.span-13 {
  --key-width: 508px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .cta-box,
  .service-grid,
  .process-grid,
  .trust-grid,
  .tester-hero,
  .camera-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 108px;
  }

  .topbar-inner {
    flex-wrap: wrap;
    padding: 14px 0;
    min-height: auto;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .desktop-cta {
    display: none;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0 2px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-group {
    width: 100%;
  }

  .nav-parent {
    width: 100%;
    text-align: left;
  }

  .nav-submenu {
    position: static;
    left: auto;
    min-width: 0;
    margin-top: 10px;
    opacity: 0;
    pointer-events: none;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 12px;
    border-width: 0;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    transition:
      opacity 0.2s ease,
      max-height 0.2s ease,
      padding 0.2s ease,
      border-width 0.2s ease;
  }

  .nav-group.is-open .nav-submenu {
    opacity: 1;
    pointer-events: auto;
    max-height: min(70vh, 420px);
    padding: 12px;
    border-width: 1px;
  }

  .hero,
  .section {
    padding: 68px 0;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .cta-box,
  .service-grid,
  .process-grid,
  .trust-grid,
  .panel-strip,
  .stat-grid,
  .footer-inner,
  .tester-hero,
  .tester-summary,
  .tester-output,
  .camera-toolbar,
  .camera-actions,
  .camera-info-grid,
  .tester-range-wrap,
  .battery-badge-list,
  .stress-control-grid,
  .mouse-button-grid {
    grid-template-columns: 1fr;
  }

  .map-card iframe {
    height: 340px;
  }

  .keyboard-row {
    gap: 8px;
  }

  .key-cap {
    flex-basis: var(--key-width, 44px);
    width: var(--key-width, 44px);
    min-height: 52px;
    padding: 10px;
    font-size: 0.92rem;
  }

  .key-cap small {
    font-size: 0.64rem;
  }

  .key-cap.modifier span {
    font-size: 0.72rem;
  }

  .keyboard-stage .tester-card {
    overflow-x: auto;
  }

  .keyboard-grid {
    min-width: 860px;
  }

  .cta-box .button {
    justify-self: start;
  }

  .audio-bars {
    gap: 8px;
  }

  .mic-meter-grid {
    gap: 8px;
  }

  .speed-progress-head,
  .tester-inline-actions,
  .tester-compact-actions {
    align-items: flex-start;
  }

  .gpu-stage,
  .gpu-stage canvas {
    min-height: 300px;
    height: 300px;
  }

  .footer-inner {
    display: grid;
  }

  .hero h1,
  .section-head h2,
  .about-copy h2,
  .cta-box h2,
  .contact-copy h2 {
    line-height: 1;
  }
}
