/* ==========================================================================
   MOONTECH Software Solutions - Master Stylesheet
   Design System: Deep Tech Navy + Vibrant Solar Orange Accent
   Fully Responsive for All Screen Resolutions (4K to 320px Mobile)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Brand Core Colors */
  --color-navy-darkest: #040d1a;
  --color-navy-dark: #07172f;
  --color-navy-primary: #0a2540;
  --color-navy-secondary: #0d386c;
  --color-blue-royal: #0056d6;
  --color-blue-electric: #0d6efd;
  --color-blue-cyan: #00c0f9;
  
  /* Brand Accent Orange (From MoonTech Crescent Moon) */
  --color-orange-glow: #ff7700;
  --color-orange-primary: #ff6200;
  --color-orange-deep: #e04f00;
  --color-orange-amber: #ffa600;
  --color-orange-light: #fff4ea;

  /* Neutrals & Surfaces (Default Light Mode - matching posters 1 & 2) */
  --bg-body: #f8fbfe;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-alt: #f0f5fc;
  --bg-card: #ffffff;
  --border-light: rgba(13, 56, 108, 0.08);
  --border-medium: rgba(13, 56, 108, 0.16);
  --border-glow: rgba(255, 98, 0, 0.35);

  /* Typography */
  --text-main: #0b1e36;
  --text-muted: #4e6178;
  --text-light: #8292a4;
  --text-inverse: #ffffff;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 10px 30px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 37, 64, 0.12);
  --shadow-orange: 0 10px 28px rgba(255, 98, 0, 0.35);
  --shadow-blue: 0 12px 30px rgba(0, 86, 214, 0.25);

  /* Layout & Sizing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --container-max: 1280px;

  /* Font Families */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Transition timings */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Tokens (matches tech dashboard and laptop theme in image 3) */
[data-theme="dark"] {
  --bg-body: #050e1c;
  --bg-surface: #09172c;
  --bg-surface-elevated: #0e223f;
  --bg-surface-alt: #0a1b33;
  --bg-card: #0c1f38;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(255, 119, 0, 0.45);

  --text-main: #f0f6ff;
  --text-muted: #9bb0cb;
  --text-light: #6a82a2;
  --text-inverse: #0b1e36;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.65);
  --shadow-orange: 0 10px 30px rgba(255, 119, 0, 0.45);
  --shadow-blue: 0 12px 35px rgba(13, 110, 253, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  position: relative;
  width: 100%;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 1.75rem);
  padding-right: clamp(1rem, 3vw, 1.75rem);
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

.gradient-text-orange {
  background: linear-gradient(120deg, #ff851b 0%, #ff5200 60%, #ffa200 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #0d6efd 0%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- Top Notification Bar --- */
.top-bar {
  background: linear-gradient(90deg, #07172f 0%, #0a2540 50%, #081830 100%);
  color: #d1e2fc;
  font-size: 0.84rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 100;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-badge {
  background: rgba(255, 98, 0, 0.2);
  color: #ff914d;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 98, 0, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-bar-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #c4d7f5;
  transition: color var(--transition-fast);
}

.top-bar-link:hover {
  color: #ff8c3b;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #6ee7b7;
}

.pulse-dot-green {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: dotPulse 2s infinite ease-in-out;
}

/* --- Main Header & Sticky Navigation --- */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 99;
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .main-header {
  background: rgba(7, 23, 47, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1rem;
  transition: height var(--transition-fast);
}

.main-header.scrolled .navbar {
  height: 66px;
}

/* Clean Single Logo Styling */
.brand-logo-wrap, .footer-brand-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 185px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo-wrap:hover .brand-logo-img,
.footer-brand-wrap:hover .footer-logo-img {
  transform: scale(1.02);
}

/* Light / Dark Mode logo switching */
.logo-light-mode {
  display: block;
}
.logo-dark-mode {
  display: none;
}
[data-theme="dark"] .logo-light-mode {
  display: none !important;
}
[data-theme="dark"] .logo-dark-mode {
  display: block !important;
}

/* Desktop Navigation Links */
.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.4vw, 1.8rem);
  list-style: none;
}

.nav-link {
  font-size: clamp(0.83rem, 0.92vw, 0.94rem);
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.4rem 0.15rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-orange-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-orange-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Navbar Right Controls */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-surface-alt);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background-color: var(--color-orange-light);
  color: var(--color-orange-primary);
  border-color: var(--color-orange-primary);
  transform: rotate(15deg);
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background-color: rgba(255, 98, 0, 0.15);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.55rem;
  border-radius: var(--radius-full);
  font-size: 0.94rem;
  font-weight: 700;
  transition: all var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary-orange {
  background: linear-gradient(135deg, #ff7a00 0%, #ff5200 100%);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary-orange:hover {
  background: linear-gradient(135deg, #ff8c1a 0%, #ff6200 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 98, 0, 0.5);
  color: #ffffff;
}

.btn-secondary-blue {
  background: linear-gradient(135deg, #092c68 0%, #0052cc 100%);
  color: #ffffff;
  box-shadow: var(--shadow-blue);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 82, 204, 0.4);
  color: #ffffff;
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-medium);
}

.btn-outline-navy:hover {
  background-color: var(--bg-surface-alt);
  border-color: var(--color-blue-royal);
  color: var(--color-blue-royal);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.02rem;
}

/* Mobile Toggle Hamburger */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background-color: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  flex-shrink: 0;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--transition-fast);
}

/* Mobile Navigation Drawer & Backdrop */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 10, 22, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  z-index: 199;
  transition: opacity var(--transition-smooth);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--bg-surface);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.35);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.mobile-drawer-close-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-alt);
  color: var(--text-main);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-drawer-close-btn:hover {
  background: var(--color-orange-primary);
  color: #ffffff;
}

