/* ═══════════════════════════════════════════════════════════════════════════
   LUNAR NETWORK — HOME PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.home-body {
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Header / Nav ───────────────────────────────────────────────────────── */
.home-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 2rem;
  transition: background 0.3s, box-shadow 0.3s;
}
.home-header.scrolled {
  background: rgba(5,8,20,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.home-nav {
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.nav-logo svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}
.nav-links a {
  padding: 0.5rem 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem;
}

.btn-login-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-login-nav:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Language Toggle Button (hidden) ────────────────────────────────────── */
.btn-lang-al { display: none; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-content { flex: 1; max-width: 600px; }

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--cyan);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-hero-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-hero-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }
.hero-stat-lbl { font-size: 0.72rem; color: var(--text-muted); }
.hero-stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ── Hero Visual – Lunar Eclipse + Nebula ────────────────────────────────── */
.hero-visual {
  flex: 1;
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Eclipse scene – Blood Moon + Partial Shadow + Nebula ────────────────── */

/* Wrap: centred via negative margins (NOT transform) so JS parallax
   can set transform freely without overwriting the centering */
.eclipse-moon-wrap {
  position: absolute;
  top: 50%; left: 50%;
  margin: -160px 0 0 -160px;
  width: 320px; height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  will-change: transform;
  pointer-events: none;
}

/* Outer atmospheric glow – properly centred */
.eclipse-outer-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 310px; height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(212,85,32,0.22) 0%,
    rgba(124,58,237,0.15) 36%,
    rgba(6,182,212,0.07) 62%,
    transparent 78%
  );
  filter: blur(18px);
  animation: outer-glow-pulse 6s ease-in-out infinite;
}
@keyframes outer-glow-pulse {
  0%, 100% { opacity: 0.78; }
  50%       { opacity: 1;    }
}

/* Scene container */
.eclipse-scene {
  position: relative;
  width: 162px; height: 162px;
  flex-shrink: 0;
  z-index: 1;
}

/* Blood moon base – vibrant red/orange totality */
.moon-sphere {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255,165,85,0.55) 0%, transparent 42%),
    radial-gradient(circle at 68% 72%, rgba(90,12,4,0.55) 0%, transparent 38%),
    radial-gradient(circle,
      #d45520 0%, #9b2210 22%, #6e1208 48%, #3d0904 72%, #1e0402 100%
    );
  box-shadow:
    0 0 55px rgba(212,85,32,0.8),
    0 0 110px rgba(212,85,32,0.45),
    0 0 200px rgba(212,85,32,0.2),
    inset -28px -20px 55px rgba(0,0,0,0.7),
    inset 12px 8px 28px rgba(255,130,50,0.2);
  animation: moon-breathe 5.5s ease-in-out infinite;
}
@keyframes moon-breathe {
  0%, 100% {
    box-shadow: 0 0 55px rgba(212,85,32,0.8), 0 0 110px rgba(212,85,32,0.45),
      0 0 200px rgba(212,85,32,0.2), inset -28px -20px 55px rgba(0,0,0,0.7),
      inset 12px 8px 28px rgba(255,130,50,0.2);
  }
  50% {
    box-shadow: 0 0 80px rgba(212,85,32,1), 0 0 160px rgba(212,85,32,0.62),
      0 0 280px rgba(212,85,32,0.28), inset -28px -20px 55px rgba(0,0,0,0.7),
      inset 12px 8px 28px rgba(255,130,50,0.2);
  }
}

/* Thin bright crescent – penumbra light still hitting one edge */
.moon-umbra-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 84% 44%,
    rgba(220,235,248,0.45) 0%,
    rgba(150,190,220,0.18) 14%,
    transparent 28%
  );
  z-index: 1;
}

/* Earth's umbra – dark circle covering ~70% of moon (interactive via JS) */
.moon-shadow {
  position: absolute;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(2,4,10,0.95) 0%,
    rgba(5,10,20,0.88) 55%,
    rgba(3,6,15,0.65) 72%,
    transparent 100%
  );
  top: 50%; left: 50%;
  transform: translate(-34%, -60%);
  z-index: 2;
  will-change: transform;
}

/* Corona – refracted atmosphere at eclipse edge */
.eclipse-corona {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle,
    transparent 38%,
    rgba(255,90,20,0.24) 50%,
    rgba(200,58,10,0.13) 62%,
    rgba(124,58,237,0.07) 72%,
    transparent 82%
  );
  z-index: 3;
  animation: corona-pulse 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes corona-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.1); }
}

