/* ==========================================================================
   3DTOURS - DESIGN SYSTEM & STYLESHEET
   Style: Dark Tech-Elegant (Emerald / Amber / Crimson Status Palette)
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-dark: #070D0B;
  --bg-surface: #0D1512;
  --bg-card: #141F1A;
  --bg-card-hover: #1A2922;
  --bg-glass: rgba(20, 31, 26, 0.85);
  
  --border-subtle: rgba(57, 217, 138, 0.12);
  --border-glow: rgba(57, 217, 138, 0.35);
  
  /* Status Palette */
  --color-available: #39D98A;
  --color-available-glow: rgba(57, 217, 138, 0.3);
  --color-reserved: #F2B84B;
  --color-reserved-glow: rgba(242, 184, 75, 0.3);
  --color-sold: #FF5252;
  --color-sold-glow: rgba(255, 82, 82, 0.3);
  
  --color-accent-cyan: #4DEEEA;
  --color-whatsapp: #25D366;
  
  /* Typography Colors */
  --text-main: #EDF3EF;
  --text-muted: #8FA69B;
  --text-dim: #5C7066;
  
  /* Font Families */
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-subtle);
  --shadow-glow: 0 0 25px rgba(57, 217, 138, 0.18);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Grid FX & Parallax Glows */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(57, 217, 138, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(57, 217, 138, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

.bg-radial-glow {
  position: fixed;
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(57, 217, 138, 0.08) 0%, rgba(7, 13, 11, 0) 70%);
  pointer-events: none;
  z-index: -1;
  transition: transform 0.1s ease-out;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #39D98A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #4DEEEA 0%, #39D98A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-available);
  background: rgba(57, 217, 138, 0.08);
  border: 1px solid rgba(57, 217, 138, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mono-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-available);
  box-shadow: 0 0 8px var(--color-available);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 13, 11, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
  transition: var(--transition-fast);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
}

.logo-badge {
  background: linear-gradient(135deg, var(--color-available), #1b9b5a);
  color: #000;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

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

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

.nav-links a:hover {
  color: var(--color-available);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #39D98A 0%, #25A564 100%);
  color: #070D0B;
  box-shadow: 0 4px 20px rgba(57, 217, 138, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(57, 217, 138, 0.45);
  background: linear-gradient(135deg, #42ea95 0%, #2cb36f 100%);
}

.btn-whatsapp {
  background: #25D366;
  color: #000000;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  font-weight: 700;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  background: #28e16d;
}

.btn-outline {
  background: rgba(20, 31, 26, 0.6);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--color-available);
  background: rgba(57, 217, 138, 0.1);
  color: var(--color-available);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 700;
  margin: 1.2rem 0;
  line-height: 1.1;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  color: var(--color-available);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Dynamic Floating DJI Drone Element */
.floating-drone-container {
  position: absolute;
  top: -2.5rem;
  right: -1rem;
  z-index: 20;
  pointer-events: none;
  animation: floatDrone 6s ease-in-out infinite;
}

@keyframes floatDrone {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}

.dji-drone-card {
  background: rgba(13, 21, 18, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--color-available-glow);
}

.drone-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(57, 217, 138, 0.15);
  color: var(--color-available);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
}

.drone-light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-available);
  box-shadow: 0 0 8px var(--color-available);
  animation: pulseDot 1.2s infinite;
}

.drone-text {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.04em;
}

/* Upgraded Hero Visual Frame (100% Clean Video View) */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-card-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card-frame:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-card), 0 0 35px rgba(57, 217, 138, 0.3);
}

.hero-card-image-wrap {
  position: relative;
  width: 100%;
  height: 420px; /* Expanded clean video height */
  overflow: hidden;
  background: #000;
}

.hero-card-image-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-hud-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.status-pill {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}

.pill-green { background: rgba(57, 217, 138, 0.18); color: var(--color-available); border: 1px solid var(--color-available); }
.pill-amber { background: rgba(242, 184, 75, 0.18); color: var(--color-reserved); border: 1px solid var(--color-reserved); }
.pill-red { background: rgba(255, 82, 82, 0.18); color: var(--color-sold); border: 1px solid var(--color-sold); }

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.8rem 0;
}

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

/* Interactive 360 Viewer Section */
.demo-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--bg-dark), var(--bg-surface), var(--bg-dark));
}

.viewer-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn.active, .tab-btn:hover {
  background: rgba(57, 217, 138, 0.12);
  border-color: var(--color-available);
  color: var(--color-available);
  box-shadow: 0 0 16px rgba(57, 217, 138, 0.2);
}