.mobile-drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.mobile-drawer-link:hover, .mobile-drawer-link.active {
  background: rgba(255, 98, 0, 0.1);
  color: var(--color-orange-primary);
  padding-left: 1.25rem;
}

.mobile-drawer-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(0, 86, 214, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 15% 80%, rgba(255, 98, 0, 0.06) 0%, transparent 50%);
}

[data-theme="dark"] .hero-section {
  background: radial-gradient(circle at 85% 20%, rgba(13, 110, 253, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 15% 80%, rgba(255, 98, 0, 0.12) 0%, transparent 50%);
}

#stars-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 3.5vw, 4rem);
  position: relative;
  z-index: 2;
}

/* Hero Left Column */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 86, 214, 0.07);
  border: 1px solid rgba(0, 86, 214, 0.2);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-blue-royal);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

[data-theme="dark"] .hero-pill-badge {
  background: rgba(13, 110, 253, 0.18);
  border-color: rgba(13, 110, 253, 0.35);
  color: #70b4ff;
}

.pulse-dot-orange {
  width: 8px;
  height: 8px;
  background-color: var(--color-orange-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-orange-primary);
  animation: dotPulse 1.8s infinite ease-in-out;
}

.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-subhead {
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}

/* 4 Trust Value Pillars (from Image 5) */
.hero-pillars-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.pillar-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-orange-primary);
}

.pillar-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 86, 214, 0.1) 0%, rgba(255, 98, 0, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pillar-text-group {
  display: flex;
  flex-direction: column;
}

.pillar-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.pillar-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --- Hero Right Showcase (3D Tech Laptop & Mobile Mockup) --- */
.hero-visual-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.tech-glow-backdrop {
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(0, 86, 214, 0.18) 0%, rgba(255, 98, 0, 0.12) 40%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

/* Realistic 3D Laptop Construction */
.laptop-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  z-index: 2;
  perspective: 1200px;
}

.laptop-body {
  background: #111b2d;
  border: 3px solid #233758;
  border-radius: 18px 18px 4px 4px;
  box-shadow: 0 25px 60px -15px rgba(5, 14, 30, 0.4), 0 0 40px rgba(0, 86, 214, 0.15);
  overflow: hidden;
  position: relative;
}

.laptop-camera-notch {
  background: #091322;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #1c2c46;
}

.camera-dot {
  width: 6px;
  height: 6px;
  background: #2a3c5a;
  border-radius: 50%;
  box-shadow: inset 0 0 2px #00e1ff;
}

.laptop-screen-content {
  background: #07152b;
  color: #ffffff;
  padding: 1.25rem 1.4rem;
  position: relative;
  overflow: hidden;
  min-height: 295px;
}

.laptop-screen-overlay-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 192, 249, 0.15) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.35;
  pointer-events: none;
}