/* Nebula gas clouds */
.neb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.neb-1 {
  width: 340px; height: 250px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.32) 0%, transparent 68%);
  filter: blur(32px);
  top: 50%; left: 50%;
  margin: -125px 0 0 -170px;
}
.neb-2 {
  width: 280px; height: 340px;
  background: radial-gradient(ellipse, rgba(6,182,212,0.25) 0%, transparent 68%);
  filter: blur(28px);
  top: 50%; left: 50%;
  margin: -170px 0 0 -80px;
}
.neb-3 {
  width: 230px; height: 210px;
  background: radial-gradient(ellipse, rgba(255,80,20,0.16) 0%, transparent 68%);
  filter: blur(22px);
  top: 50%; left: 50%;
  margin: -60px 0 0 -50px;
}

/* Orbital rings (enhanced) — explicit top/left so they share the same
   centre point as .eclipse-moon-wrap (which uses top:50%;left:50%) */
.hero-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  animation: spin-slow linear infinite;
}
.hero-ring-1 {
  width: 272px; height: 272px;
  margin: -136px 0 0 -136px;
  border: 1px solid rgba(6,182,212,0.22);
  animation-duration: 18s;
}
.hero-ring-1::before {
  content: '';
  position: absolute;
  width: 7px; height: 7px;
  background: #06b6d4;
  border-radius: 50%;
  box-shadow: 0 0 12px #06b6d4, 0 0 24px rgba(6,182,212,0.6);
  top: -3.5px; left: 50%;
  margin-left: -3.5px;
}
.hero-ring-2 {
  width: 356px; height: 356px;
  margin: -178px 0 0 -178px;
  border: 1px solid rgba(124,58,237,0.16);
  animation-duration: 28s;
  animation-direction: reverse;
}
.hero-ring-2::before {
  content: '';
  position: absolute;
  width: 5px; height: 5px;
  background: #a855f7;
  border-radius: 50%;
  box-shadow: 0 0 10px #a855f7, 0 0 20px rgba(168,85,247,0.6);
  bottom: -2.5px; left: 28%;
}
.hero-ring-3 {
  width: 440px; height: 440px;
  margin: -220px 0 0 -220px;
  border: 1px solid rgba(6,182,212,0.07);
  animation-duration: 42s;
}

@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}
.fc-1 { top: 10%; left: 0; animation-delay: 0s; }
.fc-2 { top: 50%; right: -10%; animation-delay: 1.5s; }
.fc-3 { bottom: 10%; left: 5%; animation-delay: 3s; }

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

.fc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.green-dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.fc-icon { font-size: 1.2rem; }
.fc-label { font-weight: 600; color: var(--text-primary); }
.fc-sub { font-size: 0.7rem; color: var(--text-muted); }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.home-section {
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  padding: 0.3rem 0.875rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}
.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Services Grid ────────────────────────────────────────────────────────── */
.services-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-home-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.2s, border-color 0.2s;
}
.service-home-card:hover { transform: translateY(-4px); }

.shc-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-home-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.service-home-card > p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.shc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.shc-list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.shc-cta {
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.2s;
}
.shc-cta:hover { color: var(--violet); }

