/* ==========================================================================
   APEX DIGITAL SERVICES — SOPHISTICATED FIRE & COPILOT AURORA THEME
   Design Tokens, Resilient Typography, Micro-Interactions & Responsive Layouts
   ========================================================================== */

:root {
  /* Color Palette - Copilot-Inspired Deep Obsidian & Warm Fire Aurora */
  --bg-main: #0a0b10;
  --bg-surface: #12141d;
  --bg-card: rgba(18, 20, 30, 0.76);
  --bg-card-hover: rgba(26, 29, 44, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.035);
  --bg-glass-elevated: rgba(255, 255, 255, 0.065);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 90, 31, 0.28);
  --border-active: rgba(255, 140, 0, 0.5);

  /* Warm Fire & Sunset Ember Accents */
  --accent-fire: #ff4d2e;
  --accent-amber: #ff8c00;
  --accent-gold: #ffbe0b;
  --accent-rose: #f43f5e;
  --accent-coral: #fb7185;
  --accent-plum: #9333ea;
  --accent-emerald: #10b981;

  /* Sophisticated Fire Aurora Gradients (Copilot Inspired) */
  --gradient-brand: linear-gradient(135deg, #ff4500 0%, #ff8c00 40%, #e11d48 80%, #9333ea 100%);
  --gradient-fire: linear-gradient(135deg, #ff4122 0%, #ff7700 50%, #ffa500 100%);
  --gradient-fire-btn: linear-gradient(135deg, #ff4122 0%, #ff7700 48%, #e11d48 100%);
  --gradient-glow: radial-gradient(circle, rgba(255, 77, 46, 0.16) 0%, rgba(10, 11, 16, 0) 70%);
  --gradient-card: linear-gradient(180deg, rgba(32, 24, 28, 0.45) 0%, rgba(14, 15, 22, 0.65) 100%);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Depth */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  --shadow-glow-fire: 0 6px 25px rgba(255, 77, 46, 0.32);
  --shadow-glow-amber: 0 6px 25px rgba(255, 140, 0, 0.28);

  /* Transitions */
  --tr-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Subtle Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #232736;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-amber);
}

/* 3D Background Canvas Layer */
#canvas3d-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/* Glow Background Orbs - Warm Fire & Copilot Aurora */
.bg-ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  will-change: transform;
}
.orb-1 {
  top: -150px;
  left: 15%;
  width: 580px;
  height: 580px;
  background: var(--accent-fire);
}
.orb-2 {
  top: 35%;
  right: -100px;
  width: 650px;
  height: 650px;
  background: var(--accent-rose);
}
.orb-3 {
  bottom: 10%;
  left: -150px;
  width: 520px;
  height: 520px;
  background: var(--accent-plum);
}

/* Main Container System */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.container-wide {
  max-width: 1440px;
}

/* Typography Defaults with Fluid Clamping */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
}

h1 {
  font-size: clamp(2.3rem, 5.5vw + 0.5rem, 4.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw + 0.2rem, 3.2rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw + 0.1rem, 2rem);
}

p {
  color: var(--text-muted);
  font-size: clamp(0.98rem, 1vw + 0.15rem, 1.15rem);
}

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

.text-fire { color: var(--accent-fire); }
.text-amber { color: var(--accent-amber); }
.text-gold { color: var(--accent-gold); }
.text-rose { color: var(--accent-rose); }
.text-emerald { color: var(--accent-emerald); }

/* Navigation Bar — Ultra-Modern Frosted Glass Pill Dock */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.95rem 0;
  background: rgba(10, 11, 16, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.navbar-wrapper.scrolled {
  padding: 0.65rem 0;
  background: rgba(10, 11, 16, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 65, 34, 0.18);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.brand-logo:hover {
  transform: translateY(-1px);
}
.brand-logo .logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #ff4122 0%, #ff8c00 50%, #e11d48 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 65, 34, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
  font-weight: 900;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.brand-logo .logo-mark::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(45deg);
  animation: logoShine 3.5s infinite;
}

@keyframes logoShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  35%, 100% { transform: translateX(100%) rotate(45deg); }
}