.screen-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.screen-logo-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.screen-tabs {
  display: flex;
  gap: 0.4rem;
}

.screen-tab-btn {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #a4b9d6;
  transition: all var(--transition-fast);
}

.screen-tab-btn.active, .screen-tab-btn:hover {
  background: rgba(255, 98, 0, 0.25);
  color: #ff9d47;
  border: 1px solid rgba(255, 98, 0, 0.4);
}

.screen-main-banner {
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.screen-badge-glow {
  display: inline-block;
  background: rgba(0, 192, 249, 0.15);
  color: #00e1ff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}

.screen-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
}

.screen-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.tech-tag-pill {
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  color: #d1e2fc;
}

.screen-metric-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1.1rem;
  position: relative;
  z-index: 1;
}

.screen-mini-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.55rem;
  text-align: center;
}

.screen-mini-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ff8c3b;
  font-family: var(--font-heading);
}

.screen-mini-lbl {
  font-size: 0.64rem;
  color: #8da4c4;
}

.laptop-base-lip {
  height: 14px;
  background: linear-gradient(180deg, #2b3e5d 0%, #152238 100%);
  border-radius: 0 0 16px 16px;
  border: 2px solid #334a6e;
  border-top: none;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.laptop-base-notch {
  width: 90px;
  height: 4px;
  background: #111a28;
  margin: 0 auto;
  border-radius: 0 0 6px 6px;
}

/* Floating Mobile Phone (From Image 3 & 4) */
.mobile-mockup-wrapper {
  position: absolute;
  right: -20px;
  bottom: -25px;
  width: clamp(140px, 15vw, 170px);
  z-index: 4;
}

.mobile-phone-body {
  background: #0d1a2d;
  border: 3px solid #2d456b;
  border-radius: 26px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 98, 0, 0.2);
  padding: 0.65rem 0.6rem 0.9rem;
  position: relative;
  color: #ffffff;
}

.mobile-notch {
  width: 45px;
  height: 12px;
  background: #08111e;
  border-radius: var(--radius-full);
  margin: 0 auto 0.6rem;
}

.mobile-app-content {
  background: linear-gradient(180deg, #091a33 0%, #061122 100%);
  border-radius: 18px;
  padding: 0.75rem 0.6rem;
  text-align: center;
}

.mobile-logo {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.mobile-hero-title {
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ff8c3b;
  margin-bottom: 0.25rem;
}

.mobile-hero-sub {
  font-size: 0.58rem;
  color: #9cb4d4;
  margin-bottom: 0.6rem;
}

.mobile-chart-bar {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 4px;
  margin-bottom: 0.6rem;
}

.chart-bar-item {
  width: 8px;
  background: #0052cc;
  border-radius: 3px;
}

.chart-bar-item.highlight {
  background: linear-gradient(180deg, #ff914d 0%, #ff5200 100%);
}

.mobile-btn-pill {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--color-orange-primary);
  color: #ffffff;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Floating Glassmorphism Badges (Properly positioned to NEVER overlap screen text!) */
.hero-badges-group {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 6;
  pointer-events: auto;
  white-space: nowrap;
}

[data-theme="dark"] .floating-badge {
  background: rgba(9, 23, 44, 0.94);
}

/* Badge 1 sits above the top bezel frame */
.floating-badge-1 {
  top: -18px;
  left: -14px;
}

/* Badge 2 sits below the laptop base lip */
.floating-badge-2 {
  bottom: -18px;
  left: -14px;
}

.badge-icon-circ {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.badge-icon-circ.green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.badge-icon-circ.orange {
  background: rgba(255, 98, 0, 0.15);
  color: #ff6200;
}

.badge-txt-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.badge-txt-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --- Quick Services Ribbon (From Image 3 & 4) --- */
.quick-services-ribbon {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.ribbon-scroll-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-alt);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
}

.ribbon-item:hover {
  background: var(--bg-surface);
  color: var(--color-orange-primary);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.ribbon-item .ribbon-num {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--color-navy-dark);
  color: #ffffff;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}

/* --- Section Heading Styles --- */
.section-header-block {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
}

.section-pill-tag {
  display: inline-block;
  background: rgba(13, 56, 108, 0.08);
  color: var(--color-navy-secondary);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 1.15rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  border: 1px solid var(--border-light);
}

[data-theme="dark"] .section-pill-tag {
  background: rgba(255, 255, 255, 0.08);
  color: #ff9d47;
  border-color: rgba(255, 255, 255, 0.12);
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Our Services Section (Exact 8 Services from User Poster) --- */
.services-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background-color: var(--bg-surface-alt);
  position: relative;
}

/* Services Filter Tabs */
.services-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.5rem;
}

.filter-tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  transition: all var(--transition-fast);
}

.filter-tab-btn:hover, .filter-tab-btn.active {
  background: var(--color-navy-dark);
  color: #ffffff;
  border-color: var(--color-navy-dark);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .filter-tab-btn:hover, [data-theme="dark"] .filter-tab-btn.active {
  background: var(--color-orange-primary);
  border-color: var(--color-orange-primary);
  color: #ffffff;
}

/* The 8 Services Grid (Faithful reproduction of Image 2 & 5) */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(255, 98, 0, 0.12);
  border-color: var(--border-glow);
}

/* Top colored header or badge container (from poster 2) */
.service-card-top {
  position: relative;
  background: linear-gradient(135deg, #092754 0%, #004ecc 100%);
  padding: 1.6rem 1.3rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  overflow: hidden;
}

.service-card-top::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(255, 98, 0, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.service-card-number {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  background: var(--color-orange-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(255, 98, 0, 0.4);
  font-family: var(--font-heading);
}

.service-card-icon-wrapper {
  margin: 0.5rem auto 0;
  width: 90px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.25));
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-card-icon-wrapper {
  transform: scale(1.06) translateY(-2px);
}

.service-card-body {
  padding: 1.5rem 1.3rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-main);
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.service-card-bullets {
  list-style: none;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-card-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bullet-check-icon {
  color: var(--color-orange-primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.service-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 0.9rem;
}

.service-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-blue-royal);
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .service-detail-btn {
  color: #ff914d;
}

.service-card:hover .service-detail-btn {
  color: var(--color-orange-primary);
}

/* --- Interactive Project Estimator / Calculator --- */
.estimator-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background-color: var(--bg-surface);
  position: relative;
}

.estimator-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.estimator-step-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.step-number-tag {
  width: 26px;
  height: 26px;
  background: var(--color-navy-dark);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.estimator-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.estimator-option-btn {
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-alt);
  border: 1.5px solid var(--border-light);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}

.estimator-option-btn:hover {
  border-color: var(--color-blue-royal);
  background: var(--bg-surface);
}

.estimator-option-btn.selected {
  background: rgba(255, 98, 0, 0.08);
  border-color: var(--color-orange-primary);
  box-shadow: 0 4px 15px rgba(255, 98, 0, 0.15);
}

[data-theme="dark"] .estimator-option-btn.selected {
  background: rgba(255, 98, 0, 0.18);
}

.opt-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.opt-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
}

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

.estimator-summary-panel {
  background: linear-gradient(145deg, #07172f 0%, #0d2a54 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 40px rgba(7, 23, 47, 0.35);
  position: relative;
  overflow: hidden;
}

.estimator-summary-panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 98, 0, 0.25) 0%, transparent 70%);
}

.summary-headline {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.summary-breakdown {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #c4d7f5;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  padding-bottom: 0.45rem;
}

.summary-row-val {
  font-weight: 700;
  color: #ffffff;
}

.summary-total-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.total-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a4c4ed;
}

.total-price {
  font-size: clamp(1.8rem, 3vw, 2.1rem);
  font-weight: 900;
  font-family: var(--font-heading);
  color: #ff914d;
  margin: 0.2rem 0;
}

.total-timeline {
  font-size: 0.82rem;
  color: #8daed9;
}

/* --- Tech Stack Explorer --- */
.tech-stack-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background-color: var(--bg-surface-alt);
}

.tech-categories-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.tech-nav-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  transition: all var(--transition-fast);
}

