:root {
  --primary: #2ecc71;
  --primary-dark: #27ae60;
  --neon: #39ff14;
  --neon-glow: #00ff88;
  --background: #0f0f0f;
  --surface: #1e1e1e;
  --surface-hover: #252525;
  --border: #2a2a2a;
  --text: #f5f5f5;
  --text-muted: #a0a0a0;
  --radius: 12px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Comfortaa", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
.span{
  text-align: center;
  display: inline-block;
  font-size: 23px;
  
  
  width:1.2cm;
  height:0.99cm;
  
}
body {
  background-color: var(--background);
  color: var(--text);
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.hdiv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(30, 30, 30, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  width: 100%;
  min-height: 60px;
  height: auto;
  padding: 10px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 16px;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.hp {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.hp:hover {
  color: var(--neon);
  transition: 0.4s ease-in-out;
  text-shadow:0 15px 15px #27ae60;
}
.hnav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.menu-toggle:hover {
  background: var(--surface-hover);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.12);
}
.menu-icon {
  display: block;
  position: relative;
  width: 18px;
  height: 14px;
}
.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease,
    width 0.3s ease;
}
.menu-icon span:nth-child(1) {
  top: 0;
}
.menu-icon span:nth-child(2) {
  top: 6px;
}
.menu-icon span:nth-child(3) {
  top: 12px;
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.menu-toggle[aria-expanded="true"] {
  border-color: var(--primary);
  background: var(--surface-hover);
}
.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;
}
a {
  text-decoration: none;
  color: inherit;
  font-family: var(--font);
}
.hbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 20px;
  height: 34px;
  padding: 0 12px;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}
.hbutton svg {
  flex: 0 0 16px;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.hbutton:hover {
  background: var(--surface-hover);
  border-color: var(--border);
  color: var(--text);
  transform: translateY(-1px);
}
.hbutton:hover svg {
  opacity: 1;
}
.hbutton:active {
  transform: translateY(0);
}
.hbutton:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.intro,
.screenshots-section,
.social-section,
.updates-section,
.contact-section {
  width: 100%;
  max-width: 880px;
}
.intro {
  padding: 36px 0 12px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--neon-glow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.intro h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
}
.intro-text {
  max-width: 560px;
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
}
.section-heading {
  margin-bottom: 18px;
}
.section-heading h2,
.contact-section h2 {
  text-align: left;
  max-width: none;
  font-family: var(--font-display);
  font-size: 1.6rem;
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}
.social-card:hover {
  background: var(--surface-hover);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.social-icon {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: #07150c;
  font-size: 13px;
  font-weight: 800;
}
.social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.social-card strong,
.social-card small {
  display: block;
}
.social-card strong {
  color: var(--text);
  font-size: 15px;
}
.social-card small {
  color: var(--text-muted);
  font-size: 12px;
}
.arrow {
  margin-left: auto;
  color: var(--neon-glow);
  font-size: 20px;
}
/* --- Screenshots Section --- */
.screenshots-section {
  margin-top: 12px;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.screenshot-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 280px;
  width: 100%;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.screenshot-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.screenshot-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 180px;
  max-width: 280px;
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: block;
  width: 100%;
}
.screenshot-frame img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0a;
}
.screenshot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(46, 204, 113, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 255, 136, 0.08), transparent 50%),
    #0f0f0f;
  border: 1px dashed rgba(46, 204, 113, 0.18);
  box-sizing: border-box;
  text-align: center;
  padding: 16px;
  z-index: 1;
}
.placeholder-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.25);
  color: var(--neon-glow);
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-display);
}
.screenshot-placeholder p {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
}
.screenshot-placeholder small {
  color: var(--text-muted);
  font-size: 11px;
}
.screenshot-card {
  cursor: zoom-in;
}
.screenshot-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.screenshot-card figcaption {
  padding: 12px 14px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  background: var(--surface);
}
.screenshot-frame::after {
  content: "⤢ Click to expand";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.55);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.screenshot-card:hover .screenshot-frame::after,