/* Floating Glass Pill Dock Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.45rem;
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav-link {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.42rem 0.85rem;
  border-radius: 9999px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}
.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 65, 34, 0.22), rgba(255, 140, 0, 0.16));
  border: 1px solid rgba(255, 87, 34, 0.35);
  box-shadow: 0 2px 10px rgba(255, 65, 34, 0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-calc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  background: linear-gradient(135deg, #ff4122 0%, #ff8c00 100%);
  color: #ffffff !important;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(255, 65, 34, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.nav-calc-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff5733 0%, #ff9800 100%);
  box-shadow: 0 8px 28px rgba(255, 65, 34, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.nav-calc-btn svg {
  stroke: #ffffff;
  transition: transform 0.25s ease;
}
.nav-calc-btn:hover svg {
  transform: translateX(3px);
}

.btn-mobile-calc {
  display: none;
}
.btn-mobile-calc .calc-text-short {
  display: none;
}

/* ==========================================================================
   BUTTONS — SOPHISTICATED COPILOT FIRE GRADIENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.7rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--tr-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-fire-btn);
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(255, 77, 46, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff5733 0%, #ff8811 50%, #f43f5e 100%);
  box-shadow: 0 8px 28px rgba(255, 77, 46, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary svg {
  stroke: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 140, 0, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-sm {
  padding: 0.52rem 1.25rem;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* Mobile Toggle - Hidden on desktop */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ==========================================================================
   MOBILE DRAWER & OVERLAY (HIDDEN ON DESKTOP BY DEFAULT)
   ========================================================================== */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background: #0d0e16;
  border-left: 1px solid var(--border-subtle);
  padding: 2.5rem 1.5rem;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 200;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}
.mobile-drawer.open {
  right: 0;
}
.mobile-drawer-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
}
.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-drawer-links a {
  color: #fff;
  font-size: 1.15rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.mobile-drawer-links a:hover {
  color: var(--accent-amber);
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: clamp(7rem, 15vh, 10rem);
  padding-bottom: clamp(4rem, 8vh, 6rem);
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 77, 46, 0.08);
  border: 1px solid rgba(255, 77, 46, 0.25);
  color: var(--accent-amber);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-fire);
  box-shadow: 0 0 10px var(--accent-fire);
  animation: pulseDot 2s infinite;
}

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

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-item svg {
  color: var(--accent-amber);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero 3D Interactive Terminal / Card */
.hero-visual {
  position: relative;
  perspective: 1200px;
}

.interactive-3d-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 90, 31, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 77, 46, 0.12);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.interactive-3d-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 140, 0, 0.12), transparent 60%);
  pointer-events: none;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}
.terminal-dots {
  display: flex;
  gap: 6px;
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.tech-ticker-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.ticker-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}
.ticker-badge.active {
  background: rgba(255, 77, 46, 0.12);
  border-color: rgba(255, 77, 46, 0.35);
  color: var(--accent-amber);
}

.code-preview-box {
  background: rgba(8, 9, 14, 0.78);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.code-indent {
  padding-left: 1.2rem;
}
.code-keyword { color: #f43f5e; }
.code-fn { color: #ff8c00; }
.code-string { color: #34d399; }
.code-num { color: #fbbf24; }
.code-comment { color: #64748b; font-style: italic; }

.hero-stat-floating {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.stat-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: left;
}
.stat-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sections Global Structure */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  margin-bottom: 0.75rem;
}
.section-desc {
  margin-top: 1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: var(--tr-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-fire);
}
.service-card:hover::after {
  opacity: 1;
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--tr-spring);
}
.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 77, 46, 0.12);
  border-color: rgba(255, 77, 46, 0.35);
  box-shadow: 0 0 20px rgba(255, 77, 46, 0.3);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill {
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   PRICING ENGINE & TRANSPARENCY SECTION
   ========================================================================== */

.pricing-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.billing-toggle-container {
  display: inline-flex;
  padding: 0.35rem;
  background: rgba(18, 20, 30, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  backdrop-filter: blur(15px);
  position: relative;
}

.toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--tr-smooth);
}
.toggle-btn.active {
  background: var(--gradient-fire-btn);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 77, 46, 0.35);
}

.pricing-clarity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 3.5rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--tr-smooth);
  backdrop-filter: blur(20px);
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: rgba(255, 90, 31, 0.45);
  background: linear-gradient(180deg, rgba(32, 22, 28, 0.85) 0%, rgba(14, 15, 24, 0.9) 100%);
  box-shadow: 0 15px 45px -10px rgba(255, 77, 46, 0.22);
}
.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient-fire-btn);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255, 77, 46, 0.4);
}

