:root {
  --bg: #f0fdfa;
  --bg2: #ffffff;
  --bg3: #ecfdf5;
  --primary: #0891b2;
  --primary-light: #e0f7fa;
  --primary-dark: #0e7490;
  --teal: #14b8a6;
  --text: #0f172a;
  --text-mid: #334155;
  --text-muted: #64748b;
  --border: #cbd5e1;
  --shadow: 0 4px 24px rgba(8, 145, 178, 0.1);
  --shadow-lg: 0 12px 48px rgba(8, 145, 178, 0.15);
  --card-bg: #ffffff;
  --warm: #f0f9ff;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei',
    sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 600;
  height: 68px;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  transition:
    box-shadow 0.3s,
    background 0.3s;
}
.main-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.main-nav.menu-open {
  background: white;
  backdrop-filter: none;
  box-shadow: none;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 38px;
  object-fit: contain;
}
.nav-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1px;
}
.nav-logo-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 1px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color 0.25s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a.active {
  color: var(--primary);
}
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-cta {
  padding: 9px 22px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s;
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.3);
}

#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #e0f7fa 0%, #ecfdf5 40%, #f0fdfa 100%);
  display: flex;
  align-items: center;
  padding: 100px 6% 60px;
  position: relative;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.12), transparent);
  top: -100px;
  right: -100px;
}
.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.1), transparent);
  bottom: -80px;
  left: -80px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid rgba(8, 145, 178, 0.3);
  color: var(--primary-dark);
  font-size: 12px;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.hero-title {
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: fadeUp 0.9s ease 0.15s both;
}
.hero-title .hl {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 480px;
  animation: fadeUp 0.9s ease 0.3s both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s ease 0.45s both;
}
.btn-primary {
  padding: 13px 32px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(8, 145, 178, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.25);
}
.btn-outline {
  padding: 13px 32px;
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}
.btn-outline:active {
  transform: translateY(0);
}
.nav-cta:active {
  background: var(--primary-dark);
  transform: translateY(0);
}
.btn-white-outline:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.1);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.btn-primary:focus-visible {
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.4);
}
.btn-outline:focus-visible {
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.3);
}
.nav-cta:focus-visible {
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.4);
}
.btn-white:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}
.btn-white-outline:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeRight 1s ease 0.3s both;
}
.hero-device-wrap {
  position: relative;
  width: 360px;
  filter: drop-shadow(0 30px 60px rgba(8, 145, 178, 0.25));
  animation: floatY 4s ease-in-out infinite;
}
.hero-device-wrap img {
  width: 100%;
  display: block;
}
.hero-float-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text);
  animation: floatY 3s ease-in-out infinite;
}
.hero-float-1 {
  top: 10%;
  left: 10px;
  min-width: 130px;
  animation-delay: 0s;
}
.hero-float-2 {
  bottom: 15%;
  right: 10px;
  min-width: 130px;
  animation-delay: 1.5s;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.float-label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.float-val {
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  animation: fadeUp 0.9s ease 0.6s both;
}
.stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
}
.stat-unit {
  font-size: 14px;
  color: var(--text-muted);
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  height: 50px;
  align-self: center;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

section {
  padding: 100px 6%;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-tag {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--primary);
  flex-shrink: 0;
}
.section-title {
  font-weight: 900;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
  max-width: 540px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

#device {
  background: var(--bg2);
}
.device-header {
  text-align: center;
  margin-bottom: 70px;
}
.device-header .section-tag {
  justify-content: center;
}
.device-header .section-desc {
  margin: 0 auto;
  text-align: center;
  max-width: 580px;
}
.device-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}
.device-card {
  background: var(--warm);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.35s ease;
}
.device-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(8, 145, 178, 0.15);
  border-color: var(--primary);
}
.device-card-main {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(8, 145, 178, 0.2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-10px);
  transition: all 0.35s ease;
}
.device-card-main:hover {
  transform: translateY(-18px);
  box-shadow: 0 30px 80px rgba(8, 145, 178, 0.2);
}
.device-img-wrap {
  background: #e0f2f1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.device-img-wrap-main {
  min-height: 360px;
  background: #e0f7fa;
}
.device-img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
}
.device-img-main {
  max-height: 320px;
}
.device-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 20px;
}
.device-body {
  padding: 24px 24px 28px;
}
.device-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.device-name-main {
  font-size: 22px;
}
.device-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 18px;
}
.device-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.device-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
}
.device-feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  flex-shrink: 0;
}