.tech-nav-btn.active, .tech-nav-btn:hover {
  background: var(--color-blue-royal);
  color: #ffffff;
  border-color: var(--color-blue-royal);
  box-shadow: var(--shadow-sm);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}

.tech-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.9rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.tech-item-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-orange-primary);
  box-shadow: var(--shadow-md);
}

.tech-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.tech-category-badge {
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--bg-surface-alt);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

/* --- Why Choose MoonTech / Trust Counters --- */
.why-us-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background-color: var(--bg-surface);
  position: relative;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.features-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.feature-box {
  display: flex;
  gap: 1.1rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.feature-box:hover {
  border-color: var(--color-orange-primary);
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 98, 0, 0.15) 0%, rgba(0, 86, 214, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

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

/* Trust Counters Ribbon */
.counters-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: linear-gradient(135deg, #07172f 0%, #0a2540 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.2rem, 2.5vw, 2rem);
  margin-top: clamp(3rem, 5vw, 4.5rem);
  box-shadow: var(--shadow-lg);
}

.counter-item {
  text-align: center;
  position: relative;
}

.counter-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.counter-number {
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  font-weight: 900;
  font-family: var(--font-heading);
  color: #ff8c3b;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.counter-label {
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  color: #c4d7f5;
  font-weight: 600;
}

/* --- Original Design Concept Showcase (User's 5 Graphic Assets) --- */
.concepts-showcase-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--bg-surface-alt);
}

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

