:root {
  --bg: #050a16;
  --panel: rgba(10, 24, 52, 0.62);
  --panel-strong: rgba(12, 31, 66, 0.82);
  --line: rgba(82, 184, 255, 0.32);
  --blue: #18b7ff;
  --cyan: #6fe7ff;
  --deep: #0b48d1;
  --orange: #ff8a12;
  --text: #edf7ff;
  --muted: #a7b8ca;
  --shadow: 0 24px 80px rgba(0, 115, 255, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Hiragino Sans GB",
    Arial,
    sans-serif;
  background:
    radial-gradient(circle at 72% 12%, rgba(18, 157, 255, 0.26), transparent 30%),
    radial-gradient(circle at 8% 18%, rgba(255, 138, 18, 0.12), transparent 22%),
    linear-gradient(135deg, #020613 0%, #061b3f 46%, #030711 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(98, 197, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 197, 255, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(111, 231, 255, 0.2);
  border-radius: 0;
  background: rgba(4, 14, 32, 0.78);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.site-header::before {
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: -1;
  width: 100vw;
  content: "";
  border-bottom: 1px solid rgba(111, 231, 255, 0.2);
  background:
    linear-gradient(90deg, rgba(4, 14, 32, 0.94), rgba(6, 26, 60, 0.82), rgba(4, 14, 32, 0.94)),
    rgba(4, 14, 32, 0.78);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 28px rgba(255, 138, 18, 0.34);
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #c9d7e6;
  font-size: 14px;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--cyan);
}

.header-cta,
.primary-btn,
.ghost-btn,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.header-cta {
  padding: 0 18px;
  color: #04101d;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 30px rgba(24, 183, 255, 0.26);
}

.section-band,
.section-block {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 92px);
  padding: 76px 0 56px;
}

.hero::before {
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 50%;
  width: 100vw;
  z-index: -1;
  content: "";
  background:
    linear-gradient(110deg, rgba(7, 40, 96, 0.74), rgba(15, 115, 217, 0.18)),
    radial-gradient(circle at 68% 48%, rgba(111, 231, 255, 0.18), transparent 32%);
  border-radius: 8px;
  box-shadow: inset 0 0 120px rgba(42, 171, 255, 0.08);
  transform: translateX(-50%);
}

.eyebrow,
.section-heading span,
.contact-copy > span,
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0;
}

.eyebrow span {
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  box-shadow: 0 0 18px rgba(111, 231, 255, 0.7);
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 20px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 0;
  color: #c5d5e7;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.primary-btn,
.ghost-btn {
  min-width: 132px;
  padding: 0 24px;
  font-weight: 700;
}

.primary-btn {
  color: #03111e;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 52%, #2d75ff);
  box-shadow: 0 0 38px rgba(24, 183, 255, 0.42);
}

.ghost-btn {
  border: 1px solid rgba(111, 231, 255, 0.42);
  background: rgba(11, 33, 72, 0.5);
}

.header-cta:hover,
.primary-btn:hover,
.ghost-btn:hover,
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(111, 231, 255, 0.36);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(111, 231, 255, 0.18);
  border-radius: 8px;
  color: #d5e7f8;
  font-size: 13px;
  background: rgba(11, 33, 72, 0.42);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  perspective: 1200px;
}

.orbit {
  position: absolute;
  inset: 11% 4%;
  border: 1px solid rgba(111, 231, 255, 0.22);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(-18deg);
  animation: rotateOrbit 18s linear infinite;
}

.orbit-two {
  inset: 23% 14%;
  border-color: rgba(255, 138, 18, 0.18);
  animation-duration: 24s;
  animation-direction: reverse;
}

.dashboard-holo {
  position: absolute;
  inset: 70px 0 62px 20px;
  padding: 20px;
  border: 1px solid rgba(111, 231, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(18, 48, 92, 0.82), rgba(4, 12, 28, 0.92)),
    linear-gradient(90deg, transparent, rgba(111, 231, 255, 0.12), transparent);
  box-shadow:
    var(--shadow),
    inset 0 0 42px rgba(24, 183, 255, 0.14);
  transform: rotateY(-13deg) rotateX(8deg);
  animation: holoFloat 5s ease-in-out infinite;
  backdrop-filter: blur(22px);
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(111, 231, 255, 0.2);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(4, 17, 42, 0.72);
}

.screen-top i {
  width: 84px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  box-shadow: 0 0 22px rgba(24, 183, 255, 0.42);
}

.screen-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 0.86fr;
  gap: 14px;
  height: calc(100% - 58px);
  margin-top: 16px;
}

.campus-map,
.video-wall,
.topology,
.chart-panel,
.mini-map,
.network-lines,
.admin-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(111, 231, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(4, 17, 42, 0.66);
}

