/* ==========================================================================
   GAVASAH Smart Living - Design System & Stylesheet
   ========================================================================== */

:root {
  --bg-darkest: #06090e;
  --bg-darker: #0a0f18;
  --bg-card: rgba(16, 24, 39, 0.7);
  --bg-card-hover: rgba(22, 33, 54, 0.85);
  
  --primary: #00e5ff;
  --primary-glow: rgba(0, 229, 255, 0.35);
  --secondary: #6366f1;
  --accent-gold: #f59e0b;
  --emerald: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.4);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-darkest);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Glows */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.orb-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  left: 20%;
  background: radial-gradient(circle, #00d2ff, transparent 70%);
}
.orb-2 {
  width: 500px;
  height: 500px;
  top: 1200px;
  right: -100px;
  background: radial-gradient(circle, #4f46e5, transparent 70%);
}
.orb-3 {
  width: 650px;
  height: 650px;
  top: 2500px;
  left: -100px;
  background: radial-gradient(circle, #00e5ff, transparent 70%);
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.gradient-text {
  background: linear-gradient(135deg, #00e5ff 0%, #818cf8 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Typography & Headers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #00b4d8 100%);
  color: #04101e;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-gem {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 6px;
  transform: rotate(45deg);
  box-shadow: 0 0 15px var(--primary);
  display: inline-block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.brand-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--primary);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-item:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: 1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 2rem;
}

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

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.hero-title {
  font-size: 4.2rem;
  line-height: 1.1;
  margin-bottom: 1.8rem;
  font-weight: 800;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 4.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 3rem;
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections Global */
section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Simulator Section */
.simulator-container {
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  gap: 1.5rem;
  padding: 1.8rem;
  min-height: 520px;
}

.sim-sidebar {
  border-right: 1px solid var(--border-subtle);
  padding-right: 1.5rem;
}

.sim-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 800;
  margin-bottom: 1rem;
}

.room-selector {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.room-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  text-align: left;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.room-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.room-btn.active {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--primary);
}

.scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.scene-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.9rem 0.6rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.scene-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.scene-btn.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(99, 102, 241, 0.15));
  border-color: var(--primary);
  color: #ffffff;
}

.scene-icon {
  font-size: 1.4rem;
}
.scene-name {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Simulator Main Controls */
.sim-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sim-room-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.room-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.room-tag {
  font-size: 0.8rem;
  color: var(--emerald);
  font-weight: 600;
}

.power-state {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
}

.controls-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.control-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.control-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.control-name {
  font-weight: 700;
  font-size: 1rem;
}

/* Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #334155;
  transition: 0.3s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--primary);
}
input:checked + .slider:before {
  transform: translateX(20px);
}

/* Sliders */
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.custom-range {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #334155;
  outline: none;
  -webkit-appearance: none;
}
.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary);
}

/* Temp Control */
.temp-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 0.5rem 0;
}

.temp-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.temp-btn:hover {
  background: var(--primary);
  color: #000;
}

.temp-display {
  display: flex;
  align-items: baseline;
  font-family: var(--font-heading);
}

#temp-val {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
}

.temp-unit {
  font-size: 1.5rem;
  color: var(--primary);
  margin-left: 0.2rem;
}

.temp-meta {
  display: flex;
  justify-content: space-around;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.8rem;
}

.status-badge {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Shade control */
.shade-buttons {
  display: flex;
  gap: 0.8rem;
}

.shade-btn {
  flex: 1;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
}
.shade-btn:hover {
  border-color: var(--primary);
  color: #fff;
}

.shade-indicator-bar {
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  overflow: hidden;
}
.shade-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transition: width 0.3s ease;
}

/* Telegram Bus Terminal */
.sim-bus {
  background: #020408;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bus-header {
  background: #090e17;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1e293b;
}

.bus-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.bus-counter {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.bus-terminal {
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow-y: auto;
  max-height: 440px;
}

.tg-line {
  line-height: 1.4;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.tg-time { color: var(--text-dim); }
.tg-addr { color: var(--accent-gold); font-weight: 600; }
.tg-val { color: var(--emerald); font-weight: 600; }
.tg-meta { color: var(--text-muted); }

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.sol-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sol-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 229, 255, 0.15);
}