.plan-header {
  margin-bottom: 1.5rem;
}
.plan-emoji {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.plan-name {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.plan-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-pricing-box {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}
.primary-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.price-symbol {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.price-val {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}
.price-scratch {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 600;
  color: #64748b;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
  margin-left: 0.3rem;
  margin-right: 0.15rem;
  opacity: 0.85;
}
.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Maintenance sub-box within card */
.maint-subbox {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.maint-label {
  color: var(--text-muted);
}
.maint-price {
  font-weight: 700;
  color: var(--accent-amber);
}

.bundle-total-row {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--accent-amber);
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  color: #cbd5e1;
}
.plan-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-amber);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Domain & Hosting Transparency Callout Banner */
.domain-hosting-banner {
  background: linear-gradient(135deg, rgba(28, 20, 26, 0.85) 0%, rgba(13, 14, 22, 0.9) 100%);
  border: 1px solid rgba(255, 77, 46, 0.22);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
.domain-hosting-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-brand);
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.banner-title {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.banner-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.policy-card-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.policy-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}
.policy-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.policy-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.policy-highlight {
  font-weight: 700;
  color: var(--accent-amber);
}

/* ==========================================================================
   INTERACTIVE COST CALCULATOR & LIVE BREAKDOWN SIMULATOR
   ========================================================================== */

.calculator-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 77, 46, 0.12);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.calc-step {
  margin-bottom: 2rem;
}
.calc-step-title {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-fire-btn);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Calc Plan Selector Pills */
.plan-pill-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.plan-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: var(--tr-smooth);
}
.plan-pill:hover {
  border-color: rgba(255, 140, 0, 0.35);
  background: rgba(255, 140, 0, 0.06);
}
.plan-pill.active {
  border-color: var(--accent-fire);
  background: rgba(255, 77, 46, 0.12);
  box-shadow: 0 0 18px rgba(255, 77, 46, 0.22);
}
.pill-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
}
.pill-cost {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Radio / Segmented Controls */
.calc-segmented {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.3rem;
  gap: 0.3rem;
}
.segmented-item {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--tr-smooth);
}
.segmented-item.active {
  background: rgba(255, 77, 46, 0.2);
  border: 1px solid rgba(255, 77, 46, 0.4);
  color: #fff;
}
.calc-host-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}
.host-term-label {
  font-weight: 700;
  font-size: 0.88rem;
}
.host-term-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-amber);
}
.host-term-rate {
  font-size: 0.72rem;
  color: var(--text-dim);
}
.segmented-item.active .host-term-price {
  color: #fff;
}
.segmented-item.active .host-term-rate {
  color: rgba(255, 255, 255, 0.85);
}

.calc-step-subtext {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: -0.4rem;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}
.calc-step-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  line-height: 1.4;
}
.calc-step-note svg {
  flex-shrink: 0;
  color: var(--accent-amber);
  margin-top: 0.15rem;
}

/* Toggle Switch */
.calc-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.switch-label-wrap h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.switch-label-wrap p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #2a2e3d;
  transition: 0.3s;
  border-radius: 34px;
}
.slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}
input:checked + .slider {
  background: var(--gradient-fire-btn);
}
input:checked + .slider::before {
  transform: translateX(22px);
  background-color: #ffffff;
}