/* ── Plans ────────────────────────────────────────────────────────────────── */
.plans-section {
  background: rgba(255,255,255,0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plans-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.plan-card {
  padding: 2rem;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.plan-card:hover { transform: translateY(-4px); }

.plan-featured {
  border-color: rgba(6,182,212,0.4);
  box-shadow: 0 0 40px rgba(6,182,212,0.08);
  transform: scale(1.03);
}
.plan-featured:hover { transform: scale(1.03) translateY(-4px); }

.plan-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.875rem;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-header { margin-bottom: 1.5rem; }
.plan-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.plan-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.plan-price { margin-bottom: 0.5rem; }
.plan-amount { font-size: 2.2rem; font-weight: 800; color: var(--cyan); }
.plan-period { font-size: 0.85rem; color: var(--text-muted); }
.plan-tagline { font-size: 0.82rem; color: var(--text-secondary); }

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.plan-features li { font-size: 0.85rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.5rem; }
.pf-check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.pf-no { opacity: 0.4; }
.pf-no span { color: var(--red); }

.plan-btn {
  display: block;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
}
.plan-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.plan-btn.btn-primary { background: linear-gradient(135deg, var(--cyan), var(--purple)); color: #fff; border: none; }
.plan-btn.btn-outline { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.plan-btn.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── Register section ─────────────────────────────────────────────────────── */
.register-section { background: rgba(255,255,255,0.01); }

.register-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.register-left { padding-top: 1rem; }

.register-perks {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.perk {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.perk-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.perk strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
.perk p { font-size: 0.8rem; color: var(--text-secondary); margin: 0; }

.register-card { padding: 2rem; }
.register-card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.5rem; }

.reg-error-box {
  padding: 0.75rem 1rem;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.reg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.reg-group { margin-bottom: 1rem; }
.reg-label { display: block; font-size: 0.78rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 0.4rem; }
.reg-input {
  width: 100%;
  padding: 0.65rem 0.875rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.reg-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.12);
}
.reg-input::placeholder { color: var(--text-muted); }
select.reg-input {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.875rem center;
  color: var(--text-primary);
}
select.reg-input option {
  background: #0f1629;
  color: var(--text-primary);
}

/* Services checkboxes */
.services-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.svc-check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.svc-check-item:hover { border-color: var(--cyan); background: rgba(6,182,212,0.05); }
.svc-check-item input[type="checkbox"] { accent-color: var(--cyan); cursor: pointer; }
.svc-check-item:has(input:checked) { border-color: rgba(6,182,212,0.4); background: rgba(6,182,212,0.06); color: var(--text-primary); }

/* Plan radio */
.plan-radio-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.625rem; }
.plan-radio-item {
  display: block;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.5rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255,255,255,0.03);
}
.plan-radio-item input[type="radio"] { display: none; }
.plan-radio-item:hover { border-color: var(--cyan); background: rgba(6,182,212,0.05); }
.plan-radio-item.selected { border-color: var(--cyan); background: rgba(6,182,212,0.1); }
.plan-radio-content { display: flex; flex-direction: column; gap: 0.2rem; }
.plan-radio-name { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.plan-radio-price { font-size: 0.7rem; color: var(--cyan); }

.reg-submit {
  margin-top: 1.25rem;
  padding: 0.875rem;
  font-size: 0.9rem;
}
.reg-login-link {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.reg-login-link a { color: var(--cyan); text-decoration: none; }
.reg-login-link a:hover { color: var(--violet); }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-section { border-top: 1px solid var(--border); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-items { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-item strong { display: block; font-size: 0.875rem; margin-bottom: 0.2rem; }
.contact-item p { font-size: 0.82rem; color: var(--text-secondary); margin: 0; }

.contact-cta-box { padding: 2rem; text-align: center; }
.contact-cta-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
.contact-cta-box p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.65; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.home-footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-copy {
  flex: 1;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { font-size: 0.78rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }

/* ── RF Sensing Product Section ──────────────────────────────────────────── */
.sensing-product-section {
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.05) 0%, transparent 65%);
}

.nav-sensing-link {
  color: var(--violet) !important;
  font-weight: 600 !important;
}
.nav-sensing-link:hover { color: var(--cyan) !important; }

.sensing-new-tag {
  background: rgba(124,58,237,0.12) !important;
  border-color: rgba(124,58,237,0.3) !important;
  color: #a78bfa !important;
}

/* ── Main split ──────────────────────────────────────────────────────────── */
.sensing-main-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* ── Visualization ───────────────────────────────────────────────────────── */
.sensing-visual-area { position: relative; }

.sensing-viz {
  padding: 1.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
}
.sensing-viz-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.viz-scene {
  display: flex;
  align-items: center;
  gap: 0;
  height: 120px;
  position: relative;
}

/* AP side */
.viz-ap-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  position: relative;
  width: 60px;
}
.viz-ap-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.viz-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(6,182,212,0.25);
  animation: ring-expand 3s ease-out infinite;
}
.r1 { width: 40px;  height: 40px;  animation-delay: 0s; }
.r2 { width: 70px;  height: 70px;  animation-delay: 0.8s; }
.r3 { width: 100px; height: 100px; animation-delay: 1.6s; }
@keyframes ring-expand {
  0%   { transform: scale(0.3); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.viz-ap-box  { font-size: 1.8rem; position: relative; z-index: 1; }
.viz-ap-label { font-size: 0.6rem; color: var(--text-muted); text-align: center; position: relative; z-index: 1; }

/* Signal flow */
.viz-flow {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  padding: 0 0.5rem;
}
.viz-flow-line {
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(6,182,212,0.7), rgba(124,58,237,0.4), transparent);
  animation: flow-right 2s linear infinite;
}
.viz-flow-line.reflect {
  background: linear-gradient(270deg, rgba(124,58,237,0.7), rgba(6,182,212,0.4), transparent);
  animation: flow-left 2s linear infinite;
}
.fl1 { animation-delay: 0s; }
.fl2 { animation-delay: 0.45s; }
.fl3 { animation-delay: 0.9s; }
@keyframes flow-right {
  0%   { opacity: 0; transform: scaleX(0); transform-origin: left; }
  30%  { opacity: 1; }
  80%  { opacity: 0.5; transform: scaleX(1); }
  100% { opacity: 0; }
}
@keyframes flow-left {
  0%   { opacity: 0; transform: scaleX(0); transform-origin: right; }
  30%  { opacity: 0.7; }
  80%  { opacity: 0.4; transform: scaleX(1); }
  100% { opacity: 0; }
}

/* Wall */
.viz-wall-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}
.viz-wall-bar {
  width: 6px;
  height: 90px;
  background: linear-gradient(180deg, rgba(124,58,237,0.6), rgba(6,182,212,0.4));
  border-radius: 3px;
}
.viz-wall-lbl {
  font-size: 0.58rem;
  color: var(--text-muted);
  writing-mode: horizontal-tb;
}

/* Person side */
.viz-person-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  width: 70px;
}
.viz-person-figure { font-size: 2rem; line-height: 1; }
.viz-person-data   { display: flex; flex-direction: column; gap: 0.2rem; }
.viz-data-row      { display: flex; align-items: center; gap: 0.3rem; font-size: 0.65rem; }
.viz-data-icon     { font-size: 0.75rem; }
.viz-data-val      { font-weight: 700; color: var(--text-primary); }
.viz-unit          { font-weight: 400; color: var(--text-muted); font-size: 0.6rem; }

/* Bottom live bar */
.viz-bottom-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.viz-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.viz-live-label { flex: 1; }
.viz-no-cam {
  font-size: 0.68rem;
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}

/* Floating cards */
.sensing-float-cards { display: flex; flex-direction: column; gap: 0.625rem; }
.sfc {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.78rem;
  animation: float 4s ease-in-out infinite;
}
.sfc-1 { animation-delay: 0s; }
.sfc-2 { animation-delay: 1.5s; }
.sfc-3 { animation-delay: 3s; }
.sfc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sfc-dot-green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.sfc-title { font-weight: 600; color: var(--text-primary); margin-bottom: 0.1rem; }
.sfc-sub   { font-size: 0.7rem; color: var(--text-muted); }

/* ── How It Works steps ──────────────────────────────────────────────────── */
.sensing-steps-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.sensing-step {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.sensing-step:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.step-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  width: 2.5rem;
}
.step-body h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-body p  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* ── Benefits ────────────────────────────────────────────────────────────── */
.sensing-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}
.sensing-benefit {
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.sensing-benefit:hover { transform: translateY(-4px); border-color: rgba(124,58,237,0.35); }
.sb-icon { font-size: 2.25rem; margin-bottom: 0.875rem; }
.sensing-benefit h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.sensing-benefit p  { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* ── Use Cases ───────────────────────────────────────────────────────────── */
.sensing-uc-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.75rem;
}
.sensing-uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.sensing-uc {
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.sensing-uc:hover {
  border-color: rgba(124,58,237,0.3);
  background: rgba(124,58,237,0.04);
  transform: translateY(-3px);
}
.uc-emoji { font-size: 1.75rem; margin-bottom: 0.75rem; }
.sensing-uc h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.4rem; }
.sensing-uc p  { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* ── Privacy Promise ─────────────────────────────────────────────────────── */
.sensing-privacy-promise {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  border-color: rgba(16,185,129,0.25);
  background: rgba(16,185,129,0.03);
  flex-wrap: wrap;
}
.spp-icon { font-size: 3rem; flex-shrink: 0; }
.spp-content { flex: 1; min-width: 280px; }
.spp-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.625rem; }
.spp-content p  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; margin: 0 0 1rem; }
.spp-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.spp-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #6ee7b7;
  border-radius: 999px;
}
.sensing-demo-btn { flex-shrink: 0; }

/* ── Product Teaser Cards ─────────────────────────────────────────────────── */
.pt-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}
.pt-card:last-child { margin-bottom: 0; }
.pt-card-cyan  { border-color: rgba(6,182,212,0.25); }
.pt-card-purple { border-color: rgba(124,58,237,0.25); }

.pt-badge { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 100px; padding: 0.3rem 1rem; font-size: 0.75rem; font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.pt-badge-cyan   { background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.3); color: var(--cyan); }
.pt-badge-purple { background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.3); color: #a78bfa; }

.pt-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.75rem; line-height: 1.2; }
.pt-desc  { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.25rem; max-width: 560px; font-size: 0.95rem; }
.pt-pills { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.pt-pill  { font-size: 0.85rem; color: var(--text-secondary); }
.pt-cta-btn { font-size: 0.875rem; }
.pt-cta-purple { background: linear-gradient(135deg, #7c3aed, #4f46e5); }

.pt-stat { text-align: center; padding: 1.5rem; border-radius: 12px; min-width: 160px; flex-shrink: 0; }
.pt-stat-cyan   { background: rgba(6,182,212,0.05); border: 1px solid rgba(6,182,212,0.15); }
.pt-stat-purple { background: rgba(124,58,237,0.05); border: 1px solid rgba(124,58,237,0.15); }
.pt-stat-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.pt-stat-num  { font-size: 1.5rem; font-weight: 800; background: linear-gradient(135deg, var(--cyan), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.pt-stat-lbl  { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet large: ≤ 1024px ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .plans-grid-home { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-4px); }
  .register-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .sensing-main-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .sensing-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .sensing-uc-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet: ≤ 860px ─────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  /* Hero */
  .hero-section { flex-direction: column; text-align: center; padding-top: 6rem; min-height: auto; }
  .hero-visual { display: none; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }

  /* Services */
  .services-grid-home { grid-template-columns: 1fr 1fr; }

  /* Nav mobile — fixed so it stays in viewport */
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(5,8,20,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; padding: 0.75rem 1rem; font-size: 1rem; border-radius: 8px; }
  .nav-hamburger { display: block; }

  /* Product teasers — collapse stat card below content */
  .pt-card { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; }
  .pt-stat { min-width: unset; display: flex; align-items: center; gap: 1.25rem; text-align: left; padding: 1rem 1.25rem; }
  .pt-stat-icon { font-size: 2rem; margin-bottom: 0; }
  .pt-stat-num { font-size: 1.25rem; }
}

/* ── Phone: ≤ 560px ──────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  /* Typography */
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }

  /* Section padding */
  .home-section { padding: 60px 0; }
  .section-container { padding: 0 1rem; }

  /* Hero */
  .hero-section { padding: 5.5rem 1rem 3rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta a { justify-content: center; text-align: center; }
  .btn-hero-primary, .btn-hero-outline { min-height: 48px; font-size: 0.9rem; }
  .hero-stats { gap: 0.75rem; }
  .hero-stat-num { font-size: 1.2rem; }
  .hero-stat-divider { height: 24px; }

  /* Services */
  .services-grid-home { grid-template-columns: 1fr; }

  /* Product teasers — hide stat box entirely on small phones */
  .pt-stat { display: none; }
  .pt-title { font-size: 1.3rem; }
  .pt-pills { gap: 0.6rem; }
  .pt-pill { font-size: 0.8rem; }
  .pt-cta-btn { width: 100%; justify-content: center; text-align: center; }
  .pt-card { padding: 1.5rem; }

  /* Consultation form */
  .reg-row { grid-template-columns: 1fr; }
  .reg-input { font-size: 16px; min-height: 48px; }
  .reg-label { font-size: 0.85rem; }
  .register-card { padding: 1.25rem; }

  /* Contact */
  .contact-items { gap: 1rem; }
  .contact-item { gap: 0.75rem; }

  /* Sensing */
  .sensing-benefits-grid { grid-template-columns: 1fr; }
  .sensing-uc-grid { grid-template-columns: 1fr; }
  .sensing-privacy-promise { flex-direction: column; text-align: center; padding: 1.5rem 1.25rem; }
  .spp-badges { justify-content: center; }
  .sensing-demo-btn { width: 100%; text-align: center; justify-content: center; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 0.5rem 1rem; }
  .footer-copy { text-align: center; }
}