.screenshot-card:focus-visible .screenshot-frame::after {
  opacity: 1;
}
.screenshot-wrapper {
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.screenshot-scroller {
  overflow: visible;
  position: relative;
  z-index: 1;
}
.screenshot-nav {
  display: none;
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(30, 30, 30, 0.95);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
  pointer-events: auto;
}
.screenshot-nav:hover {
  background: var(--surface-hover);
  border-color: var(--primary);
}
.screenshot-nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.screenshot-nav--prev {
  left: -14px;
}
.screenshot-nav--next {
  right: -14px;
}
.screenshot-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.screenshot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.screenshot-dot.is-active {
  background: var(--primary);
  transform: scale(1.25);
}
/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open {
  display: flex;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}
.lightbox-content {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
  animation: lightboxIn 0.25s ease;
}
@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.lightbox-image {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  background: #0a0a0a;
  object-fit: contain;
}
.lightbox-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(520px, 90vw);
  min-height: 300px;
  padding: 32px;
  border-radius: 10px;
  border: 1px dashed rgba(46, 204, 113, 0.25);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(46, 204, 113, 0.12), transparent 50%),
    #1a1a1a;
  text-align: center;
}
.lightbox-caption {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  max-width: 600px;
  background: rgba(30, 30, 30, 0.9);
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  z-index: 3;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}
.lightbox-close:hover {
  background: var(--surface-hover);
  transform: scale(1.05);
}
.lightbox-close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.updates-section {
  margin-top: 12px;
}
.update-card {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.update-card time {
  color: var(--neon-glow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.update-card h3 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 16px;
}
.update-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.contact-section {
  margin-top: 20px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-section p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--text-muted);
}
.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--primary-dark);
  border-radius: 8px;
  background: var(--primary);
  color: #0f0f0f;
  font-weight: 700;
}
.contact-button:hover {
  background: var(--neon);
  transition: 0.4s ease-in-out;
}
.card {
  background: rgb(34, 34, 51);
  border-radius: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 30px;
  max-width: 900px;
  width: 80%;
  min-height: 550px;
  margin: 20px;
  flex-wrap: nowrap;
}
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
  gap: 24px;
}
.content-grid {
  display: grid;
  grid-template-columns: 500px 340px;
  gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 880px;
}
.card-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.side-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  margin: 0 0 8px 0;
  color: var(--text);
}
.side-card p,
.side-card li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.side-card ul {
  margin: 8px 0 0 18px;
  padding: 0;
}
.side-card .side-stat {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.side-card .side-stat:last-child {
  border-bottom: none;
}
.side-card .side-stat span:last-child {
  color: var(--text);
  font-weight: 600;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 880px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.feature-card h3 {
  font-size: 15px;
  margin: 0 0 6px 0;
  font-family: var(--font-display);
}
.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.divcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 500px;
  min-height: 100px;
  height: auto;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  /* fix wrapping / new lines */
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.6;
  gap: 8px;
}
.divcard > * {
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
  margin: 0;
}
.card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  flex: 0 0 300px;
  min-width: 220px;
  padding: 20px;
  /* for side-swap FLIP animation - transform is set by JS */
  will-change: transform;
}
/* enable side swap only on desktop - JS toggles .flipped */
@media (min-width: 701px) {
  .card.flipped {
    flex-direction: row-reverse;
  }
}
form {
  background: rgb(48, 48, 97);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  padding: 30px 24px;
  min-height: 420px;
  gap: 4px;
}
/* --- Animated form switcher --- */
.forms-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  min-height: 440px;
  display: grid;
  /* single cell where both forms overlap */
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  will-change: transform;
}
.auth-form {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  transform: translateX(40px) scale(0.97);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.45s;
  will-change: opacity, transform;
}
.auth-form.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}
/* collapsing = signup shrinking out */
.auth-form.collapsing-out {
  animation: collapseOut 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.auth-form.expanding-in {
  animation: expandIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes collapseOut {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-40px) scale(0.94);
  }
}
@keyframes expandIn {
  0% {
    opacity: 0;
    transform: translateX(40px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.divcard p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
h2 {
  margin: 0;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.3;
  max-width: 250px;
}
/* --- Signup inputs --- */
.input-box {
  position: relative;
  width: 100%;
  height: 56px;
  margin: 14px 0;
}
.input-box input {
  width: 100%;
  height: 100%;
  padding: 15px 12px;
  border: 2px solid #333;
  border-radius: 8px;
  outline: none;
  font-size: 16px;
  background: var(--surface);
  color: var(--text);
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.input-box input::placeholder {
  color: transparent;
}
.input-box label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface);
  border-radius: 20px;
  padding: 0 6px;
  color: rgb(200, 200, 200);
  transition: all 0.2s ease;
  pointer-events: none;
  font-size: 14px;
  line-height: 1;
}
/* float when focused or has value or autofilled */
.input-box input:focus + label,
.input-box input:not(:placeholder-shown) + label,
.input-box input:-webkit-autofill + label {
  top: 0;
  color: azure;
  font-size: 12px;
  background: #676766;
}
.input-box input:focus {
  border-color: #9a9a9a;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}
.input-box input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #e74c3c;
}
.input-box input:valid:not(:placeholder-shown) {
  border-color: #2ecc71;
}
/* also keep label floated for valid/invalid without placeholder trick edge case */
.input-box input:valid + label,
.input-box input:invalid:not(:placeholder-shown) + label {
  top: 0;
  font-size: 12px;
}
.button {
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 4cm;
  min-height: 7vh;
  margin: 10px auto 0;
  background: rgb(0, 173, 0);
  cursor: pointer;
  color: azure;
  font-family: var(--font);
  font-size: 16px;
  padding: 12px 24px;
  transition:
    background 0.2s ease,
    transform 0.1s ease;
}
.button:hover {
  background: rgb(0, 150, 0);
}
.button:active {
  transform: scale(0.98);
}
.secondary-button {
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 4cm;
  min-height: 7vh;
  margin: 0;
  background: rgb(255, 255, 255);
  cursor: pointer;
  color: #222;
  font-family: var(--font);
  font-size: 16px;
  padding: 12px 24px;
  transition: background 0.2s ease;
}
.secondary-button:hover {
  background: #e0e0e0;
}
.check {
  text-decoration: none;
}
@media (max-width: 900px) {
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .hdiv {
    flex-wrap: wrap;
    padding: 12px 18px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .menu-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
  .hnav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
    padding: 16px;
    margin-top: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    animation: navSlide 0.25s ease;
  }
  .hnav.is-open {
    display: flex;
  }
  @keyframes navSlide {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .hbutton {
    width: 100%;
  }
  .hnav .hbutton {
    justify-content: flex-start;
    gap: 10px;
    height: 42px;
    padding: 0 14px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    box-shadow: none;
    transform: none;
    text-shadow: none;
  }
  .hnav .hbutton svg {
    flex: 0 0 16px;
    opacity: 0.85;
  }
  .hnav .hbutton:hover {
    background: var(--surface-hover);
    border-color: var(--border);
    color: var(--neon-glow);
    box-shadow: none;
    transform: none;
    text-shadow: none;
  }
  .hnav .hbutton:active {
    transform: scale(0.99);
  }
  .main-content {
    padding: 24px 16px;
  }
  .intro {
    padding-top: 20px;
  }
  .social-grid {
    grid-template-columns: 1fr;
  }
  .screenshot-wrapper {
    margin: 0 -16px;
    padding: 0 16px;
  }
  .screenshot-scroller {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    cursor: grab;
  }
  .screenshot-scroller:active {
    cursor: grabbing;
  }
  .screenshot-scroller::-webkit-scrollbar {
    display: none;
  }
  .screenshot-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    grid-template-columns: unset;
  }
  .screenshot-card {
    flex: 0 0 auto;
    min-width: 0;
    width: fit-content;
    max-width: 90vw;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .screenshot-frame {
    width: fit-content;
    max-width: 90vw;
    max-height: none;
    aspect-ratio: auto;
  }
  .screenshot-frame img {
    width: auto;
    max-width: 90vw;
    max-height: 55vh;
    height: auto;
    object-fit: contain;
  }
  .screenshot-nav {
    display: grid;
  }
  .screenshot-nav--prev {
    left: 6px;
  }
  .screenshot-nav--next {
    right: 6px;
  }
  .screenshot-dots {
    display: flex;
  }
  .update-card {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .contact-section {
    padding: 22px;
  }
  .content-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .card {
    flex-direction: column;
    flex-wrap: wrap;
    padding: 20px;
    gap: 24px;
  }
  .card-left {
    flex: none;
    width: 100%;
    max-width: 360px;
    order: -1;
  }
  .forms-container {
    max-width: 100%;
    min-height: 400px;
  }
  form {
    max-width: 100%;
  }
  .auth-form {
    transform: translateY(30px) scale(0.97);
  }
  .auth-form.active {
    transform: translateY(0) scale(1);
  }
  @keyframes collapseOut {
    0% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    100% {
      opacity: 0;
      transform: translateY(-30px) scale(0.94);
    }
  }
  @keyframes expandIn {
    0% {
      opacity: 0;
      transform: translateY(30px) scale(0.94);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  .mobile-switch {
    display: block !important;
  }
}

/* ===================================================================
   PyShell Help — uses shared style.css (no inline <style> needed)
   =================================================================== */

/* Help page body — subtle grid + glows, scoped so index is untouched */
body.help-page {
  background-color: var(--background);
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(46, 204, 113, 0.08), transparent 50%),
    radial-gradient(ellipse at 90% 30%, rgba(0, 255, 136, 0.06), transparent 45%),
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px, 24px 24px;
}

/* Header — identical to index.html; active state for Help nav */
.help-page .hbutton.active {
  background: var(--primary);
  color: #0f0f0f;
  border-color: var(--primary-dark);
  font-weight: 700;
}

/* Hero */
.help-hero {
  background: linear-gradient(180deg, rgba(46,204,113,0.08), transparent 70%), var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}
.help-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(46,204,113,0.06), transparent);
  height: 1px;
  top: 0;
}
.help-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.help-hero h1 span { color: var(--neon-glow); font-family: var(--mono); font-weight: 700; }
.help-hero p.intro-text {
  margin: 0;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 15px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(15,15,15,0.9);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
}
.meta-pill strong { color: var(--text); }
.meta-pill.dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon-glow);
  box-shadow: 0 0 8px var(--neon-glow);
  display: inline-block;
}
.search-wrap {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  transition: border-color .2s, box-shadow .2s;
}
.search-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46,204,113,0.15);
}
.search-wrap svg { color: var(--text-muted); flex: 0 0 16px; }
.search-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
}
.search-wrap input::placeholder { color: var(--text-muted); }
.search-wrap kbd {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 6px;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-muted);
}