/* Live Bill Summary Box */
.calc-summary-card {
  background: linear-gradient(180deg, #141622 0%, #0c0d15 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 100px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}
.summary-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 140, 0, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(255, 140, 0, 0.3);
}

.summary-breakdown {
  list-style: none;
  margin-bottom: 1.5rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  color: #cbd5e1;
}
.summary-row.indent {
  padding-left: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.summary-row-val {
  font-weight: 600;
  font-family: var(--font-mono);
}

.grand-total-section {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}
.total-highlight-box {
  background: rgba(255, 77, 46, 0.06);
  border: 1px solid rgba(255, 77, 46, 0.22);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 0.75rem;
}
.total-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-amber);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.total-amount {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}
.total-footnote {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Portfolio Showcase */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 2rem;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--tr-smooth);
}
.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-fire);
}
.portfolio-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}
.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card:hover .portfolio-media img {
  transform: scale(1.05);
}
.portfolio-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
}
.badge-live {
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(10px);
  color: var(--accent-amber);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 140, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.portfolio-info {
  padding: 1.5rem;
}
.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.portfolio-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* Tech Stack Grid (Garry Tan gstack inspired) */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 1.25rem;
}
.stack-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: var(--tr-smooth);
}
.stack-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 140, 0, 0.35);
  transform: translateY(-4px);
}
.stack-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.stack-name {
  font-weight: 700;
  font-size: 0.95rem;
}
.stack-role {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* FAQs Accordion */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--tr-smooth);
}
.faq-item.active {
  border-color: var(--border-glow);
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: var(--accent-amber);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 1.25rem;
}

