:root {
  --bg: #07110d;
  --bg-soft: #0b1813;
  --bg-card: rgba(10, 24, 18, 0.74);
  --line: rgba(57, 255, 164, 0.18);
  --line-strong: rgba(57, 255, 164, 0.42);
  --primary: #39ffa4;
  --primary-strong: #16d886;
  --text: #eafff5;
  --text-soft: #c5f5df;
  --text-muted: #89b39f;
  --shadow: 0 0 30px rgba(57, 255, 164, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(57, 255, 164, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(57, 255, 164, 0.05), transparent 25%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

ul {
  padding-left: 20px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.page-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 164, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 164, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -3;
}

.glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: -2;
}

.glow-1 {
  width: 260px;
  height: 260px;
  background: rgba(57, 255, 164, 0.08);
  top: 80px;
  right: 80px;
}

.glow-2 {
  width: 220px;
  height: 220px;
  background: rgba(57, 255, 164, 0.05);
  bottom: 100px;
  left: 40px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(4, 12, 9, 0.72);
  border-bottom: 1px solid var(--line);
}

.topbar-content {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  letter-spacing: 0.8px;
  font-size: 1.05rem;
}

.logo-bracket {
  color: var(--primary);
}

.logo-text {
  margin: 0 6px;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: var(--text-soft);
  position: relative;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--primary);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: bold;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #8effd2);
  color: #04130b;
  box-shadow: 0 10px 30px rgba(57, 255, 164, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--primary);
  background: rgba(57, 255, 164, 0.03);
}

.btn-outline:hover,
.btn-ghost:hover {
  background: rgba(57, 255, 164, 0.08);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.hero {
  padding: 84px 0 60px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: bold;
  letter-spacing: 1.8px;
  color: var(--primary);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero-subtitle {
  color: var(--text-soft);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.hero-description {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(57, 255, 164, 0.03);
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* SMART GLASS HERO */
.smartglass-view {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(57, 255, 164, 0.03), rgba(57, 255, 164, 0.015)),
    linear-gradient(180deg, #08120e 0%, #10251b 100%);
  box-shadow: var(--shadow);
}

.glass-label {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 5;
  font-size: 0.9rem;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(6, 18, 13, 0.75);
}

.machine-scene {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(57,255,164,0.02), rgba(57,255,164,0.01)),
    linear-gradient(180deg, #122118 0%, #0d1712 48%, #09110d 100%);
}

.machine-base {
  position: absolute;
  left: 8%;
  bottom: 58px;
  width: 70%;
  height: 14px;
  background: linear-gradient(90deg, rgba(57,255,164,0.15), rgba(57,255,164,0.45), rgba(57,255,164,0.12));
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(57,255,164,0.15);
}

.machine-column {
  position: absolute;
  left: 28%;
  bottom: 72px;
  width: 42px;
  height: 220px;
  background: linear-gradient(180deg, #7df6c5, #256b4d);
  border-radius: 12px;
  opacity: 0.9;
}

.machine-arm {
  position: absolute;
  left: 32%;
  bottom: 248px;
  width: 190px;
  height: 22px;
  background: linear-gradient(90deg, #80ffd2, #2f8f68);
  border-radius: 20px;
  transform: rotate(-10deg);
  transform-origin: left center;
}

.machine-drill {
  position: absolute;
  left: 62%;
  bottom: 170px;
  width: 26px;
  height: 120px;
  background: linear-gradient(180deg, #a0ffe0, #2f8f68);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(57,255,164,0.18);
}

.machine-console {
  position: absolute;
  left: 18%;
  bottom: 118px;
  width: 90px;
  height: 60px;
  border: 1px solid rgba(57,255,164,0.45);
  border-radius: 14px;
  background: rgba(57,255,164,0.08);
}

.machine-pipe {
  position: absolute;
  border: 2px solid rgba(57,255,164,0.28);
  border-radius: 30px;
}

.pipe-1 {
  width: 120px;
  height: 60px;
  left: 44%;
  bottom: 100px;
  border-top-color: transparent;
  border-right-color: transparent;
}

.pipe-2 {
  width: 110px;
  height: 50px;
  left: 14%;
  bottom: 160px;
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.hud-overlay {
  position: absolute;
  inset: 0;
  padding: 22px;
  z-index: 3;
}

.hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary);
  font-size: 0.92rem;
  margin-top: 42px;
}

.signal {
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(57,255,164,0.05);
}

.target-box {
  position: absolute;
  inset: 110px 70px 120px 70px;
  border: 1px solid rgba(57,255,164,0.26);
}

.target-box::before,
.target-box::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  border: 2px solid var(--primary);
}

.target-box::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
}

.target-box::after {
  right: -2px;
  bottom: -2px;
  border-left: 0;
  border-top: 0;
}

.scan-line {
  position: absolute;
  left: 70px;
  right: 70px;
  top: 170px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 16px rgba(57,255,164,0.7);
  animation: scanMove 3s linear infinite;
}

@keyframes scanMove {
  0% { top: 150px; opacity: 0.2; }
  50% { top: 320px; opacity: 1; }
  100% { top: 150px; opacity: 0.2; }
}

.floating-data {
  position: absolute;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(4, 18, 12, 0.75);
  backdrop-filter: blur(10px);
}

.floating-data small {
  display: block;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.floating-data strong {
  color: var(--text);
}

.data-left {
  left: 24px;
  top: 150px;
}

.data-right {
  right: 24px;
  top: 240px;
}

.metric-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 92px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-box {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(57,255,164,0.04);
}

.metric-box small {
  display: block;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.metric-box strong {
  color: var(--primary);
  font-size: 1.4rem;
}

.hud-actions {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hud-actions button {
  padding: 11px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.hud-actions button:hover {
  background: rgba(57,255,164,0.08);
  color: var(--primary);
}

/* SECTIONS */
.section {
  padding: 90px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(57,255,164,0.02), rgba(57,255,164,0.01));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-architecture {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(57,255,164,0.015), rgba(57,255,164,0.03));
}

.section-mockup {
  background: linear-gradient(180deg, rgba(57,255,164,0.02), rgba(57,255,164,0.01));
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

.section-heading.left {
  text-align: left;
  margin: 0 0 30px;
}

.section-heading h2 {
  font-size: clamp(1.95rem, 3vw, 3rem);
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--text-muted);
}

.steps-grid,
.features-grid,
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.steps-grid.four-cols,
.features-grid.four-cols {
  grid-template-columns: repeat(4, 1fr);
}

.step-card,
.feature-card,
.demo-card,
.backend-panel,
.architecture-panel,
.arch-card,
.flow-box,
.apk-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 26px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.step-card:hover,
.feature-card:hover,
.demo-card:hover,
.backend-panel:hover,
.architecture-panel:hover,
.arch-card:hover,
.flow-box:hover,
.data-box:hover,
.apk-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.step-number {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.step-card h3,
.feature-card h3,
.demo-card h3,
.backend-panel h3,
.architecture-panel h3,
.arch-card h3,
.apk-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.step-card p,
.feature-card p,
.demo-card p,
.backend-panel li,
.architecture-panel li,
.arch-card p,
.flow-box p,
.apk-card p {
  color: var(--text-muted);
}

.feature-icon,
.arch-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(57,255,164,0.05);
  color: var(--primary);
  margin-bottom: 18px;
  font-size: 1.3rem;
}

/* DEMO */
.demo-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.demo-card-header span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--primary);
  font-weight: bold;
}

.glass-mini {
  position: relative;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #101c16 0%, #09110d 100%);
}

.mini-machine {
  position: absolute;
  inset: 0;
}

.mini-column {
  position: absolute;
  left: 42%;
  bottom: 44px;
  width: 28px;
  height: 110px;
  border-radius: 10px;
  background: linear-gradient(180deg, #98ffe0, #1f7751);
}

.mini-arm {
  position: absolute;
  left: 44%;
  bottom: 142px;
  width: 100px;
  height: 16px;
  border-radius: 20px;
  background: linear-gradient(90deg, #98ffe0, #1f7751);
  transform: rotate(-12deg);
  transform-origin: left center;
}

.mini-drill {
  position: absolute;
  left: 68%;
  bottom: 98px;
  width: 18px;
  height: 70px;
  border-radius: 10px;
  background: linear-gradient(180deg, #98ffe0, #1f7751);
}

.mini-hud {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(57,255,164,0.2);
}

.mini-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--primary);
}

.tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

.mini-info {
  position: absolute;
  left: 14px;
  right: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(6,18,13,0.75);
  font-size: 0.9rem;
  color: var(--text-soft);
}

.mini-info-top {
  top: 14px;
}

.mini-info-bottom {
  bottom: 14px;
}

/* AUTH SCREEN */
.auth-screen {
  border: 1px solid var(--line);
  background: rgba(6, 18, 13, 0.85);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 16px;
  min-height: 240px;
}

.auth-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  margin-bottom: 20px;
}

.auth-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.auth-user {
  text-align: center;
  margin-bottom: 18px;
}

.avatar-ring {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 2px solid var(--primary);
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(57,255,164,0.18);
}

.avatar-core {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary), #1f8a60);
}

.auth-user h4 {
  margin-bottom: 4px;
}

.auth-user p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.auth-status-list {
  display: grid;
  gap: 10px;
}

.auth-item {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  border: 1px solid var(--line);
}

.auth-item.success {
  color: #b8ffd7;
  background: rgba(57,255,164,0.06);
}

.auth-item.pending {
  color: #fff2b3;
  background: rgba(255, 214, 10, 0.06);
  border-color: rgba(255, 214, 10, 0.18);
}

/* BACKEND SCREEN */
.backend-screen {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #06100c;
  padding: 18px;
  margin-bottom: 16px;
  min-height: 240px;
  font-family: "Courier New", monospace;
}

.backend-line {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(57,255,164,0.12);
  font-size: 0.95rem;
}

.backend-line:last-child {
  border-bottom: 0;
}

.backend-line.ok { color: #aef6d0; }
.backend-line.token { color: #8ce6ff; }
.backend-line.anon { color: #ffe18c; }
.backend-line.ready { color: var(--primary); }

/* ARCHITECTURE */
.architecture-grid {
  display: grid;
  grid-template-columns: repeat(7, auto);
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.arch-card {
  min-width: 210px;
  max-width: 230px;
  text-align: center;
}

.arch-connector {
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: bold;
}

.architecture-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* MOCKUPS */
.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.phone-mockup {
  width: 260px;
  max-width: 100%;
  height: 500px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 34px;
  border: 1px solid var(--line-strong);
  background: #09130e;
  box-shadow: var(--shadow);
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #020806;
  margin: 0 auto 12px;
}

.phone-screen {
  height: calc(100% - 34px);
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(180deg, #102118 0%, #09110d 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-header {
  color: var(--primary);
  font-weight: bold;
  text-align: center;
  margin-bottom: 6px;
}

.app-card {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(57,255,164,0.04);
}

.app-card small {
  display: block;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.app-card strong {
  color: var(--text);
}

.app-btn {
  margin-top: auto;
  width: 100%;
  min-height: 72px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(57,255,164,0.1);
  color: var(--primary);
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
}

.glasses-mockup {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 500px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: rgba(10, 24, 18, 0.74);
}

.glasses-frame {
  position: absolute;
  top: 55px;
  width: 120px;
  height: 82px;
  border: 4px solid var(--primary);
  border-radius: 20px;
  background: rgba(57,255,164,0.05);
  box-shadow: 0 0 20px rgba(57,255,164,0.12);
}

.left-lens {
  left: 20px;
}

.right-lens {
  right: 20px;
}

.glasses-bridge {
  position: absolute;
  top: 90px;
  left: 140px;
  width: 40px;
  height: 10px;
  background: var(--primary);
  border-radius: 10px;
}

.glasses-arm {
  position: absolute;
  width: 90px;
  height: 8px;
  background: var(--primary);
  top: 78px;
  border-radius: 10px;
}

.arm-left {
  left: -46px;
  transform: rotate(-15deg);
}

.arm-right {
  right: -46px;
  transform: rotate(15deg);
}

.lens-hud {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(57,255,164,0.3);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 0.95rem;
}

.apk-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--primary);
  font-weight: bold;
}

.apk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apk-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(57,255,164,0.04);
  color: var(--text-soft);
}

/* FLOW */
.flow-diagram {
  display: grid;
  grid-template-columns: repeat(9, auto);
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.flow-box {
  min-width: 180px;
  max-width: 210px;
  text-align: center;
}

.flow-title {
  display: block;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 8px;
}

.flow-arrow {
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: bold;
}

.backend-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* EXAMPLE */
.example-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.example-list {
  display: grid;
  gap: 16px;
}

.example-item {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(57,255,164,0.03);
}

.example-item span {
  display: block;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.example-panel {
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 16, 12, 0.86);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(57,255,164,0.03);
}

.panel-label {
  color: var(--text-soft);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

.panel-status {
  color: var(--primary);
  font-weight: bold;
}

.panel-body {
  padding: 24px;
}

.panel-equipment small {
  color: var(--text-muted);
}

.panel-equipment h3 {
  font-size: 2rem;
  margin: 4px 0 20px;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.data-box {
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(57,255,164,0.03);
  transition: var(--transition);
}

.data-box span {
  display: block;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.data-box strong {
  color: var(--primary);
  font-size: 2rem;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.action-btn {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 999px;
  transition: var(--transition);
}

.action-btn:hover,
.action-btn.active {
  background: rgba(57,255,164,0.1);
  color: var(--primary);
}

.panel-result {
  padding: 18px;
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  background: rgba(57,255,164,0.04);
  color: var(--text-soft);
}

/* CTA */
.cta-section {
  padding-top: 70px;
}

.cta-card {
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 48px 24px;
  background:
    linear-gradient(180deg, rgba(57,255,164,0.06), rgba(57,255,164,0.02)),
    rgba(8, 18, 14, 0.8);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 14px;
}

.cta-card p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 24px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* DEMO AUTO HIGHLIGHT */
.demo-card,
.arch-card,
.phone-mockup,
.glasses-mockup,

.apk-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.9;
}

.demo-highlight {
  animation: pulseDemo 2s ease-in-out;
}

@keyframes pulseDemo {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(57,255,164,0);
    border-color: var(--line);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(57,255,164,0.25);
    border-color: var(--line-strong);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(57,255,164,0);
    border-color: var(--line);
  }
}

/* RESPONSIVO */
@media (max-width: 1200px) {
  .steps-grid.four-cols,
  .features-grid.four-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .hero-content,
  .example-layout,
  .backend-panels,
  .architecture-details,
  .mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

  .demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .architecture-grid,
  .flow-diagram {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .arch-connector,
  .flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 700px) {
  .demo-grid,
  .steps-grid.four-cols,
  .features-grid.four-cols,
  .data-grid,
  .metric-panel {
    grid-template-columns: 1fr;
  }

  .smartglass-view {
    min-height: 650px;
  }

  .hud-actions,
  .panel-actions,
  .hero-actions {
    flex-direction: column;
  }

  .btn,
  .hud-actions button,
  .action-btn {
    width: 100%;
  }

  .hero-badges {
    flex-direction: column;
  }

  .floating-data {
    position: static;
    margin-top: 12px;
  }

  .hud-overlay {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .target-box,
  .scan-line {
    display: none;
  }

  .metric-panel,
  .hud-actions {
    position: static;
  }
}

.footer-custom {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.footer-custom p {
  margin: 0;
}

.glasses-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center;
}


/* overlay estilo HUD */
.image-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--primary);
  border: 1px solid var(--line);
  background: rgba(6, 18, 13, 0.7);
  backdrop-filter: blur(6px);
}


.bg-image {
  height: 300px;
  border-radius: 20px;
  background: url("img/oculos-hud.png") center/cover no-repeat;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.glasses-mockup img {
  filter: brightness(0.8) contrast(1.1);
  transition: 0.5s;
}

.glasses-mockup:hover img {
  filter: brightness(1) contrast(1.2);
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.phone-mockup {
  width: 100%;
  max-width: 320px;
  min-height: 500px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 34px;
  border: 1px solid var(--line-strong);
  background: #09130e;
  box-shadow: var(--shadow);
  position: relative;
  height: 100%;
}

.glasses-mockup {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 180px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: rgba(10, 24, 18, 0.74);
  height: 100%;
}

.glasses-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apk-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.app-btn {
  margin-top: auto;
  width: 100%;
  min-height: 72px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(57,255,164,0.1);
  color: var(--primary);
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}