/* ============================================================
   NEXORAA — Luxury Smart Home Design System & Stylesheet
   ============================================================ */

:root {
  --cyan: #00E0FF;
  --cyan-soft: #7FF0FF;
  --cyan-glow: rgba(0, 224, 255, 0.25);
  --cyan-deep: #00889A;
  
  --bg: #05070A;
  --bg-surface: #0B0E14;
  --bg-card: rgba(15, 20, 29, 0.75);
  --bg-glass: rgba(11, 14, 20, 0.85);
  
  --border: rgba(255, 255, 255, 0.04);
  --border-bright: rgba(255, 255, 255, 0.12);
  
  --text-main: #EEF4F8;
  --text-muted: #8A99AD;
  --text-dim: #505C6C;
  
  --font-head: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow: 0 0 35px rgba(0, 224, 255, 0.15);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Single Global Fixed Background System (ONE Layer For Entire Site) */
.site-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#ambient-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* One Global Architectural Grid (64px Spacing, Subtle 3.5% Opacity) */
.site-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  opacity: 0.85;
  z-index: 3;
}

/* Ground & Global Ambient Pointer Light Layer (Reference math, +10% luminance) */
.ground,
.site-background::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(110vmax 85vmax at var(--lxp, 34%) var(--lyp, 23%),
      color-mix(in srgb, var(--glow, #00E0FF) 13.2%, transparent) 0%,
      color-mix(in srgb, var(--glow, #00E0FF) 3.85%, transparent) 28%,
      transparent 64%),
    radial-gradient(100vmax 80vmax at 50% 0%, var(--bg, #0B0E14) 0%, var(--deep, #05070A) 76%);
  transition: opacity 0.4s ease;
  opacity: 1;
}


@media (max-width: 1024px), (pointer: coarse), (hover: none) {
  .ground,
  .site-background::after {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ground,
  .site-background::after {
    display: none !important;
  }
}

/* --- Reference Room Control Interface Styles --- */
.room {
  position: relative;
  border: 1px solid var(--border-bright, rgba(255, 255, 255, 0.12));
  border-radius: 24px;
  background: rgba(15, 20, 29, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 60px rgba(0, 224, 255, 0.08);
  overflow: hidden;
  margin-bottom: 1rem;
}

.room__brackets span {
  position: absolute;
  width: 13px;
  height: 13px;
  pointer-events: none;
  border: 1px solid var(--cyan);
  opacity: 0.55;
  z-index: 2;
}

.room__brackets span:nth-child(1) { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.room__brackets span:nth-child(2) { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.room__brackets span:nth-child(3) { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.room__brackets span:nth-child(4) { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.room__plate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  color: var(--text-muted, #8A99AD);
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.022);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hud { color: var(--text-muted, #8A99AD); }
.hud b { color: var(--cyan, #00E0FF); font-weight: 500; }

.room__view {
  display: block;
  width: 100%;
  height: auto;
}

/* Telemetry Grid */
.read {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: rgba(11, 14, 20, 0.6);
}

.read > div {
  padding: 0.75rem 0.8rem 0.85rem;
  border-right: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.read > div:last-child { border-right: 0; }

.stat__l {
  display: block;
  color: var(--text-muted, #8A99AD);
  font-family: 'Inter', sans-serif;
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.read__k {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-main, #EEF4F8);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.bar {
  display: block;
  height: 2px;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.bar i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--cyan, #00E0FF);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
  transition: width 0.3s ease;
}

/* Self-contained Scene Keypad Row */
.card-kp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: rgba(11, 14, 20, 0.75);
  border: 1px solid var(--border-bright, rgba(255, 255, 255, 0.12));
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.card-kp .scene-stops {
  display: flex;
  gap: 0.4rem;
  flex: 1;
  justify-content: space-between;
}

.card-kp .scene-stop {
  position: relative;
  cursor: pointer;
  text-align: center;
  padding: 0.5rem 0.4rem;
  flex: 1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.card-kp .scene-stop input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.card-kp .scene-stop b {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  margin-bottom: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.card-kp .scene-stop em {
  display: block;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted, #8A99AD);
  transition: color 0.35s ease;
}

.card-kp .scene-stop i {
  display: block;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: rgba(138, 153, 173, 0.7);
  margin-top: 0.15rem;
}

.card-kp .scene-stop:hover em { color: var(--text-main, #EEF4F8); }
.card-kp .scene-stop:has(:checked),
.card-kp .scene-stop.active {
  background: rgba(0, 224, 255, 0.12);
  border-color: var(--cyan, #00E0FF);
  box-shadow: 0 0 16px rgba(0, 224, 255, 0.15);
}

.card-kp .scene-stop:has(:checked) b,
.card-kp .scene-stop.active b {
  background: var(--cyan, #00E0FF);
  box-shadow: 0 0 12px rgba(0, 224, 255, 0.5);
}

.card-kp .scene-stop:has(:checked) em,
.card-kp .scene-stop.active em {
  color: var(--text-main, #EEF4F8);
}

@media (max-width: 768px) {
  .read { grid-template-columns: repeat(3, 1fr); }
  .card-kp .scene-stops { flex-wrap: wrap; }
  .card-kp .scene-stop { min-width: 28%; }
}



#ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

header,
main,
footer,
section,
.sec,
.hero,
.site-content {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Responsive visibility utilities */
.desktop-only-inline {
  display: inline;
}
.mobile-only-inline {
  display: none;
}
.desktop-cta-text {
  display: inline;
}
.mobile-cta-text {
  display: none;
}

.sec {
  padding: 110px 0;
  position: relative;
}

.sec-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.sec-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.h1, h1 {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.h2, h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.h3, h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
}

em {
  font-style: normal;
  color: var(--cyan);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Effects */
.bg-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.bg-grid {
  display: none !important;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}

.bg-orb.a {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
}

.bg-orb.b {
  width: 500px;
  height: 500px;
  bottom: 0;
  left: -150px;
  background: radial-gradient(circle, rgba(0, 167, 190, 0.2), transparent 70%);
}

/* ================= NAVIGATION ================= */
#hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
  background: transparent !important;
}

#hdr.stuck {
  padding: 14px 0;
  background: var(--bg-glass) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.25));
}

.logo-wordmark {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

#hdr .nav-links > .nav-item > .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--cyan);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  display: grid;
  gap: 4px;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-item:hover {
  background: rgba(0, 224, 255, 0.08);
  color: var(--cyan);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-p {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-deep) 100%);
  color: #05070A;
  box-shadow: 0 4px 20px rgba(0, 224, 255, 0.3);
}

.btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 224, 255, 0.5);
  color: #000;
}

.btn-g {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn-g:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.02rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

.dimmer {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.dimmer:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-main);
  place-items: center;
  cursor: pointer;
}

/* ================= HERO SECTION & FULL-SCREEN LUXURY INTERIOR STAGE ================= */
.hero {
  padding-top: 170px;
  padding-bottom: 110px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Full-Screen Luxury Room Background System behind both text and UI card */
.hero-room-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #05070A;
}

.hero-room-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.96) contrast(1.04);
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Left-Side Dark Gradient Overlay (75% black on left, soft transition, clear on right) */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(5, 7, 10, 0.82) 0%, 
    rgba(5, 7, 10, 0.70) 35%, 
    rgba(5, 7, 10, 0.25) 65%, 
    rgba(5, 7, 10, 0.05) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Soft Cinematic Vignette */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(3, 5, 8, 0.65) 100%);
  z-index: 3;
  pointer-events: none;
}

/* Hero Content Grid & Stage */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 224, 255, 0.08);
  border: 1px solid rgba(0, 224, 255, 0.25);
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* SMART HOME CONTROL CARD - CLEAN SINGLE CONTAINER (NO ARTIFACTS / DUPLICATE PANELS) */
.hero-stage {
  position: relative;
  z-index: 10;
  width: 100%;
}

.smart-dashboard {
  background: rgba(11, 14, 22, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 224, 255, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  position: relative;
}

.smart-dashboard::before, .smart-dashboard::after {
  content: none !important;
  display: none !important;
}

.dash-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.dash-room-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.room-select, .room-label {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.2px;
}

.room-select option {
  background: #0B0E14;
  color: #FFF;
}

.dash-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 224, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 224, 255, 0.2);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.dash-scenes {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.scene-btn {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.scene-btn.active, .scene-btn:hover {
  background: var(--cyan);
  color: #05070A;
  border-color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
  font-weight: 600;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dash-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  transition: var(--transition);
}

.dash-item.full-width {
  grid-column: span 2;
}

.dash-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(0, 224, 255, 0.12);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dash-item-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.dash-item-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dash-item-val {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan);
  margin-left: auto;
}

.dash-slider {
  width: 100%;
  margin-top: 8px;
  accent-color: var(--cyan);
  cursor: pointer;
}

.temp-preset-row {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.k-btn {
  flex: 1;
  padding: 4px 0;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.k-btn.active, .k-btn:hover {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
}

.dash-temp-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.temp-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text-main);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
}

.temp-btn:hover {
  background: var(--cyan);
  color: #000;
}

.dash-lock-btn {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.dash-lock-btn.locked {
  background: rgba(0, 224, 255, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 224, 255, 0.3);
}

.dash-lock-btn.unlocked {
  background: rgba(255, 95, 109, 0.15);
  color: #ff5f6d;
  border: 1px solid rgba(255, 95, 109, 0.3);
}

.dash-sec-btn {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.dash-sec-btn.active {
  background: rgba(0, 224, 255, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 224, 255, 0.3);
}

.dash-sec-btn.standby {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.dash-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cyan);
  color: #05070A;
  display: grid;
  place-items: center;
  cursor: pointer;
  margin-left: auto;
  transition: var(--transition);
}

.dash-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--cyan);
}

/* ================= CATEGORIZED TRUSTED PARTNERS / TECHNOLOGY ECOSYSTEM ================= */
.partners-sec {
  padding: 175px 0; /* Increased section top and bottom padding by 90px for luxury breathing room */
  position: relative;
  background: rgba(8, 11, 16, 0.5);
  overflow: hidden;
}

.partners-sec .wrap {
  max-width: 1340px; /* Kept exact container width */
}

/* Subtle Smart-Home Ambient Radial Glow */
.partners-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(0, 224, 255, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(0, 224, 255, 0.04) 0%, transparent 45%);
  background-size: 100% 100%;
  opacity: 0.65;
  pointer-events: none;
}

.ecosystem-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px; /* Increased inter-category card gap to 32px */
}

.ecosystem-cat-card {
  background: rgba(11, 14, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 32px 36px; /* Increased internal padding for taller, roomier category containers */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.ecosystem-cat-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.ecosystem-cat-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ecosystem-cat-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: rgba(0, 224, 255, 0.06);
  border: 1px solid rgba(0, 224, 255, 0.15);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ecosystem-cat-title {
  font-family: var(--font-head);
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.ecosystem-brand-grid {
  display: grid;
  gap: 18px; /* Increased spacing around partner logo cards */
  align-items: center;
}

.ecosystem-brand-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.ecosystem-brand-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.ecosystem-brand-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.partner-logo-card {
  height: 74px; /* Equal logo card height around 70-75px */
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.partner-logo-card::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300E0FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(0.7) translateY(-2px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-logo-card:hover {
  background: rgba(255, 255, 255, 0.048);
  border-color: rgba(0, 224, 255, 0.35); /* Soft Nexoraa cyan border glow */
  transform: translateY(-4px) scale(1.025); /* Slight lift around 4px */
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 18px rgba(0, 224, 255, 0.16);
}

.partner-logo-card:hover::after {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.partner-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 52px; /* Increased logo size by ~10-15% while maintaining aspect ratio */
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.28s ease, filter 0.28s ease, transform 0.28s ease;
}

.partner-logo-card:hover .partner-logo-img {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.35)) brightness(1.08); /* Slight brightness increase */
}

.catalogue-badge {
  position: absolute;
  bottom: 5px;
  font-size: 0.60rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
  background: rgba(0, 224, 255, 0.12);
  border: 1px solid rgba(0, 224, 255, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.partner-logo-card:hover .catalogue-badge {
  opacity: 1;
  transform: translateY(0);
}

/* Cards & Services Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
}

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0, 224, 255, 0.1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 224, 255, 0.1);
  border: 1px solid rgba(0, 224, 255, 0.2);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan);
  margin-top: 24px;
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* Projects Showcase */
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  border: 1px solid var(--border);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 7, 10, 0.95) 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

/* Filters */
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--cyan);
  color: #05070A;
  border-color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-head {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
  background: var(--cyan);
  color: #05070A;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  color: var(--text-muted);
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.faq-item.active .faq-body {
  max-height: 300px;
  padding-bottom: 24px;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 224, 255, 0.1);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.2);
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

/* Footer */
footer {
  background: #020305;
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* Floating WhatsApp FAB */
.fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFF;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.fab svg {
  width: 30px;
  height: 30px;
}

/* Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile & Tablet Responsive Engine */
@media (max-width: 992px) {
  .hero-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .dash-grid {
    grid-template-columns: 1fr;
  }
  
  .dash-item.full-width {
    grid-column: span 1;
  }

  .ecosystem-editorial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ecosystem-cat-card.full-span {
    grid-column: span 1;
  }

  .ecosystem-brand-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .mobile-toggle {
    display: grid;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Devices (<= 768px: iPhone 14/15/16 Pro Max, 14 Pro, SE, etc.) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Global section & container adjustments */
  .wrap {
    padding: 0 16px;
  }

  .sec {
    padding: 70px 0;
  }

  .sec-head {
    margin-bottom: 36px;
  }

  .h1, h1 {
    font-size: clamp(2rem, 7.5vw, 2.8rem);
    line-height: 1.12;
  }

  .h2, h2 {
    font-size: clamp(1.65rem, 5.5vw, 2.2rem);
    line-height: 1.18;
  }

  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card, [style*="padding: 40px"], [style*="padding:40px"] {
    padding: 24px 18px !important;
  }

  /* Navbar Mobile Pass */
  #hdr {
    padding: 12px 0;
  }

  #hdr.stuck {
    padding: 8px 0;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    max-width: none;
  }

  .logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
  }

  .logo-wordmark {
    height: 22px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .nav-right .btn-p,
  .nav-right .btn {
    padding: 6px 14px;
    font-size: 0.78rem;
    height: 34px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: grid;
    place-items: center;
  }

  .mobile-toggle svg {
    width: 20px;
    height: 20px;
  }

  /* Desktop / Mobile utility overrides for mobile screen widths */
  .desktop-only-inline {
    display: none !important;
  }
  .mobile-only-inline {
    display: inline !important;
  }
  .desktop-cta-text {
    display: none !important;
  }
  .mobile-cta-text {
    display: inline !important;
  }

  /* Hero Section Mobile Pass */
  .hero {
    padding-top: 135px;
    padding-bottom: 80px;
    min-height: auto;
  }

  .hero-bg-img {
    object-position: 68% center;
  }

  .hero-bg-gradient {
    background: linear-gradient(180deg, 
      rgba(5, 7, 10, 0.88) 0%, 
      rgba(5, 7, 10, 0.76) 55%, 
      rgba(5, 7, 10, 0.45) 100%);
  }

  /* Spacious 85px vertical gap between Hero CTAs and Interactive Dashboard Card */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 85px;
  }

  /* 44px spacing between location badge and headline */
  .hero-content .pill {
    margin-bottom: 44px;
  }

  /* 40px spacing between headline and primary CTA */
  .hero h1, .hero .h1 {
    font-size: clamp(2rem, 7.8vw, 2.5rem);
    line-height: 1.12;
    margin-bottom: 40px;
  }

  /* Completely hide hero lead description on mobile without empty spacing */
  .hero-content .lead {
    display: none !important;
    margin-bottom: 0 !important;
  }

  /* Hero CTAs Mobile Pass: 16px gap between primary and secondary CTAs */
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 0;
  }

  .hero-cta .hero-btn-p {
    padding: 10px 18px;
    font-size: 0.92rem;
    min-height: 44px;
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-full);
  }

  .hero-cta .hero-btn-g {
    padding: 8px 16px;
    font-size: 0.86rem;
    min-height: 38px;
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-full);
    opacity: 0.9;
  }

  /* Smart Dashboard Card Mobile */
  .smart-dashboard {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }

  .dash-hdr {
    gap: 8px;
  }

  .room-label {
    font-size: 0.82rem;
  }

  .dash-pill {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .dash-scenes {
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .dash-scenes::-webkit-scrollbar {
    display: none;
  }

  .scene-btn {
    padding: 6px 10px;
    font-size: 0.72rem;
    flex-shrink: 0;
  }

  .dash-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .k-btn {
    padding: 4px 2px;
    font-size: 0.66rem;
  }

  /* WhatsApp FAB Mobile */
  .fab {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .fab svg {
    width: 26px;
    height: 26px;
  }
}

/* Small Mobile Screens (<= 480px / 430px, 393px, 390px, 375px) */
@media (max-width: 480px) {
  .partners-sec {
    padding: 70px 0;
  }

  .ecosystem-cat-card {
    padding: 18px 14px;
  }

  .ecosystem-brand-grid.cols-2,
  .ecosystem-brand-grid.cols-3,
  .ecosystem-brand-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .partner-logo-card {
    height: 58px;
    padding: 8px 10px;
    width: 100%;
  }

  .partner-logo-img {
    max-height: 36px;
    max-width: 85%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 14px;
  }
}

/* Ultra Small Mobile Screens (<= 375px & 320px) */
@media (max-width: 375px) {
  .wrap {
    padding: 0 12px;
  }

  .logo {
    gap: 6px;
  }

  .logo-img {
    height: 30px;
  }

  .logo-wordmark {
    height: 18px;
  }

  .nav-right {
    gap: 6px;
  }

  .nav-right .btn-p,
  .nav-right .btn {
    padding: 5px 10px;
    font-size: 0.74rem;
    height: 32px;
  }

  .mobile-toggle {
    width: 34px;
    height: 34px;
  }

  .hero h1, .hero .h1 {
    font-size: 1.85rem;
  }

  .smart-dashboard {
    padding: 14px 10px;
  }
}