.viewer-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.viewer-toolbar {
  background: rgba(7, 13, 11, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.viewer-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(57, 217, 138, 0.15);
  border-color: var(--color-available);
  color: var(--color-available);
}

.iframe-container {
  width: 100%;
  height: 540px;
  border: none;
  display: block;
}

.custom-hotspot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.custom-hotspot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.6;
  animation: hotspotPulse 1.8s infinite;
}

@keyframes hotspotPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.custom-hotspot.available { background: var(--color-available); color: #070D0B; box-shadow: 0 0 16px var(--color-available-glow); }
.custom-hotspot.reserved { background: var(--color-reserved); color: #070D0B; box-shadow: 0 0 16px var(--color-reserved-glow); }
.custom-hotspot.sold { background: var(--color-sold); color: #FFFFFF; box-shadow: 0 0 16px var(--color-sold-glow); }

.custom-hotspot:hover {
  transform: scale(1.25);
  z-index: 100;
}

/* Hotspot Modal */
.lot-modal {
  position: absolute;
  top: 5rem;
  right: 1.5rem;
  width: 300px;
  background: rgba(13, 21, 18, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: none;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lot-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.lot-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.lot-modal-close:hover { color: #fff; }

.lot-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.lot-info-item span {
  display: block;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.lot-info-item strong {
  color: var(--text-main);
  font-family: var(--font-mono);
}

/* Before & After Interactive Image Comparison Slider */
.ba-slider-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-card);
  user-select: none;
  -webkit-user-select: none;
}

.ba-image-after, .ba-image-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.ba-image-after {
  background-image: url('assets/house_render_3d.jpg');
  z-index: 1;
}

.ba-image-before {
  background-image: url('assets/before_plot.jpg');
  z-index: 2;
  width: 50%;
  border-right: 2px solid var(--color-available);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--color-available);
  z-index: 10;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.ba-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-available);
  color: #070D0B;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--color-available-glow);
  font-size: 1.1rem;
}

.ba-badge {
  position: absolute;
  top: 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.ba-badge-before {
  left: 1rem;
  background: rgba(7, 13, 11, 0.85);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ba-badge-after {
  right: 1rem;
  background: rgba(57, 217, 138, 0.2);
  color: var(--color-available);
  border: 1px solid var(--color-available);
}

/* Manager ROI Calculator Section */
.calculator-section {
  padding: 6rem 0;
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.input-group label span {
  font-family: var(--font-mono);
  color: var(--color-available);
  font-size: 1.1rem;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-available);
  cursor: pointer;
  box-shadow: 0 0 12px var(--color-available);
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results {
  background: rgba(7, 13, 11, 0.6);
  border: 1px dashed var(--border-glow);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
}

.calc-result-number {
  font-family: var(--font-mono);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-available);
  margin: 0.5rem 0;
  line-height: 1;
  text-shadow: 0 0 20px rgba(57, 217, 138, 0.3);
}

.calc-savings-detail {
  display: flex;
  justify-content: space-around;
  margin: 1.8rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.savings-item h4 {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--color-accent-cyan);
}

.savings-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Feature Grid */
.features-section {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(57, 217, 138, 0.1);
  color: var(--color-available);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(57, 217, 138, 0.2);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 3D House Render Showcase */
.showcase-section {
  padding: 6rem 0;
}

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

.showcase-content h2 {
  font-size: 2.4rem;
  margin: 1rem 0;
}

.showcase-list {
  list-style: none;
  margin: 1.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.showcase-list i {
  color: var(--color-available);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

/* Simple Process Steps */
.process-section {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(57, 217, 138, 0.2);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.process-card h3 {
  font-size: 1.25rem;
  margin: 1.2rem 0 0.6rem;
}

.process-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Call to Action Banner */
.cta-banner {
  padding: 6rem 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(20, 31, 26, 0.9), rgba(13, 21, 18, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 4.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.cta-box h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: var(--color-whatsapp);
  color: #000;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
}

/* Scroll Reveal Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Typewriter Cursor Blink */
.typewriter-cursor {
  display: inline-block;
  color: var(--color-available);
  font-weight: 300;
  margin-left: 2px;
  animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Typewriter — fixed min-height on h1 prevents layout shift without gaps */
.hero-content h1 {
  min-height: 4.8em;
}

/* Hero Card: smooth 3D tilt transition */
.hero-card-frame {
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-content {
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}


/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid, .showcase-grid, .calculator-card {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .features-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content h1 { font-size: 2.6rem; }
  .floating-drone-container { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .features-grid, .process-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.2rem; }
  .calculator-card { padding: 1.5rem; }
  .calc-result-number { font-size: 2.4rem; }
}
