/* ==========================================================================
   TECHSAVVY IT LTD. — MASTER ENTERPRISE DESIGN SYSTEM
   Modern Dark Luxury Aesthetic: Stripe + Linear + Vercel + HubSpot Tier
   ========================================================================== */

:root {
  /* Core Color Tokens */
  --bg-main: #060913;
  --bg-surface: #0b1120;
  --bg-surface-elevated: #111a2e;
  --bg-card: rgba(16, 25, 45, 0.75);
  --bg-card-hover: rgba(22, 34, 60, 0.85);
  --bg-glass: rgba(11, 17, 32, 0.7);
  
  /* Brand Accents */
  --brand-primary: #3b82f6;
  --brand-primary-hover: #2563eb;
  --brand-cyan: #06b6d4;
  --brand-violet: #8b5cf6;
  --brand-amber: #f59e0b;
  --brand-emerald: #10b981;
  --brand-coral: #ff4d5a;
  
  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #8b5cf6 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 20%, #94a3b8 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(6, 182, 212, 0.1), rgba(255, 255, 255, 0.05));
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15), transparent 70%);

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #020617;

  /* Borders & Shadows */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-focus: rgba(59, 130, 246, 0.6);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.25);

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main) !important;
  background-color: var(--bg-main) !important;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

body {
  font-family: var(--font-body) !important;
  background-color: var(--bg-main) !important;
  color: var(--text-main) !important;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Animated Holographic Cyber Grid Background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(255, 77, 90, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 209, 102, 0.05) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
  pointer-events: none;
  z-index: -2;
}

main {
  flex: 1;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

/* Headings & Text Color Overrides for Bootstrap Reset */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-display);
  color: #ffffff !important;
  font-weight: 700;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

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

a:hover {
  text-decoration: none !important;
}

.card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  color: var(--text-main) !important;
  border-radius: var(--radius-md);
}

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* ==========================================================================
   UTILITY & CONTAINER
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

.section--dark {
  background-color: var(--bg-surface);
}

.section__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-cyan);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-brand-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
  text-decoration: none !important;
  line-height: 1.4;
}

.btn--primary {
  background: var(--gradient-brand) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.btn--primary:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
  filter: brightness(1.1);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-medium) !important;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: #25d366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  background: #20ba5a !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   STICKY NAVBAR & MEGA MENUS
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(6, 9, 19, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.navbar--scrolled {
  background: rgba(6, 9, 19, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-medium);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  width: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.navbar__logo-img {
  height: 38px;
  width: auto;
}

.navbar__list {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: nowrap;
}

.navbar__item {
  position: relative;
  flex-shrink: 0;
}

.navbar__link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.2rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.navbar__link:hover,
.navbar__link.active {
  color: #ffffff;
}

.navbar__link i.fa-chevron-down {
  font-size: 0.6rem;
  transition: transform var(--transition-fast);
}

.navbar__item:hover .navbar__link i.fa-chevron-down {
  transform: rotate(180deg);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 680px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1010;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.navbar__item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mega-menu__item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mega-menu__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mega-menu__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.mega-menu__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
}

.navbar__hamburger-line {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: all var(--transition-normal);
}

.mobile-drawer.active {
  visibility: visible;
  opacity: 1;
}

.mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 380px;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-medium);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
}

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

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