#auth {
  background: linear-gradient(135deg, var(--primary-light) 0%, #ecfdf5 100%);
}
.auth-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.auth-visual {
  position: relative;
}
.auth-visual img {
  width: 100%;
  max-width: 380px;
  display: block;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(8, 145, 178, 0.2);
}
.auth-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-method {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.auth-method:hover {
  border-color: var(--primary);
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.auth-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.3s,
    background 0.3s;
}
.auth-method:hover .auth-icon {
  background: var(--primary);
  transform: scale(1.1);
}
.auth-method:hover .auth-icon svg {
  stroke: #fff;
}
.auth-icon svg {
  width: 22px;
  height: 22px;
  transition: stroke 0.3s;
}
.auth-method-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 2px;
}
.auth-method-desc {
  font-size: 12px;
  color: var(--text-muted);
}

#wiring {
  background: var(--bg2);
}
.wiring-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.wiring-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}
.wiring-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: var(--warm);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.wiring-point:hover {
  border-color: rgba(8, 145, 178, 0.3);
  box-shadow: var(--shadow);
}
.wiring-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  min-width: 32px;
  transition: opacity 0.3s;
}
.wiring-point:hover .wiring-num {
  opacity: 1;
}
.wiring-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}
.wiring-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}
.wiring-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}
.wiring-img-wrap img {
  width: 100%;
  display: block;
}
.wiring-img-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-mid);
  border-left: 3px solid var(--primary);
}

#software {
  background: var(--warm);
}
.software-header {
  text-align: center;
  margin-bottom: 60px;
}
.software-header .section-tag {
  justify-content: center;
}
.software-header .section-desc {
  margin: 0 auto;
  text-align: center;
}
.software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.software-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.software-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  opacity: 0;
  transition: opacity 0.35s;
}
.software-card:hover::before {
  opacity: 1;
}
.software-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(8, 145, 178, 0.25);
}
.sw-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition:
    transform 0.3s,
    background 0.3s;
}
.software-card:hover .sw-icon {
  background: var(--primary);
  transform: scale(1.1);
}
.sw-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.3s;
}
.software-card:hover .sw-icon svg {
  stroke: #fff;
}
.sw-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.sw-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}
.sw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.sw-tag {
  padding: 3px 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 11px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

#why {
  background: var(--bg2);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.why-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--warm);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.why-card:hover .why-num {
  transform: scale(1.05);
}
.why-num {
  font-size: 44px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  transition: transform 0.3s;
}
.why-num-unit {
  font-size: 18px;
  color: var(--text-muted);
}
.why-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin: 12px 0 8px;
}
.why-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

#cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  text-align: center;
  padding: 90px 6%;
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.cta-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.8;
}
.btn-white {
  padding: 14px 36px;
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s;
  display: inline-block;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.btn-white:active {
  transform: translateY(0);
}
.btn-white-outline {
  padding: 14px 36px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

#contact {
  background: var(--bg);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
}
.contact-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
}
.contact-val {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.contact-val a {
  text-decoration: none;
  color: var(--primary);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: #fff;
}
.contact-form textarea {
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.65);
  padding: 50px 6% 28px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-logo img {
  height: 36px;
  object-fit: contain;
}
.footer-brand {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
}
.footer-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}
.footer-links-title {
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links-col a:hover {
  color: #fff;
}
.footer-copy {
  max-width: 1200px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 601;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 550;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 560;
  padding: 80px 32px 40px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.show {
  right: 0;
}
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a:active {
  background: var(--primary-light);
  color: var(--primary);
}
.mobile-menu-cta {
  margin-top: 20px;
  padding: 13px 24px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 8px !important;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
}
.mobile-menu-cta:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
}

.back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.35);
  z-index: 400;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    background 0.2s;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-overlay,
  .mobile-menu {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .device-showcase {
    grid-template-columns: 1fr;
  }
  .device-card-main {
    transform: none;
  }
  .auth-inner,
  .wiring-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .software-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats {
    gap: 24px;
  }
  .footer-inner {
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .software-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 70px 5%;
  }
}

.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;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