.campus-map::before,
.mini-map::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(111, 231, 255, 0.24);
  transform: skewX(-12deg) rotate(-8deg);
  background-image:
    linear-gradient(90deg, rgba(111, 231, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(111, 231, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.building,
.camera-node,
.server,
.node {
  position: absolute;
  display: block;
}

.building {
  width: 42px;
  height: 64px;
  background: linear-gradient(180deg, rgba(111, 231, 255, 0.9), rgba(9, 83, 170, 0.45));
  clip-path: polygon(50% 0, 100% 20%, 100% 100%, 0 100%, 0 20%);
  box-shadow: 0 0 24px rgba(111, 231, 255, 0.28);
}

.b1 { left: 24%; top: 33%; }
.b2 { left: 48%; top: 22%; height: 84px; }
.b3 { left: 64%; top: 50%; }

.camera-node,
.node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 138, 18, 0.85);
}

.n1 { left: 18%; top: 22%; }
.n2 { left: 78%; top: 30%; }
.n3 { left: 42%; top: 74%; }

.video-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
}

.video-wall span {
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(111, 231, 255, 0.24), rgba(255, 138, 18, 0.12)),
    repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(255, 255, 255, 0.05) 9px);
  animation: scan 2.8s linear infinite;
}

.server {
  left: calc(50% - 22px);
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(111, 231, 255, 0.7);
  border-radius: 8px;
  background: rgba(24, 183, 255, 0.28);
  box-shadow: 0 0 28px rgba(24, 183, 255, 0.45);
}

.topology::before,
.topology::after {
  position: absolute;
  inset: 50% 18%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.topology::after {
  transform: rotate(62deg);
}

.node-a { left: 22%; top: 25%; }
.node-b { left: 72%; top: 27%; }
.node-c { left: 46%; top: 75%; }

.chart-panel {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
}

.chart-panel b {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--deep));
  box-shadow: 0 0 18px rgba(24, 183, 255, 0.34);
}