/* Stats bar */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat strong { font-family: var(--font-display); font-size: 22px; line-height: 1; }
.stat span { font-size: 11px; letter-spacing: 0.12em; color: var(--text-muted); font-weight: 700; }

/* Category */
.category { display: flex; flex-direction: column; gap: 14px; }
.category-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.category-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cat-icon {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: #07150c;
  font-size: 14px;
}
.category-head p { margin: 0; color: var(--text-muted); font-size: 13px; }
.category-head .count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.command-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .2s, box-shadow .2s, background .2s;
  position: relative;
  overflow: hidden;
}
.command-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46,204,113,0.35), transparent);
  opacity: 0;
  transition: opacity .2s;
}
.command-card:hover {
  border-color: rgba(46,204,113,0.45);
  transform: translateY(-2px);
  background: var(--surface-hover);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.command-card:hover::before { opacity: 1; }
.command-card.hidden { display: none; }
.cmd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cmd-name {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-glow);
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.22);
  padding: 6px 10px;
  border-radius: 8px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cmd-actions { display: flex; gap: 6px; flex-shrink: 0; }
.icon-btn {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0a0a0a;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--text); background: var(--surface); }
.icon-btn.copied { border-color: var(--primary); color: var(--neon-glow); }
.cmd-desc { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.cmd-example {
  background: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: #a0a0a0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
}
.cmd-example .prompt { color: var(--primary); font-weight: 700; }
.cmd-example code { color: var(--text); }
.cmd-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.flag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  background: #121212;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.flag strong { color: var(--text); }

.terminal-tip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.tip-icon {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(46,204,113,0.14);
  border: 1px solid rgba(46,204,113,0.25);
  color: var(--neon-glow);
}
.terminal-tip h3 { margin: 0 0 4px; font-size: 14px; font-family: var(--font-display); }
.terminal-tip p { margin: 0; color: var(--text-muted); font-size: 13px; }
.terminal-tip code {
  font-family: var(--mono);
  background: #0a0a0a;
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--neon-glow);
}

.footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
}
.footer a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover { color: var(--neon-glow); }

.no-results {
  display: none;
  text-align: center;
  padding: 32px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--text-muted);
}
.no-results.visible { display: block; }

/* Help responsive — extends existing @media breakpoints */
@media (max-width: 760px) {
  .command-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .category-head .count { margin-left: 0; }
}
@media (max-width: 520px) {
  .help-hero { padding: 20px 16px; }
  .search-wrap kbd { display: none; }
}

/* Extra small window / mobile — fix layout overflow & spacing */
@media (max-width: 400px) {
  .hdiv { padding: 10px 12px; gap: 10px; min-height: 54px; }
  .hp { font-size: 18px; }
  .span { width: 1cm; height: 0.85cm; font-size: 18px; line-height: 0.85cm; }
  .help-hero h1 { font-size: 1.6rem; }
  .intro h1 { font-size: 1.7rem; }
  .intro-text { font-size: 15px; }
  .command-card { padding: 12px; }
  .cmd-name { font-size: 12px; padding: 5px 8px; }
  .cmd-desc { font-size: 12px; }
  .stats { gap: 8px; }
  .stat { padding: 10px 12px; }
  .stat strong { font-size: 18px; }
  .main-content { padding: 16px 12px; gap: 18px; }
  .screenshot-wrapper { margin: 0 -12px; padding: 0 12px; }
  .card { padding: 16px; width: 95%; gap: 18px; }
  .card-left { padding: 12px; }
  .terminal-tip { flex-direction: column; gap: 10px; }
  .contact-section { padding: 16px; }
  .help-hero p.intro-text { font-size: 14px; }
}
@media (max-width: 360px) {
  .help-hero h1 { font-size: 1.4rem; }
  .intro h1 { font-size: 1.5rem; }
  .command-card { padding: 10px; }
  .hbutton { font-size: 12px; padding: 0 10px; height: 32px; }
  .search-wrap { padding: 6px 10px; }
  .card { width: 98%; padding: 14px; }
}
html, body { overflow-x: hidden; max-width: 100vw; }
img, video, iframe { max-width: 100%; height: auto; }
.screenshot-grid, .command-grid, .social-grid, .feature-grid { max-width: 100%; }
.command-card, .stat, .help-hero, .intro, .screenshots-section, .social-section, .updates-section, .contact-section { max-width: 100%; box-sizing: border-box; }