.concept-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.concept-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-orange-primary);
}

.concept-card-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0d1e36;
}

.concept-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.concept-card:hover .concept-card-img {
  transform: scale(1.05);
}

.concept-overlay-btn {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 28, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.concept-card:hover .concept-overlay-btn {
  opacity: 1;
}

.concept-card-info {
  padding: 1.2rem;
}

.concept-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.concept-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Contact & Inquiry Section ("Let's Build Your Ideas") --- */
.contact-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background-color: var(--bg-surface);
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

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

.channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.channel-item:hover {
  border-color: var(--color-orange-primary);
  transform: translateX(4px);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-navy-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

[data-theme="dark"] .channel-icon {
  background: var(--color-orange-primary);
}

.channel-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.channel-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-word;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.5vw, 2.8rem);
  box-shadow: var(--shadow-lg);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-medium);
  background: var(--bg-surface-alt);
  color: var(--text-main);
  transition: all var(--transition-fast);
  width: 100%;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-orange-primary);
  outline: none;
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(255, 98, 0, 0.15);
}

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

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-muted);
}

.checkbox-label input {
  accent-color: var(--color-orange-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- Master Footer --- */
.main-footer {
  background: #040d1a;
  color: #c4d7f5;
  padding: clamp(3.5rem, 5vw, 5rem) 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo-img {
  height: 46px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.footer-desc {
  font-size: 0.9rem;
  color: #8daed9;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 0.65rem;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--color-orange-primary);
  transform: translateY(-2px);
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: #8daed9;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: #ff914d;
  padding-left: 4px;
}

.footer-newsletter-text {
  font-size: 0.88rem;
  color: #8daed9;
  margin-bottom: 0.9rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.86rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-orange-primary);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.8rem;
  font-size: 0.84rem;
  color: #6c8db9;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Website Bottom Quick Action Bar --- */
.footer-actions-strip {
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
}

.footer-actions-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.8rem;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-action-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.footer-action-item.quote-action:hover {
  color: var(--color-orange-primary);
  transform: translateY(-2px);
}

.footer-action-item.whatsapp-action {
  color: #25D366;
}

.footer-action-item.whatsapp-action:hover {
  color: #4ade80;
  transform: translateY(-2px);
}

.footer-action-item.call-action:hover {
  color: #38bdf8;
  transform: translateY(-2px);
}

.action-pipe {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.1rem;
  font-weight: 300;
}

/* --- Floating Bottom Dock (Sticky Bar across mobile & desktop) --- */
.floating-bottom-dock {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  transition: all var(--transition-smooth);
}

.dock-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(7, 23, 47, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.4rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 98, 0, 0.2);
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dock-quote-btn:hover {
  color: #ff914d;
  transform: scale(1.05);
}

.dock-whatsapp-btn {
  color: #25D366;
}

.dock-whatsapp-btn:hover {
  color: #4ade80;
  transform: scale(1.05);
}

.dock-call-btn:hover {
  color: #38bdf8;
  transform: scale(1.05);
}

.dock-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1rem;
  font-weight: 300;
}

/* --- Modals & Popups --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 10, 22, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  padding: 1rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-medium);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  width: min(94vw, 680px);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.93) translateY(20px);
  transition: transform var(--transition-smooth);
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-alt);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-orange-primary);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Lightbox Modal */
.lightbox-dialog {
  max-width: 900px;
  padding: 1rem;
  background: #081426;
}

.lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 2000;
  max-width: min(360px, 92vw);
}

.toast {
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--color-orange-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(120%);
  transition: transform var(--transition-smooth);
}

.toast.show {
  transform: translateX(0);
}

/* Floating Back to Top */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-orange-primary);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: #ff7a1a;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Fluid Architecture)
   ========================================================================== */

/* 1. Large Laptops / Screens with Scaling (1041px to 1240px) */
@media (max-width: 1240px) {
  .nav-menu {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .btn-primary-orange.btn-lg {
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
  }
  .hero-grid {
    gap: 2.5rem;
  }
  .services-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 2. Tablets & Medium Laptops (<= 1040px) - Switches to Mobile Navigation */
@media (max-width: 1040px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .hero-content {
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
  }
  .hero-subhead {
    margin: 0 auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-pillars-row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    margin: 1.5rem auto 0;
  }
  .laptop-mockup-wrapper {
    max-width: 480px;
  }
  .estimator-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .counters-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .counter-item:not(:last-child)::after {
    display: none;
  }
  .concepts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* 3. Small Tablets (<= 860px) */
@media (max-width: 860px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 4. Mobile Devices (<= 640px) */
@media (max-width: 640px) {
  .top-bar {
    display: none;
  }
  .navbar {
    height: 66px;
  }
  .brand-logo-img {
    height: 36px;
    max-width: 155px;
  }
  .hero-headline {
    font-size: 2.1rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .hero-pillars-row {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  
  /* Mobile Mockups & Badges - Dock gracefully below laptop */
  .mobile-mockup-wrapper {
    display: none;
  }
  .hero-badges-group {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    margin-top: 1.25rem;
    pointer-events: auto;
  }
  .floating-badge {
    position: static;
    transform: none !important;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .floating-badge-1, .floating-badge-2 {
    top: auto;
    left: auto;
    bottom: auto;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
  }
  .estimator-options-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .counters-ribbon {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.2rem;
  }
  .concepts-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .toast-container {
    bottom: 5rem;
    right: 1rem;
    left: 1rem;
    max-width: 100%;
  }

  /* Mobile Bottom Dock */
  .floating-bottom-dock {
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
  }
  .dock-container {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    justify-content: space-around;
    padding: 0.7rem 0.5rem;
    padding-bottom: max(0.7rem, env(safe-area-inset-bottom));
    width: 100%;
    gap: 0.25rem;
  }
  .dock-btn {
    font-size: 0.8rem;
    gap: 0.35rem;
  }
  .footer-actions-wrap {
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }
  .back-to-top {
    bottom: 4.8rem !important;
  }
}