.floating-card {
  position: absolute;
  z-index: 3;
  padding: 15px 18px;
  border: 1px solid rgba(111, 231, 255, 0.28);
  border-radius: 8px;
  background: rgba(7, 23, 52, 0.74);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.floating-card strong {
  display: block;
  color: var(--cyan);
  font-size: 22px;
}

.floating-card span {
  color: var(--muted);
  font-size: 13px;
}

.signal-card {
  right: 0;
  top: 118px;
  animation: cardFloat 5.6s ease-in-out infinite;
}

.stream-card {
  left: 0;
  bottom: 112px;
  animation: cardFloat 4.8s ease-in-out infinite reverse;
}

.section-block {
  padding: 86px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 12px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

.section-heading p,
.contact-copy p,
.solution-panel p,
.glass-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.product-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glass-card,
.solution-panel,
.contact-form,
.stats {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(13, 35, 74, 0.72), rgba(5, 13, 30, 0.7));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.glass-card {
  min-height: 236px;
  padding: 26px;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.glass-card:hover,
.solution-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(111, 231, 255, 0.68);
  box-shadow:
    0 0 34px rgba(24, 183, 255, 0.2),
    0 30px 90px rgba(0, 0, 0, 0.28);
}

.icon-shape {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border: 1px solid rgba(111, 231, 255, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(111, 231, 255, 0.32), rgba(45, 117, 255, 0.14)),
    radial-gradient(circle at 70% 28%, rgba(255, 138, 18, 0.62), transparent 18%);
  box-shadow: 0 0 24px rgba(24, 183, 255, 0.28);
}

.stream-icon { border-radius: 50%; }
.monitor-icon { clip-path: polygon(10% 8%, 90% 8%, 90% 70%, 58% 70%, 58% 92%, 42% 92%, 42% 70%, 10% 70%); }
.code-icon { transform: skewX(-10deg); }

.glass-card h3,
.solution-panel h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.solution-band {
  margin-inline: calc((100vw - min(1200px, calc(100vw - 40px))) / -2);
  padding-inline: calc((100vw - min(1200px, calc(100vw - 40px))) / 2);
  background: linear-gradient(180deg, rgba(4, 14, 32, 0.12), rgba(9, 37, 82, 0.24), rgba(4, 14, 32, 0.12));
}

.solution-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.solution-panel {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 20px;
  min-height: 248px;
  padding: 28px;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.solution-panel.wide {
  grid-column: 1 / -1;
  grid-template-columns: 1fr 420px;
}

.mini-map span {
  position: absolute;
  width: 28px;
  height: 42px;
  background: linear-gradient(180deg, var(--cyan), rgba(45, 117, 255, 0.3));
  box-shadow: 0 0 18px rgba(24, 183, 255, 0.35);
}

.mini-map span:nth-child(1) { left: 24%; top: 35%; }
.mini-map span:nth-child(2) { left: 48%; top: 18%; height: 62px; }
.mini-map span:nth-child(3) { left: 62%; top: 54%; }
.mini-map span:nth-child(4) { left: 32%; top: 68%; height: 24px; }

.network-lines i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(111, 231, 255, 0.85);
}

.network-lines::before,
.network-lines::after {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.network-lines::after {
  transform: rotate(52deg);
}

.network-lines i:nth-child(1) { left: 17%; top: 30%; }
.network-lines i:nth-child(2) { left: 70%; top: 28%; }
.network-lines i:nth-child(3) { left: 50%; top: 50%; background: var(--orange); }
.network-lines i:nth-child(4) { left: 28%; top: 72%; }
.network-lines i:nth-child(5) { left: 78%; top: 70%; }

.admin-preview {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 1fr;
  gap: 12px;
  padding: 14px;
}

.admin-preview span {
  grid-row: 1 / 3;
  border-radius: 8px;
  background: rgba(111, 231, 255, 0.12);
}

.admin-preview b {
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(111, 231, 255, 0.28), rgba(45, 117, 255, 0.08));
}

.admin-preview::after {
  grid-column: 2 / 5;
  min-height: 82px;
  content: "";
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 20%, rgba(111, 231, 255, 0.42) 21%, transparent 22%),
    linear-gradient(45deg, transparent 45%, rgba(255, 138, 18, 0.4) 46%, transparent 47%),
    rgba(255, 255, 255, 0.04);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 34px;
}

.stat-item {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  border-right: 1px solid rgba(111, 231, 255, 0.16);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item strong,
.stat-item em {
  color: var(--cyan);
  font-size: clamp(36px, 5vw, 58px);
  font-style: normal;
  font-weight: 800;
  text-shadow: 0 0 24px rgba(111, 231, 255, 0.42);
}

.stat-item span {
  width: 100%;
  margin-top: 8px;
  color: var(--muted);
  text-align: center;
}

.case-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 138, 18, 0.28);
  border-radius: 8px;
  color: #ffd3a0;
  background: rgba(255, 138, 18, 0.08);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-points b {
  padding: 14px 16px;
  border-left: 2px solid var(--cyan);
  border-radius: 8px;
  background: rgba(111, 231, 255, 0.08);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dcecff;
}

.contact-form label:nth-child(4) {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(111, 231, 255, 0.24);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  outline: none;
  background: rgba(4, 17, 42, 0.72);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(111, 231, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(111, 231, 255, 0.12);
}

.contact-form button {
  grid-column: 1 / -1;
  border: 0;
  color: #03111e;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--blue), #2d75ff);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0 44px;
  color: var(--muted);
  border-top: 1px solid rgba(111, 231, 255, 0.16);
}

@keyframes holoFloat {
  0%, 100% { transform: translateY(0) rotateY(-13deg) rotateX(8deg); }
  50% { transform: translateY(-14px) rotateY(-10deg) rotateX(7deg); }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes rotateOrbit {
  to { transform: rotateX(64deg) rotateZ(342deg); }
}

@keyframes scan {
  0% { filter: brightness(0.8); }
  50% { filter: brightness(1.35); }
  100% { filter: brightness(0.8); }
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 28px, 760px);
  }

  .site-header {
    position: sticky;
    top: 0;
    flex-wrap: wrap;
    height: auto;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 4px;
  }

  .hero,
  .contact-section,
  .solution-panel,
  .solution-panel.wide {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 18px;
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .dashboard-holo {
    inset: 56px 10px 54px 10px;
  }

  .product-grid,
  .case-grid,
  .stats,
  .solution-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-panel.wide {
    grid-column: auto;
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 480px);
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .nav-links {
    gap: 18px;
    font-size: 13px;
  }

  .hero::before {
    top: 20px;
    bottom: 20px;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .hero-visual {
    min-height: 420px;
  }

  .screen-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1.1fr 0.8fr 0.8fr 0.7fr;
  }

  .dashboard-holo {
    inset: 42px 0;
    padding: 14px;
    transform: none;
    animation: cardFloat 5s ease-in-out infinite;
  }

  .signal-card {
    top: 30px;
    right: 6px;
  }

  .stream-card {
    bottom: 28px;
    left: 8px;
  }

  .product-grid,
  .case-grid,
  .stats,
  .solution-layout,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .stat-item,
  .stat-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(111, 231, 255, 0.16);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .contact-form label:nth-child(4) {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Captcha */
.captcha-label {
  grid-column: auto;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-row input[type="text"] {
  flex: 1;
  max-width: 160px;
}

#captchaImg {
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid rgba(111, 231, 255, 0.2);
  transition: opacity 0.2s ease;
}

#captchaImg:hover {
  opacity: 0.85;
}

.captcha-refresh {
  color: #6fe7ff;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.captcha-refresh:hover {
  color: #12b5ff;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .captcha-row {
    flex-wrap: wrap;
  }

  .captcha-row input[type="text"] {
    max-width: 100%;
  }
}