/* Contact & CTA Section */
.contact-wrapper {
  background: linear-gradient(135deg, rgba(28, 18, 24, 0.85) 0%, rgba(14, 15, 24, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}
.contact-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 77, 46, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Footer */
.footer {
  background: #06070a;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
}
.footer-desc {
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--tr-smooth);
}
.footer-links a:hover {
  color: var(--accent-amber);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badge, .hero-subtitle, .hero-actions, .hero-trust-bar {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
  .calc-summary-card {
    position: static;
  }
  .banner-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 0.15rem;
    padding: 0.25rem 0.35rem;
  }
  .nav-link {
    padding: 0.35rem 0.65rem;
    font-size: 0.82rem;
  }
  .nav-calc-btn {
    padding: 0.52rem 1.1rem;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   MOBILE & TABLET OVERHAUL (max-width: 992px)
   Ultra-modern, app-like native feel, touch ergonomics & zero desktop regressions
   ========================================================================== */
@media (max-width: 992px) {
  /* Navigation Bar Overhaul */
  .navbar-wrapper {
    padding: 0.55rem 0;
  }
  .navbar {
    padding: 0 1rem;
  }
  .brand-logo {
    font-size: 1.15rem;
    gap: 0.6rem;
  }
  .brand-logo .logo-mark {
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
  }

  /* Hide Desktop Nav and show Mobile Buttons */
  .nav-links, 
  .nav-actions .btn-desktop {
    display: none !important;
  }

  /* Compact Mobile Calculator Button */
  .btn-mobile-calc {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    padding: 0.46rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ff4122 0%, #ff8c00 100%);
    color: #ffffff !important;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 3px 12px rgba(255, 65, 34, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
  }
  .btn-mobile-calc:active {
    transform: scale(0.96);
  }
  .btn-mobile-calc svg {
    stroke: #ffffff;
  }

  /* Mobile Hamburger Toggle Button */
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  .mobile-nav-toggle:active {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(0.95);
  }

  /* Mobile Drawer Overlay */
  .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 5, 8, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9998;
    display: block;
  }
  .drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Slide-in Mobile App Drawer */
  .mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 86vw);
    height: 100dvh;
    background: rgba(11, 13, 20, 0.97);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.75);
    display: flex !important;
    flex-direction: column;
    padding: 1.25rem;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-drawer.open {
    transform: translateX(0);
  }

  /* Drawer Header */
  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1rem;
  }
  .mobile-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .mobile-drawer-close:active {
    background: rgba(255, 65, 34, 0.2);
    color: #ffffff;
    border-color: rgba(255, 65, 34, 0.4);
  }

  /* Drawer Navigation Links */
  .mobile-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0;
    margin: 0 0 auto 0;
  }
  .mobile-drawer-links li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-drawer-links li a:active,
  .mobile-drawer-links li a:hover {
    background: rgba(255, 65, 34, 0.12);
    border-color: rgba(255, 65, 34, 0.3);
    color: #ffffff;
    transform: translateX(3px);
  }
  .drawer-arrow {
    color: var(--amber);
    font-size: 1rem;
    opacity: 0.75;
    transition: transform 0.2s ease;
  }
  .mobile-drawer-links li a:active .drawer-arrow {
    transform: translateX(3px);
    opacity: 1;
  }
  .drawer-badge {
    background: linear-gradient(135deg, #ff4122, #ff8c00);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.18rem 0.55rem;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(255, 65, 34, 0.4);
  }

  /* Drawer Footer Actions */
  .mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 1.25rem;
  }
  .mobile-drawer-footer .btn {
    min-height: 48px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 12px;
  }

  /* Grid Layouts Stack to 1 Column on Tablet/Mobile */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .policy-card-group {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   SMARTPHONE OVERHAUL (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Prevent Any Horizontal Overflow */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  main {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  .bg-ambient-orb {
    max-width: 100vw !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  .orb-1, .orb-2, .orb-3 {
    max-width: 100vw !important;
    right: 0 !important;
  }

  /* Scroll Margin Offset for Anchors */
  [id], section, .calculator-wrapper {
    scroll-margin-top: 5rem;
  }

  /* Ambient Canvas Background Softness on Mobile */
  #canvas3d-container {
    opacity: 0.45 !important;
  }

  /* Global Spacing */
  section {
    padding: 3.75rem 0 !important;
  }
  .container {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: clamp(1.75rem, 6.8vw, 2.2rem) !important;
    letter-spacing: -0.02em;
  }
  .section-desc {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  /* Hero Section Overhaul */
  .hero-section {
    padding: 5.25rem 0 3rem 0 !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    gap: 2rem !important;
  }
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero-badge {
    margin: 0 auto 1rem auto !important;
    font-size: 0.72rem !important;
    padding: 0.35rem 0.75rem !important;
    white-space: normal !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1.35 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hero-title {
    font-size: clamp(1.65rem, 6.8vw, 2.25rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
  .hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin: 0 auto 1.5rem auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
  }
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 0.75rem !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 2rem !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    min-height: 50px !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
  }
  .hero-trust-bar {
    margin-top: 1.5rem !important;
    gap: 0.65rem !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .stat-pill {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 125px;
    padding: 0.75rem 0.85rem;
    text-align: center;
    box-sizing: border-box;
  }
  .stat-pill strong {
    font-size: 1.15rem;
  }
  .stat-pill span {
    font-size: 0.72rem;
  }

  /* Interactive 3D Card / Compact Small Box on Mobile */
  .hero-visual {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 0.5rem !important;
  }
  .interactive-3d-card {
    width: 100% !important;
    max-width: 380px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0.95rem 0.85rem !important;
    border-radius: 14px !important;
  }
  .terminal-header {
    padding-bottom: 0.45rem !important;
    margin-bottom: 0.55rem !important;
  }
  .terminal-title {
    font-size: 0.7rem !important;
  }
  .tech-ticker-row {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.3rem !important;
    margin-bottom: 0.55rem !important;
  }
  .ticker-badge {
    font-size: 0.64rem !important;
    padding: 0.15rem 0.45rem !important;
  }
  .code-preview-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    word-break: break-word !important;
    white-space: normal !important;
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    padding: 0.65rem 0.75rem !important;
    margin-bottom: 0.65rem !important;
    border-radius: 10px !important;
  }
  .code-preview-box div {
    margin: 0 !important;
    padding: 0.04rem 0 !important;
    line-height: 1.32 !important;
  }
  .code-indent {
    padding-left: 0.65rem !important;
  }
  .hero-stat-floating {
    gap: 0.5rem !important;
  }
  .hero-stat-floating .stat-pill {
    padding: 0.55rem 0.75rem !important;
    border-radius: 10px !important;
  }
  .hero-stat-floating .stat-val {
    font-size: 1.1rem !important;
  }
  .hero-stat-floating .stat-label {
    font-size: 0.68rem !important;
  }

  /* Service Cards: Centered Layout */
  .service-card {
    text-align: center !important;
    align-items: center !important;
    padding: 1.85rem 1.35rem !important;
    border-radius: 20px !important;
  }
  .service-icon-wrap {
    margin: 0 auto 1.25rem auto !important;
  }
  .service-title {
    font-size: 1.25rem !important;
    text-align: center !important;
    width: 100% !important;
  }
  .service-desc {
    font-size: 0.88rem !important;
    text-align: center !important;
    width: 100% !important;
    line-height: 1.55 !important;
  }
  .service-pills {
    justify-content: center !important;
    width: 100% !important;
  }

  /* Pricing Cards: Centered Layout */
  .billing-toggle-wrapper {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .billing-toggle {
    width: 100%;
    padding: 0.35rem;
  }
  .toggle-btn {
    flex: 1;
    padding: 0.65rem 0.6rem;
    font-size: 0.82rem;
    text-align: center;
  }
  .pricing-card {
    padding: 1.85rem 1.35rem !important;
    border-radius: 20px !important;
    text-align: center !important;
    align-items: center !important;
  }
  .pricing-card.featured {
    transform: none !important;
    border-color: rgba(255, 65, 34, 0.45);
    box-shadow: 0 10px 30px rgba(255, 65, 34, 0.22);
  }
  .plan-header {
    text-align: center !important;
    width: 100% !important;
  }
  .plan-emoji {
    margin: 0 auto 0.5rem auto !important;
    display: block !important;
  }
  .plan-pricing-box {
    text-align: center !important;
    width: 100% !important;
  }
  .primary-price-row {
    justify-content: center !important;
    text-align: center !important;
  }
  .pricing-amount {
    font-size: 2.25rem;
  }
  .maint-subbox {
    justify-content: center !important;
    text-align: center !important;
  }
  .bundle-total-row {
    justify-content: center !important;
    text-align: center !important;
  }
  .pricing-features {
    gap: 0.65rem;
    margin: 1.25rem auto 1.5rem auto !important;
    width: 100% !important;
    max-width: 290px !important;
    text-align: left !important;
  }
  .pricing-features li {
    font-size: 0.86rem;
    line-height: 1.4;
  }
  .pricing-card .btn {
    width: 100% !important;
    min-height: 48px;
    justify-content: center !important;
  }

  /* Domain & Hosting Banner: Centered Layout */
  .domain-hosting-card,
  .domain-hosting-banner {
    padding: 1.75rem 1.25rem !important;
    border-radius: 20px !important;
    text-align: center !important;
  }
  .banner-title {
    justify-content: center !important;
    text-align: center !important;
  }
  .banner-desc {
    text-align: center !important;
    margin: 0 auto 1.25rem auto !important;
  }
  .domain-hosting-banner div[style*="display: flex"] {
    justify-content: center !important;
  }
  .policy-card-group {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }
  .policy-card {
    text-align: center !important;
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
  }
  .policy-card h4 {
    justify-content: center !important;
    text-align: center !important;
  }
  .policy-card p {
    text-align: center !important;
    font-size: 0.84rem !important;
  }

  /* Portfolio Cards: Centered Layout */
  .portfolio-card {
    text-align: center !important;
  }
  .portfolio-info {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .portfolio-tags {
    justify-content: center !important;
  }
  .portfolio-title {
    text-align: center !important;
  }
  .portfolio-desc {
    text-align: center !important;
  }

  /* Tech Stack Grid: Centered */
  .stack-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }
  .stack-card {
    text-align: center !important;
  }

  /* ========================================================================
     5-STEP COST CALCULATOR — MOBILE PERFECTION
     ======================================================================== */
  /* Remove outer box & borders on mobile so there are NO clunky edge lines */
  .calculator-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 4rem 0 !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .calc-controls-col > div:first-child {
    margin-bottom: 1.25rem !important;
    text-align: center;
  }
  .calc-controls-col > div:first-child h3 {
    font-size: 1.45rem !important;
    line-height: 1.2;
    margin-top: 0.35rem;
  }
  .calc-controls-col > div:first-child p {
    font-size: 0.85rem !important;
    color: var(--text-muted);
    line-height: 1.5;
  }

  /* Each Step Becomes an Elegant Card */
  .calc-step {
    background: rgba(18, 20, 31, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    margin-bottom: 0.9rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: center !important;
  }
  .calc-step-title {
    font-size: 0.95rem;
    font-weight: 700;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center !important;
    text-align: center !important;
  }
  .step-num {
    width: 22px;
    height: 22px;
    font-size: 0.72rem;
  }

  /* Step 1: Sleek 3-Column Plan Selector */
  .plan-pill-group {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.45rem !important;
  }
  .plan-pill {
    padding: 0.7rem 0.25rem !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    min-height: 64px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: center !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .plan-pill .pill-name {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: block;
  }
  .plan-pill .pill-cost {
    font-size: 0.7rem !important;
    color: var(--accent-amber) !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    display: block;
  }
  .plan-pill.active {
    background: linear-gradient(135deg, rgba(255, 65, 34, 0.22), rgba(255, 140, 0, 0.14)) !important;
    border: 1.5px solid #ff5722 !important;
    box-shadow: 0 4px 16px rgba(255, 65, 34, 0.35) !important;
    transform: translateY(-2px);
  }

  /* Step 2 & Step 4: Horizontal Segmented Switch (NEVER vertical) */
  .calc-segmented {
    display: grid !important;
    flex-direction: row !important;
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 0.3rem !important;
    gap: 0.35rem !important;
  }
  .calc-segmented.segmented-2 {
    grid-template-columns: 1fr 1fr !important;
  }
  .calc-segmented.segmented-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .segmented-item {
    flex: 1 !important;
    padding: 0.65rem 0.35rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-radius: 9px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    border: 1px solid transparent !important;
  }
  .segmented-item.active {
    background: linear-gradient(135deg, #ff4122, #ff8c00) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 2px 10px rgba(255, 65, 34, 0.4) !important;
  }
  .calc-host-segment {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.55rem 0.2rem !important;
    gap: 0.1rem !important;
  }
  .host-term-label {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  .host-term-price {
    font-size: 0.74rem !important;
    color: var(--accent-amber) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
  }
  .host-term-rate {
    font-size: 0.64rem !important;
    color: rgba(255, 255, 255, 0.65) !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
  }
  .segmented-item.active .host-term-price {
    color: #ffffff !important;
  }
  .segmented-item.active .host-term-rate {
    color: rgba(255, 255, 255, 0.95) !important;
  }
  .calc-step-subtext {
    font-size: 0.75rem !important;
    text-align: center !important;
    margin-top: -0.3rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
  }
  .calc-step-note {
    font-size: 0.7rem !important;
    text-align: center !important;
    justify-content: center !important;
    margin-top: 0.65rem !important;
    line-height: 1.35 !important;
  }

  /* Step 3 & Step 5: Switch Rows */
  .calc-switch-row {
    background: transparent !important;
    border: none !important;
    padding: 0.25rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
  }
  .switch-label-wrap {
    text-align: left !important;
  }
  .switch-label-wrap h4 {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.15rem !important;
  }
  .switch-label-wrap p {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }
  .switch {
    flex-shrink: 0 !important;
    margin-right: 0.35rem !important;
  }

  /* Calculator Invoice Summary Sticky Bottom Card */
  .calc-summary-card {
    position: static !important;
    margin-top: 0.5rem !important;
    padding: 1.4rem 1.15rem !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, #151827 0%, #0d0e17 100%) !important;
    border: 1px solid rgba(255, 90, 31, 0.35) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 65, 34, 0.12) !important;
  }
  .summary-header {
    padding-bottom: 0.85rem !important;
    margin-bottom: 1rem !important;
  }
  .summary-row {
    font-size: 0.85rem !important;
    margin-bottom: 0.6rem !important;
  }
  .grand-total-section {
    padding-top: 1rem !important;
    margin-bottom: 1.2rem !important;
  }
  .total-highlight-box {
    padding: 0.85rem 1rem !important;
    border-radius: 12px !important;
    text-align: center !important;
  }
  .total-amount {
    font-size: 1.65rem !important;
  }
  .btn-calc-whatsapp {
    min-height: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    width: 100%;
    border-radius: 12px;
  }

  /* FAQ Accordion */
  .faq-question {
    padding: 1.1rem 1.15rem !important;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 1.15rem 1rem 1.15rem;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  /* Contact CTA Banner: Centered Layout */
  .contact-banner {
    padding: 2.25rem 1.35rem;
    border-radius: 20px;
    text-align: center !important;
  }
  .contact-banner h2 {
    font-size: clamp(1.65rem, 6.5vw, 2.1rem);
    text-align: center !important;
  }
  .contact-banner p {
    text-align: center !important;
    margin: 0 auto 1.5rem auto !important;
  }
  .contact-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    align-items: center !important;
    justify-content: center !important;
  }
  .contact-actions .btn {
    width: 100%;
    min-height: 50px;
    justify-content: center !important;
  }

  /* Footer: Centered Layout */
  .footer {
    padding: 3rem 0 5rem 0;
    text-align: center !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    justify-items: center !important;
    gap: 2rem !important;
  }
  .footer-brand {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .footer-col {
    text-align: center !important;
    align-items: center !important;
  }
  .footer-col h4 {
    text-align: center !important;
  }
  .footer-links {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* ==========================================================================
   COMPACT SMARTPHONES (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  /* Navigation Bar Compact Mode */
  .navbar-wrapper {
    padding: 0.45rem 0 !important;
  }
  .navbar {
    padding: 0 0.65rem !important;
    gap: 0.4rem !important;
  }
  .brand-logo {
    font-size: 1.05rem !important;
    gap: 0.45rem !important;
  }
  .brand-logo .logo-mark {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
  }
  .nav-actions {
    gap: 0.4rem !important;
  }
  .btn-mobile-calc {
    padding: 0.36rem 0.65rem !important;
    font-size: 0.76rem !important;
    gap: 0.25rem !important;
  }
  .btn-mobile-calc .calc-text-full {
    display: none !important;
  }
  .btn-mobile-calc .calc-text-short {
    display: inline !important;
  }
  .mobile-nav-toggle {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    padding: 0.2rem !important;
  }
  .mobile-nav-toggle svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Compact Container Spacing */
  .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  /* Hero Fine-Tuning for 375px / Small Phones */
  .hero-title {
    font-size: clamp(1.6rem, 7vw, 1.95rem) !important;
    line-height: 1.2 !important;
  }
  .hero-badge {
    font-size: 0.68rem !important;
    padding: 0.3rem 0.65rem !important;
    letter-spacing: 0.03em !important;
  }
  .hero-subtitle {
    font-size: 0.88rem !important;
  }
  .hero-trust-bar {
    flex-direction: column !important;
    width: 100% !important;
  }
  .stat-pill {
    width: 100% !important;
  }
  .pricing-amount {
    font-size: 2rem !important;
  }
  .calc-step {
    padding: 1.1rem 0.75rem !important;
  }
  .plan-pill {
    padding: 0.65rem 0.15rem !important;
    min-height: 60px !important;
  }
  .plan-pill .pill-name {
    font-size: 0.75rem !important;
  }
  .plan-pill .pill-cost {
    font-size: 0.68rem !important;
  }

  /* Extra Compact Terminal & Code Box on Small Phones */
  .interactive-3d-card {
    padding: 0.8rem 0.7rem !important;
    border-radius: 12px !important;
  }
  .code-preview-box {
    font-size: 0.66rem !important;
    line-height: 1.28 !important;
    padding: 0.52rem 0.65rem !important;
  }
  .code-preview-box div {
    padding: 0.02rem 0 !important;
    line-height: 1.25 !important;
  }
  .code-indent {
    padding-left: 0.5rem !important;
  }
}

/* ==========================================================================
   DIRECT CONTACT & FLOATING WHATSAPP PILL
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  padding: 0.75rem 1.15rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
}
.floating-whatsapp svg {
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .floating-whatsapp {
    bottom: 1.15rem;
    right: 1.15rem;
    padding: 0.75rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  }
  .floating-whatsapp .floating-whatsapp-label {
    display: none;
  }
}

body.drawer-open .floating-whatsapp {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0.6) !important;
}