.sol-icon {
  font-size: 2.2rem;
}

.sol-card h3 {
  font-size: 1.35rem;
}

.sol-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Hardware Spotlight */
.hardware-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  padding: 4rem;
  align-items: center;
}

.model-badge {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  background: rgba(0, 229, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-sm);
  vertical-align: middle;
  margin-left: 0.6rem;
}

.hw-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 1.2rem 0 2rem;
}

.hw-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.6rem;
  font-size: 0.95rem;
}

.spec-name { color: var(--text-dim); }
.spec-val { color: var(--text-main); font-weight: 600; }

/* Device Mockup */
.device-mockup {
  background: #0b111a;
  border: 2px solid #24344d;
  border-radius: 12px;
  width: 320px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 30px rgba(0,229,255,0.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.device-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #1a273b;
  padding-bottom: 1rem;
}

.terminal-wago {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.wago-pin {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 4px;
  color: white;
}
.wago-pin.red { background: #dc2626; }
.wago-pin.black { background: #1e293b; border: 1px solid #475569; }

.wago-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #94a3b8;
  margin-left: 0.3rem;
}

.status-leds {
  display: flex;
  gap: 0.5rem;
}
.led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.led.pwr { background: #10b981; box-shadow: 0 0 6px #10b981; }
.led.knx { background: #00e5ff; box-shadow: 0 0 6px #00e5ff; animation: pulse 1s infinite; }
.led.net { background: #6366f1; box-shadow: 0 0 6px #6366f1; }

.device-body {
  padding: 3rem 0;
  text-align: center;
}

.brand-emboss {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #334e73;
}

.device-model-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #64748b;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

.device-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 2px solid #1a273b;
  padding-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #64748b;
}

/* Architecture Comparison */
.arch-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.arch-card {
  padding: 3rem;
  border-radius: var(--radius-lg);
}

.arch-card.negative {
  background: rgba(239, 68, 68, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.arch-card.positive {
  border: 1px solid rgba(0, 229, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.card-glow {
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.2), transparent 70%);
}

.arch-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.arch-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.arch-card li {
  font-size: 1rem;
  line-height: 1.6;
}

/* Contact Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  padding: 4rem;
}

.contact-title {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.form-feedback {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.5rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  padding: 2.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-badge {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.modal-header h3 {
  font-size: 1.6rem;
  margin: 0.4rem 0;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.subdomain-preview {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 0.5rem 0 2rem;
}

.subdomain-preview input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.85rem 1rem;
  color: #fff;
  font-size: 1rem;
  outline: none;
}

.domain-suffix {
  padding: 0 1rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 2rem;
  background: #03060a;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .simulator-container {
    grid-template-columns: 1fr;
  }
  .sim-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
  }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hardware-wrapper, 
  .contact-container, 
  .arch-comparison {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* ==========================================================================
   WhatsApp & Direct Contact Enhancements
   ========================================================================== */
.btn-whatsapp-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.35);
  transition: var(--transition-fast);
}
.btn-whatsapp-nav:hover {
  background: #25d366;
  color: #04101e;
  border-color: #25d366;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
}

.wa-accent {
  color: #25d366 !important;
  font-weight: 600;
  transition: var(--transition-fast);
}
.wa-accent:hover {
  color: #4ade80 !important;
  text-decoration: underline;
}

.form-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.25rem 0 1rem;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.form-or-divider::before,
.form-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}
.form-or-divider span {
  padding: 0 0.85rem;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
  text-decoration: none;
}
.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ae06e 0%, #169b8c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.footer-contact-line {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-contact-line a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}
.footer-contact-line a:hover {
  color: #25d366;
  text-decoration: underline;
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  animation: pulse-wa 2.5s infinite;
}
.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}
.floating-whatsapp:active {
  transform: scale(0.95);
}
.floating-tooltip {
  position: absolute;
  right: 72px;
  background: rgba(10, 15, 24, 0.95);
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.floating-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(10, 15, 24, 0.95);
}
.floating-whatsapp:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 640px) {
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }
  .floating-tooltip {
    display: none;
  }
}