.mobile-drawer__close {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.mobile-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.mobile-drawer__link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero__glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(6, 182, 212, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #60a5fa;
  margin-bottom: 1.8rem;
}

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

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

.hero__title {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Trust Indicators Row */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  background: rgba(11, 17, 32, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

.trust-item {
  text-align: center;
}

.trust-item__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.trust-item__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Client Ecosystem Ticker */
.ecosystem-marquee {
  overflow: hidden;
  user-select: none;
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.ecosystem-track {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
  animation: scroll-marquee 35s linear infinite;
}

@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.ecosystem-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

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

.card__price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--brand-cyan);
}

/* ==========================================================================
   PRODUCT SUITE & SHOWCASE
   ========================================================================== */
.product-card {
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.8) 0%, rgba(11, 17, 32, 0.9) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.product-card__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.product-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.product-card__feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.product-card__feature-item i {
  color: var(--brand-emerald);
  font-size: 0.85rem;
}

/* ==========================================================================
   INTERACTIVE QUOTATION CALCULATOR
   ========================================================================== */
.calculator-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: rgba(6, 9, 19, 0.6);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.calculator-result-card {
  background: rgba(6, 9, 19, 0.7);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.calc-price-display {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand-cyan);
  margin: 1rem 0 0.5rem;
}

.calc-usd-display {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   DOMAIN SEARCH TOOL
   ========================================================================== */
.domain-search-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.domain-input-group {
  display: flex;
  gap: 0.8rem;
}

.domain-input {
  flex: 1;
  padding: 1rem 1.4rem;
  background: rgba(6, 9, 19, 0.8);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 1.05rem;
}

.domain-results-table {
  width: 100%;
  margin-top: 1.5rem;
  border-collapse: collapse;
}

.domain-results-table th,
.domain-results-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   FOOTER & LEGAL
   ========================================================================== */
.footer {
  background: #03060d;
  border-top: 1px solid var(--border-light);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer__brand p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0.8rem 0 1.2rem;
  max-width: 100%;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: #ffffff;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   FLOATING SUPPORT WIDGET & STICKY MOBILE BAR
   ========================================================================== */
.floating-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: auto;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
}

.floating-btn--wa {
  background: #25d366;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(6, 9, 19, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-medium);
  padding: 0.75rem 1rem;
  z-index: 998;
}

.mobile-cta-bar__inner {
  display: flex;
  gap: 0.6rem;
}

.mobile-cta-bar__btn {
  flex: 1;
  padding: 0.65rem 0.5rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   MOBILE DRAWER ACCORDIONS & TOUCH TARGETS (Bootstrap 5 Enhanced)
   ========================================================================== */
.mobile-nav-group {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.4rem;
}

.mobile-nav-group:last-child {
  border-bottom: none;
}

.mobile-drawer__link {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-drawer__link:hover,
.mobile-drawer__link.active {
  color: var(--brand-cyan);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav-toggle {
  min-height: 48px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--brand-cyan);
}

.mobile-nav-toggle .toggle-icon {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.mobile-nav-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
  color: var(--brand-cyan);
}

.mobile-subnav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 2px solid rgba(59, 130, 246, 0.2);
  margin-left: 0.75rem;
  margin-bottom: 0.5rem;
}

.mobile-subnav__link {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.mobile-subnav__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES & MOBILE-FIRST DESIGN SYSTEM
   Supports: 320px, 360px, 375px, 390px, 414px, 480px, 768px, 992px, 1200px, 1440px+
   ========================================================================== */

/* 1. Large Screens & Desktop Breakdown (max-width: 1199px) */
@media (max-width: 1199px) {
  .navbar__list, .navbar__actions {
    display: none !important;
  }
  .navbar__hamburger {
    display: flex !important;
  }
  .hero__title {
    font-size: clamp(2.4rem, 4vw + 1rem, 3.2rem);
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

/* 2. Tablet & Landscape Mobile (max-width: 991px) */
@media (max-width: 991px) {
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
  }
  .hero__title {
    font-size: clamp(2rem, 3.5vw + 1rem, 2.75rem);
  }
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.25rem;
  }
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
  }
}

/* 3. Mobile Devices & Phablets (max-width: 768px) */
@media (max-width: 768px) {
  /* Force all inline 2-column or minmax grids to 1-column on mobile */
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns:2fr 1fr"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns:repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(4, 1fr)"],
  div[style*="grid-template-columns:repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  div[style*="minmax(320px"],
  div[style*="minmax(340px"],
  div[style*="minmax(300px"],
  div[style*="minmax(280px"] {
    grid-template-columns: 1fr !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .section__header {
    margin-bottom: 2rem !important;
  }
  .section__title {
    font-size: clamp(1.5rem, 4vw + 0.5rem, 2rem) !important;
    line-height: 1.25;
  }
  .section__desc, .section__subtitle {
    font-size: 0.95rem !important;
    line-height: 1.6;
    margin-bottom: 1.5rem !important;
  }
  .hero {
    padding-top: calc(var(--header-height) + 1.5rem) !important;
    padding-bottom: 3rem !important;
    min-height: auto !important;
    overflow: hidden !important;
  }
  .hero__title {
    font-size: clamp(1.75rem, 6vw + 0.2rem, 2.35rem) !important;
    line-height: 1.25 !important;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .hero__subtitle {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1.8rem !important;
  }
  .hero__badge {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.8rem !important;
    white-space: normal !important;
    text-align: center !important;
    max-width: 100% !important;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }
  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
  }
  .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 1rem 0.75rem !important;
    gap: 0.75rem !important;
  }
  .trust-item__num {
    font-size: 1.45rem !important;
  }
  .trust-item__label {
    font-size: 0.72rem !important;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
  }
  .floating-widget {
    display: none !important;
  }
  .mobile-cta-bar {
    display: block !important;
  }
  body {
    padding-bottom: 65px;
  }
  .card {
    padding: 1.25rem !important;
  }
  .product-card {
    padding: 1.25rem !important;
  }
  .calculator-box {
    padding: 1.5rem !important;
  }
}

/* 4. Small Mobile Screens (320px–575px) */
@media (max-width: 575px) {
  .hero__title {
    font-size: clamp(1.5rem, 6.5vw, 1.85rem) !important;
    letter-spacing: -0.02em;
  }
  .hero__badge {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.75rem !important;
  }
  .trust-bar {
    grid-template-columns: 1fr 1fr !important;
    padding: 0.8rem 0.5rem !important;
  }
  .trust-item__num {
    font-size: 1.35rem !important;
  }
  .trust-item__label {
    font-size: 0.7rem !important;
  }
  .card-grid {
    grid-template-columns: 1fr !important;
  }
  .navbar__inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .mobile-drawer__panel {
    width: 92%;
    max-width: 320px;
    padding: 1.5rem 1rem;
  }
  .modal-dialog {
    margin: 0.5rem !important;
  }
  .modal-content {
    padding: 1rem !important;
  }
}

/* ==========================================================================
   PRELOADER (Red Logo Glowing Engine Matching Brand Logo)
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #060913;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.preloader__logo {
  width: 90px;
  filter: drop-shadow(0 0 25px rgba(255, 77, 90, 0.5));
  animation: preloaderFloat 2s ease-in-out infinite alternate;
}

@keyframes preloaderFloat {
  0% { transform: scale(0.96) translateY(0); filter: drop-shadow(0 0 15px rgba(255, 77, 90, 0.4)); }
  100% { transform: scale(1.05) translateY(-8px); filter: drop-shadow(0 0 35px #ff4d5a); }
}

.preloader__text {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #ff4d5a;
  min-height: 1.5em;
  letter-spacing: 0.05em;
}

.preloader__cursor-blink {
  animation: blink 0.7s step-end infinite;
  color: #ffd166;
}

@keyframes blink { 50% { opacity: 0; } }

.preloader__bar-track {
  width: 240px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.preloader__bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff4d5a, #ffd166);
  box-shadow: 0 0 15px rgba(255, 77, 90, 0.6);
  border-radius: 10px;
  transition: width 0.15s linear;
}

.preloader__percent {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ==========================================================================
   GLOBAL FORM INPUTS & AUTOFILL (DARK THEME)
   ========================================================================== */
.form-input, .form-control, .form-select, .checkout-input,
input[type="text"], input[type="tel"], input[type="email"], input[type="password"],
input[type="number"], textarea, select {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #334155 !important;
  border-radius: 8px;
  min-height: 48px;
  font-size: 1rem;
}

.form-input:focus, .form-control:focus, .form-select:focus, .checkout-input:focus,
input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, 
input[type="password"]:focus, input[type="number"]:focus, textarea:focus, select:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
  background-color: #0f172a !important;
  color: #ffffff !important;
}

input::placeholder, textarea::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

/* Chrome/Safari/Edge Autofill Background Override */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0f172a inset !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* Responsive Image and Table Utility Safeguards */
img {
  max-width: 100%;
  height: auto;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

/* Scale down third-party Tawk.to chat widget & fix overlap */
iframe[src*="tawk.to"], 
iframe[id^="tawk"], 
.tawk-min-container,
div.tawk-min-container,
#tawkchat-iframe-container {
  transform: scale(0.78) !important;
  transform-origin: bottom right !important;
  bottom: 10px !important;
  right: 10px !important;
}

/* ==========================================================================
   SHARED PRODUCT & SERVICE CARD RESPONSIVE STYLES
   Solves mobile CTA overflow, button overlapping, tap targets, and text wrapping
   ========================================================================== */
.service-card,
.product-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: var(--bg-card);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden !important;
  overflow-x: hidden !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card:hover,
.product-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* Master Services & Product Grid Responsiveness */
#masterServicesGrid,
.master-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Shared CTA Action Row */
.card-cta,
.product-card__cta {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  margin-top: auto;
}

.card-cta .btn,
.product-card__cta .btn {
  min-height: 44px;
  box-sizing: border-box !important;
  min-width: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.card-cta .btn--quote,
.product-card__cta .btn--quote {
  flex: 1 1 auto;
  text-align: center;
  font-size: 0.84rem;
  padding: 0.55rem 0.85rem;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  word-break: normal;
  line-height: 1.35;
  min-width: 0 !important;
}

.card-cta .btn--whatsapp-cta,
.product-card__cta .btn--whatsapp-cta {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.card-cta .btn--whatsapp-cta .whatsapp-label,
.product-card__cta .btn--whatsapp-cta .whatsapp-label {
  display: none;
}

.card-cta .btn--whatsapp-cta:hover,
.product-card__cta .btn--whatsapp-cta:hover {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
}

/* ==========================================================================
   MOBILE BREAKPOINT RULES (Screens < 480px, including 320px, 375px, 390px, 428px)
   ========================================================================== */
@media screen and (max-width: 480px) {
  #masterServicesGrid,
  .master-services-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .service-card,
  .product-card {
    padding: 1.15rem !important;
    border-radius: 12px !important;
    width: 100% !important;
  }

  /* 1. Stack Quote Button and WhatsApp Field Vertically */
  .card-cta,
  .product-card__cta {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  /* 2. Full width & proper height for "Get Instant Quote" Button */
  .card-cta .btn--quote,
  .product-card__cta .btn--quote {
    width: 100% !important;
    flex: none !important;
    min-height: 44px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    padding: 0.75rem 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
  }

  /* 3. Full width & clear label for WhatsApp Button */
  .card-cta .btn--whatsapp-cta,
  .product-card__cta .btn--whatsapp-cta {
    width: 100% !important;
    flex: none !important;
    min-height: 44px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 1rem !important;
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.4) !important;
    color: #22c55e !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }

  .card-cta .btn--whatsapp-cta .whatsapp-label,
  .product-card__cta .btn--whatsapp-cta .whatsapp-label {
    display: inline !important;
  }

  .card-cta .btn--whatsapp-cta i,
  .product-card__cta .btn--whatsapp-cta i {
    font-size: 1.1rem !important;
  }
}

/* ==========================================================================
   INTERACTIVE COST CALCULATOR & COMPARISON TABLE
   ========================================================================== */
.calc-option {
  transition: all var(--transition-fast);
  user-select: none;
}

.calc-option:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.5) !important;
}

.calc-addon {
  accent-color: var(--brand-primary);
  width: 17px;
  height: 17px;
}

.table-responsive table th,
.table-responsive table td {
  vertical-align: middle;
  border-color: var(--border-light);
}

.modal-content {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8) !important;
}




